Reply

VB.net 2008 Express

[ Edited ]

 

We are currently using VB.net 2003 standard and are thinking of upgrading to VB.net 2008 express.  Are there any benifits or drawbacks to this move?  is the express version enough to take care of some light development, and database work?

 

 

Update: I think we'll actually use vb.net 2005 express to stay in line with the new SE help files.

 

Posted by: Bob Reinkemeyer
Post date: 9/16/2008 2:29:33 AM

3 REPLIES

RE: VB.net 2008 Express

[ Edited ]

 

Hello Bob,

 

I use Visual Studio 2005 Pro and it works fine most of the time. Since you use VB.net, and not C#, you might b better off. I've noticed that some of the examples (Page 88) from the SolidEdge ST .Net Programmers Guide can't be converted to C#;

For example, this piece of code:

-------------

 

objAssembly = objApplication.ActiveDocument

' Get a reference to the relations 3d collection

objRelations3d = objAssembly.Relations3d ' Loop through the relations 3d objects

 ForEach objRelation3d In objRelations3d ' Determine the relation type

 

 

objAngularRelation3d = objRelation3d

 

objAxialRelation3d = objRelation3d

 

objGroundRelation3d = objRelation3d

 

objPointRelation3d = objRelation3d

 

objPlanarRelation3d = objRelation3d

 SelectCase objRelation3d.TypeCase SolidEdgeFramework.ObjectType.igAngularRelation3dCase SolidEdgeFramework.ObjectType.igAxialRelation3dCase SolidEdgeFramework.ObjectType.igGroundRelation3dCase SolidEdgeFramework.ObjectType.igPointRelation3dCase SolidEdgeFramework.ObjectType.igPlanarRelation3dEndSelect

 Next

---------------------------

I haven't found a way in C# to access the following or its equivalent:

objRelation3d.Type

As if vb.net is more complete in terms of what API you get access to than C#;

But then I could be mistaken

Chahé

 

Posted by: Chahe Adourian
Post date: 9/16/2008 1:37:35 PM

RE: VB.net 2008 Express

[ Edited ]

 

thanks for the reply!  I would like to learn C#, but its all I can do to keep up with VB. 

 

Posted by: Bob Reinkemeyer
Post date: 9/17/2008 2:40:10 AM

RE: VB.net 2008 Express

[ Edited ]

 

Jason provided a solution to the above;

VB is certainly easier in this case.

----------

VB does a lot of "stuff" for you.  C# is a little more work.

 SolidEdgeAssembly.Relations3d relations3d = assemblyDocument.Relations3d;for (int i = 1; i

 

Posted by: Chahe Adourian
Post date: 9/20/2008 8:03:23 AM