[new] 'Creates a new data base 'create a One level up directory called Blue_Mountain_Accounts result = mkdir( "..\Blue_Mountain_Accounts\") '...up level Dir works under LBB and LB filedialog "Choose A Place To Save A New DataBase ",_ "..\Blue_Mountain_Accounts\*.dta", pathdbname$ '...up level Dir not work under LBB but works under LB if pathdbname$ = "" then Goto wait wait
|
result = mkdir( "..\Blue_Mountain_Accounts\") template$ = space$(_MAX_PATH) calldll #kernel32, "GetFullPathNameA", _ "..\Blue_Mountain_Accounts\*.dta" as ptr, _MAX_PATH as long, _ template$ as ptr, _NULL as long, ret as long filedialog "Choose A Place To Save A New DataBase ",_ template$, pathdbname$ wait