Unable to add certain references in VS.net

[b][red]This message was edited by IdleTask at 2003-5-13 13:7:20[/red][/b][hr]
I am trying to add a reference to system.text.regularexpressions on a windows form.

I looked at this article, http://support.microsoft.com/default.aspx?scid=kb;[LN];301264 but the example is for a console app, and when I try to use the Inherits directive, the compiler tells me I can only have one Inherits directive-- the one for windows forms.

Anyway, I want to use regex, and when I try to add a reference, system.text isnt in the list.

When I dim a variable, I can find system.text.regularexpressions.regex, but I cant access the match method.

All the examples I see for for asp.net forms, and I want a windows form use.

Does anyone know how to do get at the match method for regex using vb.net??

Thanks in advance.

-- some hours later

- Never mind, I figured it out. Add the Imports statement above the form class and it works...

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!