PassArray To Ado,Xml
hi all
i looking for Exsample To pass data beetwen Form And Com Server like
Passarray Prg i found in unvirsalthread.com but pass data with ado or xml
tankes Tag: Moving the record pointer backwards Tag: 195862
Shamanism, Normism & Declaration of Heaven on Earth2792
Please visit http://www.normism.org for details!
151415dhfubm151415
dhfubm151415dhfubm
-----------------------------------------------------------------------------
--This Message Has Been Posted Using A Trial Version Of Message Poster 2003--
-----------------------------------------------------------------------------
Would you like to reach millions of customers for only the cost of bandwidth?
You can post messages like this to thousands of newsgroups with a simple to
use software application called Message Poster 2003. For more details on
this extremely affordable software, visit:
http://www.exibitionsoftware.com Tag: Moving the record pointer backwards Tag: 195861
Spellcheck
Can anyone share their experiences trying to incorporate spell checking in a
vfp app( for editbox and/or rtf text)? I can't even find the spellchk.app
mentioned in the kb.
-Lew Tag: Moving the record pointer backwards Tag: 195848
To save web server resources,
To save web server resources,
do anyone know how to launch a VFP Report writer from a web page to print
report?
and can I check the VFP is being loaded to keep one copy EXE in memory only?
KL Tag: Moving the record pointer backwards Tag: 195839
VFP9 ReportListener Talent Search
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C45578.E8CB4A90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
=20
I'm looking for interesting and innovative ideas for putting the VFP 9.0 =
ReportListener class to use, for publication in either FoxTalk 2.0 or in =
another alternative format. You might call this a "talent search" or =
"competition" to see who can come up with the most outrageously useful =
subclasses of ReportListener.
=20
As you probably know, you can subclass ReportListener (or in some cases =
just set properties of the standard ReportListener) to accomplish =
customized output, alternative output formats, specialized preview =
windows, and transformed rendering, as well as hooking together several =
listeners on the same report run.
=20
If you can come up with an interesting use of ReportListener, please =
email it to me for consideration for publication. The code is the thing. =
You should also write a few paragraphs explaining what the code does, =
and the code should have some comments in it, but don't worry about =
writing perfectly -- I'll take care of grammatical corrections.
=20
If your example is chosen for publication, you will receive a small =
author's fee or royalty as a reward. If your example is not chosen, you =
will have at least learned something by exploring the ReportListener =
class and the overall changes to the VFP 9 Reporting System, and you =
can, of course, post your sample online at that point.
=20
I would love to publish dozens of cool examples that can help educate =
the VFP community worldwide about how to leverage VFP 9's extensibility =
features in creative ways. We need to build up a knowledge base of =
various approaches to jump-start other ideas.
=20
Go ahead. Jump in and create your special listener, then email your code =
sample to me at "david -AT- topstrategies. COM" (obviously, fix up the =
address first). Happy experimenting!
=20
David Stevenson=20
Editor, FoxTalk 2.0
www.pinpub.com
------=_NextPart_000_0008_01C45578.E8CB4A90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT =
face=3DArial><FONT=20
size=3D2>Hi all,<?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></FONT></FONT></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>I'm looking for =
interesting=20
and innovative ideas for putting the VFP 9.0 ReportListener class to =
use, for=20
publication in either FoxTalk 2.0 or in another alternative format. You =
might=20
call this a "talent search" or "competition" to see who can come up with =
the=20
most outrageously useful subclasses of=20
ReportListener.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>As you probably =
know, you can=20
subclass ReportListener (or in some cases just set properties of the =
standard=20
ReportListener) to accomplish customized output, alternative output =
formats,=20
specialized preview windows, and transformed rendering, as well as =
hooking=20
together several listeners on the same report=20
run.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>If you can come =
up with an=20
interesting use of ReportListener, please email it to me for =
consideration for=20
publication. The code is the thing. You should also write a few =
paragraphs=20
explaining what the code does, and the code should have some comments in =
it, but=20
don't worry about writing perfectly -- I'll take care of grammatical=20
corrections.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>If your example =
is chosen for=20
publication, you will receive a small author's fee or royalty as a =
reward. If=20
your example is not chosen, you will have at least learned something by=20
exploring the ReportListener class and the overall changes to the VFP 9=20
Reporting System, and you can, of course, post your sample online at =
that=20
point.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>I would love to =
publish=20
dozens of cool examples that can help educate the VFP community =
worldwide about=20
how to leverage VFP 9's extensibility features in creative ways. We need =
to=20
build up a knowledge base of various approaches to jump-start other=20
ideas.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>Go ahead. Jump =
in and create=20
your special listener, then email your code sample to me at "david -AT-=20
topstrategies. COM" (obviously, fix up the address first). Happy=20
experimenting!<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><o:p><FONT face=3DArial =
size=3D2> </FONT></o:p></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>David Stevenson =
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial><FONT size=3D2>Editor, FoxTalk =
2.0<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"COLOR: black"><FONT face=3DArial =
size=3D2>www.pinpub.com</FONT></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><o:p><FONT =
face=3DArial=20
size=3D2></FONT></o:p></SPAN></P></DIV></BODY></HTML>
------=_NextPart_000_0008_01C45578.E8CB4A90-- Tag: Moving the record pointer backwards Tag: 195838
VFP 8.0 unstable and unreliable ?
Hi
I was asked about some weird behaviour of VFP 8.0 executables and IDE.
The network is a mixture of Novell 5.x and Windows 2000 Server, Win2k box is
running SQL Server 2000, and Novell 5.x holds several .DBFs for a legacy
Clipper DOS system still in use and printing services. The workstations are
mainly Win98 (several) and Win98SE, mainly with 32MB RAM and slow disks (I
guess there is a lot of legacy computers still in use, Pentium II MMX 266
and K6s 300).
There are a number of serious problem in the stability of the clients. And
the programmer's team experienced some real problems with VFP´s IDE
stability, even on Windows XP Pro, suddenly VFP 8.0 crashes and deletes the
form o report you were working on until that moment. There are some other
glitches at the clients, the mouse pointer frozen, no blue screen but a
"Windows 98 must close.." and similar issues, with a lot of problems at the
help desk (the whole network compromises about 200+ computers).
They are going to switch to Delphi or .NET in these days, that unstability
isses upset all the programmer's team and in-house IT crew, they almost do
not want to hear about VFP anymore.
Can anyone here drop any advise, any idea?
Thanks in advance
Carlos A. Pérez Tag: Moving the record pointer backwards Tag: 195836
DLL Scope, etc...
I'm writing a wrapper for blat.dll and I've got a couple of questions. In a
method I:
declare integer send in blat.dll string blatstring
What is "send"? type("send") and vartype(send) tell me nothing.
What is the scope of send, everywhere in VFP, ie is it kind of public? A
language addition?
Is there any way to limit the scope of send?
Similarly, what's "blatstring"?
-Lew Tag: Moving the record pointer backwards Tag: 195834
RTF Toolbar & Menu
I'm writing a shot app that includes the ability to add/edit rtf text
via the MS active-x RTF control. Is there a ready-made (eg as in Outlook)
formatting menu/toolbar available somewhere?
-Lew Tag: Moving the record pointer backwards Tag: 195831
LB's, arrays, VFP9b vs earlier versions & my memory
I haven't been writing any VFP for a few months, but I wasn't able to get a
lb to display all the rows in its rowsourcetype=5/rowsource="arrayname"
until I began manually to update the numberofelements property to match the
number of rows in the array. I don't remember having to do this in earlier
versions. Is my memory slipping?
-Lew Tag: Moving the record pointer backwards Tag: 195827
how to get connection count
Hi all,
How can I get connection count when I connect to SQL vis pass through? I.e.
when I issue:
nCon = SQLCONNECT('SDSN', 'user', 'pw')
I get a (postive) number in nCon. However if I issue this again and again
there will several connections numbers.
TIA
Kamran Tag: Moving the record pointer backwards Tag: 195825
OLE Automation - Excel
I have a program where I create excel spreadsheets from a cursor. Then, I use ole automation to format the spreadsheet. The spreadsheet is being used as a report.
However, people who will use this spreadsheet would like the ability to sort the spreadsheet on different columns.
How can I programmatically add code to the spreadsheet to give an user the ability to sort on any column by clicking on it.
Note: In my spreadsheet, I'm adding a couple of columns and placing in headers. Tag: Moving the record pointer backwards Tag: 195814
$$ always displays $ not Currency Symbol
In my grid I have a column which is bound to a numberic
I want my column to display the numberic as currency (although I want to
store it as a number)
I have set my currency up:
set currency to '£'
I set my column inputmask propery up to be "$$9,999,999" format is none, but
when run it shows a $ i.e. $12,345.67, should this not show £12,345.67 ?
I have tried other combinations of format and input mask, none of which give
me what I want
format $, inputmask 9,999,999, result: "$ 12,345.67"
format $, inputmask $$9,999,999, result: "£$12,345.67"
format $, inputmask £9,999,999, result: "£ £12,345.67"
format <none>, inputmask £9,999,999, result: "£ £12,345.67"
format <none>, inputmask $$9,999,999, result: "$12,345.67"
format <none>, inputmask $9,999,999, result: "$ 12,345.67"
How can I get it to display "£12,345.67" ????
TIA,
Fergus. Tag: Moving the record pointer backwards Tag: 195812
vfp and MSexplorer (no error this time)
Hi again,
Is there way to override or to bypass
the Security issues/restrictions that are stored
in MsExplorer itself ?
christophe
--
\|||/
(o o)
----ooO-(_)-Ooo-------------
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°
º Tag: Moving the record pointer backwards Tag: 195811
vfp and MSexplorer ole error
Hi,
I've made an easy form with just a olecontrol
(internet explorer) on it.
in the init I've set this.navigate2("http:\\www.irs.be")
So far no problems but
when running the form I get this error :
OLE error code 0x80004005
but it does navigate to the site.
So that is not the problem.
Anybody an idea ?
thanks in advance
christophe
--
\|||/
(o o)
----ooO-(_)-Ooo-------------
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°
º Tag: Moving the record pointer backwards Tag: 195795
Access to dbf from Excel (ODBC problem)
Hi,
When trying to import a dbf into Excel 2003 (using Data/Import...) I get
"Unexpected error from external database driver (8961)."
I dl'd and installed the latest vfp odbc drivers and now have version
6.01.8629.01.
Yet, when I try to import using the older "DBase Files (*.dbf)" driver I
get the same error.
The installation of the new vfp driver set up a System DSN called
"Visual Foxpro Tables". But that dsn doesn't appear in Excel.
I finally realized that instead of Data/Import, File/Open worked fine
even though using the older "DBase Files (*.dbf)" driver.
But shouldn't Data/Import work as well? How do I get the new driver to
show up as a file type in Excel?
Thanks, Frank Tag: Moving the record pointer backwards Tag: 195791
NT4 & VFP 8
I see that it the developer version requires Win2k but in a run-time will
NT4 work?
Thanks Tag: Moving the record pointer backwards Tag: 195788
Calling Oracle Stored Procedure
Is it possible to call an Oracle stored procedure? I know that I can execute an SQLEXEC statement, but I have additional processing beyond a SQL query. Tag: Moving the record pointer backwards Tag: 195781
Order entry sample
Is there a good Order entry sample out there?
I'm a newbee, and trying to make a order entry system. Need desperatly a sample on how to use Parent/Child forms with lookup functions and calculations on forms and reports. Would be nice with a complete simple order entry sample...
James Tag: Moving the record pointer backwards Tag: 195773
vfpro 7.0
Have created two new forms in an application. When the command DO FORM is executed, the forms flash on the screen for a matter of seconds. The WindowType under Properties is set to 2 Read (as it is for all other forms in this application) no other forms have this behaviour. The project has been rebuilt.
Am approaching a serious deadline, please help. Tag: Moving the record pointer backwards Tag: 195769
Cursor....HELP ME!!!
I create a cursor with XMLTOCURSOR(), i want to read the records (by SCAN) without the name of field, but with the index of the field.
es: MyCursor.FieldName (Wrong way) ----- MyCursor(0) or MyCursor[0] is my way...
HELP ME!! Tag: Moving the record pointer backwards Tag: 195763
Manual or book
I started programing with Foxplus for unix in the 80's
and I am back with Visual FoxPro Beta version 9! but I am a little bit lost with so many new things and the object programing. Can someone please recommend me a good book of VP9 easy and complete?
--
Lorenzo Márquez Tag: Moving the record pointer backwards Tag: 195762
INSERT INTO
I create a cursor by XMLTOCURSOR() and I must to read his record because I must to insert into a table on SQL SERVER.
I don't know to do this....help me!!! Tag: Moving the record pointer backwards Tag: 195750
Backspace in a textbox
Currently if a user presses backspace in the textbox it moves to the
previous textbox. I though Set Confirm handled this but I was wrong. The
problem is that users like to hold the backspace button down and then it
just deletes every textbox on the form if they hold it too long. I'm
thinking FoxPro has something to prevent this but I cannot find it in the
documentation. Can someone help me?
--
Altman
VFP8 SP1 Tag: Moving the record pointer backwards Tag: 195749
multiselect getfile ?
Hi,
somebody, somehow ?
(instead of making my own one.)
thanks
christophe
--
\|||/
(o o)
----ooO-(_)-Ooo-------------
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°
º Tag: Moving the record pointer backwards Tag: 195745
VFP6 rpoject upgrade to VFP8
Hi,
I had developed a commercial app in VFP6 a few years back and now I intend
to start work on the next release of the software but I intend to developeit
in VFP8. I need to know if there are any special concerns about this
upgrade, anything I should change so my VFP6 code is run & compiled
seamlessly in VFP8 ? Can anyone point me to an online atricle on this issue
?
TIA
Saeed Tag: Moving the record pointer backwards Tag: 195733
how to read this memo field?
i've table (table2) with a memo containg primary keys of the table table1
the data in the memo will be like this
AUVrPkTOrcAx4CIHXFhE
AWH87WotZhAuyI67JnCc
each 10 char set is a pkey .how can i read this memo 10 char by 10 char to find orphan records?
many thanks for ur ideas?
cheers
--
cheers Tag: Moving the record pointer backwards Tag: 195732
IE Automation
I often use Automation similar to the lines below:
oie=createobject('internetexplorer.application')
oie.navigate(m.myurl)
** do something here with the web page.
I may extract 100s of pages from the web. but:
this puts each URL into IE History.
How can I clear IE History *USING AUTOMATION* when I'm done.?
THANKS
Mike Farnesi
San Diego Tag: Moving the record pointer backwards Tag: 195718
The ever-fickle SET BELL command
VFP8 SP1, WinXP Pro SP1
I've got a TOP LEVEL FORM application that has the following
code in a button click method:
SET BELL TO "C:\some_folder\some_sound.wav"
?? CHR(7)
This works like a charm while testing the form in the VFP IDE.
When I build an EXE and run the EXE on the same machine, there
is no sound. It makes no difference if the WAV file is included
in the app.
Shall I just give up on using sounds or is there a reliable
way to get this to work. The Windows API?
-- TRW
_______________________________________
My e-mail: t r w 7
@ i x . n e t c o m . c o m
_______________________________________ Tag: Moving the record pointer backwards Tag: 195717
Copy data to Excel file
I have a dbf table in FPW2.6 and with the COPY TO xxx TYPE XLS I can
generate an Excel table (release 2.1). How can I put programatically
somewhere in the spreadsheet the date and time the Excel sheet was
generated?
There is the findexe function from J.Assing which allows to open directly
the spreadsheet. Is there a way to pass commands to that function, so to
format the data in Excel (column width, color, font, etc.) ?
Walter Tag: Moving the record pointer backwards Tag: 195714
Obtaining Line of Code when Error Occurs
Hi Everyone,
Using the ON Error command in FoxPro, you can return the line number of the statement in error. Does anyone know if it is possible to return the actual line of code that is causing the problem? For Example: On Error may return Line 40 as an error. Is there a way to return the line of code that Line 40 represents?
Thank You,
Kevin Markvenas Tag: Moving the record pointer backwards Tag: 195703
Page Total on Report
I process 2 invoice with 25 items at page 1 and print group and page total
in page 2(it hit the page break line). the invoice total print correctly in
group band, but the page band print the total amount for next invoice.
It look like the foxpro report at page band have bug, any idea to solve this
? Tag: Moving the record pointer backwards Tag: 195686
Relationships between tables
Hello.
I have a table - lets call it table A and we have another table called
table B
I have a relationship between the two tables and i am curently browse
fields in table B.
If a field is blank in table A then the cursor is placed at the end of
table ... why? and how do i get it to go to the top??
As soon as I turn off the relationship everything works fine but I end up
with the first entry in table B in a grid list....
eg.
grid
tableA - customer information
tableB - area and there id (location)
col1 - tableA
col2 - tableA
col3 - tableB
col1 col2 col3
"joe bloggs" "1 test drive" areaid
if col3 is blank then when browsing tableB cursor is placed at end of
table - not start.
Thanks in advance
Glenn Tag: Moving the record pointer backwards Tag: 195674
VFP7 Service Pack cannot be installed
I installed VFP7 in a new computer that is Traditional Chinese Windows XP. I would also
like to install the service pack in it. When i run the program, a dialog box appears that
confirm the installation. I certainly click "OK". However the installation has not been
started and the process just like finish.
I have changed the Windows' language setting to English, but the situation has not been
changed.
Does anybody help me how to do? Tag: Moving the record pointer backwards Tag: 195672
working with SQL Server's raiserror()
Given this stored procedure:
create procedure mysp
(
@raise char(1)
)
as
if @raise='Y'
raiserror('tesing',16,1)
select @@error as result
If I call the SP from Foxpro with
sqlexec(m.handle, "EXECUTE mysp","t_sp")
I got a t_sp cursor containing the resultset of mySP,
with t_sp.result=0.
Now if I call the same SP with
sqlexec(m.handle,"EXECUTE mysp 'Y'", "t_sp")
sqlexec() returns an error code, and there will be no t_sp cursor.
Could I make Foxpro to create a cursor from the resultset of
the SP ignoring the connection error?
--
.~. Might, Courage, Vision. In Linux We Trust.
/ v \ http://www.linux-sxs.org
/( _ )\ Linux 2.4.26
^ ^ 10:34am up 7 days 13:40 load average: 1.35 1.62 1.49 Tag: Moving the record pointer backwards Tag: 195671
VFP 6 Debugging Problem
I am adding a call to a form. For that, I have to open a table.
If I run the program, I get an error that it is already open. Fine.
Where?
I add a set step on (conditionally on a messagebox). I set a
breakpoint for when
used("cftiwiz_ccli")
becomes true.
I run the program again. I answer yes to wanting step on. I
continue the code as needed. The only time the breakpoint is set off
is in the new routine!
I run the program yet again. I answer no to wanting step on.
The code blows up as it did before the debugging code was added.
I just want to find out where in the execution path the table is
being opened. Am I doing something wrong, or is this a debugger bug?
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices. Tag: Moving the record pointer backwards Tag: 195668
VFP 9 Beta and Report Designer
I was hoping to see container classes in the new report designer so entire
groups of objects could be manipulated at once. Will this be possible?
I hope someone writes a book on the new report designer soon!
John. Tag: Moving the record pointer backwards Tag: 195661
Using FoxHwnd.ocx to display the graphical immage
Hi All,
What I am trying to do is to open and display on the form at run a graphical immage saved on the disk as a bmp file, while it is not a true bmp (I couldn't open it in Microsoft Paint)
I noticed that if I drop foxhwnd.ocx on the form through the ActiveX control and after left click mouse on the OleControl1 getting to "Visual FoxPro Hwnd control Properties", I am able to open saved file manually by specifing the location.
My question is how to do that at the run of the form programmically?
I tried to drop in the load event on the Form1 this code
thisForm.OleControl1.Picture = "C:\Temp\Pic.bmp"
but the form complained that the oleControl1 is unknow, while it is there.
Please help. Anything will do,
thank you in advance
Oleg Tag: Moving the record pointer backwards Tag: 195658
displaying graphics file with foxhwnd.ocx
Hi All,
Here is the problem which I am trying to solve. I am getting a graphical file which is saved as *.bmp, but it is not a bmp and the only way to display this file in the form
is to use foxhwnd.ocx (I guess it doesn't care about graphic format).
the problem is that I don't know how to use this ActiveX library and could not find any information about it.
in order to manually display the image file I did:
opend a form
dropped foxhwnd.ocx there as a control (olecontrol1)
left clicked on it and choose the option "Visual FoxPro HWND Control Properies"
Choose "Picture" -> "Browse" -> selected the file to display "Ok"
so, now I am able to see the file, but my question is how to do it on the Run
programmically?
I tried to do
ThisForm.Olecontrol1.Picture = "<location of the file + fileName>
but it is complained saying that Olecontrol1 is unknow, while it is on the form and I am able to see it in the properties.
Please Help, anything will do. Any sample code will be wonderful.
thank you all in advance
Oleg Tag: Moving the record pointer backwards Tag: 195657
Installshield et al
I wrote an app for a client that distributes the app to his clients after
adding the appropriate data for that client to the data folder. He has done
this in the past by building up the folder with the necessary files that
that client needs and then using a program called PCInstal to build the
installation CD for the client.
PCInstal went out of business several years ago. We have been limping along
using it with no support but we find now that it doesn't work very well on
XP computers and often fails. So the client has given me the assignment of
finding and installing a new installation program.
I am experimenting with INSTALLSHIELD EXPRESS from the VFP7 CD but I find it
to be very cumbersome and hard to understand.
1. Does anyone have any experience with this and can offer me some
suggestions of any other installation programs to use or relieve my fears
about using Installshield Express?
2. Can anyone point me in the right direction to get some help in using
Installshield?
3. Can I install Installshield from the VP7 disk on my clients computer
without violating any piracy laws?
Any help would be appreciated.
Alan Lefcort
MARAL Associates Tag: Moving the record pointer backwards Tag: 195652
recommendations for image scanning?
Anyone have suggestions for image scanning in VFP? Maybe an ActiveX control
people have liked, or some other idea?
TIA!
--
Email to (remove spaces and make other obvious corrections):
p p m b 2 0 0 4 - 2 0 0 4
at
y a h 00 Tag: Moving the record pointer backwards Tag: 195646
ALIAS() value changes inside transaction
I'm selecting a cursor after calling a BEGIN TRANSACTION statement. What I
am trying to accomplish is to call another form with the current cursor set
as the ALIAS(), but when I call form, the ALIAS() changes to RS inside the
newly called form.
Anyone know why this might happen?
tx
Roger Tag: Moving the record pointer backwards Tag: 195641
USPS Web Tools
Hello, Thanks in advance.
Has anyone integrated a VFP app with the USPS web tools XML based servers?
If you have would you be willing to share sample code, techniques, etc?
I am interested in the web tool that give you City and State when you supply
the zipcode.
Thanks,
Jeff Tag: Moving the record pointer backwards Tag: 195635
Add records using code
Hi! I'm using an order entry form, not connected to a table, and trying to make a "Save" button to add the data to a table. Need to increase the OrderNumber(id) field by 1 and transfer the other data from text boxes in the form to the fields in the table.
Any good examples on how to solve this? Tag: Moving the record pointer backwards Tag: 195634
Return on a form class
I need to have a return value for a form but it is a class. I know that if
it wasn't a class I would say
do form myform to lcReturnVal
but because it is a class I do a createobject followed by a .show method.
How can I retrieve the return value of that form when it is a class? Tag: Moving the record pointer backwards Tag: 195629
VFP9b: report form ... to file ... HTML?
Yikes! I don't see this option for VFP9b runtime. Can output to html really
be only a design time option?
-Lew Tag: Moving the record pointer backwards Tag: 195628
Accessing control names with numbers programatically
Hi,
I have a series of controls which I have named as ctrl1,ctrl2.....so on. I want to programatically change setting of ctrl1, ctrl2, etc. how can I access these controls?
For example,
i = 1
...
...
thisform.ctrl+&i.caption
....
...
i = 2
...
...
thisform.ctrl+&i
something like this.
But, thisform.ctrl+&i
is giving error
How do I deal with this problem?
Thanks Tag: Moving the record pointer backwards Tag: 195619
MixedCase Intellisense
Although I have set all of my intellisense cases to MixedCase any of the
custom code, eg DC DOCASE, DOWHILE etc give me all UPPERCASE. Can I change
this easily? I have tried changing the setting on the General tab for
Foxcode default to MixedCase but it is always blank when I go to check it. Tag: Moving the record pointer backwards Tag: 195611
Setting directory
Hi! I'm very fresh in VFP, and having some troubble. How do I set the directory for my files. When I run my prog file, it can't locate the other files in my project because it's looking in the wrong dir. Tag: Moving the record pointer backwards Tag: 195607
How to print Contents of Rich Text Box
Any suggessions?
I Tried object.selprint() method but it requires hDC of printer device which
I am unable to get. Tag: Moving the record pointer backwards Tag: 195603
Hi,
Is it possible to move the record pointer one record previous to its current position when traversing theough a query result stored in a cursor?
"sm" <sm@discussions.microsoft.com> wrote in message
news:CAB7E075-0111-482A-A3C1-B95A0A6BA606@microsoft.com...
> Hi,
>
> Is it possible to move the record pointer one record previous to its
current position when traversing theough a query result stored in a cursor?
>
> Regards
>
> SKIP -1
>
> -Anders
>
> "sm" <sm@discussions.microsoft.com> wrote in message
> news:CAB7E075-0111-482A-A3C1-B95A0A6BA606@microsoft.com...
> > Hi,
> >
> > Is it possible to move the record pointer one record previous to its
> current position when traversing theough a query result stored in a cursor?
> >
> > Regards
> >
>
>