Thanks everyone for the tips. I did read Mikes article a few years ago (actually I think we discussed it on tek-tips). Now I have my winter project since we have about 200 scx files in our application!
Has anyone build a function to resize everything on a form so that all items on the form are resized proportionally? We originally designed our forms around the 800x600 size and now want to enlarge. I don't want to lose alignment (so that items currently aligned will still be aligned). We...
Hi Borislav - that certainly works! I am using fcreate to create my text file then using _text variable so that my data is put into file without using the strtofile. I may have to change to your way. Thanks.
Hi David - using VFP9 sp1 - it looks like the text endtext limit is 255 characters per line - I did some experimenting and have 0d 0a in text if length exceeds 254 - inserted at position 255 - using a hex editor to view. I may have to embed my own od oa in text so that it doesn't corrupt the...
We have an application that creates XML file using text endtext code - see below. In a recent case VFP but an extra carriage return line feed in the </charge_desc> delimiter - all other records in the file were ok. Has anyone experienced anything like this? Here is code
&& put into txt file...
Thanks Mike - I didn't need to do that - found the same problem and solution on MSDN forum. Just had to download and install.
http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en#filelist
Vista is weird.... I just renamed a directory, changed my quicklaunch to new directory , modified exe and icon so have correct directory and it is still trying to use the original settings - it must put an entry in the registry or some secret place - I created a new shortcut with new directory...
Hi Griff - I am set up as administrator - interestingly enough - I deleted the vfp icon from my task bar, went to program menu and dragged vfp to task bar - voila - it started using my settings. The only thing different - the original had startin directory as c:\work wheras the new vfp has...
I tried setting all the appropriate paths in options and clicked set default on each one. When I quit foxpro and comeback in - all are gone......... back to any ideas?
I found another thread with similar info - it seems that my options are not all set. I modified the menubuilder location to c:\program files\microsoft visual foxpro 9\genmenu.prg and fixed that error.
I am going to set up my old computer and look at settings to see if I can fix other stuff...
I just upgraded to a new computer with VISTA and have many problems with VFP (that used to work in XP).
1. When I try to compile a program and create an exe - get error message "Cannot find the menu-generation program".
2. When I change the compiler settings to create win32 exe, recompile all...
I get this error when trying to run TASK PANE (just installed VISTA on new computer and had to install VFP 9). Any ideas? I did download the msxml2.dll but still no luck.
This report was unique in that it printed all information in the header. One of our programmers found that it had a mixture of float and fix relative to header in items printed (over 200 items printed). Once he changed it so that all items in the header were fix relative the reboot problem was...
Thanks guys - don't think it is printer as other users on our network can access. May be related to Acer monitor as a few of the users with the problem have Acer - but different monitors so....
Don't think it is vfp dlls as I can run all other reports with preview no problem so might be...
We have a report that uses vfp9 - see below. However if you preview the report then click print on the printer toolbar, system gets rebooted (no error message or anything - but a black screen). Any ideas or has anyone heard of this?
** To PDF
LOCAL pToolBar, lcPreviewCaption
pToolBar =...
We tested our VFP9 app on a gigabit network controller (DLink) and found that it actually ran slower than it did on our 100Mbps network. Has anyone got any idea as why the supposedly faster network is actually slower?
I create a text file for each user using -
Store Fcreate(lcfilename) To _Text && Create low-level file
I then output text to the file using text endtext
TEXT NOSHOW PRETEXT 4
<?xml version="1.0" ?>
<!DOCTYPE ledesxml>
etc.
The file is created and all xml is ok but there is an...
I found answer- I added a flag to the file and set it to .t. when being editted and chk if .t. before editing and don't allow if .t. Then when save, set to .f. - the second grid is automatically updated with any changes I made when user 2 clicks on grid to select record to edit!
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.