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...
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)...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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')...
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...
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...
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...
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...
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...
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.
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...
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...
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.