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

  • Users: culleoka
  • Order by date
  1. culleoka

    Problem with FtpSetCurrentDirectory()

    I have the following code in a program: #DEFINE INTERNET_FLAG_PASSIVE 134217728 DECLARE INTEGER FtpSetCurrentDirectory IN wininet; INTEGER hftpSession, ; STRING cPath hOpen = InternetOpen (sAgent, 1,; sProxyName, sProxyBypass, lFlags) fPath='/ajp/entry/ajp89f01/ADLRECVD'...
  2. culleoka

    end of line character - Windows vrs Unix

    ddiamond, I intercept files from a Windows 2K server, with ASCII data. I then edit these files in Visual Foxpro & copy back out to flat files for input to a Sun Solaris Unix server. The Unix server kept rejecting the data. Took forever to figure out, but after I started inserting an...
  3. culleoka

    secure ftp

    rowr308, Windows ftp.exe will only work in Active mode. You probably need to switch to the Windows API to FTP in Passive mode. At least that was the problem I ran into on our secure server. Take a look at my thread in the Win API(Microsoft) forum on this site. I posted a question there...
  4. culleoka

    ntvdm encountered a hard error

    Sorry EC, I forgot to tell you the explanation for the error. 'ntvdm' is an acronym for 'NT Virtual Dos Machine'. Windows creates a separate space in memory which runs the DOS kernel. But NT and Windows kernels are not compatible. Windows ME and above started using the NT kernel, hence a...
  5. culleoka

    ntvdm encountered a hard error

    EC, Look up the ForceDos command in your Windows Help. I had a problem with an insurance agencies software, developed in FoxPro for DOS, and trying to run it on WinXP. It required the ForceDos command to get it to run under WinXP. It sounds like a Windows problem to me. The ForceDos command...
  6. culleoka

    Value to pass for INTERNET_FLAG_PASSIVE

    Thanks again to Dave Summers for a utility on his site which has the formula to convert hex to integer. The value to be passed to InternetConnect for Passive mode is 134217728. Worked like a charm! So the command should be: hftpSession = InternetConnect (hOpen, lcHost, 0, lcUser, lcPwd...
  7. culleoka

    Value to pass for INTERNET_FLAG_PASSIVE

    The following is partial code I downloaded from www.davesummers.net/foxprolinks.htm. DECLARE INTEGER InternetOpen IN wininet; STRING sAgent, INTEGER lAccessType, STRING sProxyName,; STRING sProxyBypass, STRING lFlags DECLARE INTEGER InternetConnect IN wininet.DLL; INTEGER...
  8. culleoka

    FTP with WIN API?

    I think I need to revise my question. What I really want to do is script IE. I figured that the WIN API would be needed. However, I'm not even sure whether scripting IE is possible. Is it? Any input is appreciated> Pat
  9. culleoka

    FTP with WIN API?

    I am trying to download files from a Sun Solaris(unix) server from a Win XP machine. I have been doing this via a couple different FTP programs for years. However, with a new firewall installed on the XP machine, it requires FTP in passive mode. The Win XP ftp.exe will not do passive mode...
  10. culleoka

    An api call to end an Excel process

    This is how I do it in Visual FoxPro: oExcel = createobject('Excel.application') oWbl = oExcel.workbooks.open('C:\Shared\Bsl.xls') oExcel.WINDOWS("Bsl.xls").ACTIVATE OExcel.ROWS("2:32000").SELECT oExcel.SELECTION.DELETE oExcel.Visible = .T. * Destroy the Automation object variable oExcel =...
  11. culleoka

    A way to protect index files?

    Thank you, Mike Lewis! Go Recno() did the trick. I can now get rid of the troublesome index file. The app will now be much stabler. Also thanks to everyone who responded to this question.
  12. culleoka

    How show record number if BROWSE

    ilovemusic, Down & dirty: Alter Table Current.dbf Add Column nRecNo n(5) Replace all cRecNo with RecNo() Browse Pat
  13. culleoka

    Programmitically map a network drive?

    Mike, I forgot. A star for you! Pat
  14. culleoka

    Programmitically map a network drive?

    Thanks Mike! oNet.MapNetworkDrive...... worked like a charm! For some reason the Net Use command worked also, from the Command Prompt. It would not, however, connect from VFP 5.0. I don't know what the deal is there, but the other tip worked great, so I am happy! Thanks again! Pat
  15. culleoka

    Programmitically map a network drive?

    I have an app that needs to be mapped to a server 8 miles away. My problem is the shared folder on the server has a space in the folder name. The 'Net Use' command below does not work. I have also tried 'Benchs~1', 'Bench ~1'. I am working in VFP 5.0 and the app will be run on Windows NT 4.0...
  16. culleoka

    A way to protect index files?

    Thank you, everyone for your replies to this question. Guess I'll just copy the .dbf and .cdx files from archive at each startup of the app. Pat
  17. culleoka

    A way to protect index files?

    Mike, By 'shake it a little', I mean 'move the pointer in the table' to get the grids linked to the single entry table to refresh. I imagine there are other ways to do it, but since the whole table amounts to one row, 9 characters wide, and the grids never get focus, it was simplest to reindex...
  18. culleoka

    A way to protect index files?

    I have a simple VFP5 app, running on about thirty machines, that is continually failing because of a corrupt .cdx file. It has single record, one C(9) field, table to enter the info to look up, which is linked to two others tables by that field. After entering one part number, I have to 'shake'...
  19. culleoka

    Syntax for message receipt in MAPI

    Thanks rschummer. I have tried objMessage.MsgReceiptRequested = .T. with no success. Do I have the syntax wrong? Pat
  20. culleoka

    Syntax for message receipt in MAPI

    I have a working MAPI session in VFP 5. But try as I might, I cannot get the right syntax to turn message receipt ON. Can anyone help with this? Pat

Part and Inventory Search

Back
Top