-
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:::...
-
Re: Really Cool VB6 Project!
You will be posting this in the Code Bank, right?
-
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??
-
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.
-
Re: Really Cool VB6 Project!
I'll help I guess, but I don't really understand what exactly it is you're making...
-
Re: Really Cool VB6 Project!
I would also go for Code Bank.
-
1 Attachment(s)
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.
-
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
-
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
-
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:::..
-
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.
-
Re: Really Cool VB6 Project! [source available]
Nice app.
One thing u've missed though is adding:
To the top of every form/module's code.
This forces you to declare ALL varibles using:
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
-
Re: Really Cool VB6 Project! [source available]
This might sound stupid, but whats a TSR program?
-
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?
-
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
-
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
-
1 Attachment(s)
Re: Really Cool VB6 Project! [source available]
I've added some code in for you.
VERY rough. Needs a bit of tidying up! :D
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
-
Re: Really Cool VB6 Project! [source available]
-
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
-
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.
-
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.
-
Re: Really Cool VB6 Project! [source available]
Ok back to the program, Is it possible to use the network to control a remote computer?
-
Re: Really Cool VB6 Project! [source available]
What about the ability to move the forms around.
VB Code:
'In a Module
Option Explicit
Public Declare Function ReleaseCapture Lib "user32.dll" () As Long
Public Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" _
(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Public Const HTCAPTION As Integer = 2
Public Const WM_NCLBUTTONDOWN As Integer = &HA1
Public Function MoveTheForm(ByVal TheHwnd As Long)
ReleaseCapture
SendMessage TheHwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
End Function
'Form code
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
MoveTheForm Me.hwnd
End Sub
casey.
-
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:
Dim s as string
s = " 123 "
msgbox s
s = trim(s)
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.
-
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:
Dim s as string
s = " 123 "
msgbox s
s = trim(s)
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
-
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.
-
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
-
Re: Really Cool VB6 Project! [source available]
This one could now be the LIVE one!
Thanks for the ideas, Keep them coming.
...:::ONE:::...
-
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:::...
-
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
-
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:::...
-
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
-
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
-
Re: Really Cool VB6 Project! [source available]
:confused:
What useful code is there?
Woka
-
Re: Really Cool VB6 Project! [source available]
Examples for 'Getting Windows', Control of Windows, System Shutdown, etc
-
Re: Really Cool VB6 Project! [source available]
Project Goals: Version 1.2 :D
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. :D
Thanks,
...:::ONE:::...
"people are going to love this"
-
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* :D, 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....:confused: 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 :D)
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
-
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?
-
Re: Really Cool VB6 Project! [source available]
-
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.