Click here to Skip to main content
16,018,114 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB comments to xml Pin
Christian Graus30-Jun-05 18:51
protectorChristian Graus30-Jun-05 18:51 
GeneralRe: VB comments to xml Pin
KaptinKrunch30-Jun-05 18:56
KaptinKrunch30-Jun-05 18:56 
GeneralRe: VB comments to xml Pin
Christian Graus30-Jun-05 19:10
protectorChristian Graus30-Jun-05 19:10 
GeneralRe: VB comments to xml Pin
KaptinKrunch30-Jun-05 19:18
KaptinKrunch30-Jun-05 19:18 
GeneralRe: VB comments to xml Pin
Christian Graus30-Jun-05 19:27
protectorChristian Graus30-Jun-05 19:27 
GeneralRe: VB comments to xml Pin
Dave Kreskowiak1-Jul-05 3:27
mveDave Kreskowiak1-Jul-05 3:27 
GeneralRe: VB comments to xml Pin
Dave Kreskowiak1-Jul-05 3:28
mveDave Kreskowiak1-Jul-05 3:28 
GeneralVBA call to C++ DLL Pin
john john mackey30-Jun-05 13:34
john john mackey30-Jun-05 13:34 
I have a problem that is confusing to me...

In my VBA code inside an MS Access database, I make a two function calls to external functions in a C++ DLL. Here is how I have it setup in VBA side:

'external LIB functions<br />
Private Declare Function Convert_String_To_Geodetic Lib "C:\Work\MyDLL.dll" (ByVal strMyStr As String, ByRef Lat As Double, ByRef Lon As Double) As Long<br />
Private Declare Function Convert_Geodetic_To_String Lib "C:\Work\MyDLL.dll" (ByVal Lat As Double, ByVal Lon As Double, ByVal Precision As Long, ByVal strMyStr As String) As Long<br />


When I don't absolute path, only the second function returns values as expected - the first Convert_String_To_Geodetic ( ) does NOT. When I do absolute path, BOTH functions seem to behave ok.

Questions:
1) how can I specify a relative path to current working directory - ".\" or no path has side effect of NOT WORKING.

2) WHY does using absolute path work? If I leave path off or ".\", it knows the DLL/function but doesn't return correct value back in Lat Lon variables.


I'm totally confused Confused | :confused:
Thanks,
Johnny
GeneralRe: VBA call to C++ DLL Pin
Dave Kreskowiak30-Jun-05 17:27
mveDave Kreskowiak30-Jun-05 17:27 
GeneralHelp files using Notepad Pin
rswipe30-Jun-05 12:44
rswipe30-Jun-05 12:44 
GeneralRe: Help files using Notepad Pin
Christian Graus30-Jun-05 14:48
protectorChristian Graus30-Jun-05 14:48 
GeneralRe: Help files using Notepad Pin
Dave Kreskowiak30-Jun-05 17:17
mveDave Kreskowiak30-Jun-05 17:17 
GeneralRe: Help files using Notepad Pin
Christian Graus30-Jun-05 18:35
protectorChristian Graus30-Jun-05 18:35 
GeneralRe: Help files using Notepad Pin
Dave Kreskowiak1-Jul-05 3:22
mveDave Kreskowiak1-Jul-05 3:22 
GeneralRe: Help files using Notepad Pin
rswipe3-Jul-05 9:06
rswipe3-Jul-05 9:06 
GeneralRe: Help files using Notepad Pin
Anonymous6-Jul-05 6:59
Anonymous6-Jul-05 6:59 
GeneralRe: Help files using Notepad Pin
rswipe6-Jul-05 16:49
rswipe6-Jul-05 16:49 
GeneralVB.NET Using SendKeys to invoke Find Dialog of AxWebBrowser control Pin
Anonymous30-Jun-05 11:03
Anonymous30-Jun-05 11:03 
GeneralRe: VB.NET Using SendKeys to invoke Find Dialog of AxWebBrowser control Pin
rudy.net1-Jul-05 18:30
rudy.net1-Jul-05 18:30 
GeneralRe: VB.NET Using SendKeys to invoke Find Dialog of AxWebBrowser control Pin
Anonymous2-Jul-05 20:13
Anonymous2-Jul-05 20:13 
GeneralRe: VB.NET Using SendKeys to invoke Find Dialog of AxWebBrowser control Pin
Anonymous6-Jul-05 7:09
Anonymous6-Jul-05 7:09 
GeneralObtain a handle to a label in a container Pin
Abhishek Karnik30-Jun-05 10:44
Abhishek Karnik30-Jun-05 10:44 
Generalusing a string variables value Pin
btoyer30-Jun-05 10:31
btoyer30-Jun-05 10:31 
GeneralRe: using a string variables value Pin
Christian Graus30-Jun-05 14:49
protectorChristian Graus30-Jun-05 14:49 
GeneralRe: using a string variables value Pin
btoyer1-Jul-05 5:49
btoyer1-Jul-05 5:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.