ALT key can't open menu when running exe
I have designed a menu 'MAINMENU' and define the ALT key
in [keypress] in
menu designer.
This menu will be called from a form 'MAIN',
The ALT key works while in the design time,
after that, I compile it to build an exe file. The ALT
key doesn't work when running the exe file.
Inside the initial main.prg, I have several environment
settings
and at last, there is as
do form MAIN
read events
and in the INIT event of form MAIN, the content is
do mainmenu.mpr with thisform, .t.
Below are some setting of the form MAIN
ShowWindow - 2-As Top-Level Form
WindowType - 0-Modeless
MDI Form - .f.
Please, can anyone give me a hand on this issue.
thanks lot
Edward Tag: forcing "Verify" in Expression Builder Tag: 186203
opening remote view and VFP's annoying wait window
Hullo,
If you "use" a remote view that retrieves a lot of data then VFP (I'm using
VFP8 (SP1)) displays a wait window saying "Executing remote.... press ESC to
cancel".
How can I disable this message?
It is a particular problem in OLE servers using sys(2335, 0) since the
message causes an error condition.
Thanks.
Yours faithfully
Paul S. Elliott
(Senior Developer)
4technology Ltd
P.O. Box 1681
Christchurch
New Zealand
ph : +64 3 3771170
fax : +64 3 3771172 Tag: forcing "Verify" in Expression Builder Tag: 186201
How to copy the Picture into a ClipBoard
Just wondering if anybody can help me on how to copy the
Picture into a clipboard from Visual Foxpro, I know How to
transfer the screen shot but I want to send a BMP file or
a jpeg file to a clipboard. Is there any command like
_clipPicture as we do the _ClipText . Hope I am Not
expecting too much
Any help on this would be appreciated
Cheers
Raj Tag: forcing "Verify" in Expression Builder Tag: 186198
VFP7R.DLL is damaged
I use VFP7 to develop and release my project. I found that the system can not be run on
some computers of Windows 95 and it shows the error message when going to run, "VFP7R.DLL
is damaged", even though the version is 4.00.950C. But some computers of also Windows 95
can have no problem.
I would like to know how I can fix these problems. Thank you very much!
Christopher HF Tsang Tag: forcing "Verify" in Expression Builder Tag: 186197
Print to TIFF
Anyone have any favorites? Or recommendations to avoid?
I'd like to print reports and pdfs to a TIFF image and rename
programmatically.
I've downloaded (but not yet installed) a trialware of NED's Image
Driver. Opinions?
Thanks,
Dave Tag: forcing "Verify" in Expression Builder Tag: 186194
Newbie Question
Hello newsgroup.
I have a form that I created and I am running it directly
from the IDE. I am using VFP 8.0
It has a PageFrame and a Text Box. I have a database
also associated with in.
I am trying trying to set a property on one of textbox at
runtime.
When I run the form I get an error.
frmItem.pgfMaint.pagSearch.txtItem.fontsize = "9"
I get an error saying that frmItem object is not found.
Am I missing something?
Thanks,
Daniel Tag: forcing "Verify" in Expression Builder Tag: 186188
File is in use by another
Since converting many of our applications to VFP8.0 from
VFP6.0, we are getting persistent "File is in use by
another" errors when USEing a file, when the file is
definitely not in use, excl is off etc etc. Usually trying
again immediately allows it to open OK!!!!!
This has happened across several unrelated applications on
various platforms. We have both Novell and Win2K servers,
with both XP and NT4 clients. Unfortunately we do not have
sufficient XP clients to determine whether an XP client
resolves this issue - but I doubt it. We also have vfp8
applications where the tables are still in Foxpro 2.6
format, some with tables in VFP6.0 format and some with
tables in VFP8.0 format. Happens across all when app is
VFP8.0. Revert back to 6.0 with everything else the same
and the problem goes away.
I believe this to be a bug in VFP8.0. I have seen similar
complaints from others on various forums, but no one has
come up with an answer as yet.
Any help appreciated.
Maybe next service pack this will be fixed....
And while I'm moaning - anyone know of any fix yet for the
dropped table handles issues with VFP apps running on
terminal server when data is not on the Terminal server
drive?
Regards,
Brian Wood Tag: forcing "Verify" in Expression Builder Tag: 186178
How to get rid of the white "backdrop"?
Evertime I put together an application in Foxpro it comes
with this large white "container" obect in the background
that gives the app a less than independent appearance.
Does anyone know how to hide this at runtime? Tag: forcing "Verify" in Expression Builder Tag: 186177
Report with images with different height in detail band.
I am using vfp 8.
I just managed to print images in the detail band using only stored path
names.
However, the images have different heights and neither clip nor scale are
satisfactory solutions.
Clip will not guarantee that the entire image will show, and if the image is
low a lot of space will appear before the next record. Scale will blow up
small images and look ugly.
Any ideas what to do?
Sincerely,
Jan Nordgreen
PS:
The report's view was called vviewtest and had a field vviewtest.imagepath
with the complete path of a picture. Most of the records had
vviewtest.imagepath empty. To get the images to print in the detail band, I
added a picture control with 'Picture from file' set to
'vviewtest.imagepath' and 'object position' to 'float'.
In 'Print when' I checked 'remove line if blank' (if not the frame would
always take up space, even when empty) and for 'Print only when expression
is true' I put 'not empty(vviewtest.imagepath)' (if not, the report wouldn't
even be created). Tag: forcing "Verify" in Expression Builder Tag: 186172
Keyboard Macros in VP6/8
Many thanks for the help given to me regarding the Command
Window and the Expression builder. That problem appears to
be laid to rest, I'm pleased to say.
Can anybody help me now on the apparent idiosyncratic
behaviour of my keyboard macros (I have some 200+)in Memo
fields in VFP8 which didn't happen when the same ones were
used in VFP6?
The trouble appears to be limited to those macros
containing Enter and Home or Shift+Home used in Memos in
the middle of text to break a line and start a new one and
when used to start a new line, linked by an inserted
colon, at the end of a body of text. What happens is that
the new line is not forced open but the text in the macro
is placed in the existing line at the 'correct' place.
Searson Tag: forcing "Verify" in Expression Builder Tag: 186164
Binding Data
Is there a way to unbind data from a form during run-
time. On loading the form, the bindcontrol property is
set to false. It then gets sets to true upon the first
action on the form. Customer wants to clear the form
entirely after an action takes place, basically unbind
the data. Going to the end of file won't work because he
wants to search on a combination of six fields.
TIA
Mark Tag: forcing "Verify" in Expression Builder Tag: 186162
Grid on selection?
Dear All,
My program need one text box and one combo box on the same column in a Grid.
My program is simple like that:
If column1 =A, column 2 is a text box
else
column2 is a column box.
I have put the "InteractiveChange" event on column1( in fact, it is a combo
too.)
I chg. the "CurrentContre" for column2 and make some necessary eg. something
"Enabled", "Visible"...
That works fine for input data.
But when I load the Grid (start the program again), column2 can't show
properly.
I set back "Sparse" to True, the (Grid) data seems to be correct.
My question is that:-
1. Can I show column2 correctly (Combo) when I start the program at the
beginning ?
( the condation is depend on column1)
(If I first make the selection on column1, the column2 show correctly.
But if I first "Click" on column2, the combo can't show, also no
selection.)
(I try to put the "BeforeRowColChange" event on the grid, but failed)
2. My grid allow user to add and modify data, in such case,
How can I do that ?
Thanks in advance,
SY Tag: forcing "Verify" in Expression Builder Tag: 186153
newbie question - combo box
Dear all,
I would like to do this...
a combo box have this value - apple, boy, cat for user to select
but underlying the value - a, b, or c will store to table instead.
I would like to know how to set up properties properly
and how to show the value correctly to user when retreive from table.
Many thanks.
Wandy Tag: forcing "Verify" in Expression Builder Tag: 186150
Feature not available in demo version
Windows XP, VFP50
I have just migrated to XP and now i get a message in my application "Feature not available in demo version". I have seen a similar message when I inadvertantly leave a suspend in my form, but I have never seen this
I get the message when I am examining several tables for a key. If I don't find it, I add it to another table. The process is determining what invoice numbers are not currently in a table
Any thoughts
TIA Tag: forcing "Verify" in Expression Builder Tag: 186145
Text boxes becoming disabled.
What would cause all text boxes on a form to become disabled?
I have checked the enabled and readonly properties and they are set
correctly.
This did not start happening until I run it over my XP network.
Folders are set to share files.
This only happens on one form not on the other forms in the application.
Tabstop is also set to .t. on each text box.
The command buttons and other controls are enabled and work properly.
Thanks in advance,
John. Tag: forcing "Verify" in Expression Builder Tag: 186144
Returning focus after scan...VFP8.0
I have 3 computers each running a VFP 8.0 application. Each computer is of
the same brand running XP and each computer is using a Symbol LS1908 USB bar
code scanner. On 2 of the computers when I scan the bar code, the
application returns focus to the same field and awaits another scan. On the
3rd computer control does not return to the text box for another scan. Each
system is running the same exe. Each system has set confirm on. What else
could cause this?
Thanks in advance,
John Tag: forcing "Verify" in Expression Builder Tag: 186137
Bug? The arrow keys are not working properly in a grid.
If rows in a grid are more than the height of a grid, that
means you need to use up or down keys or mouse to move the
grid. It's fine to use a mouse to control the scroll bar.
But up or down arrow keys can not go through the whole
range. The grid will be stopped somewhere and seems
missing many records.
I am using VFP 8 SP1 and tested it in 2000 and XP machines.
Any ideas?
TIA Tag: forcing "Verify" in Expression Builder Tag: 186136
including a header file in reports?
Hi all,
Is there a way to use header files for reports?
Help would be appreciated.
Greetings,
Zakaria al Azhar Tag: forcing "Verify" in Expression Builder Tag: 186132
mutex, criticalsection, threading issues???
Hi,
I have an app which has as one of its components an activex control which is
constantly processing data from the serial port. I need the event handler
for this code to be able to interrupt anything else I'm doing so that I
don't lose any data.
I also have a timer which I need to run once a second and do some processing
of the data.
I also of course have a form with which the user can interact.
Because of the serial port handler, I have the application autoyield
property set to .f.
My problem arises from the unfortunate need for all three of these "threads"
to access some of the same data structures and objects.
I'm wondering if I can use some of the
Windows control structures such as critical sections mutexes or semaphores
to handle this? In trying to read about them, it seems important that the
various items which are competing for the resource be either in different
threads or different processes (or the WaitForSingleObject() function won't
wait).
Can someone tell me if these components are running in different threads,
and then could someone recommend which of these Windows features might be
best suited to allowing short exclusive use of resources?
thanks for any help,
Chip Tag: forcing "Verify" in Expression Builder Tag: 186131
Converting FPW2.6 reports to *.jpg, *.doc, *.xls
Well, I would like to generate my FPW2.6a reports as jpg, doc or xls. I
found frx2any, but it works only for VFP. Any hint? Tag: forcing "Verify" in Expression Builder Tag: 186127
Help cannot access program from new xp client
I copied the VFP6r.dll and VFP6rEnu.dll files from the
server onto the XP client folder where a copy of the
setup files was stored. I was able to launch the program
but it does not run. the following error occurs:
Error loading file- record No. 9 Vprostandard form 1 <or
one of it members> Loading form or the data environment:
Connectivity error[MS ODBC drivermanager]
Data source name not found&no default driver specified.
ANY SUGGESTIONS Tag: forcing "Verify" in Expression Builder Tag: 186124
Help cannot access program from new xp client
I copied the VFP6r.dll and VFP6rEnu.dll files from the
server onto the XP client folder where a copy of the
setup files was stored. I was able to launch the program
but it does not run. the following error occurs:
Error loading file- record No. 9 Vprostandard form 1 <or
one of it members> Loading form or the data environment:
Connectivity error[MS ODBC drivermanager]
Data source name not found&no default driver specified.
ANY SUGGESTIONS Tag: forcing "Verify" in Expression Builder Tag: 186123
ODBC vs. OLEDB
I have posted a comment before stating a problem I was having with VB and
updatebatch method and getting the error "Row Cannot Be Located for
Updating...." I have found that if I use an Update SQL statement instead
though it works fine (to do this though would be a hell of alot of extra
programming). It also used to work before and I think it was the change
from VFP 6 to VFP 7 that brought the error. Anyway, what I'm wondering is,
the VB code uses a DSN ODBC connection to VFP. I'm wondering if I use the
OLEDB connection, would this make any difference? I am also wondering what
the difference between ODBC and OLEDB is. Also I'm wondering if maybe
moving to VFP 8 would fix this problem. Tag: forcing "Verify" in Expression Builder Tag: 186118
Unable to release form..
Hi
I use VFP7. I have a top level form and top level menu.
A form is displayed for each meu item. I run a programme
to release the displayed form when another menu item is
chosen.
When a "grid" in the form has the "focus", I am unable to
release the form. I have tried all the commands like
release window, object.release etc.. None works. But there
is no problem with other controls like combo,text boxes
etc..
Please help me ..
Thanks in advance.
Bala
. Tag: forcing "Verify" in Expression Builder Tag: 186114
old annoying bug or a feature?
Hi,
In order to validate user's imput, I place in Valid Event
of Textbox some code, wich calls a form for data lookup or
entering new data in related tables. Depending on lookup
results, the focus stays in the Texbox or jumps to other
controls with a help of RETURN n command. This seems to be
very clear and convenient, but...
If in some other form, launched from Valid Event, there is
a SetFocus Method - the error comes: SetFocus method can
not be called within Valid Event.
But SetFocus is called in other form! And what more, in a
way can be several more form calls that has nothind to do
with the first one, but the error comes nevertheless :(
I wonder, if MS will ever fix this annoyance or it is
treated like a feature?
Vitas Tag: forcing "Verify" in Expression Builder Tag: 186113
VFP8 Command window - Expression builder
I have recently upgraded from VFP6 to VFP8 (although at
the moment I feel as if I have stepped backwards)and am
not a programmer or developer in any way. XP/SP1 is the OS.
Keyboard macros are much used in my hobby. Could anyone
spare the time and trouble to tell me how to get rid of
the expression builder that pops up as soon as the macro
issues the Locate or Seek command etc. This slows up
things tremendously, especially where the Locate command
is used in Memo fields, by comparison with VFP6.
Searson Tag: forcing "Verify" in Expression Builder Tag: 186112
Bug? The InteractiveChange Event in a combobox in a grid cannot be trigged?
I found the InteractiveChange Event in a combobox in a
grid cannot be trigged properly if
1) RowSourceType is 6 and you hold the left button of
a mouse and move to the row you want and release the mouse.
2) RowSourceType is 1 and you click the down arrow
and release the mouse and then move to the row you want
and release the mouse.
RecordSourceType in the grid is the default value 1.
It works if you use method 1) when RowSourceType is 1 or
you use method 2) when RowSourceType is 6.
Any ideas?
TIA Tag: forcing "Verify" in Expression Builder Tag: 186111
InstallShield and MSDE
Hya Folks,
I've tried to create a setup via installshield (the free 3.5 Express with
VFP8).
Right now, i've got a big problem with my MSDE2000 merge module. Everything
runs fine with the build of the disk image, but when installing, the setup
stops either with either "not enough free space on drive MSSQL" or "cannot
find drive MSSQL".
Anyone knowing this problem and able to help?
Pierre Tag: forcing "Verify" in Expression Builder Tag: 186103
VFP to VC++
I'm wondering if creating interfaces in VC++,populating
list boxes and grids is similar and as easy and as
flexable as VFP.
I'm thinking of developing the same app I developed with
VFP in VC++ so I can say I did it in VC++ as well.
Are the VC++ controls similar to VFP controls with
methods and properties etc. Are classes just as easy to
work with?
Thanks in advance Tag: forcing "Verify" in Expression Builder Tag: 186095
Controler Print
hi, everybody.
Please, i need controler the number is send to print in
XP?.
for example, in the morning i send to one print but this
print is with two paper.
I need registration in my database the number of
impresion and the number of pages.
But this impresion no is only the vfp, is also send word,
excel, or other program.
Thanks my friend. Tag: forcing "Verify" in Expression Builder Tag: 186087
Can't print from memo field in VFP 5.0a
I have a little application I created for someone which is simplicity
itself. One screen, one table with two fields - a character field and
a memo field. The screen has 3 buttons:
Search
New
Exit
Problem is, although Print is enabled on the File menu when viewing
the memo field, executing the Print function does not activate the
printer! Is there a way I can fix this?
The application was originally created in FPW 2.6a and converted in
VFP 5.0a and otherwise seems to run OK.
Thanks for any help!
Dan Tag: forcing "Verify" in Expression Builder Tag: 186083
FPW 2.6a, closing DOS window after RUN command
Hello,
I'm running a batch file from FPW with the RUN command. I have the
"Close program on exit" option enabled in foxrun.pif but the DOS window
stays on the screen if I use RUN /N. It disappears with just RUN - I
actually want to use just RUN but for some unknown reason that produces "RUN
/ ! command failed". RUN /N works fine except for this window being left
behind..
Any ideas?
Maybe shellexecute API call would fix this but I've no idea [not entirely
true but for the purposes of explaining I have no idea..] how to call this
function from FPW2.6
--
TIA
Andrew Howell Tag: forcing "Verify" in Expression Builder Tag: 186069
foxprow2.6a exe
Hello
Could anyone please send me or give a link to where I could download patched
files of foxprow 2.6a so than could run in XP.
I downloaded patches themselves but they state the file is not the right
size, internation patch does not work either.
After playing with them, I do not have 'divide by zero' message anymore, but
fox crashes after 'invalid path or filename' message.
I do not have any installation disk anymore so I cannot follow the official
patching procedure.
Maybe I could download installation kit form somewhere?
Best regards and thanks for any help,
Piotr Tag: forcing "Verify" in Expression Builder Tag: 186065
cursoradaptor and updategrams when using XML
Hullo,
I'm trying to get a cursoradaptor, which has retrieved its data via xml, to
generate an xml updategram from updates made to its attached cursor.
I've followed all the instructions that VFP's help lists (I think) but
cursoradaptor.updategram remains empty.
Does anyone know of sample code or other documentation relating to
cursoradaptors using xml and producing updategrams?
Thanks.
Yours faithfully
Paul S. Elliott
(Senior Developer)
4technology Ltd
P.O. Box 1681
Christchurch
New Zealand
ph : +64 3 3771170
fax : +64 3 3771172 Tag: forcing "Verify" in Expression Builder Tag: 186062
Error when trying to open class
This one is driving me nutty. The problem cropped up when I tried to MODI
CLASS on one of the classes in a VCX. VFP says "Error loading file - record
number 73. lblReplaces <or one of its members>. Parent: Not a table". I
tried deleting record 73. Same error. I packed the VCX. Same error on record
73, but now it reported the object as a grid object (the one that used to be
record 74 before the pack).
I use Cryptor for encryption of the data in this app and I get a "Not a
table" error if I forget to load Cryptor and register the data files, so I
thought it was something related to the encryption (though I had the library
loaded and set up properly). So I decrypted all the data even though VFP
shouldn't be attempting to open the tables when it opens this class.
Unfortunately, that did not do the trick.
I've checked out the label base class that record 73 is based on and it
seems fine as do all of my other base classes. I'm checking the VCX for
corruption, but so far I haven't turned up anything. Anybody seen this
before. This happens under VFP 7 SP 1 and VFP 8 SP 1.
Thanks,
Russell Campbell Tag: forcing "Verify" in Expression Builder Tag: 186055
'System.InvalidOperationException
When using OleDbDataAdapter.Fill method to transfer the
table from the fox .dbf file to the DataSet, I get the
following error, I don't have a clue what could cause
this error.
An unhandled exception of
type 'System.InvalidOperationException' occurred in
system.data.dll
Additional information: The provider could not determine
the Decimal value. For example, the row was just created,
the default for the Decimal column was not available, and
the consumer had not yet set a new Decimal value. Tag: forcing "Verify" in Expression Builder Tag: 186054
Must be an easy way to do this...
Given that Adobe Acrobat 5 is installed on the PC running
my VFP 6 SP5 application, and given that there is a specific
PDF file sitting somewhere on the PC's hard drive, I want
to gracefully print a hard copy of that PDF to the current
Windows printer.
I have looked through the Acrobat SDK and see the DDE calls
such as FilePrintSilent but have only been able to use this
by first starting up Acrobat *Reader*, establishing the DDE
connection to it, then printing the desired PDF. This is very
clunky and visually ugly with Reader popping up. I am
extensively using Acrobat itself through OLE automation which
is completely invisible to the user, but I see no way to use
an Acrobat OLE object
to print a hard copy of a specific PDF file. You can print
a PDF file within the Acrobat application itself, but not
via OLE? Seems odd. Has anyone had success with printing
a hard copy of a PDF file invisibly from within VFP? Perhaps
a third-party tool?
-- TRW
_______________________________________
My e-mail: t r w 7
@ i x . n e t c o m . c o m
_______________________________________ Tag: forcing "Verify" in Expression Builder Tag: 186050
Finding the last record in a table
How would you go about locating the last of one or many records for an
account in a table.
The table can have just one or many and the account identifier is in a memo
field.
The format of the account number is easy enough to find in that it will have
the syntax, for example:
account = 12345.00
I'm assuming I should create a logical field called last that I can then
populate with .t. for last.
I can open the table twice, scan (for not reviewed-explained later) , flag
as last upon finding a perform a loca for the field in the second, with a
continue. I can also create a reviewed field that will be set to .t. after
either being hit in the scan, or located.
That's as far as I get with it.
--
Thank you,
Louis Tag: forcing "Verify" in Expression Builder Tag: 186046
Exchange 2000 public folders access problem
Hi all,
I write this,
**--------------------------------------------------------------------
oOutlook = CreateObject("Outlook.Application")
oNameSpace = oOutlook.GetNameSpace("MAPI")
oCNoDeseado = oNameSpace.Folders("Carpetas públicas").Folders("Todas las
carpetas públicas").Folders("Correo no deseado")
_ClipText = ''
FOR lnumX = 1 TO oCNoDeseado.Items.Count
oItem = oCNoDeseado.Items(lnumX)
FOR lnumY = 1 TO oItem.ReplyRecipients.Count
oItemP = oItem.ReplyRecipients.Item(lnumY)
IF lnumY = 1 THEN
_ClipText = _ClipText + TEXTMERGE("<<lnumY>>, ")
ELSE
_ClipText = _ClipText + ', '
ENDIF
_ClipText = _ClipText + OItemp.Address + CHR(13)
ENDFOR
ENDFOR
KEYBOARD '{CTRL+V}'
MODIFY COMMAND
**--------------------------------------------------------------------
The result for this commands is like this:
1 Charlene Cope, l98kuewp@hotmail.com
4 Holiday Gifts, opuvavmnogtvp@pgqexeikn.dealofalifetime.net
8 Breast Booster, Info11ljtnodjb@breastbooster.com
10 Franquicia Internacional, catterine@international.com
11 Franquicia Internacional, catterine@international.com
13 Tapia, zixwqusgmxkro@hongkong.com
15 Adeline Bryson, j74qatmcdh@yahoo.com
Wath I need:
I need the list of address of email sender, stored in a public folder.
Questions:
- Why the items (2,3,5,6,7,9,12,14) report oItem.ReplyRecipients.Count = 0
- There is another way to access the field from (This don't appear in the
properties list)
- How Outlook show this field and I don't access?
Thank's a lot.
Mauricio Mesa G. Tag: forcing "Verify" in Expression Builder Tag: 186042
COM information in DLL
Installshield is complaining a little when creating setup files.
How do I place COM information in the files to avoid this?
** Warning: -4354: The build was unable to extract COM information from the
file N:\foxn\rmlbiz.dll in component rmlbiz.dll. Please ensure that the file
is self-registering and verify that the self-registration process does not
fail.
** Warning: -4354: The build was unable to extract COM information from the
file N:\foxn\rmldata.dll in component rmldata.dll. Please ensure that the
file is self-registering and verify that the self-registration process does
not fail.
** Warning: -4354: The build was unable to extract COM information from the
file N:\foxn\rmlexe.exe in component rmlexe.exe. Please ensure that the file
is self-registering and verify that the self-registration process does not
fail. Tag: forcing "Verify" in Expression Builder Tag: 186036
dimension array as object
In Visual Basic, you can do something like this:
type MyType
var1 as string
var2 as integer
end type
dim MyVar(20) as MyType
I'm trying to do something similar in FoxPro. It seems like you
should be able to use CreateObject('Empty'), then add the properties
to it you want, then dimension an array of the object like. Something
like this:
MyType = CREATEOBJECT("EMPTY")
ADDPROPERTY(MyType,"Var1","")
ADDPROPERTY(MyType,"Var2","")
DIMENSION MyVar(20) as MyType
However, this doesn't dimension MyVar as MyType. It dimensions it the
same as if you didn't use "as MyType".
Is there any way to dimension an array as an object like I want to do?
Kevin Clark
Seton Home Study School Tag: forcing "Verify" in Expression Builder Tag: 186029
Capture data from printer port
I have a dedicated PC running in MSDOS 6.22 with a customised software (I
think it was written in C laugauge) that control a machine through interface
cards. While the machine is operating, the software will print report of
data to the printer port attached with a Epson Dot matrix printer.
Is there a way that I can tap the output data from the printer port
(parallel port) to another PC as a ASCII text file? My purpose is to make
use of the output text file to import into foxpro so that I can manipulate
the data using foxpro.
Anyone has any idea? Please help.
Thanks Tag: forcing "Verify" in Expression Builder Tag: 186015
How can operate such low-level file in vfp?
Hi,everyone,
The attachment file was not created by vfp, I want to create and operate
such file in vfp. I can't create it in vfp by fcreate & fwrite function,
also I can't read the right information from the attached file by fread. The
attached file includes two continuous digits: 0000000001 and 0005183372,
you can see it by debug. Anyone can give me ideas?
thks in advance?
chuen
begin 666 m.t
+J@`````!``48,W(`
`
end Tag: forcing "Verify" in Expression Builder Tag: 186010
Cannot Locate VFP Support Library in Windows XP
Hi,
I created a VFP application along with the run time file and distributed to
a client who is running Win XP.
After they install the application, when they login as Administrator to that
computer, they can run the app without a problem. But when they login as a
restricted user they are getting an error saying "Cannot locate Microsoft
Visual Foxpro Support Library"
Any ideas?
Best Regards,
Y. Sivaram Tag: forcing "Verify" in Expression Builder Tag: 186003
Foxpro freezes up
I developed a vfp 6.0 application that previews a report
to the screen and that works fine. However, when I close
the report and open a new form, the tool bar across the
bottom, seems to work fine until I press the 'FIND'
button. The system locks up without any recovery except
to restart the computer.
I am have a windows 98 OS with 128 meg Ram.
Question: How do I clear the report form from memory? I
have read all the help articles, including release, close
all, etc. I am relatively new to vfp programming, so I am
hopeful someone will give me the information I need.
Any suggestions would be most appreciated..
Thanks Tag: forcing "Verify" in Expression Builder Tag: 186002
Automatic adaptation to different screenresolutions
Hi all!
I´m struggling with my code for automatic adaptation to different
screenresolutions. Can someone give me a hint about what is wrong. An
editbox does not keep its proportional placing when changing the
screenresolution.
I have made it simple for you, just copy and paste as below.
Any help would be very appreciated.
Regards
Christina
Give an empty form
- two propertys (pyHeightratio and pyWidthratio)
- a methode (mdResizecontrols)
* COPY THE CODE BELOW INTO THE FORMS INIT:
* the form itself
this.Width = 400
this.height = 200
* the bottompageframe
WITH This
.addobject('bottomPgFr','pageframe')
.bottomPgFr.top = 0
.bottomPgFr.height = this.height
.bottomPgFr.width = this.width
.bottomPgFr.pagecount = 2
ENDWITH
* the toppageframe inside the bottompageframe´s page 1
WITH This.bottomPgFr.page1
.addobject('topPgFr','pageframe')
.topPgFr.top = 0
.topPgFr.height = This.bottomPgFr.pageheight
.topPgFr.width = This.bottomPgFr.width
.topPgFr.pagecount = 2
ENDWITH
* an editbox inside the toppageframe´s page 1
WITH This.bottomPgFr.page1.topPgFr
.page1.addobject('edtNote','Editbox')
.page1.edtNote.height = 70
.page1.edtNote.width = .Width/2
.page1.edtNote.left = .Width/2
.page1.edtNote.top = .pageheight - .page1.edtNote.height
ENDWITH
* make all added objects visible
WITH This.bottomPgFr
.visible = .T.
.page1.topPgFr.visible = .T.
.page1.topPgFr.page1.edtNote.visible = .T.
ENDWITH
* code for different screenresolutions (form designed in 800x600)
this.pyHeightRatio = SYSMETRIC( 2 ) / 600
this.pyWidthRatio = SYSMETRIC( 1 ) / 800
this.height = this.height * this.pyHeightRatio
this.width = this.width * this.pywidthRatio
LOCAL loControl
FOR EACH loControl IN Thisform.Controls
Thisform.mdResizeControls(loControl)
ENDFOR
* COPY THE CODE BELOW INTO THE FORMS METHODE MDRESIZECONTROLS:
LPARAMETERS toControl
LOCAL loPage, loControl
IF PEMSTATUS( toControl, 'Width', 5 )
toControl.Width = toControl.Width * Thisform.pyWidthRatio
ENDIF
IF PEMSTATUS( toControl, 'Height', 5 )
toControl.Height = toControl.Height * Thisform.pyHeightRatio
ENDIF
IF PEMSTATUS( toControl, 'Top', 5 )
toControl.Top = toControl.Top * Thisform.pyHeightRatio
ENDIF
IF PEMSTATUS( toControl, 'Left', 5 )
toControl.Left = toControl.Left * Thisform.pyHeightRatio
ENDIF
IF PEMSTATUS( toControl, 'Fontsize', 5 )
toControl.Fontsize = INT( toControl.FontSize * Thisform.pyWidthRatio )
ENDIF
DO CASE
CASE ALLTRIM(UPPER( toControl.BaseClass )) == 'PAGEFRAME'
FOR EACH loPage IN toControl.Pages
Thisform.mdResizeControls( loPage )
ENDFOR
CASE ALLTRIM(UPPER( toControl.BaseClass )) == 'PAGE'
FOR EACH loControl IN toControl.Controls
Thisform.mdResizeControls( loControl )
ENDFOR
ENDCASE
** PS
** Gregory I know you have solved this before but the solution is gone - a
disccrash
** DS Tag: forcing "Verify" in Expression Builder Tag: 186000
Is there a way to force the user to click the Verify
button in the expression builder dialog ?
Re: forcing "Verify" in Expression Builder by Anders
Anders
Sat Dec 06 13:44:43 CST 2003
A gun?
-a
"Bilal" <bbakri@ccc.gr> wrote in message
news:05cf01c3b7f0$9ff36b70$a501280a@phx.gbl...
> Is there a way to force the user to click the Verify
> button in the expression builder dialog ?
>
> Thanks