473,698 Members | 2,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Application Blocks for .NET 2.0 VB Version???

lds
I am in the process of trying to migrate some of our existing .NET
applications from version 1.1 to 2.0.

In our 1.1 apps we have a common assembly that uses the sqlhelper.vb
class from the Micosoft Application Block provided for version 1.1.

When I try to migrate I get a few errors, so I thought that maybe I
should just try using the new application block for version 2.0. I
downloaded the Enterprise Library and it is all C#. Is there a .VB
version of the new application blocks? Our company has a standard that
all of our apps have to be in VB so I cannot use a C# version.

If anyone can help, please let me know. I downloaded my copy of the
Enterprise Library from:

http://www.microsoft.com/downloads/d...displaylang=en

Sep 29 '06 #1
5 1812
all the enterprise blocks are written C# (though they come with both nunit
or msunit tests). they are compatiable with vb. you should treat them a a
third party control and not worry about the language.

-- bruce (sqlwork.com)
"lds" <li**********@g nb.cawrote in message
news:11******** **************@ c28g2000cwb.goo glegroups.com.. .
>I am in the process of trying to migrate some of our existing .NET
applications from version 1.1 to 2.0.

In our 1.1 apps we have a common assembly that uses the sqlhelper.vb
class from the Micosoft Application Block provided for version 1.1.

When I try to migrate I get a few errors, so I thought that maybe I
should just try using the new application block for version 2.0. I
downloaded the Enterprise Library and it is all C#. Is there a .VB
version of the new application blocks? Our company has a standard that
all of our apps have to be in VB so I cannot use a C# version.

If anyone can help, please let me know. I downloaded my copy of the
Enterprise Library from:

http://www.microsoft.com/downloads/d...displaylang=en

Sep 29 '06 #2
lds
Thanks for the information.

We do have them set up like third party controls anyway and our
developers dont even see the code, I guess I am just a little hesitant
because we do not have any C# resources here. I dont even know what
you mean by nunit or msunit tests.

Sep 29 '06 #3
the enterprise group has gone to agile and test first design. this requires
writing unit tests for the code. the open source tool to run the unit test
is nunit, and if you have the enterprise version of studio, you can use the
ms version, whose main additional feature is unit test code coverage
analysis.

note: test first design usually leads to factory interface based design (to
make writing unit tests easier). as this model came from the java world
(nunit is the .net version of junit) the pool of developers using this are
most likely C# devs.

-- bruce (sqlwork.com)
"lds" <li**********@g nb.cawrote in message
news:11******** *************@e 3g2000cwe.googl egroups.com...
Thanks for the information.

We do have them set up like third party controls anyway and our
developers dont even see the code, I guess I am just a little hesitant
because we do not have any C# resources here. I dont even know what
you mean by nunit or msunit tests.

Sep 29 '06 #4

My opinion is that when the Application Blocks first were being used, they
weren't matured enough, and sometimes you had to fix things.

(Do a google search for "Nasty Bug in the DAAB" for the DAAB 2.0 version)

However, the application blocks (or EnterpriseLibra ry as they've come to be
known as) are popular enough and mature enough that you don't have to worry
as much about them.

It doesn't mean they're perfect, but so many people use them they're getting
lots of test cycles in.

I'd be less worried about them these days.

I'd prefer the time be spent making them better (features and bug wise),
then having 2 versions (vb.net and C#) for just the sake of having them.

...

"lds" <li**********@g nb.cawrote in message
news:11******** *************@e 3g2000cwe.googl egroups.com...
Thanks for the information.

We do have them set up like third party controls anyway and our
developers dont even see the code, I guess I am just a little hesitant
because we do not have any C# resources here. I dont even know what
you mean by nunit or msunit tests.

Sep 29 '06 #5
Don't worry about the enterprise library being written in C#. Other than
the C'ish syntax, C# 2.0 is easy for VB 2005 developers to read and
understand. Also, as other posters have pointed out, you can use the
enterprise libraries simply as if they were actually part of the dotNet
framework since they install as global assemblies. Just don't forget to
include them in your setup programs.

Mike Ober.

"lds" <li**********@g nb.cawrote in message
news:11******** **************@ c28g2000cwb.goo glegroups.com.. .
I am in the process of trying to migrate some of our existing .NET
applications from version 1.1 to 2.0.

In our 1.1 apps we have a common assembly that uses the sqlhelper.vb
class from the Micosoft Application Block provided for version 1.1.

When I try to migrate I get a few errors, so I thought that maybe I
should just try using the new application block for version 2.0. I
downloaded the Enterprise Library and it is all C#. Is there a .VB
version of the new application blocks? Our company has a standard that
all of our apps have to be in VB so I cannot use a C# version.

If anyone can help, please let me know. I downloaded my copy of the
Enterprise Library from:

http://www.microsoft.com/downloads/d...displaylang=en
>


Sep 30 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
374
by: BStorm | last post by:
I ran into a maddening bug that I finally tracked down to Microsoft's Data Access Blocks. It is in the SQL Helper UpdateDataSet method as follows: Microsoft Code: #region UpdateDataset public static void UpdateDataset(SqlCommand insertCommand, SqlCommand deleteCommand, SqlCommand updateCommand, DataSet dataSet, string tableName) { if( insertCommand == null ) throw new ArgumentNullException(
7
2283
by: scott289 | last post by:
I have successfully downloaded the Enterprise Library and the data access block (C#). I am able to compile and run the quickstart application. So I would like to try the DAB in a new project. But I was unable to find any instructions on referencing the neccessary DLLs in any of the Help files or walkthroughs. Did I miss it somewhere? Which DLLs do I reference? The walkthroughs seem to tell me how to use SqlHelper and such, but I cant...
3
2936
by: Karuppasamy | last post by:
Hi I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net . I installed everything as per the Instructions given in the 'Development Using the Logging Block'. But when i am trying to run the sample, i am getting the following error in the Event Viwer. Kindly help me on this.
2
1923
by: Vivek Sharma | last post by:
Can anyone please clarify the difference between the gotdotnet and microsoft application blocks available with the version 3? Thanks Vivek
8
4087
by: poifull | last post by:
Is anyone using the Microsoft Enterprise Library? If yes, do you like it or not? Any feedback will be appreciated.
182
7505
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
4
1930
by: Mukesh | last post by:
Hi I m using microsoft application blocks Enterprise Library june 2005 with .net framework 1.1 and VStudio2003 And C# as coding language Sql server 2000 database the project is running properly on the localhost server but my online server does not have the ms Ent lib installed and also de\oes not have visual studio that simply a .net 1.1 installed on that.
3
1729
by: Mukesh | last post by:
Thx Sloan for the solution. It is working properly under Full trust When i tried it under Medium trust it was giving error Parser Error Message: Required permissions cannot be acquired. :::::::::: Source Error:
5
2339
by: Michael Howes | last post by:
I'm upgrading a VS 2003/.Net 1.1 ASP.Net application to VS 2008/.Net 3.0 The application uses an older version of the Microsoft Data Blocks for database access. The version in the Microsoft.ApplicationBlocks.Data.dll is 2.0 The call to SqlConnection.Open() fails after I upgrade to .Net 3.0 The application runs under a tweaked version of Medium trust. After the upgrade and the call to .Open() fails if I change the trust to Full the...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9023
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8893
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.