i wanna use the My class or keyword in my project using vb.net 1.1 but i couldn't it always show me an error, also there is no reference for microsoft.visualbasic.devices in my references ,,,,,plz help me i wanna use it to make ping application
Dammit, readed wrong. Thought you want the Me keyword in C#, sorry for that.
My in VB.NET is a language future, just some fancy stuff. So there is not such thing in C# or other .NET Language. But My only provide some syntax candy, everything you can do the the My future in VB.NET can be done with using the .NET Framework classes.
'My' in Vb.net
cica
this is the first time here
so i wish u will help me,
i wanna use the My class or keyword in my project using vb.net 1.1 but i couldn't it always show me an error, also there is no reference for microsoft.visualbasic.devices in my references ,,,,,plz help me i wanna use it to make ping application
thanx alot
Walter Sobchak
Cliff Buckley
SteffenK
well .. as Vb u can use it by adding Microsoft Visual Basic.dll as a reference , in the code write the following :
using
Microsoft.VisualBasic.Devices; ..then in the main code u can use it like
Audio
myAud = new Audio();myAud.Play(
@"C:\WINDOWS\Media\Windows XP Startup.wav");.
.have a nice day .. and take care of hamza
Vallari Kamble - MSFT
Josh Ledgard
My in VB.NET is a language future, just some fancy stuff. So there is not such thing in C# or other .NET Language. But My only provide some syntax candy, everything you can do the the My future in VB.NET can be done with using the .NET Framework classes.
teneriffebogan
Dear faty
we were talking about My in Vb.net 2005
not in 1.1
but i want to help you so check this link
Hope it helps
Trickie_GROUP
See http://blogs.msdn.com/danielfe/archive/2005/06/14/429092.aspx for one My-like library.
m3rch
http://msdn2.microsoft.com/en-us/library/dk1507sz.aspx