Change Current Directory In PowerBuilder
External Function Declaration
1 2 |
//[External Function Declaration] Function Boolean SetCurrentDirectoryA(Ref String lpsdir) Library "kernel32.dll" |
PowerScript Call External Function
1 2 3 4 |
//[Powerscript] String ls_Directory ls_Directory = "C:\MyNewDirectory\" lb_Return = SetCurrentDirectoryA(ls_Directory) |
Good Luck!
Subscribe
Login
0 Comments
Oldest