开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Web Connect Question

Einar Kvandahl
 

You are welcome. Glad I could help.
Working with webapps is a lot of fun.
I would recommend checking out www.activevfp.com it is very cool.

Einar

-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 10:56 AM
To: madfox_vfp@...
Subject: Re: [madfox_vfp] Web Connect Question

Einar:

Thanks - that helped me solve it. Basically I had the window.open()
call, but it was cluttered with extra garbage. I stripped it down to:
window.open(cURL) and it gave me what I wanted!

Thanks. That URL is an excellent reference for the various parameters.

Dave - thanks also for the idea - I did check the _hyperlink.vcx and
it's a good place for ideas around this topic.

peter d.



Check out

ml
/reference/methods/open_0.asp
Window.open() takes several parameters and you can spcify the size of
the window (or fullsize).
Please let me know if you need further help.
Einar




-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 9:59 AM
To: madfox_vfp@...
Subject: Re: [madfox_vfp] Web Connect Question

Einar:

Currently I have approximately 2 approaches:

1. Just a hyperlink to another form. When clicked, the next form
fills in the current screen. It's that scenario that I'd like a new
browser window to open.

2. My second approach I open a separate window, but most of it's
control features don't appear. Here's the code:

Within my PRG that generates the screen that contains the button to
jump to a different URL:
Basically, I want the user to click a button and be taken to
"CodeEdit.TIS" in a separate browser window. Currently it takes them
there in a different browser window, but the resultant window is
missing some of the standard navigation features, etc.

***within a PRG:

lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg")
lobtn18.cvalue="Codes EDIT"
lobtn18.cwinfunction="ViewLogPopup()"
lobtn18.cwinName="ViewPop"
lobtn18.lReadOnly=.f.
lobtn18.cwinURL="CodesEdit.TIS"

lobtn18.renderjava()
***

And - within my "PCDWC.prg":

DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl

** this is similar/same as PDwebButtonToPopupURL - except trying
for a full-blown separate window
** coordinates of the resulting window
nwinLeft=5
nwinTop=5
nwinWidth=700
nwinHeight=350
** name of called popup function
cwinFunction=""
cwinClick=""
cwinUrlVars=""
** URL to call
cwinURL=""
cwinURLoFormCall=""
** retain reference to the java object created at top of calling
page routine
cwinName="POPUP"

FUNCTION Render
RETURN THIS.RenderButton()
ENDFUNC

FUNCTION RenderJava

response.writeln([<SCRIPT LANGUAGE="JavaScript">])
response.writeln([<!--])
response.writeln([ function ]+this.cwinFunction+[{])
** I feel like some setting here needs to be set to
give standard browser navigation ability
response.writeln([ var
windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,res
iz able=yes,controlbox=yes,controls=yes,left=]+;

TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;

[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinheig
ht
)+[";])
response.writeln([var URL
="]+this.cwinURL+["]+this.cWinUrlVars+[;])


response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowpro
ps
)])
response.writeln(this.cwinName+[.focus()])

response.writeln([}])
response.writeln([-->])
response.writeln([ </SCRIPT>])

ENDFUNC



FUNCTION RenderButton


** define the button on the page
IF empty(this.cwinclick)
this.cwinclick=this.cwinfunction
ENDIF

RETURN ;
[<input type=button value="]+this.cvalue+["] +;
[ onClick="]+this.cwinclick+["]+;
IIF(THIS.lReadOnly,[ DISABLED>],[>])

ENDFUNC

ENDDEFINE

peter d.



Please post the code that currently opens the browser window.

Einar




-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 8:58 AM
To: madfox_vfp@...
Subject: [madfox_vfp] Web Connect Question

What's the code/setting required so that a browser form will open in
a
new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full
browser windows.

Peter d.




Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor
---------------------~--> <FONT COLOR="#000099">Yahoo! Domains -
Claim
yours for only $14.70 </FONT><A
href="><B>C
li
ck Here!</B></A>
------------------------------------------------------------
---------~->


Yahoo! Groups Links





Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor
---------------------~--> <FONT COLOR="#000099">Make a clean sweep of
pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
</FONT><A
href="><B>Cli
ck Here!</B></A>
------------------------------------------------------------
---------~->


Yahoo! Groups Links





Yahoo! Groups Links


Re: Web Connect Question

 

Einar:

