Limiting Run Time of Applications
I am creating a program to limit the run time of apps. This way I can have more control of what time frame a person can be on my computer.
I can do this, except I want, 1) to be able to extract executables from my executable, 2) Be able to set those executable's icon to an embedded icon in another executable.
I have no idea how to do this in 6.0. I was able to in .net, but because older computers won't have .net, I wanted to be sure that the applications will run correctly.
Let me know if this is not very clear.
Re: Limiting Run Time of Applications
Is there any way I could get an answer?
Re: Limiting Run Time of Applications
Quote:
was able to in .net, but because older computers won't have .net
I didn't heard about that.... :)
Why don't you use the .Net Frame work setup to be included in your setup package....???
Re: Limiting Run Time of Applications
Thanks for replying! I hadn't seen that ability. I will look again!
Re: Limiting Run Time of Applications
Quote:
Originally Posted by
akhileshbc
I didn't heard about that.... :)
Why don't you use the .Net Frame work setup to be included in your setup package....???
I know nada of NET but I've been under the impression that better than 50% of the NET users are using the free NET Express edition. I know that Express can't make an .exe, so it would seem unlikely that it could make a .Net Frame work Setup Package. Can it?
Re: Limiting Run Time of Applications
Quote:
I know nada of NET but I've been under the impression that better than 50% of the NET users are using the free NET Express edition. I know that Express can't make an .exe, so it would seem unlikely that it could make a .Net Frame work Setup Package. Can it?
I don't have any knowledge about Vb.Net
But, when I bought some games like Spiderman:Web Of Shadows, etc. they had included the .Net Framework redistributable setup file with the installer....
I was talking about that... :)
Re: Limiting Run Time of Applications
I am using VS 2008 Professional, but I wanted to extract icons from executables. This way I could rename the original executable and replace it with mine... I wanted to do this in VB 6.0...
Re: Limiting Run Time of Applications
Re: Limiting Run Time of Applications
Quote:
Originally Posted by
akhileshbc
I don't have any knowledge about Vb.Net
But, when I bought some games like Spiderman:Web Of Shadows, etc. they had included the .Net Framework redistributable setup file with the installer....
I was talking about that... :)
I don't have access to my Visual Studio otherwise I would check to see if this is possible: to package the .net framework and my application in one executable. I will be able to check in about a week... I do have VB 6.0, though.
Re: Limiting Run Time of Applications
In vs 2008 Pro. When you create an setup wizard package it will add .net as a dependencies then it will download it if the machine does not have it.
If you use the publish option under the properties. That will also create the dependencies and doenload on setup. The downside is that it is a big download.
Hope this helps
Re: Limiting Run Time of Applications
Read this article on creating a setup wizard. it will explain to you how to put dot net into your package
http://www.vbmysql.com/articles/vbne...dows-installer
Re: Limiting Run Time of Applications
Quote:
I don't have access to my Visual Studio otherwise I would check to see if this is possible: to package the .net framework and my application in one executable. I will be able to check in about a week... I do have VB 6.0, though.
I mean to include the .net setup file in a separate folder and when the user installs your program, the setup script will check if .net framework is installed in the computer, if not, direct it to open the .net setup file located in some other folder of your setup disk.... :)
Re: Limiting Run Time of Applications
Quote:
Originally Posted by
akhileshbc
akhileshbc,
You are the best! I will take a look at that and see if I can edit the code to get it to save to an icon file (*.ico) using the CommonDialog.SaveFileDialog. In the meantime, any suggestions? I love not having to search Google! (Which I have done for hours at a time!)
Re: Limiting Run Time of Applications
I found this?:Here. Is this what I want?
Re: Limiting Run Time of Applications
I know this is not what I originally asked, but
How do I save a file as an icon? I want to be able to set it as an application's default icon (one that is displayed, say, when the application shortcut is on the desktop)
I can explain more if necessary...