|
|||
|
I'm having problems with the dialog box filesave.
The user can select a database where he wants to store his data. In the dialog box, the database he's currently working on should be in the dialogs filename box. I've stored this path in a var: HuidigBestand. I use this command. Code:
var res = Dialogs.fileSave("(*.mdb)|*.mdb","",HuidigBestand);
I obtained the paths trough the filesave-dialog so they look like this \\XP\Bureaublad\test.mdb When i use double backslashes like this \\XP\\Bureaublad\\test.mdb it works fine. Is there a way I can convert the single backslashes to doubles or is there another way around it. ps I allready tried: HuidigBestand.split("\").join("\\") But it doens't work |
|
|||
|
You cannot declare the HuidigBestand variable like this:
Code:
var HuidigBestand = "\\XP\Bureaublad\test.mdb"; You should do like this Code:
var HuidigBestand = "\\\\XP\\Bureaublad\\test.mdb"; |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|