Thanks - that helped me solve it. Basically I had the window.open() call, but it was cluttered with extra garbage. I stripped it down to: window.open(cURL) and it gave me what I wanted!

Thanks. That URL is an excellent reference for the various parameters.

Dave - thanks also for the idea - I did check the _hyperlink.vcx and it's a good place for ideas around this topic.

peter d.



Check out

/reference/methods/open_0.asp
Window.open() takes several parameters and you can spcify the size of
the window (or fullsize).
Please let me know if you need further help.
Einar




-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 9:59 AM
To: madfox_vfp@...
Subject: Re: [madfox_vfp] Web Connect Question

Einar:

Currently I have approximately 2 approaches:

1. Just a hyperlink to another form. When clicked, the next form fills
in the current screen. It's that scenario that I'd like a new browser
window to open.

2. My second approach I open a separate window, but most of it's
control features don't appear. Here's the code:

Within my PRG that generates the screen that contains the button to jump
to a different URL:
Basically, I want the user to click a button and be taken to
"CodeEdit.TIS" in a separate browser window. Currently it takes them
there in a different browser window, but the resultant window is missing
some of the standard navigation features, etc.

***within a PRG:

lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg")
lobtn18.cvalue="Codes EDIT"
lobtn18.cwinfunction="ViewLogPopup()"
lobtn18.cwinName="ViewPop"
lobtn18.lReadOnly=.f.
lobtn18.cwinURL="CodesEdit.TIS"

lobtn18.renderjava()
***

And - within my "PCDWC.prg":

DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl

** this is similar/same as PDwebButtonToPopupURL - except trying for
a full-blown separate window
** coordinates of the resulting window
nwinLeft=5
nwinTop=5
nwinWidth=700
nwinHeight=350
** name of called popup function
cwinFunction=""
cwinClick=""
cwinUrlVars=""
** URL to call
cwinURL=""
cwinURLoFormCall=""
** retain reference to the java object created at top of calling
page routine
cwinName="POPUP"

FUNCTION Render
RETURN THIS.RenderButton()
ENDFUNC

FUNCTION RenderJava

response.writeln([<SCRIPT LANGUAGE="JavaScript">])
response.writeln([<!--])
response.writeln([ function ]+this.cwinFunction+[{])
** I feel like some setting here needs to be set to give
standard browser navigation ability
response.writeln([ var
windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,resiz
able=yes,controlbox=yes,controls=yes,left=]+;

TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;

[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinheight
)+[";])
response.writeln([var URL
="]+this.cwinURL+["]+this.cWinUrlVars+[;])


response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowprops
)])
response.writeln(this.cwinName+[.focus()])

response.writeln([}])
response.writeln([-->])
response.writeln([ </SCRIPT>])

ENDFUNC



FUNCTION RenderButton


** define the button on the page
IF empty(this.cwinclick)
this.cwinclick=this.cwinfunction
ENDIF

RETURN ;
[<input type=button value="]+this.cvalue+["] +;
[ onClick="]+this.cwinclick+["]+;
IIF(THIS.lReadOnly,[ DISABLED>],[>])

ENDFUNC

ENDDEFINE

peter d.



Please post the code that currently opens the browser window.

Einar




-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 8:58 AM
To: madfox_vfp@...
Subject: [madfox_vfp] Web Connect Question

What's the code/setting required so that a browser form will open in a
new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full
browser windows.

Peter d.




Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor
---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim
yours for only $14.70 </FONT><A
href="><B>Cli
ck Here!</B></A>
------------------------------------------------------------
---------~->


Yahoo! Groups Links





Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor ---------------------~-->
<FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
</FONT><A href="><B>Click Here!</B></A>
------------------------------------------------------------
---------~->


Yahoo! Groups Links



Re: Web Connect Question

Einar Kvandahl
 

Check out

/reference/methods/open_0.asp
Window.open() takes several parameters and you can spcify the size of
the window (or fullsize).
Please let me know if you need further help.
Einar

-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 9:59 AM
To: madfox_vfp@...
Subject: Re: [madfox_vfp] Web Connect Question

Einar:

Currently I have approximately 2 approaches:

1. Just a hyperlink to another form. When clicked, the next form fills
in the current screen. It's that scenario that I'd like a new browser
window to open.

2. My second approach I open a separate window, but most of it's
control features don't appear. Here's the code:

Within my PRG that generates the screen that contains the button to jump
to a different URL:
Basically, I want the user to click a button and be taken to
"CodeEdit.TIS" in a separate browser window. Currently it takes them
there in a different browser window, but the resultant window is missing
some of the standard navigation features, etc.

