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 Chriss Miller 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: wgcs
  • Content: Threads
  • Order by date
  1. wgcs

    Reg-Free-COM not quite working with TreeView and DatePicker

    I have tried using MMM and Visual Studio 2008 to generate a .MANIFEST file to "reg-free-com"-consume the MSCOMCTL.OCX and MSCOMCT2.OCX activex libraries. Specifically, I'm using the TreeView and DateTimePicker controls. On Vista, it almost works correctly: The tree populates via code and...
  2. wgcs

    Reg-Free-COM not working with TreeView and DatePicker

    To avoid problems with registering MSCOMCTL.OCX and MSCOMCT2.OCX, I want to use "Reg Free COM" to deploy these files. ( My notes on Reg-Free-COM: http://delicious.com/wsteinford/reg-free-com ) I have created the proper .MANIFEST file, and embedded it in my .EXE It seems to work correctly: 1)...
  3. wgcs

    Trap Ctrl+I in Rtf Control

    I want to provide keyboard shortcuts for Bold and Italics in the RTF control on my VFP9 form. The OLEClass is Richtext.RichtextCtrl.1 ( described in the "Insert Object" dialog box as "Microsoft Rich Textbox Control, version 6.0" ). I have been able to react to the control keys by putting this...
  4. wgcs

    MacroVision has sunken the InstallShield Ship

    MacroVision seems to be doing all they can to make past customers of InstallShield not able to do any work without forking over thousands of dollars (and I'm not exaggerating here!!) I had be an almost happy user of Installshield Express (Full edition, not VFP limited-edition) v4.0. ISE v4.0...
  5. wgcs

    New VFP TRY..CATCH bug

    I just submitted this bug to Microsoft (as per instructions at http://support.microsoft.com/kb/867477 ) and I thought that everyone may benefit from knowing about this odd behavior: This is a Visual FoxPro bug about FoxPro Version: 9.0 No SP Reproduces: always Steps to Reproduce: (1) Open VFP...
  6. wgcs

    New bug in VFP 9

    Try this in VFP9 (works in VFP8,7,6): wait window juststem("'") Instant blowup! A parameter of just a double-quote also blows up, but that parameter isn't a valid file name, whereas just a single-quote IS a valid file name. (I've submitted this bug to Microsoft) These also blow up: WAIT...
  7. wgcs

    $99 InstallShield come-on has catches

    InstallShield/MacroVision is promoting an upgrade from, it seems, every prior express version (such as express and VFP's limited version) to Express v11. This version has some tempting new features, but it also Comes with server based product Activation ta enforce a per Machine licensing model...
  8. wgcs

    Call Stack reporting in CATCH

    I'm trying to retrofit TRY..CATCH (VFP 9, now) into a program that has been around since VFP6... One very frustrating thing is that if I put TRY...CATCH around my READ EVENTS (in an attempt to make errors recoverable, rather than choking out of the application) then I lose the Call Stack that...
  9. wgcs

    Shortcut key and ListView control

    How can I make the ListView control ( mscomctllib.listviewctrl.2 ) pop up a shortcut menu when I press the "Short Cut Key"? When a foxpro control (command button, etc) has focus, the parameters returned for the "Shortcut key" are KeyCode=93 and ShiftAltCtrl=1, but: Code in the ListView's...
  10. wgcs

    Is IMPORT really asynchronous?

    Using this code: IMPORT from (tcFile) TYPE XL5 SHEET (lcAlias) lnFlds = AFIELDS(laFlds) SELECT (lcAlias) GOTO TOP COUNT TO lnCnt I kept getting lnCnt=41 when executing in the program. If I stepped through, lnCnt=78. I Added this after the IMPORT line: DECLARE Sleep IN Win32Api AS apiSleep...
  11. wgcs

    Want sub-classes to see a note on a method?

    Ever want a note to show to someone who subclasses your class when they start to override a method? Sure, you can put a note that shows in the properties window description box, but here's another way: Just define the parameters to the method like this: LPARAMETERS tvParam1, tvParam1 ; && Use...
  12. wgcs

    COPY TO and COPY FILE don't preserve Case

    I'm trying to update an old backup routine to VFP9. I notice that VFP9 still doesn't preserve case on file names when using the "COPY FILE (from) TO (to)" command, and doesn't honor the case you use in "COPY TO DestFileName.DBF". I've deduced that: StrToFile( FileToStr('OriginalFile')...
  13. wgcs

    Is VFP9 Autocomplete table multi-user-shareable?

    Is VFP9 Autocomplete table multi-user-shareable? That is, if I have two or more computers on a network running the same VFP application and accessing the same set of DBF's for data, can they both use the same AutoCompSource DBF at the same time? Even if I test it and it works now, what if...
  14. wgcs

    New FAQ: Place file reference on clipboard

    Ever want a user to email a certain file from your application (eg, a data file), but have trouble getting across how to "browse" to find that file? How about just putting a reference to the file on the clipboard and letting them "Paste" it into an email (which attaches it to the email)? This...
  15. wgcs

    Obscure error with THIS.ADDPROPERTY in INIT

    I have a control, in a grid, which tries to pop-up another form so the user can select a value. This usually works! However, in certain (unknown) circumstances, this error is thrown from within the new form while that form is initializing a Timer control. The timer control has this code in...
  16. wgcs

    Windows Address Book

    Has anyone had any success in accessing the "Windows Address Book" from VFP? I know I can go through Outlook automation (and I will), but I wanted another way for clients who don't have Outlook installed (since, I belive, Outlook Express also uses the WAB, and doesn't support automation). a...
  17. wgcs

    HttpSendRequest takes a long time

    I'm using code essentially like this to download an XML file: lhInternetSession = InternetOpen( lcAgent, INTERNET_OPEN_TYPE_PRECONFIG, '', '', SYNCHRONOUS ) InternetSetOption( lhInternetSession, INTERNET_OPTION_USERNAME, @lcUser, len(lcUser) ) InternetSetOption( lhInternetSession...
  18. wgcs

    VFP 9 Now available for Download to MSDN subscribers!

    I don't remember seeing this announced... maybe I missed it. As of Dec 2004, the release version of VFP 9 can be downloaded from msdn.microsoft.com by MSDN subscribers! - Bill Get the best answers to your questions -- See FAQ481-4875.
  19. wgcs

    Recieve Windows Messages

    Does anyone know how to recieve windows messages before/without VFP processes them? A C application's main event loop has a message processor... VFP does too, but only hands certain messages to VFP-created Forms. I know that it is possible to intercept the "mouse scroll" event on the VFP main...
  20. wgcs

    Export to Excel with custom headers

    I need to create an export function from my VFP application to an excel XLS file. Another company specified the format of the XLS file, and it is like this: The first row contains the names of each column, The following rows are one row per record. This seems great... just like VFP, except the...

Part and Inventory Search

Back
Top