Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • opsssss

    

  • This is cleanest screen capture i ever seen.

  • Ok. That works all well and good. But how do I handle the file not found exception that comes up if I abort opening the file? I mean if I click the button and then x out of the open file dialog box the program crashes. What do I need to add to make the program not crash if the user opens the openfiledialog but then chooses not to open a file? Any help on this would be great.

  • @Designartseller Wrap it in Try things. Ex

    Try

    Send.Blah

    Get.Blah

    Open.Blah

    catch ex as exeption

    end try

  • Does not work Help pls it says that TheText.Text is didn t Decleared Help.

  • @runningkiller

    hmm. maybe rename Textbox1 to Text Lolzor ( noob?)

  • thnx

  • Thank you so much! You're a great help for CIS students!!

  • How would you open a file that has two lines for two different textboxes?

  • thnx man

  • nice thank you

  • exceptionally good tutorial here, much better than the way i was using open file dialogs!

  • Fk u i cant typ OpenF.InitialDirectory = "C:\" of what ever,

    button1.InitialDirectory = "C:\"

    i only get afking blue error

  • @EvoProduct whats wrong? did you remember to drag an open file dialog from the toolbox onto the form???

  • How do we make it display hex? if i open a FILE (file without extention) in notepad, it displays the hex, if i open it with this, it has one line of text, why?

  • i love you...

  • Nice one 5*

  • Thanks it helped

  • wow that looks very advanced how long did it took u to learn that,10 seconds?

    And U type slower than my grandma.

    I will give U 2 stars cause im nice.

    Seriously U commented to a post of mine some time ago and I watched 5-6 videos of yours....programming is not a thing for u...u just copy some codes that u saw somewhere and U call that coding...

    Try showing me u can make a multiplayer to a game that doesnt have it and after that I will make the same thing in C++ and compare the results.

  • i watched your open and save shoping list and got code for converting every item on listbox to a textbox with multi line..and my question is if you know how to reverse it so lets say i got 5 lines on textbox and press a button and i want: for each line in textbox, listbox1.add

  • thx bro for share

    but i have another langauge deffrant from english and my text box not support to open or langauge cant be know to read but it's just show english text

    any suggestion

    thx at advanced

  • Doesn't work for me

  • it's work for me great just make sure about this line

    Dim R as new IO.Streamreader(openf.filename­)

    it will works for u

    best regards

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more