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: csandu00
  • Order by date
  1. csandu00

    Insert Hyperlink into e-mail

    Try this code (inspired from one of ramani's faqs): o=createobject(&quot;outlook.application&quot;) oitem=o.createitem(0) oitem.subject=&quot;Hyperlink test&quot; oitem.to=&quot;destination@far_away.com&quot; ** To send copy to addresses.. oItem.htmlbody='<!DOCTYPE HTML PUBLIC...
  2. csandu00

    Menu addressing objects on forms.

    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!
  3. csandu00

    Pause program execution

    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...
  4. csandu00

    Input from barcode reader

    Put this on the KeyPress event of the textbox procedure text1.keypress LPARAMETERS nKeyCode, nShiftAltCtrl NODEFAULT Good luck!
  5. csandu00

    how to check if the user has logged into the network

    I suggest that you trap the error, like this: oNet = CREATEOBJECT(&quot;wscript.network&quot;) ON ERROR bError=.T. oNet.MapNetworkDrive(&quot;H:&quot;,&quot;\\Server\date&quot;,.t.,&quot;user&quot;,&quot;pass&quot;) if bError messagebox('An error occurred.'+chr(13)+' If you are not logged...
  6. csandu00

    how to protect my system exe from REFOX

    Well, yes, some cost more than the Visual Foxpro Programming Environment, and this is unacceptable, especially for small-time developers.
  7. csandu00

    how to protect my system exe from REFOX

    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.
  8. csandu00

    Minimizing all running applications???

    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...
  9. csandu00

    disabling a button contained in a class

    Put the code in the Init event, not in Load event. Good luck!
  10. csandu00

    How to find the reason for &quot;Not A Table&quot;

    You can try to find out what file is involved with filemon from www.sysinternals.com, which is an excellent (free) tool. Good luck!
  11. csandu00

    Printing spool when VFP (8) open

    Add SET DEVICE TO SCREEN at the end. Good luck!
  12. csandu00

    TreeView Control

    AirCon, Another excellent solution. Congratulations! By the way, how did you know that the window class is 'msvb_lib_tooltips'? What tools do you use?
  13. csandu00

    Stand Alone Application

    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!
  14. csandu00

    Disable ...

    Make sure you use '&quot;': &quot;C:\Program Files\Microsoft Visual FoxPro 8\vfp8.exe&quot; -t -c
  15. csandu00

    select all content in Richtextbox

    Try: thisform.richedit1.selstart=0 thisform.richedit1.sellength=LEN(thisform.richedit1.text) thisform.richedit1.SetFocus Good luck!
  16. csandu00

    Application Focus

    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!
  17. csandu00

    INET - Why Doesn't this work?

    And the funny thing is that the &quot;incriminated&quot; 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.
  18. csandu00

    frame-relay local-dlci question

    (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...
  19. csandu00

    Watcher . . .

    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 &quot;save to <memoname> all like <checknow>&quot; contains a...
  20. csandu00

    W2K printing problem

    You can try installing the printer as local, and put a .bat file on your desktop named let's say &quot;Print to Epson.bat&quot; containing: 'net use lpt1: \\printsrv\epson'. You will also need a second .bat file named &quot;Print locally.bat&quot; with 'net use lpt1: /d'

Part and Inventory Search

Back
Top