***within a PRG:

lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg")
lobtn18.cvalue="Codes EDIT"
lobtn18.cwinfunction="ViewLogPopup()"
lobtn18.cwinName="ViewPop"
lobtn18.lReadOnly=.f.
lobtn18.cwinURL="CodesEdit.TIS"

lobtn18.renderjava()
***

And - within my "PCDWC.prg":

DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl

** this is similar/same as PDwebButtonToPopupURL - except trying for
a full-blown separate window
** coordinates of the resulting window
nwinLeft=5
nwinTop=5
nwinWidth=700
nwinHeight=350
** name of called popup function
cwinFunction=""
cwinClick=""
cwinUrlVars=""
** URL to call
cwinURL=""
cwinURLoFormCall=""
** retain reference to the java object created at top of calling
page routine
cwinName="POPUP"

FUNCTION Render
RETURN THIS.RenderButton()
ENDFUNC

FUNCTION RenderJava

response.writeln([<SCRIPT LANGUAGE="JavaScript">])
response.writeln([<!--])
response.writeln([ function ]+this.cwinFunction+[{])
** I feel like some setting here needs to be set to give
standard browser navigation ability
response.writeln([ var
windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,resiz
able=yes,controlbox=yes,controls=yes,left=]+;

TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;

[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinheight
)+[";])
response.writeln([var URL
="]+this.cwinURL+["]+this.cWinUrlVars+[;])


response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowprops
)])
response.writeln(this.cwinName+[.focus()])

response.writeln([}])
response.writeln([-->])
response.writeln([ </SCRIPT>])

ENDFUNC



FUNCTION RenderButton


** define the button on the page
IF empty(this.cwinclick)
this.cwinclick=this.cwinfunction
ENDIF

RETURN ;
[<input type=button value="]+this.cvalue+["] +;
[ onClick="]+this.cwinclick+["]+;
IIF(THIS.lReadOnly,[ DISABLED>],[>])

ENDFUNC

ENDDEFINE

peter d.



Please post the code that currently opens the browser window.

Einar




-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 8:58 AM
To: madfox_vfp@...
Subject: [madfox_vfp] Web Connect Question

What's the code/setting required so that a browser form will open in a
new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full
browser windows.

Peter d.




Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor
---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim
yours for only $14.70 </FONT><A
href="><B>Cli
ck Here!</B></A>
------------------------------------------------------------
---------~->


Yahoo! Groups Links





Yahoo! Groups Links


Re: Web Connect Question

 

Einar:

Currently I have approximately 2 approaches:

1. Just a hyperlink to another form. When clicked, the next form fills in the current screen. It's that scenario that I'd like a new browser window to open.

2. My second approach I open a separate window, but most of it's control features don't appear. Here's the code:

Within my PRG that generates the screen that contains the button to jump to a different URL:
Basically, I want the user to click a button and be taken to "CodeEdit.TIS" in a separate browser window. Currently it takes them there in a different browser window, but the resultant window is missing some of the standard navigation features, etc.

***within a PRG:

lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg")
lobtn18.cvalue="Codes EDIT"
lobtn18.cwinfunction="ViewLogPopup()"
lobtn18.cwinName="ViewPop"
lobtn18.lReadOnly=.f.
lobtn18.cwinURL="CodesEdit.TIS"

lobtn18.renderjava()
***

And - within my "PCDWC.prg":

DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl

** this is similar/same as PDwebButtonToPopupURL - except trying for a full-blown separate window
** coordinates of the resulting window
nwinLeft=5
nwinTop=5
nwinWidth=700
nwinHeight=350
** name of called popup function
cwinFunction=""
cwinClick=""
cwinUrlVars=""
** URL to call
cwinURL=""
cwinURLoFormCall=""
** retain reference to the java object created at top of calling page routine
cwinName="POPUP"

FUNCTION Render
RETURN THIS.RenderButton()
ENDFUNC

FUNCTION RenderJava

response.writeln([<SCRIPT LANGUAGE="JavaScript">])
response.writeln([<!--])
response.writeln([ function ]+this.cwinFunction+[{])
** I feel like some setting here needs to be set to give standard browser navigation ability
response.writeln([ var windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,resizable=yes,controlbox=yes,controls=yes,left=]+;
TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;
[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinheight)+[";])
response.writeln([var URL ="]+this.cwinURL+["]+this.cWinUrlVars+[;])

response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowprops)])
response.writeln(this.cwinName+[.focus()])

