Home > database >  Pb novice to consult each prawn
Pb novice to consult each prawn

Time:09-26

Only good pb11.5, use someone good source program, runtime show "application unable to get the Windows system directory, run" system will be terminated, trouble points in detail...

CodePudding user response:

Permissions problem!

CodePudding user response:

The positive solution of upstairs

CodePudding user response:

reference 1st floor xuam response:
permissions problem!

Can be more specific? How to solve? Thank you ~

CodePudding user response:

You also get specific point, that what OS? The user what role? Can direct access to the WINDOWS directory?
reference ying6233437 reply: 3/f
reference 1st floor xuam response:
Permissions problem!

Can be more specific? How to solve? Thank you ~

CodePudding user response:

reference 4 floor xuam response:
that you also have specific points, what OS? The user what role? Can direct access to the WINDOWS directory?

Reference 3 floor ying6233437 reply:
Reference 1/f xuam response:
Permissions problem!

Can be more specific? How to solve? Thank you ~


Using xp, just saw such statements in the program under the
Ulong ul_num
Int answer, answer1, answer2 answer3, answer4, answer5, answer6, answer7
String ls_driver db_path, DQML
DQML=GetCurrentDirectory ()
Answer=RegistryGet (' HKEY_LOCAL_MACHINE \ SOFTWARE \ ODBC \ ODBCINST INI \ Microsoft Access Driver (*. MDB, *. Accdb) ', 'Driver', RegString! , ls_driver)

IF answer=1 THEN
Messagebox (" error ", "the application without access to the Windows system directory, system integration will be terminated run!" , Stopsign!)
RETURN
END IF

CodePudding user response:

The first RegistrySet (), should be to configure the ODBC
reference 5 floor ying6233437 reply:
reference 4 floor xuam response:
You also get specific point, that what OS? The user what role? Can direct access to the WINDOWS directory?

Reference 3 floor ying6233437 reply:
Reference 1/f xuam response:
Permissions problem!

Can be more specific? How to solve? Thank you ~


Using xp, just saw such statements in the program under the
Ulong ul_num
Int answer, answer1, answer2, an...

CodePudding user response:

refer to 6th floor xuam response:
that'll RegistrySet (), should be to configure the ODBC

References 5 floor ying6233437 reply:
Refer to 4th floor xuam response:
You also get specific point, that what OS? The user what role? Can direct access to the WINDOWS directory?

Reference 3 floor ying6233437 reply:
Reference 1/f xuam response:
Permissions problem!

Can be more specific? How to solve? Thank you ~


Using xp system...


Through the ODBC interface connection access database? Has been set up, is still the same problem

CodePudding user response:

Need to program configuration, in the program search RegistrySet (), you will know!

CodePudding user response:

Found, but the statement should be no problem ah, process configuration, where should be modified? Really sorry,,, I did not understand a little
Answer=RegistrySet (' HKEY_current_user \ Software \ ODBC \ ODBC.ini \ ODBC Data Sources', 'JHBJCCS, RegString! , 'Microsoft Access Driver (*. MDB, *. Accdb)')
IF answer=1 THEN
Messagebox (' mistakes', 'application fails to set up the ODBC DATA SOURCE name, system will be terminated run', StopSign!)
RETURN
END the IF
Db_path=DQML + '\ JCJHM1. Accdb. DSN'
Db_path1=db_path
If fileexists (db_path)=false then
Messagebox (' prompt ', 'the database does not exist! ')
The else

refer to the eighth floor xuam response:
need application configuration, search RegistrySet in program (), you will know!

CodePudding user response:

According to this configuration, register with respect to OK, program does not have any problem!

references 9 f ying6233437 response:
found, but the statement should be no problem ah, process configuration, where should be modified? Really sorry,,, I did not understand a little
Answer=RegistrySet (' HKEY_current_user \ Software \ ODBC \ ODBC.ini \ ODBC Data Sources', 'JHBJCCS, RegString! , 'Microsoft Access Driver (*. MDB, *. Accdb)')
IF the answer...

CodePudding user response:

How to register? Sorry

references to the tenth floor xuam response:
according to this configuration, register with respect to OK, program does not have any problem!


References 9 f ying6233437 response:
Found, but the statement should be no problem ah, process configuration, where should be modified? Really sorry,,, I did not understand a little
Answer=RegistrySet (' HKEY_current_user \ Software \ ODBC \ ODBC.ini \ ODBC Data Sources', 'JHBJCCS, RegStrin...

CodePudding user response:

I do not have method really, eldest brother, you find a book to see! See F1
The
reference 11 floor ying6233437 response:
how to register? Sorry


Reference to the tenth floor xuam response:
According to this configuration, register with respect to OK, program does not have any problem!


References 9 f ying6233437 response:
Found, but the statement should be no problem ah, process configuration, where should be modified? Really sorry,,, I did not understand a little
Answer=RegistrySet (' HKEY_current_user \ Software \ ODBC \ ODBC.ini \ ODBC...

CodePudding user response:

LZ basic problem can baidu or GOOGLE
  • Related