473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

VB - APP - Save file onto computer,(Hard to explain short)

Hey,

i would like to know if anyone could me i am making a series of programs which have numerous challenges decoding etc... but i would want them to not be able to use the next app until successfully completing the first

my idea was to maybe somehow save a file onto their computer which saves this data so if they complete the first app it saves a file which allows the person to run the second App if they haven't completed the first it simply says "You have not completed Challenge 1"

Please if you don't understand just say and i will try explaining more clearly.

Thanks
Nov 8 '08 #1
1 1094
mldisibio
190 Expert 100+
Please clarify if the following are incorrect:
- you are creating Windows Client applications (not web);
- you are creating separate exe assemblies for each level (or just one with multiple levels?);
- are you going to install them all to the same directory?

There is nothing wrong with your idea of creating a file as a flag permitting the next application to start. However, be aware:
- you may not always be guaranteed to know the path, unless you write it to the directory of your current exe. If you have multiple install directories, one app may not know where to look for the other.
- users sometimes resent files being written to a directory you think you can guarantee, such as the "C drive" or "C:\Temp" or whatever.

Couple of other options might be:
- Is this local and are you using a central database for anything? Store it there.
- Write to a registry entry (blah!)
- If all the apps reside in the same directory, you can use the Configuration namespace classes to write values to the app.config file.
- Have each application generate a password when complete that the user will need to start the next application. It will need to be somewhat different or random for each user so that users simply don't "share" passwords, but will also have to follow some algorithm so that the next application can verify it.
Nov 9 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
40
by: Jeff | last post by:
I have a system on a network and want to determine if anyone is currently connected to the back-end files. An interesting twist is that I have noticed that some users can be connected (have the...
23
by: wylbur37 | last post by:
I'm running an Apache server on my own computer (Windows XP Pro). I wrote a simple PHP script (called test3.php) that I'm running by putting the following URL in the address bar of the browser...
12
by: benjamin.krulewitch | last post by:
I'm debugging an issue with a C program that causes the computer to crash, and I'm attempting to log information immediately before the crash occurs. I us my BKprintLog function (see below) to...
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
8
by: Mario Krsnic | last post by:
Hello and Merry Christmas! I flip in my card play some cards using the call "drawimage". These flipped cards are saved in temporary images on the server: temp1.jpg, temp2.jpg... Everything works...
7
by: Mads Aggerholm | last post by:
Hello Sirs, I am having a BMP loadet into a picturebox. This I'd like to save on my harddisk as a GIF: picturebox1.Image.Save("C:\\DATA\\PICTURES\\testpic.gif", ImageFormat.Gif); However,...
3
by: evenlater | last post by:
I have an Access application on a terminal server. Sometimes my users need to export reports to pdf, rtf or xls files and save them to their own client device hard drives. They can do that right...
7
by: Peter Morris | last post by:
Hi all This is a bit vague I suppose :-) Tomorrow I need to write a service which monitors two folders for new files and performs tasks appropriately. Some of these tasks are not too intensive...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.