I use cursortoxml() in two different applications like this to produce .xml files:
select A
set fields to field1,field2
cursortoxml(0,"L_XML",1,32)
strtofile(strconv(L_XML,9),"outfile.xml")
set fields off
In application 1, the table names are prepended with the database name like this in the...
Hi,
I have a VFP9 web application where I want to add support for the Czech language. It all works fine except for the reports. If Czech words are entered via the web interface, they are stored in the table like this:
When I list these words again in the web browser, it looks perfectly fine...
Hi,
I would be grateful if someone could give me a hint on the following problem:
Since several years, I'm running a web application based on a Winsock server written by Markus Voellmy:
http://fox.wikis.com/wc.dll?Wiki~WinSockOCXSample
It uses a "pseudo multi threading" by creating a new...
I have integrated a winsock server in my app and have some problems with respone time and broken connections. My server returns HTML code (a user form) with the senddata() method. Sometimes, only half forms are shown in the users browser and it takes long time. I have played some with the size...
I have integrated a winsock server in my app and have some problems with respone time and broken connections. My server returns HTML code (a user form) with the senddata() method. Sometimes, only half forms are shown in the users browser and it takes long time. I have played some with the size...
I have three tables with a nonnumeric relational expression issued with SET RELATION. I would like one of the child tables to be ordered on another field then the common field.
Example:
-Child table 1 holds soccer games.
-Child table 2 holds players.
-Parent table holds soccer tournaments.
-The...
Hi,
If my app has a database open, stored somewhere in a LAN and the connection goes down, I get error 1104 "Error reading file". In my error handler, I would like to take care of this and shutdown nicely without error messages and "file open" dialogs. Any example on how to do this? The app may...
Hi,
I have integrated a winsock server in my app and it works fine except for one thing; When my "dataarrival" procedure, receives data from a POST action (form), it is stuffed into a receive buffer. When the complete message has been captured, the data is computed and the app returns a HTML...
Hi,
I have integrated a winsock server in my app and works fine as long as complete data packages are received. The server is based on a famous example (I think):
http://fox.wikis.com/wc.dll?Wiki~WinSockOCXSample
The problem is how to determine that received data is complete. The wiki example...
Hi,
When my application is shut down abnormally, the cdx files get corrupted and all data entered since last open of the database is lost. I have read threads about (and seen code) for deleting tags and recreating them in index files but I don't understand how to do this as I can't open a table...
Hi,
My app has built-in FTP functionaly available as a procedure in a .prg file. I would like to execute this procedure without having to wait for it to finalize like "do ftp nowait". Is there a way to achieve this.
I thought of putting it in own .dll but then (apparently) I can't use dialogs...
Hi,
I use docked forms in VFP9. In order to keep non-docked dialogs frontmost, I have defined these as "desktop". On right click I want to position these dialogs next to the mouse pointer. How can I read the desktop X and Y coordinates?
(I have tried calculating it with help of...
Hi,
Just started testing VFP9 and was very pleased that dockable windows are supported. I can't use it though. It seems that docked windows are always on top. I want to open "normal" forms (modal and modeless) from docked forms but then they appear in the background. I must have missed...
Hi,
For my multi language supported app, I would like to determine in run-time what language the Windows version has or possibly the regional settings used.
/Micael
Hi,
I create my formset like this:
release INVOICE
public INVOICE
INVOICE=create("invoice")
INVOICE.show
In the init event of each button, label etc, I call a text translation function "gs" like:
this.Caption=gs(this.Caption)
The problem is that the second time I open my formset, some...
Hi,
I would like my form (in a formset) to show parent records in text fields and child records in a grid but I simply can't get it to work. I set up the relation like (I don't use the database designer):
sele FAKT_POST && child
set order to tag REF_NR
sele FAKT && parent
set order to tag...
Hi,
I would like to perform a certain task for rightclick on a button in a commandgroup but the problem is that "value" is only updated on click(). Example that shows the problem:
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.addobject('cmd','myCmdGroup')
oform1.cmd.visible...
Hi,
When I change the value of grid.view in my grid from 0 to 1 (from browse-browse to browse-change) during run-time, the header column width in the "change" partition is to small to show the whole caption text. How do I change this width? The browse partition looks fine (header width...
Hi,
On Swedish winXP and win2K, my application (vfp7 built) just dies. The welcome screen appears but when releasing that form, everything shuts down silently without messages. It seems to happen when I turn on event processing with READ EVENTS in the code. For English winOS and Swedish win98...
Hi,
I have a lot of complex browse commands in my application but the un-flexibility of browse makes me think of converting grid. Does anyone know of a "browse replacement" code sample that I could start with? I'm thinking of a form with a grid, row highlightning and perhaps an...
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.