response.writeln([}])
response.writeln([-->])
response.writeln([ </SCRIPT>])

ENDFUNC



FUNCTION RenderButton


** define the button on the page
IF empty(this.cwinclick)
this.cwinclick=this.cwinfunction
ENDIF

RETURN ;
[<input type=button value="]+this.cvalue+["] +;
[ onClick="]+this.cwinclick+["]+;
IIF(THIS.lReadOnly,[ DISABLED>],[>])

ENDFUNC

ENDDEFINE

peter d.



Please post the code that currently opens the browser window.

Einar




-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 8:58 AM
To: madfox_vfp@...
Subject: [madfox_vfp] Web Connect Question

What's the code/setting required so that a browser form will open in a
new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full
browser windows.

Peter d.




Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor ---------------------~-->
<FONT COLOR="#000099">Yahoo! Domains - Claim yours for only $14.70
</FONT><A href="><B>Click Here!</B></A>
------------------------------------------------------------
---------~->


Yahoo! Groups Links



Re: Web Connect Question

Lorentzen David F.
 

Peter,

You might check the code in the NavigateTo() method of the _hyperlinkbase.vcx in the FCC classes. Not being a web designer, I couldn't be sure, but it looks like there might be some useful code there.

-= Dave

David F. Lorentzen
Manager, HLA/Molecular Diagnostics Lab
University of Wisconsin Hospital and Clinics
600 Highland Ave
Madison, WI 53792-2472

-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 8:58 AM
To: madfox_vfp@...
Subject: [madfox_vfp] Web Connect Question


What's the code/setting required so that a browser form will open in a new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full browser windows.

Peter d.




Yahoo! Groups Links


Re: Web Connect Question

Einar Kvandahl
 

Please post the code that currently opens the browser window.

Einar

-----Original Message-----
From: Foxprotalk@... [mailto:Foxprotalk@...]
Sent: Friday, May 14, 2004 8:58 AM
To: madfox_vfp@...
Subject: [madfox_vfp] Web Connect Question

What's the code/setting required so that a browser form will open in a
new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full
browser windows.

Peter d.




Yahoo! Groups Links


Web Connect Question

 

What's the code/setting required so that a browser form will open in a new, separate, full-functioning browser window?

I have a WC app that opens separate windows - but they aren't full browser windows.

Peter d.


Re: "disappearing" fpt file revisited

 

I had a client that called me up and told me that an
app that had been working for years was no longer
working and I'd better get it fixed fast! I asked what
had changed on the PC and was told nothing. Anyone
believe that? I didn't. After prodding them for a
while
they finally told me the upgraded to XP. These were
brand new top of the line machines. But they could run
the app on another XP machine so I don't think that
is your problem. I also have XP and I haven't had any
issues with it. Their problem turned out that they had
some software installed that was foxpro based and
modified the run time files. Long story short, I don't
think it is an XP or fast PC issue but you never know
what the client does to the machine. It was their
machine and they installed the software but only ran
it once a month, which is how long it took to figure
out their problem. You know how it goes, 'Oh yeah, I
forgot all about that!'.

Good Luck!
Scott

--- Stein Goering <sgoering@...> wrote:
Still haven't resolved this issue (originally posted
4/29) I do have a few
more specifics so thought I'd run it by you folks
again.



Original report:



Client reports intermittent crashes with the
following error:



cmAppRegistry Manager

unable to access application registry tables

Line 1637 of open: Memo file
n:&#92;jocat&#92;data&#92;appreg01.fpt is missing or
invalid



Here's the code sequence leading up to the crash:

IF NOT DBUSED(THIS.cDBCname)

OPEN DATABASE (THIS.cDBCpath) SHARED

ENDIF

USE (THIS.cDBCname + '!appReg01') IN 0 AGAIN
SHARED ALIAS cmRegistry



So the database is open, but we can't open the
table. There's nothing
special about the table, which is just a standard
.dbf with a couple of memo
fields. The total file size is under 50K (dbf and
fpt combined) Thinking
there might be a data corrution issue, I restored
the table from an older
copy - prior to this error - but they continue to
encounter the problem.



At the same time that one user is getting this
error, other people are in
the system happily using the same table. If the
client who gets the error
reboots their system, they are usually able to open
the table the next time
they try.



