-
MMC snap-in sample using VB.NET
Has anyone created an MMC snap-in using VB.NET? I would like to do this for
MMC v1.2.
Would make a VERY useful Visual Studio Magazine article (hint, hint).
regards,
david
Auckland, NZ
-
Re: MMC snap-in sample using VB.NET
In article <3cf45d31$1@10.1.10.29> (from David White
<dwhite@not.this.but.sandfield.co.nz>),
>
> Has anyone created an MMC snap-in using VB.NET? I would like to do this for
> MMC v1.2.
I haven't looked at the code, but there's something at GotDotNet.com:
http://www.gotdotnet.com/userfiles/P.../MMCSnapin.zip
--
Patrick Steele
Microsoft .NET MVP
-
Re: MMC snap-in sample using VB.NET
"David White" <dwhite@not.this.but.sandfield.co.nz> wrote in message
news:3cf51d19$1@10.1.10.29...
>
> Thanks, Patrick. I have already tried that one. It is C# only.
Should take you a few moments to convert it then.
> Still looking...
No need to. Just convert it and be done. You are better off with a knowledge
of both VB.NET and C#....
Kunle
>
>
> Patrick Steele [MVP] <patrick@mvps.org> wrote:
> >In article <3cf45d31$1@10.1.10.29> (from David White
> ><dwhite@not.this.but.sandfield.co.nz>),
> >>
> >> Has anyone created an MMC snap-in using VB.NET? I would like to do this
> for
> >> MMC v1.2.
> >
> >I haven't looked at the code, but there's something at GotDotNet.com:
> >
> >http://www.gotdotnet.com/userfiles/P.../MMCSnapin.zip
> >
>
-
Re: MMC snap-in sample using VB.NET
In article <3cf51d19$1@10.1.10.29> (from David White
<dwhite@not.this.but.sandfield.co.nz>),
> Thanks, Patrick. I have already tried that one. It is C# only.
>
> Still looking...
Is it a C# library that you could use in VB.NET? Or is it an all C#
solution?
--
Patrick Steele
Microsoft .NET MVP
-
Re: MMC snap-in sample using VB.NET
Thanks, Patrick. I have already tried that one. It is C# only.
Still looking...
Patrick Steele [MVP] <patrick@mvps.org> wrote:
>In article <3cf45d31$1@10.1.10.29> (from David White
><dwhite@not.this.but.sandfield.co.nz>),
>>
>> Has anyone created an MMC snap-in using VB.NET? I would like to do this
for
>> MMC v1.2.
>
>I haven't looked at the code, but there's something at GotDotNet.com:
>
>http://www.gotdotnet.com/userfiles/P.../MMCSnapin.zip
>
-
Re: MMC snap-in sample using VB.NET
In article <3cf52566$1@10.1.10.29> (from David White
<dwhite@not.this.but.sandfield.co.nz>),
>
> Patrick Steele [MVP] <patrick@mvps.org> wrote:
> >David White <dwhite@not.this.but.sandfield.co.nz>) wrote,
> >> Thanks, Patrick. I have already tried that one. It is C# only.
> >> Still looking...
> >
> >Is it a C# library that you could use in VB.NET? Or is it an all C#
> >solution?
>
> In my limited understanding I'd say it is all C#. From the readme.html:
>
> Sample Overview
> This sample demonstrates the use of Interop and the .NET Framework Class
> Libraries to create a MMC Snap-in. The sample implements various COM interfaces
> in order to communicate with MMC. It uses both C# and a small C++ DLL to
> handle some functions that could not be employed in C#.
>
> There are a number of .cs files plus html and resource files (ico, bmp, etc).
Ok, I found the other link I knew was out there:
http://www.ironringsoftware.com/proj...MCLibrary.aspx
This is an early, MMC library. Should be able to use it with VB.NET
without problems. HTH.
--
Patrick Steele
Microsoft .NET MVP
-
Re: MMC snap-in sample using VB.NET
"David White" <dwhite@not.this.but.sandfield.co.nz> wrote in message
news:3cf52321$1@10.1.10.29...
>
> I am willing to learning one new language (VB.NET). That is sufficient
change
> from my current tool of choice (VB6). I don't have the luxury of
sufficient
> time to learn TWO new languages at once. Maybe down the track a little.
Fair enough although this two are currently quite similar in many respects
once you get past the syntax.
> It just surprises me somewhat, that Microsoft have not done more to
demonstrate
> that VB.NET *does* cover the bases for enterprise development, and is the
> equal of other .NET languages. MMC is a large omission, IMHO.
On the contrary, the availability of the C# sample is proof that it can be
done in VB.NET. I didn't see any unsafe contexts in the few source files
that I checked. The only C# feature that would cause headaches in porting -
since VB has no equivalent - would be unsafe contexts.
> BTW, thank you, Kunle, for your vote of confidence! :-)
You're welcome ;-)
Kunle
>
> "Kunle Odutola" <kunle.odutola@<REMOVETHIS>okocha.freeserve.co.uk> wrote:
> >"David White" <dwhite@not.this.but.sandfield.co.nz> wrote:
> >> Thanks, Patrick. I have already tried that one. It is C# only.
> >Should take you a few moments to convert it then.
> >
> >> Still looking...
> >No need to. Just convert it and be done. You are better off with a
knowledge
> >of both VB.NET and C#....
> >
> >> Patrick Steele [MVP] <patrick@mvps.org> wrote:
> >> >David White asked:
> >> >> Has anyone created an MMC snap-in using VB.NET?
> >> >I haven't looked at the code, but there's something at GotDotNet.com:
> >> >http://www.gotdotnet.com/userfiles/P.../MMCSnapin.zip
>
-
Re: MMC snap-in sample using VB.NET
I am willing to learning one new language (VB.NET). That is sufficient change
from my current tool of choice (VB6). I don't have the luxury of sufficient
time to learn TWO new languages at once. Maybe down the track a little.
It just surprises me somewhat, that Microsoft have not done more to demonstrate
that VB.NET *does* cover the bases for enterprise development, and is the
equal of other .NET languages. MMC is a large omission, IMHO.
BTW, thank you, Kunle, for your vote of confidence! :-)
"Kunle Odutola" <kunle.odutola@<REMOVETHIS>okocha.freeserve.co.uk> wrote:
>"David White" <dwhite@not.this.but.sandfield.co.nz> wrote:
>> Thanks, Patrick. I have already tried that one. It is C# only.
>Should take you a few moments to convert it then.
>
>> Still looking...
>No need to. Just convert it and be done. You are better off with a knowledge
>of both VB.NET and C#....
>
>> Patrick Steele [MVP] <patrick@mvps.org> wrote:
>> >David White asked:
>> >> Has anyone created an MMC snap-in using VB.NET?
>> >I haven't looked at the code, but there's something at GotDotNet.com:
>> >http://www.gotdotnet.com/userfiles/P.../MMCSnapin.zip
-
Re: MMC snap-in sample using VB.NET
Patrick Steele [MVP] <patrick@mvps.org> wrote:
>David White <dwhite@not.this.but.sandfield.co.nz>) wrote,
>> Thanks, Patrick. I have already tried that one. It is C# only.
>> Still looking...
>
>Is it a C# library that you could use in VB.NET? Or is it an all C#
>solution?
In my limited understanding I'd say it is all C#. From the readme.html:
Sample Overview
This sample demonstrates the use of Interop and the .NET Framework Class
Libraries to create a MMC Snap-in. The sample implements various COM interfaces
in order to communicate with MMC. It uses both C# and a small C++ DLL to
handle some functions that could not be employed in C#.
There are a number of .cs files plus html and resource files (ico, bmp, etc).
david
-
Re: MMC snap-in sample using VB.NET
Patrick Steele [MVP] <patrick@mvps.org> wrote:
>David White <dwhite@not.this.but.sandfield.co.nz>) wrote:
>> Patrick Steele [MVP] <patrick@mvps.org> wrote:
>> >David White <dwhite@not.this.but.sandfield.co.nz>) wrote,
>> >> Thanks, Patrick. I have already tried that one. It is C# only.
>> >> Still looking...
>> >
>> >Is it a C# library that you could use in VB.NET? Or is it an all C#
>> >solution?
>>
>> In my limited understanding I'd say it is all C#. From the readme.html:
>
>Ok, I found the other link I knew was out there:
>
>http://www.ironringsoftware.com/proj...MCLibrary.aspx
>
>This is an early, MMC library. Should be able to use it with VB.NET
>without problems. HTH.
Thanks, Patrick. I'll look into that one.
david
-
Re: MMC snap-in sample using VB.NET
"David White" <dwhite@not.this.but.sandfield.co.nz> wrote in message
news:3cf52321$1@10.1.10.29...
>
> I am willing to learning one new language (VB.NET). That is sufficient
change
> from my current tool of choice (VB6). I don't have the luxury of
sufficient
> time to learn TWO new languages at once. Maybe down the track a little.
You do know about these sites right?
http://www.kamalpatel.net/ConvertCSharp2VB.aspx
?? There's another better one...but the link is on my work PC...anyone?
rgds
John Butler
-
need info on MMC 3.0 snapin
I already used all the samples given for MMC 3.0 snapins and they work fine for me.
I would like to know if anyone has done something like creating dynamic tool bars, Action bar etc what i mean is creating menus , actions all at runtime in MMC 3.0 using C# .
would appreciate if anyone would letme know.
thanks
praveen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks