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...
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...
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...
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...
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)...
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
*...
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...
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...
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...
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 "Net Use ?" in the DOS window...
Klaus,
If you have Win 2000 you have access to the "Microsoft.XMLHTTP" object. It may also be a part of IE6. You can call this object and "Screen Scrape" 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...
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.