Brand new user question


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Mark,

I double-checked this running on the build currently in the My Account area (1.6.7 beta).  This appears to be working.  So most likely you are having some reference issues or do not have this version of DevExpress installed.  This build was compiled for 8.2, so it appears that you are not running this version.

I took a virtual machine, loaded it with the new build, and it works out of the box.  So I bet you are just missing a piece.  As I mentioned via email, this is the most recent version to which I have access at the moment.

The "First Error" that you received is most likely coming from the change that you made.  You probably updated the references, but you did not update the templates.  This is where your error came from.  A template will try to add the references for you if they are not already in your project.  That is what you were getting here.

If you want to change these as well, then you will have to update the templates distributed with StrataFrame.  You can find all item templates in the following folder:

C#
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp

VB.NET
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\VisualBasic

These are standard ZIP files.  So let's just take the SF_DevEx_MaintenanceForm.zip template.  Right click and open the ZIP file (not extract).  You will see the contents:

The highlighted file is where the version references can be found.  Extract this one file so that you can make changes to it.  Once extracted, open the file in VS, notepad, or some other text editor.

As you can see in this example, the DevExpress references are pointing to v8.2.  Change these to match your current version.  I am not positive, but most likely it will be as follows:

<Reference>
  <Assembly>DevExpress.Data.v8.3, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1</Assembly>
</Reference>
<Reference>
  <Assembly>DevExpress.Utils.v8.3, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1</Assembly>
</Reference>
<Reference>
  <Assembly>DevExpress.XtraBars.v8.3, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1</Assembly>
</Reference>
<Reference>
  <Assembly>DevExpress.XtraEditors.v8.3, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1</Assembly>
</Reference>
<Reference>
  <Assembly>DevExpress.XtraGrid.v8.3, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1</Assembly>
</Reference>

After the changes have been made, drag this file back into the SF_DevEx_MaintenanceForm.zip file.  At this point you are almost done.  Next, get out of Visual Studio and run this command:

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /setup

Now, when you go back into VS and use this template, it will use the updated references.

Repeat the same process for each of the other SF_DevEx templates and you will be good to go.

Note: The fact that your error message showed 7.3 for the version, I am willing to bet that you did not get the most recent beta loaded properly or the templates did not get updated as the current version in the most recent build is 8.2.


 

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I will check the templates and make sure that they are working.  It almost acts like yours may not have updated...or I could have missed something.  But in the case of the "Code Help Text" just go add that reference and then you will never see that again for this project.

The "Design Screen Error" could come from a lot of things...get used to seeing this type of screen as there are many possible causes.  In many cases, it is just a matter of rebuilding the project, closing the open form, and trying again.

The "First Message" is probably me...I forgot to update the project.  Ignore and add the 8.2 version when the project opens.

As far as your toolbox is concerned, just click on StrataFrame -> Create Toolbox Tab and it should add it in there.

Mark See
Mark See
StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)
Group: Forum Members
Posts: 15, Visits: 46
Hi Trent,

I plan to be at the next training and hope to meet you there!

I downloaded the latest beta, installed the .exe and the source .exe then followed Paul's procedure (previous post).

I started a new Security Project and added the SFDevEx Maintenance Form and recieved the attached messages.

Attachments
Code Help Text.gif (155 views, 48.00 KB)
Design Screen Message.gif (153 views, 53.00 KB)
First Message.gif (150 views, 13.00 KB)
My Toolbox in VS2008.gif (146 views, 40.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Mark, you can now login to the My Account area and download the new beta with the updated assembly as well as the templates.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Attached is the updated assembly.  I will post a new beta build with the updated templates once I get them changed.  Copy this file to your c:\program files\common files\MicroFour\StrataFrame folder and drag it into the GAC (c:\windows\assembly).
Attachments
MicroFourStrataFrameInheritedUI.zip (129 views, 73.00 KB)
Mark See
Mark See
StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)
Group: Forum Members
Posts: 15, Visits: 46
Hi Trent,

Thanks for all your help. I'll wait until I hear from you. Mark

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This is because the StrataFrame template that you selected has references to that version of DevExpress...this is more compliated to tell you how to change.  There are template files (ZIPs) that hold on to references.  So these templates have not been updated since that version (oops) BigGrin  Actually, I knew this and had it on my list.  I will update these as well when I update the DevExpress references in the Inherited assembly.
Mark See
Mark See
StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)
Group: Forum Members
Posts: 15, Visits: 46
Hi Trent/Paul,

Thank you so much for your patience. I am very impressed with the software and support.

I followed the procedure from Paul and after running the batch file I created a new StrataFrame Security project in Visual Studio. When I added a SF DevEx Maintenance form to the project I received an error message (see attached).

I hate to be such a nuisance, I think this is a great product (so does my boss) and I'm doing my best to get up to speed quickly. I'm just feeling really dumb right now Tongue

Thanks, Mark

Attachments
Error Message.gif (148 views, 8.00 KB)
Debug Screen.gif (143 views, 61.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
It should be in the root folder of your extracted source code.  If you cannot find it let me know and I will post it.  Also, you may want to copy the AutoBuild.bat file to c:\ (the default location) just to make things easier if you are getting an error when you build.
Mark See
Mark See
StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)
Group: Forum Members
Posts: 15, Visits: 46
Hi Paul,

I've done everything except the last step. What is, and where do I find/run, AfterBuild.bat?

Thanks for your help BigGrin

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