Page 2 of 2 FirstFirst 12
Results 41 to 72 of 72

Thread: Code Book for you, by you

  1. #41
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    352
    Originally posted by RealNickyDude
    A beta version of the VBCodebook program is now available (see VBCodebook Beta thread.)

    Please keep sending those snippets in
    where can i download it?

  2. #42

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    Go to the VBCodebook Beta thread here

    I'll create a website from where you can download it, plus other things eventually.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  3. #43

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    There is now a website for the VBCodebook .NET: VBCodebook.NET

    (Work In Progress)
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  4. #44
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I am Visitor nu 10 , when you are done plz send me email.thanx

  5. #45
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    352
    i'm 11

  6. #46

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    Please keep your snippets rolling in
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  7. #47
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  8. #48
    Fanatic Member Mr.No's Avatar
    Join Date
    Sep 2002
    Location
    Mauritius
    Posts
    651
    Greate site RealNickyDude, I'll sure try to contribute a few code snippets.
    Using VB.NET 2003/.NET 1.1/C# 2.0
    http://del.icio.us/rajoo
    Blow your mind, smoke gunpowder
    Ashes to ashes, dust to dust
    If God won't have you, the devil will. - Author unknown
    Don't follow me, I'm lost too ...

  9. #49

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Thumbs up

    Please keep your snippets rolling in
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  10. #50
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    up

  11. #51
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    Shell Execute

    Put in declare area
    Code:
    Private Declare Function ShellExecute Lib "shell32.dll" 
        Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation
        As String, ByVal lpFile As String, ByVal lpParameters As String,
        ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    Put in your code area
    Code:
            Dim ProcID As Integer
            Dim sCMD as String
            sCMD = "c:\temp\test.bat"
            ProcID = Shell(sCmd, AppWinStyle.Hide, True, -1)
    Parameters:

    sCmd = Any path to an executable

    AppWinStyles = Hide, MaximizedFocus, MinimizedFocus, MinimizedNoFocus, NormalFocus, NormalNoFocus

    Wait = true, false

    Timeout = -1
    -Shurijo

  12. #52

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    Is this for the VBCodebook?
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  13. #53
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164
    Yeah.

    Here is another little tid bit.


    How to open a Help file.

    Code:
    Windows.Forms.Help.ShowHelp(Me, "<path>\file.chm")
    You can download the HTML Help Workshop software at
    http://www.microsoft.com/downloads/d...DisplayLang=en. This allows you to make the Compiled Help files, which ever application should have.
    Last edited by Shurijo; Jan 10th, 2003 at 03:58 PM.
    -Shurijo

  14. #54

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    How to open a Help file.
    Is this a seperate titbit? Or does it belong to the above? Just need to clear up what does what.

    Please send any other bit to the VBCodebook email address:

    VBCodebook .NET Snippets

    Saves the Forum being packed.

    And thanks
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  15. #55
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164
    That is a separate item.
    -Shurijo

  16. #56

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Post

    When sending any code snippets, could you head them with one of the following catagories, or if it doesn't fit under any of them please put what heading it should be under:

    Database
    File Handling
    Graphics
    Internet
    Multimedia
    System
    Tips & Advice
    Tutorials
    Visual FX
    Windows / Forms

    (these can be subject to change)

    Thanks
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  17. #57
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by RealNickyDude
    When sending any code snippets, could you head them with one of the following catagories, or if it doesn't fit under any of them please put what heading it should be under:

    Database
    File Handling
    Graphics
    Internet
    Multimedia
    System
    Tips & Advice
    Tutorials
    Visual FX
    Windows / Forms

    (these can be subject to change)
    Thanks
    Network stuff
    OOP tutorials
    just a thought !

  18. #58

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    Thanks pirate, those headings are just the ones I though the code I have should go under, no doubt there'll be a lot of change.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  19. #59

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    C'mon folks, there's not been many code snippets sent in, you must have something in your programs that you're proud of, something that made life that little bit easier.

    Don't forget to keep sending

    Pretty please with cherries on top.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  20. #60

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  21. #61

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    *bump*
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  22. #62

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    I still need tons more code, anything, please send it in, you could be saving someone from hours of frustration.

    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  23. #63
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046
    dood!

    I mean dood!

    What a nice piece of work ...

    This should be a sticky thread

  24. #64

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    There is now a Poll at the VBCodeBook.Net Website on what you want so see more of, please give a vote so I know what you want.

    Cheers!
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  25. #65
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    For me , I wish to see more internet and networking stuff plz but I can't see that on your site.

  26. #66
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216
    id like to see how to work registering login stuff (like it saves it and when you log off it stays so that in a day or two you can go back on the same name w. same stats/lvls)

    that would be cool (kewl kool)

  27. #67

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    I must stress that I don't write the code, I only collect the code, without peoples interaction, VBCodeBook.NET will become old hat and will eventually cease to be.

    I try to collect as much code as I can from other sites and I try to input my own (the little that it is) but if there is something you wish to see particularly, it's up to the other VB.NET users to come to the rescue.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  28. #68
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Nicky , It would be nicer if you assigned different icons for different items . thanx .

  29. #69

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    yeah, it would wouldn't it, this is on my list of to do...
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  30. #70

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    Just thought I'd bump this for those who don't know
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  31. #71
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935
    Originally posted by RealNickyDude


    VB Code:
    1. Dim Result As DialogResult
    2. Result = MessageBox.Show("Do you really wish to exit?", "Exit_
    3. Program", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
    4. If Result = DialogResult.Yes Then
    5.     Application.Exit()
    6. End If
    PS that method of exiting an application is not recommended as this does not properly ensure disposal of garbage.

    Take a look on msdn or even just look in .net help and you will see an article which addresses this issue.

  32. #72
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by rudvs2
    PS that method of exiting an application is not recommended as this does not properly ensure disposal of garbage.

    Take a look on msdn or even just look in .net help and you will see an article which addresses this issue.
    Exactly , So better you loop through all instances to dispose them rather than closing your application with some instances left out there , Or in the main form of the app , dispose your objes in "Dispose" method (I've not tried it though).

    The only thing I hate in GC is , it fires in random times . So you can never fire it yourself .

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width