473,385 Members | 1,630 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Conversion from vb6 to vb.net

Hi everyone,

Can somebody tell me the equivalent vb.net code for the following vb6 code :
---------------------
pRegularExpression as RegExp

pRegularExpression.Pattern = xExpression
pRegularExpression.IgnoreCase = False
pRegularExpression.Global = False

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

Regards,
Dushyant

Nov 21 '05 #1
3 1069
Hi,

This is how I would do it. There is no global option in the dot net
regex.

Dim pRegularExpression As New
System.Text.RegularExpressions.Regex(xExpression,
RegularExpressions.RegexOptions.IgnoreCase)

Ken

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

"Dushyant" <Du******@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
Hi everyone,

Can somebody tell me the equivalent vb.net code for the following vb6 code
:
---------------------
pRegularExpression as RegExp

pRegularExpression.Pattern = xExpression
pRegularExpression.IgnoreCase = False
pRegularExpression.Global = False

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

Regards,
Dushyant

Nov 21 '05 #2
Hi,

Thanks for the help.

-Dushyant

"Ken Tucker [MVP]" wrote:
Hi,

This is how I would do it. There is no global option in the dot net
regex.

Dim pRegularExpression As New
System.Text.RegularExpressions.Regex(xExpression,
RegularExpressions.RegexOptions.IgnoreCase)

Ken

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

"Dushyant" <Du******@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
Hi everyone,

Can somebody tell me the equivalent vb.net code for the following vb6 code
:
---------------------
pRegularExpression as RegExp

pRegularExpression.Pattern = xExpression
pRegularExpression.IgnoreCase = False
pRegularExpression.Global = False

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

Regards,
Dushyant


Nov 21 '05 #3
Hi,

Thanks for the help.

-Dushyant

"Ken Tucker [MVP]" wrote:
Hi,

This is how I would do it. There is no global option in the dot net
regex.

Dim pRegularExpression As New
System.Text.RegularExpressions.Regex(xExpression,
RegularExpressions.RegexOptions.IgnoreCase)

Ken

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

"Dushyant" <Du******@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
Hi everyone,

Can somebody tell me the equivalent vb.net code for the following vb6 code
:
---------------------
pRegularExpression as RegExp

pRegularExpression.Pattern = xExpression
pRegularExpression.IgnoreCase = False
pRegularExpression.Global = False

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

Regards,
Dushyant


Nov 21 '05 #4

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

Similar topics

1
by: Stub | last post by:
Docs says that "The compiler does not use an explicit constructor to implement an implied conversion of types. It's purpose is reserved explicitly for construction." I put up code of three cases...
7
by: Michael Lehn | last post by:
Hi, I have a question regarding the conversion of objects. When is the conversion done by the constructor and when by the operator. My feeling tells me that the constructor is preferred. But...
11
by: Steve Gough | last post by:
Could anyone please help me to understand what is happening here? The commented line produces an error, which is what I expected given that there is no conversion defined from type double to type...
2
by: Alex Sedow | last post by:
Why explicit conversion from SomeType* to IntPtr is not ambiguous (according to standart)? Example: // System.IntPtr class IntPtr { public static explicit System.IntPtr (int); public...
0
by: Lou Evart | last post by:
DOCUMENT CONVERSION SERVICES Softline International (SII) operates one of the industry's largest document and data conversion service bureaus. In the past year, SII converted over a million...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.