By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,890 Members | 1,112 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,890 IT Pros & Developers. It's quick & easy.

System.Math

P: n/a
I have just switched from VB6 to vb .net. In Vosual
Studio.net I am missing the reference to System.Math and
can not find it anywhere. I assume is is System.Math.dll.
Where the hell is it?

Thanks,
Jim
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In Vosual Studio.net I am missing the reference to System.Math
What makes you think that? Are you sure you're not just missing an
Imports statement?

I assume is is System.Math.dll. Where the hell is it?


No there isn't. System.Math is implemented in Mscorlib.dll, which is
always referenced.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Nov 20 '05 #2

P: n/a
Jim,
Where the hell is it? No place, as there is not a System.Math.dll ;-)

System.Math is a class within the mscorlib assembly.

mscorlib is the core .NET library which means you cannot write a VB.NET
program without it! (read mscorlib is automatically referenced and you
cannot unreference it).

If you look up System.Math (or other class) in MSDN at the bottom of the
overview page is a Requirements section. This section lists the Namespace
the class is in. Plus it lists the assembly the class is in, along with what
platforms the class supports. Note Some classes are partially supported on
different platforms, so you need to check the individual methods.

http://msdn.microsoft.com/library/de...ClassTopic.asp

Remember that an individual Namespace (System.Data for example) may have
classes in different assemblies.

Hope this helps
Jay
"DrJRice" <dr*****@comcast.net> wrote in message
news:96****************************@phx.gbl... I have just switched from VB6 to vb .net. In Vosual
Studio.net I am missing the reference to System.Math and
can not find it anywhere. I assume is is System.Math.dll.
Where the hell is it?

Thanks,
Jim

Nov 20 '05 #3

P: n/a
Jim
Thanks,

Opened up the object browser and there they were in
mscorlib.

Thanks again,
Jim
-----Original Message-----
In Vosual Studio.net I am missing the reference to
System.Math
What makes you think that? Are you sure you're not just missing anImports statement?

I assume is is System.Math.dll. Where the hell is it?
No there isn't. System.Math is implemented in

Mscorlib.dll, which isalways referenced.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
.

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.