Author |
Message |
Jonathan Clifto #1 / 8
|
 objects in embedded visual basic 3.0
I am really started to get frustrated with vb. I am very comfortable in c so I can not understand why making a struct like object is so hard in embedded vb. For some reason I can't just do Type MyType a As Integer b As Integer End Type when I try that I get a compiler error saying expected statement, what the heck does that mean. What I really want is to be able to make a class, but if I can get a struct to work I would live, does any body know anything about embedded vb 3.0?
|
Tue, 14 Sep 2004 04:53:55 GMT |
|
 |
Whitt Batchele #2 / 8
|
 objects in embedded visual basic 3.0
Umm... maybe you need a private or public in front of Type? I don't know much about embedded VB, I'm just drawing on what I know of other languages -- Whitt Batcheler
www.whittweb.net
Quote: > I am really started to get frustrated with vb. I am very comfortable in c > so I can not understand why making a struct like object is so hard in > embedded vb. For some reason I can't just do > Type MyType > a As Integer > b As Integer > End Type > when I try that I get a compiler error saying expected statement, what the > heck does that mean. What I really want is to be able to make a class, but > if I can get a struct to work I would live, does any body know anything > about embedded vb 3.0?
|
Tue, 14 Sep 2004 05:48:18 GMT |
|
 |
michael harringto #3 / 8
|
 objects in embedded visual basic 3.0
Quote: > I am really started to get frustrated with vb. I am very comfortable in c > so I can not understand why making a struct like object is so hard in > embedded vb. For some reason I can't just do > Type MyType > a As Integer > b As Integer > End Type > when I try that I get a compiler error saying expected statement, what the > heck does that mean. What I really want is to be able to make a class, but > if I can get a struct to work I would live, does any body know anything > about embedded vb 3.0?
Well its not embedded vb but on my old vb3.0 the types had to be defined within a module. ie select New >> Module. Then if you want to use one in say a click event.... Static ThisType as MyType. VB3 helpfiles have a good example if you need it. HTH Mick.
|
Tue, 14 Sep 2004 06:16:24 GMT |
|
 |
Peter Youn #4 / 8
|
 objects in embedded visual basic 3.0
Quote: > I am really started to get frustrated with vb.
The frustration won't end, believe me. Quote: > so I can not understand why making a struct like object is so hard in > embedded vb.
eVB doesn't do Types or Classes. The help file's suggestion is to rewrite your app so that it doesn't need them! What a joke. eVB is essentially VBScript.
|
Tue, 14 Sep 2004 06:46:16 GMT |
|
 |
Peter Youn #5 / 8
|
 objects in embedded visual basic 3.0
Quote: > > I am really started to get frustrated with vb. > The frustration won't end, believe me.
I want to qualify this...the frustration won't end with eMbeddedVB. eVB is *not* VB. VB6 is great tool.
|
Tue, 14 Sep 2004 06:48:27 GMT |
|
 |
Joe #6 / 8
|
 objects in embedded visual basic 3.0
Quote:
> I am really started to get frustrated with vb. I am very comfortable in c > so I can not understand why making a struct like object is so hard in > embedded vb. For some reason I can't just do > Type MyType > a As Integer > b As Integer > End Type > when I try that I get a compiler error saying expected statement, what the > heck does that mean. What I really want is to be able to make a class, but > if I can get a struct to work I would live, does any body know anything > about embedded vb 3.0?
"eMbedded" VB seems to be closer to VBScript than it is to Visual Basic. If you're more comfortable with C, perhaps you'd be better off with "eMbedded" Visual C++? URL:http://msdn.microsoft.com/vstudio/device/prodinfo.asp -- Joe Foster <mailto:jlfoster%40znet.com> Space Cooties! <http://www.xenu.net/> WARNING: I cannot be held responsible for the above They're coming to because my cats have apparently learned to type. take me away, ha ha!
|
Tue, 14 Sep 2004 06:43:11 GMT |
|
 |
Jonathan Clifto #7 / 8
|
 objects in embedded visual basic 3.0
So basically if you want to make an app for CE you gotta use c++ then uh? I would of used c++ right off the bat, but I had recentally been messing with C# and I really liked the event driven way of doing it insteed of having the winproc, but if I would of just started with the winproc I probally would of been done by now, me thinks I will stick with my c++ until c# is everywhere. Thanks for the info.
Quote: > > I am really started to get frustrated with vb. > The frustration won't end, believe me. > > so I can not understand why making a struct like object is so hard in > > embedded vb. > eVB doesn't do Types or Classes. The help file's suggestion is to rewrite > your app so that it doesn't need them! What a joke. > eVB is essentially VBScript.
|
Tue, 14 Sep 2004 13:21:12 GMT |
|
 |
Joe #8 / 8
|
 objects in embedded visual basic 3.0
Quote:
> So basically if you want to make an app for CE you gotta use c++ then uh? I > would of used c++ right off the bat, but I had recentally been messing with > c# and I really liked the event driven way of doing it insteed of having the > winproc, but if I would of just started with the winproc I probally would of > been done by now, me thinks I will stick with my c++ until c# is everywhere.
Unless "eMbedded C#" is crippled like "eMbedded VB"... Also have a look at CASL: URL:http://caslsoft.com/ -- Joe Foster <mailto:jlfoster%40znet.com> "Regged" again? <http://www.xenu.net/> WARNING: I cannot be held responsible for the above They're coming to because my cats have apparently learned to type. take me away, ha ha!
|
Tue, 14 Sep 2004 14:39:04 GMT |
|
|