I should mention that their "server" is a Win98
machine using peer-to-peer
shares so that's a likely suspect, but they've been
running this app in that
same environment for years without seeing this
error.



Late breaking news:

At least one instance of the same error (Memo file
missing or invalid)
happened with another file, this time on the
database container (.DCT) file.



My statement about using the "same environment"
should be ammended by
pointing out that they have recently added some new
XP-based workstations.
(Before they were all Win9x and 2000.) It may be
the case that the errors
are showing up on the XP systems only. (I've asked
them to try to pin down
that information.) I assume these new machines are
also much faster - could
there be a timing issue with a fast client trying
access shared data on an
old slow server?



Any ideas would be appreciated.



--stein







__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.


"disappearing" fpt file revisited

Stein Goering
 

开云体育

Still haven’t resolved this issue (originally posted 4/29)? I do have a few more specifics so thought I’d run it by you folks again.

?

Original report:

?

Client reports intermittent crashes with the following error:

?

cmAppRegistry Manager

unable to access application registry tables

Line 1637 of open: Memo file n:\jocat\data\appreg01.fpt is missing or invalid

?

Here’s the code sequence leading up to the crash:

??????? IF NOT DBUSED(THIS.cDBCname)

????????? OPEN DATABASE (THIS.cDBCpath) SHARED

??????? ENDIF

??? ????USE (THIS.cDBCname + '!appReg01') IN 0 AGAIN SHARED ALIAS cmRegistry

?

So the database is open, but we can’t open the table.? There’s nothing special about the table, which is just a standard .dbf with a couple of memo fields.? The total file size is under 50K (dbf and fpt combined)?? Thinking there might be a data corrution issue, I restored the table from an older copy – prior to this error – but they continue to encounter the problem.

?

At the same time that one user is getting this error, other people are in the system happily using the same table.? If the client who gets the error reboots their system, they are usually able to open the table the next time they try.?

?

I should mention that their “server” is a Win98 machine using peer-to-peer shares so that’s a likely suspect, but they’ve been running this app in that same environment for years without seeing this error.

?

Late breaking news:

At least one instance of the same error (Memo file missing or invalid) happened with another file, this time on the database container (.DCT) file.

?

My statement about using the “same environment” should be ammended by pointing out that they have recently added some new XP-based workstations.? (Before they were all Win9x and 2000.)? It may be the case that the errors are showing up on the XP systems only.? (I’ve asked them to try to pin down that information.)? I assume these new machines are also much faster – could there be a timing issue with a fast client trying access shared data on an old slow server??

?

Any ideas would be appreciated.

?

--stein

?


Re: Active X calendar control

Cliff's email
 

开云体育

Thanks, I actually figured this out today running through the watch window

?

Walk in Beauty,

?

Cliff Smith

hawkridge@... / 1 608 647-2366

?

-----Original Message-----

From: Eric Selje [mailto:eselje@...]
Sent: Wednesday, May 05, 2004 10:44 AM
To: madfox_vfp@...
Subject: Re: [madfox_vfp] Active X calendar control

?

Because of the hassle involved with ActiveX controls (making sure the end-users got it, making sure all developers have a developers license, etc.) I try to use native controls whenever possible.? There's a really good VFP-written Calendar control available on the UniversalThread.

Eric

Chad J. Lemmer wrote:

You need to reference the OBJECT in the OLE container, like this:

?

This does NOT work:

thisform.olecontrol1.Enabled = .f.

?

This does work:

thisform.olecontrol1.object.Enabled = .f.

?

----- Original Message -----

From: HawkRidge

Sent: Wednesday, May 05, 2004 8:35 AM

Subject: [madfox_vfp] Active X calendar control

?

Hi:

?

I'm working on a new app for a client and am using the MS date & time picker v6(sp4) calendar control.? So here's the problem, and maybe there is just something I am not grokking here.? I need to disable this control from other places on a form.? But it seems that no matter how I set the .enabled property the damned control stays enabled.? I ran this through the debugger so I could watch things and the property says disabled, still the control is enabled and you can fool with it and the change() (same as interactivechange() event)?and click() events fire.? Any insights would be appreciated.

?

Walk In Beauty,

Cliff Smith
hawkridge@... / 608 647-2366

?

?





Re: Active X calendar control

Eric Selje
 

开云体育

