How do I create an error handler for a date formatted textbox? [textbox.value=ctod(' / / ')] VFP6.
A default handler kicks in when an invalid date is entered and I can't find a way to stop it whatever code I put in the error event.
I want an invalid date to generate a messagebox to conform...
I'm trying to run a function using WScript, with the line
var oShell=WScript.CreateObject("WScript.shell")
However this only produces the error 'WScript is not defined'
Wscript is installed. If you put the function code in a text file with a .js extension it runs OK in...
I want to copy an Oracle table via a CD onto a system which does NOT have Oracle server installed.
Can I then access that table via ODBC from Foxpro?
If not any ideas. I don't want to have to buy an Oracle licence just for this one job.
Thanks
John
I want to create a grid which looks exactly like the files display in Windows Explorer. So I have a table with 2 fields, one being a general field with the icon in it and one with the file name. My grid has a oleboundcontrol in the first column and the file names in the second. No grid lines...
I want to run a programme on my local computer from a web page displyed in IE5. No problem to put a link on the page to the programme. But you then get the 'Do you want to run from present location or save to disk box'. There is a tick box to disable this but it's always greyed out. If you ask...
I was re-installing FP on Windows 98 when it aborted. Now I can't get it installed because it claims that a previous installation was incomplete. I have removed all the files I can find and all the FP tags in the registry but it still says there is a previous installation.
Any ideas please as...
I have a number of forms in a project one of which is called NOMINAL and is saved as NOMINAL.scx.
When I run the project two forms appear in the screen, Nominal and another called Search. The search form has a list of names in a grid and when you click on an item in the grid the nominal form is...
I've been using DBF2HTML and GenHTML.prg to output data as a list table into a browser using code from the DoHtml sample. It works fine.
However the data grid displays with a grey background and doubled lines which doesn't fit with the rest of my displays.
I can change the background colour...
I have a grid displaying fields from a view. Most columns are text boxes but one is an edit box displaying a memo field. There is also a dynamicbackcolor on all columns.
The weird thing is that if the edit box or its column are read only it does not display the text or the dynamicbackcolor. All...
I have a directory marked Read Only copied from a CD. When I go to the properties the read only box has a green dot in it. I clear this and click apply and the box then shows clear. However if you close the property window and then re-open it the green dot is back and the directory is still read...
Can I group the items in a VFP6 system menu by putting spaces or a separator between pads? I'm sure I've seen something on this here before but I can't find it.
thanks
John
Why cann't I have a form (with no title bar) less than 106 pixels wide? Is there any way to do this?
Or for that matter less than 21 pixels high, though I cann't see a use for that one.
Does anyone know a way to arrange the object list in the properties window in form designer.
I get for example:
Form1
label7
command4
label3
line4
line8
label6
command3
line1
and would really like all types together or alphabetical order. It's a real pain trying to find some...
Can anyone please help me to copy the text from another application's open window to the clipboard?
I assume you use the api call setclipboarddata() but I can't find a way to assign the data to the other window's text.
Thanks
I want to copy a screen from another programme into an edit box on my VFP form. I thought of copying it to the windows clipboard then into VFP with _Cliptext.
Is there any way I can do this programmatically and save the user doing it manually?
I can identify the other screen with an API call...
How can I create the following view in the view designer?
Select * from table1 where;
field1=aa AND (field2=bb OR field3=cc OR filed4=dd)
Note position of brackets. I can't get it to group the OR s together.
Thanks
I want to drag an object off a pageframe onto the same form that the pageframe is on. And then be able to move it around the form. I can't get it to drop onto the form - the object just disappears.
Any advice please
Sorry if this is obvious - I'm a Delphi beginner:
I have a small programme which is a splash screen which shows a small image then runs another exe.
If I hardcode the other exe it works instantly , thus:
procedure TForm1.FormActivate(Sender: TObject);
begin...
I have a top-level form with a webrowser control (_web) and a command button (Exit).
The Exit button executes a closedown procedure which only has the command QUIT in it.
In the startup prg OnShutdown also executes the same closedown procedure.
When you run the form and click the Exit button...
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.