Hi..........
I added in some email functionality to one of my program which now will not work for the one user who happens to have a 64 bit version of Access. I know what bit of code is causing the error and I was wondering if anyone new what I need to change in it so that it will work for 64 bit.
I tried the obvious first guess, changing the shell32.dll to shell64.dll but that did not work.
Also, I know its declaring a function but I hate to admit it, I'm not really sure what all of this is doing. So if someone happens to know what's going on I'd love to learn.
I added in some email functionality to one of my program which now will not work for the one user who happens to have a 64 bit version of Access. I know what bit of code is causing the error and I was wondering if anyone new what I need to change in it so that it will work for 64 bit.
I tried the obvious first guess, changing the shell32.dll to shell64.dll but that did not work.
Code:
Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" _
(ByVal hWnd As Long, ByVal lpszOp As String, _
ByVal lpszFile As String, ByVal lpszParams As String, _
ByVal LpszDir As String, ByVal FsShowCmd As Long) _
As Long
Also, I know its declaring a function but I hate to admit it, I'm not really sure what all of this is doing. So if someone happens to know what's going on I'd love to learn.