Because of the hassle involved with ActiveX controls (making sure the end-users got it, making sure all developers have a developers license, etc.) I try to use native controls whenever possible.? There's a really good VFP-written Calendar control available on the UniversalThread.

Eric

Chad J. Lemmer wrote:

You need to reference the OBJECT in the OLE container, like this:
?
This does NOT work:
thisform.olecontrol1.Enabled = .f.
?
This does work:
thisform.olecontrol1.object.Enabled = .f.
?
----- Original Message -----
From: HawkRidge
Sent: Wednesday, May 05, 2004 8:35 AM
Subject: [madfox_vfp] Active X calendar control

Hi:
?
I'm working on a new app for a client and am using the MS date & time picker v6(sp4) calendar control.? So here's the problem, and maybe there is just something I am not grokking here.? I need to disable this control from other places on a form.? But it seems that no matter how I set the .enabled property the damned control stays enabled.? I ran this through the debugger so I could watch things and the property says disabled, still the control is enabled and you can fool with it and the change() (same as interactivechange() event)?and click() events fire.? Any insights would be appreciated.
?

Walk In Beauty,

Cliff Smith
hawkridge@... / 608 647-2366

?




Re: Active X calendar control

Chad J. Lemmer
 

开云体育

You need to reference the OBJECT in the OLE container, like this:
?
This does NOT work:
thisform.olecontrol1.Enabled = .f.
?
This does work:
thisform.olecontrol1.object.Enabled = .f.
?

----- Original Message -----
From: HawkRidge
Sent: Wednesday, May 05, 2004 8:35 AM
Subject: [madfox_vfp] Active X calendar control

Hi:
?
I'm working on a new app for a client and am using the MS date & time picker v6(sp4) calendar control.? So here's the problem, and maybe there is just something I am not grokking here.? I need to disable this control from other places on a form.? But it seems that no matter how I set the .enabled property the damned control stays enabled.? I ran this through the debugger so I could watch things and the property says disabled, still the control is enabled and you can fool with it and the change() (same as interactivechange() event)?and click() events fire.? Any insights would be appreciated.
?

Walk In Beauty,

Cliff Smith
hawkridge@... / 608 647-2366

?


Active X calendar control

HawkRidge
 

开云体育

Hi:
?
I'm working on a new app for a client and am using the MS date & time picker v6(sp4) calendar control.? So here's the problem, and maybe there is just something I am not grokking here.? I need to disable this control from other places on a form.? But it seems that no matter how I set the .enabled property the damned control stays enabled.? I ran this through the debugger so I could watch things and the property says disabled, still the control is enabled and you can fool with it and the change() (same as interactivechange() event)?and click() events fire.? Any insights would be appreciated.
?

Walk In Beauty,

Cliff Smith
hawkridge@... / 608 647-2366

?


Re: "disappearing" fpt file

Stein Goering
 

开云体育

This probably isn’t a factor in my case, since the file that’s causing the error is just a few K in size. ?Some of the production files get pretty hefty, but they seem to work with no problems.

?


From: PJ Fernandez [mailto:pjfern@...]
Sent: Saturday, May 01, 2004 10:15 AM
To: madfox_vfp@...
Subject: RE: [madfox_vfp] "disappearing" fpt file

?

I had some instances that the FTP file is close to 2G and the machine that is trying to open the file has only .5G available on the local disk drive, the system gives me an error that the FTP file does not exist or is corrupt.

?

P.J.

-----Original Message-----
From: Stein Goering [mailto:sgoering@...]
Sent: Thursday, April 29, 2004 5:50 PM
To: madfox_vfp@...
Subject: [madfox_vfp] "disappearing" fpt file

One of my clients reports that may app has suddently begun crashing intermittently with the error “appreg01.fpt is not found” ??The appreg01 table contains system info such as PK counters and security records, so is accessed at a number of points during program execution.? The thing is that it will crash for one user, while others, also using the same appreg table, can continue working.? ?I THINK that if the client who gets the error reboots their system, the problem goes away.? (I’m having trouble getting all the specifics on this..)

?

?We thought it might be a HD problem, but they moved their share to a different disk and it’s still happening.?

?

I just recreated the table from scratch and imported the old data, just in case the problem was a corrupt table.? Haven’t heard back whether that helped.?

?

My other thought is that it’s a networking issue and they are in fact looking at upgrading their LAN server.? I just wondered if anyone has encountered anything similar, and/or would have suggestions as to where else to look.




