Try this code (inspired from one of ramani's faqs):
o=createobject("outlook.application")
oitem=o.createitem(0)
oitem.subject="Hyperlink test"
oitem.to="destination@far_away.com"
** To send copy to addresses..
oItem.htmlbody='<!DOCTYPE HTML PUBLIC...
Or, you can use something like:
Public FirstForm, SecondForm
...
do form MyFirstForm name Form1
FirstForm=Form1
...
do form MySecondForm name Form2
SecondForm=Form2
&&Menu
..
FirstForm.Caption='***'
Good luck!
Hal,
Sleep function pauses only the current thread for a given time. But, if you tried it, you probably noticed that no other event processing occurs during sleep time (e.g. you cannot move a form belonging to the application), it's more like a clinical death. You can get the same thing with...
I suggest that you trap the error, like this:
oNet = CREATEOBJECT("wscript.network")
ON ERROR bError=.T.
oNet.MapNetworkDrive("H:","\\Server\date",.t.,"user","pass")
if bError
messagebox('An error occurred.'+chr(13)+' If you are not logged...
Badukist,
<The compression is another thing to consider. Also a custom splash bitmap can be shown at application startup.>
Would you please explain a little bit further? I've seen one of the products and it's way too expensive.
Just for fun, you can get the same result in Explorer by pressing WINKEY+M. Here's the code that does that:
Declare keybd_event in User32 ;
Short bVK, Short bScan, Long nFlags, Long dwExtraInfo
keybd_event(0x5B, 0, 0x01 , 0 ) &&press WinKey
keybd_event(0x4D, 0, 0x01 , 0 ) && press M...
Although all the methods above should work, most of them don't. Fortunately, there is a simple solution. Just make sure you have a config.fpw with at least one line:
SCREEN = OFF. Try with and without it and you'll see the difference. In my case, it works every time.
Good luck!
I had the same problem. If you are still interested, I found accidentally the answer (I guess you still have the problem). Even if you have _screen.visible=.F. in the main program, create a config.fpw file in the same directory with at least one line: SCREEN = OFF. Good luck!
And the funny thing is that the "incriminated" code is executing correctly the FTP sequence and the data is transferred (I did a network capture). There is probably a bug in the implementation of the class. Maybe this wasn't intended to do ftp transfers.
(config-if)#frame-relay interface-dlci <dlci> associates a DLCI number with an interface (subinterface); this is used by InverseArp to dynamically map the dlci number to the IP address at the other end of the PVC. If this mapping is done manually, by issueing:
(config-if)#frame-relay map ip...
I'm not sure I understood right, but:
Create a simple watch program which has a timer on it. The program runs on secretary's computer. No user interface required. It checks every minute or so if a variable stored on the disk with "save to <memoname> all like <checknow>" contains a...
You can try installing the printer as local, and put a .bat file on your desktop named let's say "Print to Epson.bat" containing: 'net use lpt1: \\printsrv\epson'. You will also need a second .bat file named "Print locally.bat" with 'net use lpt1: /d'
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.