XMLdoc for VB

  • Thread starter Thread starter M.Siler
  • Start date Start date
M

M.Siler

It is my understanding that XMLdoc only works for C#. I'd be glad to pay for
a commercial product, but I want to make sure it is a good one, so I thought
I'd ask here if anyone is using a product that works like XMLdoc does for C#
for VB.
 
M.Siler said:
It is my understanding that XMLdoc only works for C#. I'd be glad to pay
for a commercial product, but I want to make sure it is a good one, so I
thought I'd ask here if anyone is using a product that works like XMLdoc
does for C# for VB.

VB? or VB.Net... HUGE difference. This is a VB group. In fact, only one
group in your crosspost list is valid for VB.Net

You'll want to post that question in a .Net group. They all contain "dotnet"
or "vsnet" in their names.

This and all other groups on the MS server that start with
"microsoft.public.vb" are for VB Classic (VB versions 1-6) and were in
existance long before any .Net products were released. While some of the
code looks the same, they are very different products and require a
different set of groups.

Try one of these:
news://microsoft.public.dotnet.general
news://microsoft.public.dotnet.languages.vb
 
My apology for the wrong group posting. I didn't realize the difference. It
is a VB.Net. Again, my apologies to the non .Net developers.
 
I found this over the weekend and installed it but couldn't get it to work.
When I enter the three tick-marks ''' nothing happens. I looked around
but didn't see anything that address this problem. Ever heard of this?

And as a side question - why would have Microsoft only included this for C#
and not VB?
 
well it is sort kind of "smart" the cursor must be a bove the start of a
class definition or above the start of a method only then it will work
 
Got it to work... I had to type ''' then press Enter and BAM!

Thanks everyone.
 
Question: Does the code in C#.Net look like this:

MSXML2.DOMDocument30 XMLdoc = new MSXML2.DOMDocument30Class();

Because in VB.Net:

Dim XMLdoc as MSXML2.DOMDocument30 = new MSXML2.DOMDocument30Class()

Simply add a reference to MSXML --watever version you have installed and
then add an import statement:

imports MSXML2

btw, in VB, we do exactly the same kind of thing by making a reference to
MSXML2 or MSXML3 or whatever.

And then:

Dim XMLdoc as MSXML2.DOMDocument30
Set XMLdoc = new MSXML2.DOMDocument30

hth.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top