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.
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.
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.
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?
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 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
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.
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.
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
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
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?
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?
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.
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.
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.
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?