Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB5 Question

Status
Not open for further replies.

NewGuy

Programmer
Dec 28, 2000
31
0
0
CA
I want to store the name of the last form the user was viewing in a TEXT file on their Hard Drive.

I have tried stuff like "Dim TheLastForm as Form" and then setting TheLastForm to what was read from the TEXT file.

I can not get it to work, except to use a very ugly "Select Case" statement listing all my forms, which are starting to add up.

Is what I want to do possible some way other than the UGLY way.

Any help would be appreciated. ===========================================================
Very little experience in programming
But I do know VB5, InstallShield Express 2.1X
and Access 97.
 
hai newguy,
this is srusti here. why don't you try registry man. <B>getregsetting()<b> can be quite handy. get the help .
 
sorry for my notification new guy

use GetRegSetting()
 
My problem is how I use the stored value to open the last form viewed the next time the user starts the program.

I forgot to mention this part in my original post.

Thank you....... ===========================================================
Very little experience in programming
But I do know VB5, InstallShield Express 2.1X
and Access 97.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top