Jump to content
YuChan

News system

Recommended Posts

@YuChan We operate on a "Teach a Man to Fish" motto. If you want help with something specific, you need to provide the following:

  • Exactly what you are trying to do
  • What you have tried on your own
  • Where you are stuck.

No one here is going to write it for you.

Also, if you are a beginner as you state, perhaps you should spend some time going through the help file and trying out the examples, rather than trying to launch right into the deep end with "a news system".


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

I want colaborate but im french it's hard to understand.

I have this:
 

Func _chargementNews()
    $bNews = InetRead("https://127.0.0.1/news.txt",1)
    If @error Then MsgBox(64,"ALERT","Impossible de recuperer les News !")
    $news = BinaryToString($bNews)
    $finalNews = StringSplit($news,"next",1 + 2)
    $arraySize = UBound($finalNews)

    For $i = 0 To $arraySize - 2 Step + 2
        $previousJournalNews = GUICtrlRead($journalNews)
        If $previousJournalNews <> "" Then
            GUICtrlSetData($journalNews, $finalNews[$i] & @CRLF & $finalNews[$i + 1] & @CRLF & $previousJournalNews)
        Else
            GUICtrlSetData($journalNews, $finalNews[$i] & @CRLF & $finalNews[$i + 1])
        EndIf
    Next
EndFunc

But i don't know how is a news file.

Can you help me ?

THX

Share this post


Link to post
Share on other sites

@TheDcoder  He already knows about the french forum.  He is asking multiple questions there too...The good side, he is not posting the exact same thing in both forums.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...