Last post Jul 12, 2008 10:27 AM by poppy_
Jul 12, 2008 06:36 AM|poppy_|LINK
I'm really new to vb.net (I usually code in Java). I've created a module that connects to a database and I've saved this as db.vb.... then in another class called main.aspx I want to call the connect subroutine.
I have tried
but when I try and compile I get an error on that line saying that db is not declared... my understanding was that you didnt need to declare modules? What am I doing wrong?
Jul 12, 2008 09:59 AM|MelvynHarbour|LINK
If you normally code in Java, you really should use C#. I think you'll find it much easier, since it's much closer to Java in its syntax.
Jul 12, 2008 10:05 AM|TATWORTH|LINK
>I'm really new to vb.net (I usually code in Java). I've created a module that connects to a database and I've saved this as db.vb.... then in another class called main.aspx I want to call the connect subroutine
With ADO.NET, you should use a different approach.
Jul 12, 2008 10:13 AM|poppy_|LINK
Jul 12, 2008 10:20 AM|TATWORTH|LINK
There has been an on-going confusion over the Framework 3.0 and 3.5. Originally 3.0 was to be Windows Framework Extension (Win FX), but the sales people at Microsoft thought that users would think that Microsoft had given up Dot Net! Framework 3.0 is just
2.0 plus extensions and 3.5 has some more extensions plus some fixes for various DLLs.
At the level of IIS, there is just Frameworks 1.0, 1.1 and 2.0!
Jul 12, 2008 10:27 AM|poppy_|LINK
haha, way to confuse the newbies!