Page 1 of 2 12 LastLast
Results 1 to 40 of 42

Thread: Really Cool VB6 Project! [source available]

  1. #1

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Cool Really Cool VB6 Project! [source available]

    I don't know why no one thought of it before. I used vb6 to terminate certain programs such as iexplore.exe and many others of your choice the problem is that I need some more ideas.

    I have devoloped a cool looking GUI with a rollover user control I made with some one else on the forum and backgrounds and button styles from Macromedia MX 2004. I just need other Ideas to finnish. (all open source)

    The finnish product will feature the names of all who contributed. I will soon post the source and GUI. Take the source and post back the changes with your name so other can also modify it and I can list you so your not left out. You must only change one thing at a time and post the changes you added on the forum and attach the new source.

    !!!Feel free to distribute it, but be fare and put your name as the version and list all those who helped!!! (!GIVE EVERYONE CREDIT!)

    Thanks for your help,
    ...:::ONE:::...
    Last edited by ...:::ONE:::...; Apr 5th, 2005 at 05:11 PM.
    6 Years

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Really Cool VB6 Project!

    You will be posting this in the Code Bank, right?

  3. #3

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project!

    Dose it matter? Were Ever. I just wanted people to see this message.

    As soon as i get home it will be here and we could start.

    You In??
    6 Years

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Really Cool VB6 Project!

    Quote Originally Posted by ...:::ONE:::...
    Dose it matter? Were Ever. I just wanted people to see this message.

    As soon as i get home it will be here and we could start.

    You In??
    Sure.

    My point though, it that it would be more noticable in the Code Bank. If you post it here it will eventually sink to the bottom of everything and people coming behind us that might benefit from it may not find it.

  5. #5
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Really Cool VB6 Project!

    I'll help I guess, but I don't really understand what exactly it is you're making...

  6. #6

  7. #7

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project!

    Ok i'll move it to the code bank, how do I do that or should a moderator do that.
    I'm going to attach the files now.
    I think it might need a new name. I don't know?
    Its a good idea but I need some help.

    For those who don't know what it is that i'm talking about, I wanted to make a program that could have good control over windows for example hWnd, Just common commands like a System shutdown timer, application terminator, closing apps and opening them on different times of the day, just lots of control over windows maybe hacks sort of like tweek xp but with tons of different things. You know stuff like that could come in handy for some people.

    Will see what happens.
    Attached Files Attached Files
    6 Years

  8. #8

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project!

    the zip file comes with the source, some GUI, compiled version 1 and the rollover control. Try it out.

    The only thing is that the abort command dosn't work, but everything else should.

    I moved it to Code Bank (VB6)
    http://www.vbforums.com/showthread.p...60#post1970960
    Last edited by ...:::ONE:::...; Apr 5th, 2005 at 05:03 PM.
    6 Years

  9. #9
    Member
    Join Date
    Apr 2005
    Posts
    51

    Re: Really Cool VB6 Project! [source available]

    Hi,

    Your program looks very good but complicate as i am only a beginner at VB.
    I started teaching myself VB a couple of months back and i am starting to get the hang of it, however i've got a question how did you find the best way to learn VB and also i know how to connect to a database and change its records (Access) using VB, using only unrelated tables, how much more harder and different is it when the tables become related?

    Thanks

    Jamie

  10. #10

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    I also taught myself VB6 about 4 or 5 years ago. The best places for VB is tutorial webs sites I guess you might have tried? I usually go to Planet Source Code for many things it need help with, also I give VbForums 2 thinds up for any of your needs. they do a great job of helping me with anything on topic.

    I'm not one to use Access very much so I couldn't help you very much with that. Check around vbforums you might find an answer to what your looking for.

    I hope vbforums can help you out!,
    ...:::ONE:::..
    6 Years

  11. #11
    PowerPoster Simply Me's Avatar
    Join Date
    Aug 2003
    Posts
    2,732

    Re: Really Cool VB6 Project! [source available]

    its a good one. It can be an added feature to a project. why not add functionality to remove TSR program.
    To give is always to be NOBLE...
    To received is always to be BLESSED....
    Each day strive to be NOBLE
    Each day strive to be BLESSED

    If this post has helped you. Please take time to rate it.

    >=|+|=< Simply Me >=|+|=<

    ----------------------------------------
    Connection Strings | Number Only in Textbox | Splash Screen with Progress Bar | Printing to 1/2 of perforated bond paper |
    Freeze 2005 DataGridView Column

  12. #12
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Really Cool VB6 Project! [source available]

    Nice app.

    One thing u've missed though is adding:
    VB Code:
    1. Option Explicit
    To the top of every form/module's code.

    This forces you to declare ALL varibles using:
    VB Code:
    1. Dim lngWoof As Long
    u'll notice module1 has it.

    Also...I would name my forms and modules...ie module1 should be called modProcess or modTerminate or something like that.

    Also, have you thought about adding a list of running processes so the user can select one?

    Woka

  13. #13

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    This might sound stupid, but whats a TSR program?
    6 Years

  14. #14

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    I was getting to that.

    but how would I list all the running apps if without having to get a hWnd number for all of them?
    6 Years

  15. #15
    Member
    Join Date
    Apr 2005
    Posts
    51

    Re: Really Cool VB6 Project! [source available]

    Quote Originally Posted by ...:::ONE:::...
    I also taught myself VB6 about 4 or 5 years ago. The best places for VB is tutorial webs sites I guess you might have tried? I usually go to Planet Source Code for many things it need help with, also I give VbForums 2 thinds up for any of your needs. they do a great job of helping me with anything on topic.

    I'm not one to use Access very much so I couldn't help you very much with that. Check around vbforums you might find an answer to what your looking for.

    I hope vbforums can help you out!,
    ...:::ONE:::..
    Thanks for your advice, i do find it helps to get examples and manipulate them yourself. I am going to use VB forums for help as i was recommended this place from someone on another forum.
    Btw what is the trim function? and what would you use it for?
    Thanks

  16. #16
    Member
    Join Date
    Apr 2005
    Posts
    51

    Re: Really Cool VB6 Project! [source available]

    Quote Originally Posted by ...:::ONE:::...
    This might sound stupid, but whats a TSR program?
    lol i was thinking the same, just didn't want to ask in case i was making a mockery of myself

  17. #17
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Really Cool VB6 Project! [source available]

    I've added some code in for you.
    VERY rough. Needs a bit of tidying up!
    I'm off to bed...so I thought I'd post it like it is.

    Go to the config screen. There is now a listbox that lists all running processes.

    Hope that helps.

    I'll tidy the code up tomorrow.

    Woka
    Attached Files Attached Files

  18. #18

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    http://www.int.gu.edu.au/courses/300...htm#Heading203 I don't know if this helps or not?

    And thanks Woka!
    6 Years

  19. #19
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Really Cool VB6 Project! [source available]

    I think TSR Prohram is a Transient Resident Program...an app that keeps itself in memory...ooo my brain hurts. It's something along those lines.

    Woka

  20. #20
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Really Cool VB6 Project! [source available]

    Terminate and Stay Resident. Back when you only had DOS with it's one window, a TSR was a program that loaded into memory, and waited for a hot key combination before popping up for use. A few games had TSR options (I remember Tetris did) so that you could be "working" on a project at your desk until nobody was looking, then call up the TSR and play for a few moments.

    I remember a program that had a "Boss" key, which loaded the image of a Lotus 1-2-3 spreadsheet over the game very quickly.

  21. #21
    PowerPoster Simply Me's Avatar
    Join Date
    Aug 2003
    Posts
    2,732

    Re: Really Cool VB6 Project! [source available]

    Quote Originally Posted by ...:::ONE:::...
    This might sound stupid, but whats a TSR program?
    they are right TSR=Terminate and Stay Resident. so that you can free up memory.
    To give is always to be NOBLE...
    To received is always to be BLESSED....
    Each day strive to be NOBLE
    Each day strive to be BLESSED

    If this post has helped you. Please take time to rate it.

    >=|+|=< Simply Me >=|+|=<

    ----------------------------------------
    Connection Strings | Number Only in Textbox | Splash Screen with Progress Bar | Printing to 1/2 of perforated bond paper |
    Freeze 2005 DataGridView Column

  22. #22

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    Ok back to the program, Is it possible to use the network to control a remote computer?
    6 Years

  23. #23
    Fanatic Member vbasicgirl's Avatar
    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    1,016

    Re: Really Cool VB6 Project! [source available]

    What about the ability to move the forms around.
    VB Code:
    1. 'In a Module
    2. Option Explicit
    3. Public Declare Function ReleaseCapture Lib "user32.dll" () As Long
    4. Public Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" _
    5. (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
    6. Public Const HTCAPTION As Integer = 2
    7. Public Const WM_NCLBUTTONDOWN As Integer = &HA1
    8.  
    9.  
    10. Public Function MoveTheForm(ByVal TheHwnd As Long)
    11.  ReleaseCapture
    12.  SendMessage TheHwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
    13. End Function
    14.  
    15. 'Form code
    16. Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    17.  MoveTheForm Me.hwnd
    18. End Sub

    casey.

  24. #24
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    Re: Really Cool VB6 Project! [source available]

    Quote Originally Posted by flukey2005
    Btw what is the trim function? and what would you use it for?
    Thanks
    The trim function removes blancs /spaces from the beginning and end of a string.

    VB Code:
    1. Dim s as string
    2. s = "    123    "
    3. msgbox s
    4. s = trim(s)
    5. msgbox s

    look at the difference.

    When you have questions about VB6, try searching the forums first. When you have no results, then start a new thread in stead of posting it in a thread that has no relation with the question you like to ask.

  25. #25
    Member
    Join Date
    Apr 2005
    Posts
    51

    Re: Really Cool VB6 Project! [source available]

    Quote Originally Posted by robbedaya
    The trim function removes blancs /spaces from the beginning and end of a string.

    VB Code:
    1. Dim s as string
    2. s = "    123    "
    3. msgbox s
    4. s = trim(s)
    5. msgbox s

    look at the difference.

    When you have questions about VB6, try searching the forums first. When you have no results, then start a new thread in stead of posting it in a thread that has no relation with the question you like to ask.
    Thanks, sorry to annoy you about not searching the forums list, dont see how it was such a big harm, but oh well, thanks anyway, i know what it does now.
    , least i will know next time what to do

  26. #26
    Super Moderator
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Really Cool VB6 Project! [source available]

    Moved to codebank, although this may be best in project communicationa rea if it is an on going project?

    Pm me if you wish it to be moved.

  27. #27
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Really Cool VB6 Project! [source available]

    Which CodeBank entry should be the 'Live' one ?
    http://www.vbforums.com/showthread.p...60#post1970960



    I posted this in the other one, but I'll copy it to here, as this thread seems to be the more active ?

    VbAccelerator has a utility that may be helpful
    Either as -
    - a source of code/techniques
    - user being allowed to point to the Titlebar of an app they are interested in, and your pgm can grab the hwnd.
    Simple Windows Spy
    Rob C

  28. #28

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    This one could now be the LIVE one!


    Thanks for the ideas, Keep them coming.

    ...:::ONE:::...
    6 Years

  29. #29

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    I think I will make a plugin for each tool.
    How would I use maybe a dll file or somthing of that sort, to add a new form (with the tool on it), to add into the project or use a code to install a plugin for the program to use?

    Do you understand what i'm saying?

    ...:::ONE:::...
    6 Years

  30. #30
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Really Cool VB6 Project! [source available]

    No need to add plugins...complete overkill
    Just add forms and dlls into the app and and when needed.
    To be fair, the app doesn't do much. Just terminates a process...what plugins could would you add?

    Woka

  31. #31

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    Ok well I also thought that was to complicated, and i'm going to use and Update Feature so users can update it without having to look for a newer version.

    Thanks,
    ...:::ONE:::...
    6 Years

  32. #32
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Really Cool VB6 Project! [source available]

    If you are looking for Live Update code then take a peek at the link in my sig.
    It's a full auto updater...can be used to update any files...bmp's, exe's...setup packages.

    Adding this to your app will allow your app to update itself from the web.

    WOka

  33. #33
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Really Cool VB6 Project! [source available]

    Here is a link to an app that may have code of interest for this project -
    http://www.Planet-Source-Code.com/vb...49037&lngWId=1
    Rob C

  34. #34

  35. #35
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Really Cool VB6 Project! [source available]

    Examples for 'Getting Windows', Control of Windows, System Shutdown, etc
    Rob C

  36. #36

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    Project Goals: Version 1.2

    1. App Terminator w/ ListBox App Selection [Done]
    2. Moveable Form [Done]
    3. Network Access [Not Started]
    4. GUI hWnd Hacks (Lock and Hide startbar, startbutton, explorer.exe, etc. w/ password function) [In Progress]
    5. Automatic Update Feature [In Progress]
    6. Timed Shut Down and Abort Shut Down [Done]
    7. Password Protect App's in Progress [Incomplete]
    8. hWnd Window Name Changer [In progress]
    9. Unique Skin Changer [In Progress]
    10. TSR [Not Started]
    11. System Tray Icon [Incomplete]

    As you can see there still a little work for me to do. Its going to be a good app, the version listed above should be posted Saturday.

    Our goal is to get the final version 2.0 finished.

    Thanks,
    ...:::ONE:::...

    "people are going to love this"
    Last edited by ...:::ONE:::...; Apr 7th, 2005 at 12:32 PM.
    6 Years

  37. #37
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Really Cool VB6 Project! [source available]

    Before you go any further you may want to sit down and get a better specification for this app.
    ie...what you had to start with where you could terminate a number of processes is a good app. It's useful and has a purpose.
    Adding LiveUpdate to this is also good, and serves a purpose.
    Adding SysTray code, example in my sig *plug* *plug* , is also handy (but make sure the user can unselect "Show In SysTray" option.
    Shut down code...yea, also serves a purpose.

    Hiding start button, hWnd Window Name Change and maybe the skin one...hmmmm.... They serve no purpose. They are pointless, wel maybe not the skinning, but the others. Who wants to hide the start button? Ok yea, it's cool when u 1st see the code, but when are you ever going to want to do this? Who would use this feature?
    Why not add in code to change the desktop to yellow? (I am being sarcastic )

    Your app is primarily aimed at functions to do with processes, so why not keep it that way?
    Ie...make your own taskmanager, but better for example. By the way, the graph control in my sig can draw a running graph like in task manager. In fact, in my demo it actually DOES draw a graph, and it uses APIs to get the correct values. It does memory and CPU and 2 others, I forget now. Anyway the code actually works. Maybe you could add that code into your app.

    Not critisising your app, well I am, but in a nice way
    At the end of the day it's entirely up to you.

    Maybe you could create a thread for suggestions to your app, and get other people opinions on what should, or shouldn't, be in there.

    Woka

  38. #38

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    Yea the hWnd does sound sstupid to a certain extent, I ment to use that feature for a security purpose for example hiding the start bar and or hiding explorer from running. To make it so that Unwanted Users could access those features.

    Well i thought it over and here is what i'm going to do.

    Take out hWnd
    Add password protection from changing or disabling my app
    Add password protection to exe's that the users don't want to be opened
    Task manager listing a apps and process (also maybe a RUN feature) and CPU and Memory Usage and (maybe Bandwidth Usage KBs etc.)
    Network Monitor (being able to see app's in usage on other computer on the network if possable)
    Show Tray ICON or HIDE Tray ICON feature
    Shutdown and Timed Shutdown feature
    App Terminator
    Skins
    Automatic Update (for more features)

    Anything else i'm forgetting?

    Thanks for the advice Woka (your right),
    ...:::ONE::...

    I'm going to need a new creative Name for my app, any suggestions?
    6 Years

  39. #39

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    and maybe a reg editor
    6 Years

  40. #40

    Thread Starter
    Hyperactive Member ...:::ONE:::...'s Avatar
    Join Date
    May 2004
    Location
    Netherlands
    Posts
    282

    Re: Really Cool VB6 Project! [source available]

    Sorry about the wait, I was working on my website and still have a few more touches to add to the program. I should have it by next week.
    6 Years

Page 1 of 2 12 LastLast

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