Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LorenC

    Why can't VFP use any DLL

    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...
  2. LorenC

    Why can't VFP use any DLL

    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...
  3. LorenC

    Exiting the Program using the X Button from Menu

    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
  4. LorenC

    Why can't VFP use any DLL

    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...
  5. LorenC

    Why can't VFP use any DLL

    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
  6. LorenC

    Why can't VFP use any DLL

    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...
  7. LorenC

    Not a FoxPro Program

    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...
  8. LorenC

    Can't Use my subclass library anymore !

    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...
  9. LorenC

    TO PRINTER PROMPT PREVIEW causes blue screen

    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...
  10. LorenC

    TO PRINTER PROMPT PREVIEW causes blue screen

    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...
  11. LorenC

    TO PRINTER PROMPT PREVIEW causes blue screen

    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...
  12. LorenC

    using RTF in FoxPro

    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")...
  13. LorenC

    using RTF in FoxPro

    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...

Part and Inventory Search

Back
Top