|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
If i try to explain what i want in normal terms i'll probably screw it up and no-one will understand me. So i'll explain by example.
I want to start a web service. This web service is free to join. Once you are a member, you can download an EXE file. Every users' EXE file is embedded with that particular users' User ID, so when they run the EXE file, they don't have to enter a user ID, even when running it for the first time. This site has something similar to what I want to achieve: http://www.ScreenBlaze.com/ Thanks, Richard |
|
#2
|
||||
|
||||
|
This could be achived in one of about 3 different ways.
1) Use a resource file that the exe will pull the user id from. Edit the resource file before sending the application. You can edit a resource file without having to recompile the application. 2) Use a text or ini file that the application would read from. 3) Use command line arguments. Build the application to accept a command line argument that is the user's id. This would require also sending some for of link from them to start the application from. 4) Compile the application on the fly with the new user id embedded into the application. Personally, I would recommend the first or second one only. |
|
#3
|
|||
|
|||
|
I have looked into the resource option before. It looks like the most promising. How do I add a resource file in VB5?
Thanks, Richard |
|
#4
|
||||
|
||||
|
I'm not sure about VB5 as I don't have an available copy to use. It may be similar to VB6, which you have to load it using the Add-Ins manager.
|
|
#5
|
|||
|
|||
|
what exactly do I do with the add in manager?
Thanks, Richard |
|
#6
|
||||
|
||||
|
in VB6 you would load the VB 6 Resource Manager
|
|
#7
|
|||
|
|||
|
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Customizable EXEs? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|