|
-
Nov 7th, 2009, 12:31 PM
#1
Thread Starter
Addicted Member
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.
Last edited by VBNetDude; Nov 7th, 2009 at 12:32 PM.
Reason: Typing Errors
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 13th, 2009, 12:28 AM
#2
Thread Starter
Addicted Member
Re: Limiting Run Time of Applications
Is there any way I could get an answer?
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 13th, 2009, 01:02 AM
#3
Re: Limiting Run Time of Applications
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....???
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Nov 13th, 2009, 03:38 PM
#4
Thread Starter
Addicted Member
Re: Limiting Run Time of Applications
Thanks for replying! I hadn't seen that ability. I will look again!
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 13th, 2009, 11:27 PM
#5
Re: Limiting Run Time of Applications
 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?
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Nov 13th, 2009, 11:36 PM
#6
Re: Limiting Run Time of Applications
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...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Nov 13th, 2009, 11:41 PM
#7
Thread Starter
Addicted Member
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...
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 13th, 2009, 11:46 PM
#8
Re: Limiting Run Time of Applications
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Nov 13th, 2009, 11:47 PM
#9
Thread Starter
Addicted Member
Re: Limiting Run Time of Applications
 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.
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 13th, 2009, 11:47 PM
#10
Member
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
-
Nov 13th, 2009, 11:49 PM
#11
Member
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
-
Nov 13th, 2009, 11:52 PM
#12
Re: Limiting Run Time of Applications
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....
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Nov 13th, 2009, 11:58 PM
#13
Thread Starter
Addicted Member
Re: Limiting Run Time of Applications
 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!)
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 14th, 2009, 12:32 AM
#14
Thread Starter
Addicted Member
Re: Limiting Run Time of Applications
I found this?:Here. Is this what I want?
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
-
Nov 14th, 2009, 12:49 AM
#15
Thread Starter
Addicted Member
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...
VBNetDude - Thinking Programmatically
By Silver Seal Software
Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most! 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|