Creating a User Profile in the Window Registry

  • Thread starter Thread starter Quah
  • Start date Start date
Q

Quah

Guest
Hi;

I am trying in vain in creating a user profile for my Access Application and hope someone can help me to accomplish the task.

The followings are all the steps that I have taken to create the user profile for my application. However, when I create a command-line to open my application, it says that the user profile that I specified does not exist in the Windows Registry.

1 Go to and expand "\HKEY_LOCAL_MACHINE"

2 Clicked on "\SOFTWARE"

3 Added subkey "\My Company" in subkey "\SOFTWARE"

4 Added subkey "\My Application" in subkey "\My Company"

5 Added subkey "\My Application Version Number" in subkey "\My Application"

6 Added subkey "\Run-Time Options" in subkey "My Application Version Number"

7 Create a String Value "Icon" under the subkey "Run-Time Options" and entered the path of my application icon as the value data

8 Create another string value "TitleBar" under the subkey "Run-Time Options" and entered the Title of my application as the value data

9 Create another string value "Startup Screen" under the subkey "Run-Time Options and entered the path of my application splash screen as the value data

10 Go to and expanded "\Microsoft"

11 Expanded "\Office"

12 Expanded "\10.0"

13 Expanded "\Access"

14 Added subkey "\Profiles" in subkey "\Access"

15 Added string value "Profile Name" in subkey "\Profiles" and entered "SOFTWARE\My Company\My Application\My Application Version Number" as the value data

16 Closed the Registry Editor

17 Clicked on "Start" button

18 Selected "Run" from Start Menu

19 Entered: msaccess.exe /profile "Profile Name" "Path of My Application"

20 Clicked "OK"

.....Then the message box pops up. Why can't it find my user profile?


Regards
Quah
 
Does your command line look something like this...

"C:\Program Files\Microsoft Office\Office10\msaccess.exe" C:\YourDatabase.mdb" /profile "YourProfileName"

You might have to play with the double quotes for I might have too many or not enough.

This was in the 97 help files under "Create a user profile"...
Create a command-line for your application that specifies the name you entered in step 8, in double (") quotation marks. For example: MSAccess.exe /profile "Your Profile" Your Application.mdb


HTH
 
ghudson;

Thank you very much for your reply.

In the desktop shortcut; the command line that I have typed in is:-

"C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "Path of My application.mde" /profile "Profile Name"

Whereas in Start ---> Run, I typed

Msaccess.exe /profile "Profile Name" "Path of My Application.mde"

But both gave the same message:- The profile 'Profile Name' that you specified on the command line doesn't exist in the Windows Registry.

Regards,
Quah
 

Users who are viewing this thread

Back
Top Bottom