Re: "disappearing" fpt file

 

开云体育

Here's something to try:
?
take a good copy of the file and put in another directory.? Rename the dbf and fpt in the current directory.? Copy the good copy back.
?
I think you said it was restricted to one of the work stations, but it still could be related to some corruption on the server.
?
peter d.

This probably isn’t a factor in my case, since the file that’s causing the error is just a few K in size. ?Some of the production files get pretty hefty, but they seem to work with no problems.

?


From: PJ Fernandez [mailto:pjfern@...]
Sent: Saturday, May 01, 2004 10:15 AM
To: madfox_vfp@...
Subject: RE: [madfox_vfp] "disappearing" fpt file

?

I had some instances that the FTP file is close to 2G and the machine that is trying to open the file has only .5G available on the local disk drive, the system gives me an error that the FTP file does not exist or is corrupt.

?

P.J.

-----Original Message-----
From: Stein Goering [mailto:sgoering@...]
Sent: Thursday, April 29, 2004 5:50 PM
To: madfox_vfp@...
Subject: [madfox_vfp] "disappearing" fpt file

One of my clients reports that may app has suddently begun crashing intermittently with the error “appreg01.fpt is not found” ??The appreg01 table contains system info such as PK counters and security records, so is accessed at a number of points during program execution.? The thing is that it will crash for one user, while others, also using the same appreg table, can continue working.? ?I THINK that if the client who gets the error reboots their system, the problem goes away.? (I’m having trouble getting all the specifics on this..)

?

?We thought it might be a HD problem, but they moved their share to a different disk and it’s still happening.?

?

I just recreated the table from scratch and imported the old data, just in case the problem was a corrupt table.? Haven’t heard back whether that helped.?

?

My other thought is that it’s a networking issue and they are in fact looking at upgrading their LAN server.? I just wondered if anyone has encountered anything similar, and/or would have suggestions as to where else to look.






Yahoo! Groups Links
  • To visit your group on the web, go to:

    ?
  • To unsubscribe from this group, send an email to:
    madfox_vfp-unsubscribe@...
    ?
  • Your use of Yahoo! Groups is subject to the .


Re: "disappearing" fpt file

PJ Fernandez
 

开云体育

I had some instances that the FTP file is close to 2G and the machine that is trying to open the file has only .5G available on the local disk drive, the system gives me an error that the FTP file does not exist or is corrupt.
?
P.J.

-----Original Message-----
From: Stein Goering [mailto:sgoering@...]
Sent: Thursday, April 29, 2004 5:50 PM
To: madfox_vfp@...
Subject: [madfox_vfp] "disappearing" fpt file

One of my clients reports that may app has suddently begun crashing intermittently with the error “appreg01.fpt is not found” ??The appreg01 table contains system info such as PK counters and security records, so is accessed at a number of points during program execution.? The thing is that it will crash for one user, while others, also using the same appreg table, can continue working.? ?I THINK that if the client who gets the error reboots their system, the problem goes away.? (I’m having trouble getting all the specifics on this..)

?

?We thought it might be a HD problem, but they moved their share to a different disk and it’s still happening.?

?

I just recreated the table from scratch and imported the old data, just in case the problem was a corrupt table.? Haven’t heard back whether that helped.?

?

My other thought is that it’s a networking issue and they are in fact looking at upgrading their LAN server.? I just wondered if anyone has encountered anything similar, and/or would have suggestions as to where else to look.


Re: "disappearing" fpt file

HawkRidge
 

开云体育

Synchronicity, I love it...? I have been pondering a framework remake and config info was one of the issues.? I figured the new one would use XML also - I have been using INI files.? I would love to see the code.
?
On a completely different note, I have been digging much deeper into that oleTreeView control we checked out last meeting, and if the small app I am working on for a client is presentable, I'll bring it to next meeting.? I decided to use that control as a primary display/edit method for the job.
?

Walk In Beauty,

Cliff Smith
hawkridge@... / 608 647-2366

-----Original Message-----
From: Eric Selje [mailto:eselje@...]
Sent: Thursday, April 29, 2004 8:04 PM
To: madfox_vfp@...
Subject: RE: [madfox_vfp] "disappearing" fpt file

