V1.5 upgrade problem


Author
Message
franka
franka
StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)
Group: Forum Members
Posts: 22, Visits: 35
Thanks Ben that fixed the problem.

FYI - The v1.5 help file still has the property as LoginSuccessful and there is no reference to ShowMainForm.

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 LoginSuccessful property has changed to ShowMainForm.  So, if you want to show a login and then either show the main form or exit, then you will need to use this:

e.ShowMainForm = True

franka
franka
StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)
Group: Forum Members
Posts: 22, Visits: 35
That fixed that object but I'm still having a problem with my login process.  I use the  ShowLoginAndInitMainForm method which passes an ShowLoginAndInitFormEventArgs object as the event arg.  In the code, I set the LoginSuccessful property of the ShowLoginAndInitFormEventArgs object.  But it appears LoginSuccessful is no longer a property of the object or at least that is what the message says and it doesn't show up in intellisense.  Looking in the Help file it appears the method is still valid.  What am I missing?  See attached screenshot.  Thanks!! 
Attachments
LoginSuccessful.GIF (104 views, 100.00 KB)
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
In version 1.5 the business objects BusinessLayer definition was moved from the partial to the main class.  This allows you to create a custom BO layer base and inherit from your class rather than the default StrataFrame BusinessLayer without overwriting the changes when the partial is rebuilt.  Looking at your class, the only problem you are having is that your UsersBO is missing the BusinessLayer inherited statement.

It should look like this:

<Serializable()> _
Public Class UsersBO
       
Inherits MicroFour.StrataFrame.Business.BusinessLayer

Once this change has been made, you will be good to go. Smile     

franka
franka
StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)StrataFrame Beginner (28 reputation)
Group: Forum Members
Posts: 22, Visits: 35
I recently upgraded to V1.5 and now I'm having a problem rebuilding a solution.  I deleted the existing references and readded them.  Now I'm trying to rebuild the business objects using the Business Object Mapper.  It appears that 1 of my 3 business objects is no longer recognized as a Strataframe Business object.  Is there any way to correct/resolve the problem with recreating it?

See attached screenshot.

Attachments
V1-5 problem.bmp (123 views, 2.00 MB)
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