Using ShowGateway() Method


Author
Message
James E Jernigan
James E Jernigan
StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)
Group: Forum Members
Posts: 16, Visits: 101
I am working with the trial version of Strataframe.  I am working through trying to get basic functionality to work for a typical user application.  I am trying to use the ShowGateway() method to set up a main form selection screen for the user.

When I put the code from the help file into the AppMain.vb file, VS 2005 does not recognize the GatewayForm() object.  I get the squiggly lines under it and an error message box pops up.  I have attached a jpg screen shot of the code section and the error message.

Any thoughts or suggestions on what I need to do to correct the problem?

Thanks.

Attachments
Strataframe_showgateway.JPG (174 views, 194.00 KB)
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The sample from the help documentation assumes that you have a form in your application called GatewayForm.  The code within GatewayForm is not part of the help documentation, so you need to add a new form to your application called GatewayForm (or whatever name you want to give it) and create a new instance of that form and show it within the ShowGateway() method.
James E Jernigan
James E Jernigan
StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)
Group: Forum Members
Posts: 16, Visits: 101
I was thinking that the "GatewayForm" was part of the Strataframe environment like the security "Login" form ...  Maybe a SFGatewayForm for the future?  Any reference you could give me for a visual interface and code sample of what I would need to put into a Gateway Form?

Thanks for a speedy reply.

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Maybe a SFGatewayForm for the future? 

You can actually use any type of form here.  This is generally a menu type of interface.

Any reference you could give me for a visual interface and code sample of what I would need to put into a Gateway Form?

Honestly, most people do not have a gateway form.  A gateway is generally used when your product may direct a user several different places before logging in.  For example, our medical system had a gateway that had three options:

  1. Application
  2. Database Maintenance
  3. Exit

We no longer use this gateway as we handle our database maintenance a different way.  So we go straight to a login.

James E Jernigan
James E Jernigan
StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)StrataFrame Novice (70 reputation)
Group: Forum Members
Posts: 16, Visits: 101
Thanks, that information helps.  I was visualizing something like the "Switchboard" form that is used in some of our VS 2005 training materials ... something that was inside the application to decide which user screen to go to.   Sounds like the "Gateway" form was for a totally different purpose. Smile
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Sounds like the "Gateway" form was for a totally different purpose.

Exactly.  Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search