I haven't seen that (sorry!), but if anyone's interested I now keep some a lot of configuration info (not primary keys, but some other config data that's not updated very often) in an XML file and I wrote some quick functions to read/write the keys I need.? [It just occurred to me to try using a CursorAdaptor with an XML datasource...hmmmm... I'll try that tomorrow.]? But if anyone wants to see the methods I can share them when I get back to work on Monday.
?
We have tomorrow off, as it's Children's Parade day on St. Thomas.? Big day over there, so we get the day off too.? Go figure.
?
Eric
?
?
----- Original Message -----
Sent: 4/29/2004 6:51:13 PM
Subject: [madfox_vfp] "disappearing" fpt file

One of my clients reports that may app has suddently begun crashing intermittently with the error appreg01.fpt is not found ??The appreg01 table contains system info such as PK counters and security records, so is accessed at a number of points during program execution.? The thing is that it will crash for one user, while others, also using the same appreg table, can continue working.? ?I THINK that if the client who gets the error reboots their system, the problem goes away.? (Im having trouble getting all the specifics on this..)

?

?We thought it might be a HD problem, but they moved their share to a different disk and its still happening.?

?

I just recreated the table from scratch and imported the old data, just in case the problem was a corrupt table.? Havent heard back whether that helped.?

?

My other thought is that its a networking issue and they are in fact looking at upgrading their LAN server.? I just wondered if anyone has encountered anything similar, and/or would have suggestions as to where else to look.


Re: "disappearing" fpt file

Eric Selje
 

开云体育

I haven't seen that (sorry!), but if anyone's interested I now keep some a lot of configuration info (not primary keys, but some other config data that's not updated very often) in an XML file and I wrote some quick functions to read/write the keys I need.? [It just occurred to me to try using a CursorAdaptor with an XML datasource...hmmmm... I'll try that tomorrow.]? But if anyone wants to see the methods I can share them when I get back to work on Monday.
?
We have tomorrow off, as it's Children's Parade day on St. Thomas.? Big day over there, so we get the day off too.? Go figure.
?
Eric
?
?

----- Original Message -----
Sent: 4/29/2004 6:51:13 PM
Subject: [madfox_vfp] "disappearing" fpt file

One of my clients reports that may app has suddently begun crashing intermittently with the error appreg01.fpt is not found ??The appreg01 table contains system info such as PK counters and security records, so is accessed at a number of points during program execution.? The thing is that it will crash for one user, while others, also using the same appreg table, can continue working.? ?I THINK that if the client who gets the error reboots their system, the problem goes away.? (Im having trouble getting all the specifics on this..)

?

?We thought it might be a HD problem, but they moved their share to a different disk and its still happening.?

?

I just recreated the table from scratch and imported the old data, just in case the problem was a corrupt table.? Havent heard back whether that helped.?

?

My other thought is that its a networking issue and they are in fact looking at upgrading their LAN server.? I just wondered if anyone has encountered anything similar, and/or would have suggestions as to where else to look.


"disappearing" fpt file

Stein Goering
 

开云体育

One of my clients reports that may app has suddently begun crashing intermittently with the error “appreg01.fpt is not found” ??The appreg01 table contains system info such as PK counters and security records, so is accessed at a number of points during program execution.? The thing is that it will crash for one user, while others, also using the same appreg table, can continue working.? ?I THINK that if the client who gets the error reboots their system, the problem goes away.? (I’m having trouble getting all the specifics on this..)

?

?We thought it might be a HD problem, but they moved their share to a different disk and it’s still happening.?

?

I just recreated the table from scratch and imported the old data, just in case the problem was a corrupt table.? Haven’t heard back whether that helped.?

?

My other thought is that it’s a networking issue and they are in fact looking at upgrading their LAN server.? I just wondered if anyone has encountered anything similar, and/or would have suggestions as to where else to look.


Re: Website

Eric Selje
 

开云体育

If it's specific tgo our site, I guess you can email it to either Einar or Nate so they can move the content.?
?
Thanks!

Eric

----- Original Message -----
Sent: 4/27/2004 8:21:10 AM
Subject: RE: [madfox_vfp] Website

Hi Eric,

?

I have the server setup.? Should I email the account name and password to you directly?? As of this morning it appears the DNS Changes are still in the works.

?

Dave

?


From: Eric Selje [mailto:eselje@...]
Sent: Monday, April 26, 2004 8:49 PM
To: madfox_vfp@...
Subject: RE: [madfox_vfp] Website

?

Ok, it's pointing there now.? Hope you can get the content before the DNS propogates!

?

Eric

?

?

?