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

    How to make SMTP commands to work from VFP

    Hi All, OK, NWmedia and I figured out the work around with the winsock object and the user license issue. But, you will have to copy the MSWINSCK.OCX to the Windows\System or WinNT\System32 directory and the register it with the REGSRV32 on machines that don't have development software...
  2. Uncanny

    How to make SMTP commands to work from VFP

    Hi all, Sorry I opened Pandora's Box with the "CreateObject("MSWinsock.Winsock.1")". I discovered that I had the same "Class is not licensed" error. on a freshly installed production machine. That Winsock ActiveX control is not distributable. If you installed...
  3. Uncanny

    How to make SMTP commands to work from VFP

    If you have registed the .OCX, then you could be able to execute this line in the command window: oTCPIP = CreateObject("MSWinsock.Winsock.1") If you don't get an error, then everything is ready to go. You don't need a form with the active x control! Hello, boys, let's get out of...
  4. Uncanny

    How to make SMTP commands to work from VFP

    Here is a Function that uses the MSWinsock.Winsock.1 Object. NO OUTSIDE DLL IS REQUIRED. How bout that, Gents? But, you can only send a simple text message. I build the body text string with CrLf's between lines. Or I do a FiletoStr() from a text log file and pass it into the Function. Our...
  5. Uncanny

    Seeking database structure info in a .prg

    Here's another method for getting table names in a database and the field names from each table. *Sample Code* Open Database MYDATABASE nDBFs=ADBOBJECTS(aDBFs,"TABLE") For nI = 1 to nDBFs ?"Table Name = "+aDBFs(nI) Use (aDBFs(nI)) nFlds = AFields(aFlds)...
  6. Uncanny

    Seek Vs. Locate on 5Milion Record Table!!

    Hi TeknoSDS, You want Code, you got Code! I have provided a couple of ways to use the INDEXSEEK(). One small drawback, INDEXSEEK() is only available in VFP6.0 and higher. Hope this code will work for you. * Create Test Database Create Cursor TEST (Key C(5), Data C (5)) Select Test *...
  7. Uncanny

    Seek Vs. Locate on 5Milion Record Table!!

    TeknoSDS, You could also try INDEXSEEK(). It searches an Index that is active or specified in the function parameters and only moves the pointer if the condition is met. Very Fast! Wicked Fast! My bet is it would beat a standard SEEK and always beat LOCATE in a contest of speed. The...
  8. Uncanny

    Email problem with Outlook XP

    Hi Guys, The CDO DLL name is CDOsys.dll and/or CDOnts.dll. I've been trying to use code similar to what you are doing. We want to send emails from production machines to an email server without having to configure Outlook on said production machines. We don't want that hassle or overhead...
  9. Uncanny

    Calling Internet-pages by VFP

    Klaus, I'll be damned if I can find a Win98 machine at my office to test the XMLHTTP object. But, from what I can tell (you just have to love the MSDN site) it looks like all the XML objects are included with IE. So, if you have IE5.5 or IE6, you should be ready to rock and roll. If not you...
  10. Uncanny

    Printing under DOS mode from VFP

    Here is another solution..... In the Dos window type: Net Use LPT2 \\<computer>\<printer> /Persistent:Yes This will take care of your DOS printing to network printer problems. If you have problems with the command you can get all the parameters with &quot;Net Use ?&quot; in the DOS window...
  11. Uncanny

    Calling Internet-pages by VFP

    Klaus, If you have Win 2000 you have access to the &quot;Microsoft.XMLHTTP&quot; object. It may also be a part of IE6. You can call this object and &quot;Screen Scrape&quot; an entire page into a memory variable and copy it to a file. Or if you know what you're looking for, you could extract...

Part and Inventory Search

Back
Top