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 Mike Lewis 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. jpstafford

    Compile time Defined Constant not acting like a constant.

    Great Suggestion DSummZZZ, this works as advertised. The following Code is how I accomplished this task: Local ldircount m.lDircount=Adir(cDir,"EQUIP.APP") If m.lDircount>0 Thisform.LblUpdate.Caption="Last Update "+; DtoC(cDir[1,3])+Chr(13)+; "Server Build Team"+Chr(13)+; "Routing...
  2. jpstafford

    Compile time Defined Constant not acting like a constant.

    Thanks Jim and Borislav but I am looking for a way to display the Compile Date automatically and not have it change until I compile the application again. All the above dates are alway the current date. If someone has an example of what they have done to accomplish this task, please show me...
  3. jpstafford

    Compile time Defined Constant not acting like a constant.

    I have a form that is used to display my applications Logo and the last time it was updated/compliled. Thinking that the #Define line of code is only read during Compile time I define a constant 'DATECOMPILED' and then used this constant in a label to display the last time the application was...
  4. jpstafford

    I can not make an OLE Internet Object visible no manner what I try?

    Mike I found your article on Google about 'Introducing Shellexecute()' and it answers and solve all my current problems. Thanks again Mike :)...John Stafford
  5. jpstafford

    I can not make an OLE Internet Object visible no manner what I try?

    Thanks Mike Lewis, That worked great. I will do some research to better understand what is happening when I execute the code you provided for me. I was wondering should there by any clean up code after the user is done with the HP site to free up memory, like maybe: Release shellexecute()
  6. jpstafford

    I can not make an OLE Internet Object visible no manner what I try?

    Thanks Mike; I simply want to have my application to open up the Web page so the users can view/use both at the same time (foxpro Equipment Tracking System and HP’s warranty web site). At this time I put the serial number of the equipment into the clipboard very time the user moves from one...
  7. jpstafford

    I can not make an OLE Internet Object visible no manner what I try?

    Here are the requirements. This is a Equipment (Servers) Tracking system. The users need to access the Warranty information from the HP web site on servers. This information can be collected by inputing the servers serial number and Part number into the appropiate fields on the web site. The...
  8. jpstafford

    I can not make an OLE Internet Object visible no manner what I try?

    Thanks Mike, I believe that someone erase my previous question, asking me to post it somewhere else? Anyway, your suggestion didn’t work? I get an error (object doesn’t exist) which is understandable because it is not visible. The property .OLEwarrantyUrl.Visible is False and I can’t change it...
  9. jpstafford

    I can not make an OLE Internet Object visible no manner what I try?

    Using Visual Foxpro 6.0 I am adding an OLE link to a form to access the HP web site. I can not make this object visible at design or run time. Thisform.OLEwarrantyUrl.Enabled=.T. &&this is OK, I can change this from .F. to .T. Thisform.OLEwarrantyUrl.Visible=.F. &&this property stay’s .F. no...
  10. jpstafford

    Finding Drive Labels

    I have and applications/database the depends on a secure drive that is map to the local workstation only when needed. The volume Label never changes put the Drive letter does. I would like to access/search for a drive with the correct label name, thereby telling the application to set the path...
  11. jpstafford

    Memo table doubling in size

    Pack the memo field to see if the memo field file *.FPT returns to some normal size. Thoughts: I beleive the memo field works like this and someone correct me if I'm wrong: The 10 digit memo field is only a pointer to the location of the data in the *.FPT file and this pointer is changed every...
  12. jpstafford

    How do I change the foxpro look?

    Another simple way is to pass the -T parameter to the FoxPro Executable. I use the following all the time. Example: Myapplication.exe -T -Cmyconfig.fpw -T tells FoxPro not to show the FoxPro Logo -C tells FoxPro to use the following file for configuration.
  13. jpstafford

    Forms Releasing when first called.

    Thanks Guys for the responces. Yes I do follow standard practices and have a .Prg main program called Start.prg. I set up the enviroment (Main Menu, Gobal Variables, Privileges, Network Enviroment etc. Its not much different form the 2.6a Start.prg execpt using the Read Events in place of the...
  14. jpstafford

    Forms Releasing when first called.

    I use a Read Events in place of my old Read Cycle Act() Deact() statement. All my application systems are started with a Menu, Logo, and Read Events. No Databases Open. The user can then call one of many Forms in the System i.e. Equipment Tracking System. I was under the impressin that you could...
  15. jpstafford

    Forms Releasing when first called.

    I am converting screens from 2.6a to Visual. If I let foxPro do a functional convertion everything works ok but the code is ugly so I am conveting everthing dirrectly to Visual. Here's my problem: The forms default window type is 'Modeless' which means to me that I could operate on multiple...
  16. jpstafford

    Need advise on how to SetFocus on objects

    Textbox doesn't behave the as Combobox, Editbox, Command buttons. It seems the valid method is fired very time you leave, no manner how the user leave (Mouse, Tab, Enter, etc.). My application didn't have any textbox's in it when I came up with the previous solution. I am use to X-base valid...
  17. jpstafford

    Need advise on how to SetFocus on objects

    Thanks Guys this was fun but it took me many days to prefect the ability to Setfocus to any object at will. I used everyones thoughts and ideals and here is how I got things to work. I used the Setfocus Command in the Lostfocus event with the following generic code. Note: 'SetFocusTo' is a Form...
  18. jpstafford

    Need advise on how to SetFocus on objects

    This isn't a Answer but More to add to the Confusion!! I thought this was the answer to my problems when I saw Jim Booth's Tek-Tip but it didn't work for me. All my forms reference a object to go to in Valid statement depending what the user does/Validation. I created a Form Property call...
  19. jpstafford

    Object not contained in a Formset (1938)

    I am converting from 2.6a to Visual. I am using a old Visual 3.0 copy at this time but will be using 6.0. I am converting all my *.scx forms directly to visual and using grids instead of Browse windows. I get this Object not contained in a Formset only after calling another form (Editing...

Part and Inventory Search

Back
Top