Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Can't run xxxtest.prg

$
0
0
Re: Can't run xxxtest.prg
FoxInCloud
Re: Can't run xxxtest.prg
02/03/2012
01:35:46 AM
3FA03F6Q5 Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None
Thanks, I'll try it.

Another issue: I still can't eleminate the GDI+ error on form instatiation. Tuvia did it by adding to my project a bunch of files that I don't have at all, e.g.
- from ...\tools\ab\: awpublic.prg, ...
- from ...\tools\ac\: ac.prg, ...
- from ...\tools\ab\at\: at.vcx
- from ...\tools\ab\aw\: awserver.prg, ...
- from ...\tools\ab\wc\: wwserver.prg, wwsession.prg, ...
- from ...\tools\ab\wc\classes\: wcvisual.vcx, wwbusiness.vcx, ...

She says FAA should have added these files to my project, but it didn't. In fact FAA worked on my original project, but later at step C1 xxxTest.pjx.prg created another one which I am using since. In the second project xxxServer.prg, xxxTest.prg, ... were added but some prgs from original pjx were missing, e.g. ab.prg, abarray.prg, ... I see them again in Tuvia's project so not sure if it is ok.

I guess the whole thing is because I am using the test version of Fic but it should be possible to create an error-free application with it, yes? Can you suggest what steps I should take apart from bying a license :-).

Best regards

This code from a sample xxxProcess class might help you

* ------------------ PROTECTED PROCEDURE wUserSet LPARAMETERS ; twUser,; && user ID tlTemp && [.F.] impersonation _Screen.AddProperty('_code_ope', m.twUser) lire_mesdroits() DoDefault(m.twUser, m.tlTemp) && {en} Always keep this instruction! * ------------------ PROTECTED FUNCTION wUserGet LPARAMETERS tlTemp && [.F.] impersonation RETURN _SCREEN._code_ope * ------------------ PROCEDURE Accueil && alias to this.Index() RETURN this.Index() * ------------------ PROCEDURE Index RETURN THIS.wFormStandardPage('index.scx') EXTERNAL FORM index.scx * ------------------ PROCEDURE Deconnexion && disconnect THIS.wUserSet(m.this.wUserAnonymous) ferme_session() && closes user session for application RETURN this.Index() && Back to home page

thN

I did it and have the menu when I open a top-level form (http://localhost/xxx/Form1.xxx). But if I have no top-level form how can I display just the menu?

It does, but the application's main menu is not in it, thus it is more a goodbye-page. I need to show the application's main menu when one gets to the site.

Then you need to take a look at xxxMenu.xls and xxxServer.prg!xxxProcess.wFormHTML_cMenu()
This way you can have your menu on each page generated by xxxProcess.wFormStandardPage()



Viewing all articles
Browse latest Browse all 10393

Trending Articles