Adblock breaks this site

NotepadV2

Discussion in 'Programming General' started by tomanderson12, Aug 24, 2008.

  1. tomanderson12

    tomanderson12 Member

    Joined:
    Jan 21, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0
    NotepadV2

    Well Iv decided to upload my Notepad V2 its basically my second program iv made on VB6 first since i picked it up again and started making things.

    I called it NotepadV2 couldnt think of a better name and I know theres somesort of error with the Open and Save if you try and close it after you opened the dialog boxes but iv spent many hours trying to figure it out and still no joy. but here you are

    Please let me know what you think and what improvements could be made also anyone able to help me with the Open and Save problem please help :)

    Screenshots:

    1. http://i195.photobucket.com/albums/z70/tomanderson12/Screenshot1.jpg

    2. http://i195.photobucket.com/albums/z70/tomanderson12/Screenshot2.jpg

    3. http://i195.photobucket.com/albums/z70/tomanderson12/Screenshot3.jpg

    Download: http://www.megaupload.com/?d=7QE5OX14
     
  2. Ballin Boi

    Ballin Boi Guru

    Joined:
    Apr 28, 2008
    Posts:
    1,536
    Referrals:
    3
    Sythe Gold:
    0
    NotepadV2

    Scan it with something else Norton downright sucks.
     
  3. tomanderson12

    tomanderson12 Member

    Joined:
    Jan 21, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0
    NotepadV2

    Yeah i know Norton sucks but i dont have any others on this computer im not on my desktop
     
  4. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    NotepadV2

    Scanned and Clean
    You should feature in your next version to autosize the window for what the user sizes it too.
    Simple...
    Code:
    notepadtxt.width = frmmain.width - 10
    notepadtxt.height = frmmain.height - 10
    Of course thats with,
    Code:
    'notepadtxt = "Your notepad text"
    'frmmain = "Your main form"
     
  5. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    NotepadV2

    Code:
    notepadtxt.height = frmmain.scaleheight
    notepadtxt.width = frmmain.scalewidth
    Would work better...
     
  6. tomanderson12

    tomanderson12 Member

    Joined:
    Jan 21, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0
    NotepadV2

    Ok and were would i put that code ? on the main form or the text box

    Thanks by the way guys
     
  7. Swan

    Swan When They Cry...
    Retired Global Moderator

    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner
    NotepadV2

    The main form's resize() event.
     
  8. tomanderson12

    tomanderson12 Member

    Joined:
    Jan 21, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0
    NotepadV2

    Thanks Swan
     
< Irc? | Error in Visual Basic 2008 >


 
 
Adblock breaks this site