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 TouchToneTommy 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: *

  • Users: longda
  • Content: Threads
  • Order by date
  1. longda

    Unmap drive to unc question

    I read the faq184-3137 about using the WnetGetConnection api call. This is cool and all but I was using the adir function with the "V" flag to return the volume name. If it is a mapped drive it returns the unc path as the volume name. I am not to familar with the difference between volume name...
  2. longda

    Incorrect results using exponentiation with the INT() function

    We have just encountered a problem with using exponentiation inside the INT() function with regards to the SET DECIMALS setting. Below is sample code for you to try in your command window. SET DECIMALS TO 2 l_nNewValue = 4.9811 ? INT(l_nNewValue*(10^5)) / (10^5) = 4.9811 ...
  3. longda

    Can you set the resource file in config.fpw

    I know that I can use RESOURCE=OFF in the config.fpw, but is there a way I can set which resource file to use in the config.fpw. Maybe something like this: RESOURCE=C:\temp.dbf RESOURCE=OFF I want to be able to set where the resource file is but not use it right away. Thanks Dave L.
  4. longda

    _pagetotal not working on report created in 6 and saved in 8

    I have a couple of reports that were created in VFP 6 and now we are changing over to VFP 8. When I add the _pagetotal variable to a VFP 6 report and save it in VFP 8 and rebuild the .app file I get an error message when the report is ran. There error is "_pagetotal variable not...
  5. longda

    How to resume download files with VFP?

    I would like to create a download manager using VFP because a broadband connection is not available in my area. Many of the download managers I have seen on the web are able to resume a download if it is interrupted some how. I wanted to try and create one using VFP because I thought it would be...
  6. longda

    Why does eventhandler() fire the event three times?

    I have created a COM Add-in for Outlook using VFP 8. I create a toolbar and stick the buttons on the toolbar into an array. I then use the eventhandler function for each button in array. There are three buttons on the toolbar. Now for the confusing part, it works perfectly fine on another...
  7. longda

    How to create a new outlook folder?

    I have searched the forums and found how to access the folders that are currently in outlook. I can not however find anything that states how to create a new outlook folder through VFP if this is at all possible. I just need a generic example of how to add a folder to an existing public folder...
  8. longda

    how to chang _screen properties in config file

    I am having a problem changing some of the VFP _screen properties in the config.fpw file. Currently I have an EXE that will run the newest version of an my APP. I have the same config file included in my projects for both the EXE and the APP. The config.fpw looks like this: ESCAPE = OFF...
  9. longda

    Raid for fast-wide drives in proliant 3000?

    Can I use a smart-array 221 controller with fast-wide drives? I have 6 4.3GB fast-wide drives that I would like to put into a raid 5 configuration. I got a used proliant 3000 PII 333mhz machine for free along with these free drives so I am doing this just as a project for home so I can't spend...
  10. longda

    can't change setfldstate when appending new record.

    When I append a new record to table then try to use setfldstate() to change some of the fields to not edited, it gives me an error (function, value, or type is incorrect). The only states I can change the field to is 3 or 4. I have optimistic table buffering on. Is there any way around this or...
  11. longda

    Eventtracking during runtime

    Is there any way to use 'set eventtracking' or something like it during runtime to create a very simple log file. I am having some problems using createobject() when instantiating a form. Some of the controls bomb out at the init event which causes an error 'can't instantiate object' and my form...
  12. longda

    Error writing to file when VFP com server is called

    I created a small test com server in VFP that will return the operating system. It is a small exe. When I run this code in excel I get a VFP error window stating "Error writing to file.". The VFP com server doesn't use any files so why does this come up? It happens right after I set...
  13. longda

    Source not available. Please help asap.

    I recently got this when I try to step through the program. I know what source out of date is and how to fix it but this is a new one to me. Please help. I am running out of time and I tried everything that I could think of (recompiling, rebuilding, deleting .fxp, etc...). Thanks in advance. Dave
  14. longda

    How to close print spooler?

    If i use the "set printer on" it opens the print spooler and shows the printer icon in the system tray. But when i use "set printer off" the icon stays there and when i open it, it shows the spooler is still active even though the information printed. How can i close the...
  15. longda

    set printer error on win2k

    I get a system error when I try to set my printer to a different printer on my 2000 machine. It says "FOXPROW caused a General Protection Fault in module FOXPROW.EXE at 0001:222D. Choose close, FOXPROW will close.". I am able to set my network printer the first time in my program like...
  16. longda

    print to a specific printer tray

    I need help trying to print to specific printer tray. I have done a few key word searches and found a link to the universal thread that didn't seem to work, other than that I found nothing. My problem is that I only have 7 reports but they all print to one priter execpt one. I need to print...
  17. longda

    no overwrite on last character of textbox with a max length

    I have some textboxes on a form that the user must enter data into. I have a maxlength on all of them, and I have set confirm on so the user must tab out of the textbox. This will however just place the cursor of the textbox to the last character and if the user continues to type then that last...
  18. longda

    loacl app connecting to server - HELP1

    I recently upgraded an application that runs a local machine that polls time clocks throughout our buildings. It saves the information to the server, but if the server goes down, the information is saved to local machine until it gets appended back to the server when it comes back up. The...
  19. longda

    How to check if an application is running on a server?

    I am re-writting a program to poll some time clocks and append the data to the server. The server also runs a daily backup of all the data files. So I need to stop polling the clocks and let the data stay in a concentrator until the backup stops and append it back to the server. The length of...
  20. longda

    how to copy a bitmap in a general field to a jpeg file

    I have a table name empphoto with two fields the first is emp_num which holds the numeric value of the employees id number, the second is a general field which has a bitmap picture of the employee embedded in it. This is a 2.6 table and I want to save the picture in the general field to a...

Part and Inventory Search

Back
Top