My declare statement is like this:
DECLARE INTEGER ym_connectionstate IN YMBG32.DLL INTEGER, STRING, STRING, STRING, STRING, INTEGER
I have commented out any commands using this DLL in my code so the program and project doesn't use it.
When I use the Project Manager and compile an .exe
it...
It must be a regular DLL because
This is how it is used in declare statement:
DECLARE INTEGER ym_connectionstate IN YMBG32.DLL INTEGER, STRING, STRING, STRING, STRING, INTEGER
then in code it's used like so:
result = ym_connectionstate(0, 'www.somecompany.com','' ,'' ,'' ,15)
It takes up to...
Try this in the startup of your program.
on shutdown do quitit
Make this a .prg file.
*******************
PROCEDURE quitit
*******************
ans = messagebox('Exit this program ?',4,'Quit Program Now?')
if ans = 6
on shutdown
clear events
ENDIF
RETURN
Hi Craig,
I really don't know what kind they give me.
They are C++ programers and don't know much about VFP.
The funny thing is the first DLL works great but the second won't work with vfp.
I was wondering what I could tell them on how to make or compile the DLL in there C++ program so it...
I have a 3rd party DLL that I use and it works great.
They sent me a second DLL to use in another part of my program and the
project manager gives error "DLL is Invalid"
What advice can I give to 3rd party on how to make DLL for VFP ?
What DLL can VFP use ?
Thanks
Loren
I have a 3rd party DLL I'm using and it works great.
They sent me a second DLL for another part of my program and the project manager gave error "DLL is invalid".
What DLLs can I use ?
What is the difference that VFP can't use some DLLs ?
What advice can I give 3rd party in making...
On startup of my foxpro exe file, the customer gets an Error prompt stating that the program is not a foxpro program and then within 45 to 60 seconds, kills the program and my customer is back to the desktop.
He used my program last year without a problem.
What's different ?
I used Refox MMII...
I have vfp7 w/sp1. I made a full library of all the base controls while in vfp6. It worked fine. It also worked fine in vfp7.
I noticed just lately that when making a new form, my library was not the default, the "Standard" library was and when I click on "lclib" to add it...
Thanks Rianeiro,
I'm using VFP7 with sp1.
I'm using Mike Gagnon's idea with the msvcrt's.
I made a routine to search for all the msvcrt's on the customers machine and picking msvcrt20.dll if it's there.
Also I made a dialog for the customer to change to a different one on his machine in case...
Thanks Mike,
This is the first of any code I've received to help with the problem.
But how do I know what they have on there system if I hard code with MSVCRT, MSCVRT10 OR MSCVRT20
Would it be wise to copy my copy of say, MSCVRT20 into their windows system so they have it?
Then the hard code...
I have almost 200 customers and two of them have the same problem.
When they go to print a report or preview a report their computer blue screens.
They both have different printers. One made his computer, the other bought a laptop.
The only common items is they both have windows Me and the AMD...
Ramani,
you asked if the above command was a user defined function, Yes it is. Here is the complete call and function. I must give Credit to Rick Strahl, from his book Internet Applications with VFP 6.0
Thanks to all
Loren
xdirect = SYS(5)+SYS(2003)
ShellExec(xdirect+"\SCGINS.RTF")...
This is the first time I have visited this forum. Very impressive guys. Informed and knowledgible.
[xdirect = SYS(5)+SYS(2003)]
[ShellExec(xdirect+"\SCGINS.RTF")]
I have put the command above in my program which calls the API and brings up a word processor. In my case Microsoft Word...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.