|
-
Nov 17th, 2000, 11:42 AM
#1
How do you establish your current directory using the API?
-
Nov 17th, 2000, 12:27 PM
#2
Member
Public Declare Function GetCurrentDirectory Lib "kernel32" Alias "GetCurrentDirectory" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
is that what you are looking for?
-
Nov 17th, 2000, 01:02 PM
#3
Yah Mahn
I found this in the API viewer and have tried to use it my code and can't get it written correctly. Any suggestions?
-
Nov 19th, 2000, 01:46 AM
#4
PowerPoster
To get your current application directory, you can use the App object in VB like app.path. No need to use the [b]GetCurrentDirectory[b] API function.
-
Nov 19th, 2000, 01:56 AM
#5
PowerPoster
I also encounter the following error when calling the GetCurrentDirectory API function:
Run-time error '453'
Can't find the DLL entry point in kernel32
-
Nov 20th, 2000, 08:41 AM
#6
app saver
Thanks alot Chris I program in asp ado and xml, don't know a whole lot about vb except what I get out of the help files. I thought that I would have to program this out of the api. Sure is nice to get some pointers from somebody who knows vb. Thanks.
-
Nov 20th, 2000, 08:22 PM
#7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|