Hi,
I have been searching for a possible list that shows what methods or
properties in the System Names replace the ones in the Visual Basic Namespace
so I can stop using the Visual Basic Namespace on new projects. Thus far I
have been unable to find this information, please inform me.
For example in the Visual Basic Namespace there are Control Characters like
Tab and Back and so on. Where are the equivalents in the System Namespace?
Thank You,
Chris 6 2191
On 2004-09-16, Chris Lane <Ch*******@disc ussions.microso ft.com> wrote: Hi,
I have been searching for a possible list that shows what methods or properties in the System Names replace the ones in the Visual Basic Namespace so I can stop using the Visual Basic Namespace on new projects. Thus far I have been unable to find this information, please inform me.
For example in the Visual Basic Namespace there are Control Characters like Tab and Back and so on. Where are the equivalents in the System Namespace?
There aren't any, character constants in .Net were left to the
individual languages to define. C# defines character constants with the
c/java standard backslash constants, in VB.Net there's the VBTab,
vbBack, etc. constants.
There is a System.Environm ent.NewLine, but it doesn't do the same thing
as vbCrLf.
> There aren't any, character constants in .Net were left to the individual languages to define. C# defines character constants with the c/java standard backslash constants, in VB.Net there's the VBTab, vbBack, etc. constants.
There is a System.Environm ent.NewLine, but it doesn't do the same thing as vbCrLf.
This doesn't make any sense to me, there has to be a way to be a way to
mimic this behavoir by coding the keystrokes yourself.
It's my understanding that the MS Visual Basic Namespace only exists for
backward compatability and in Version 2005 it is removed by default althought
you can add it back in via an imports.
Does anybody know what namespace can be used to mimic keystrokes?
Thanks
Hello, Chris:
Maybe you are looking for the System.Windows. Forms.Keys enumeration?
Regards.
"Chris Lane" <Ch*******@disc ussions.microso ft.com> escribió en el mensaje news:5D******** *************** ***********@mic rosoft.com...
....
| Does anybody know what namespace can be used to mimic keystrokes?
....
ControlChars.Cr Lf, ControlChars.Ta b, etc...
"Chris Lane" <Ch*******@disc ussions.microso ft.com> wrote in message
news:87******** *************** ***********@mic rosoft.com... Hi,
I have been searching for a possible list that shows what methods or properties in the System Names replace the ones in the Visual Basic Namespace so I can stop using the Visual Basic Namespace on new projects. Thus far I have been unable to find this information, please inform me.
For example in the Visual Basic Namespace there are Control Characters like Tab and Back and so on. Where are the equivalents in the System Namespace?
Thank You,
Chris
Chris, It's my understanding that the MS Visual Basic Namespace only exists for backward compatability and in Version 2005 it is removed by default althought
You are mis-understanding something!
The Microsoft.Visua lBasic namespace is a integral part of the Visual Basic
Language! In fact in version 2005 it has gotten larger (the My constructs
among other things)!
I suspect you are confusing the Microsoft.Visua lBasic namespace with the
Microsoft.Visua lBasic.Compatib ility namespace which only exists for backward
compatibility. http://msdn.microsoft.com/library/de...itylibrary.asp
Hope this helps
Jay
"Chris Lane" <Ch*******@disc ussions.microso ft.com> wrote in message
news:5D******** *************** ***********@mic rosoft.com... There aren't any, character constants in .Net were left to the individual languages to define. C# defines character constants with the c/java standard backslash constants, in VB.Net there's the VBTab, vbBack, etc. constants.
There is a System.Environm ent.NewLine, but it doesn't do the same thing as vbCrLf.
This doesn't make any sense to me, there has to be a way to be a way to mimic this behavoir by coding the keystrokes yourself. It's my understanding that the MS Visual Basic Namespace only exists for backward compatability and in Version 2005 it is removed by default althought you can add it back in via an imports.
Does anybody know what namespace can be used to mimic keystrokes?
Thanks
Thanks, yes I was.
I was also confused by an article Dan Appleman wrote about CLS compliance
with Version 2005. I could have sworn I read that the Visual Basic Namespace
will be removed by default for new projects but I guess I misread it.
Thanks for the info Jay.
"Jay B. Harlow [MVP - Outlook]" wrote: Chris, It's my understanding that the MS Visual Basic Namespace only exists for backward compatability and in Version 2005 it is removed by default althought You are mis-understanding something!
The Microsoft.Visua lBasic namespace is a integral part of the Visual Basic Language! In fact in version 2005 it has gotten larger (the My constructs among other things)!
I suspect you are confusing the Microsoft.Visua lBasic namespace with the Microsoft.Visua lBasic.Compatib ility namespace which only exists for backward compatibility.
http://msdn.microsoft.com/library/de...itylibrary.asp
Hope this helps Jay
"Chris Lane" <Ch*******@disc ussions.microso ft.com> wrote in message news:5D******** *************** ***********@mic rosoft.com... There aren't any, character constants in .Net were left to the individual languages to define. C# defines character constants with the c/java standard backslash constants, in VB.Net there's the VBTab, vbBack, etc. constants.
There is a System.Environm ent.NewLine, but it doesn't do the same thing as vbCrLf.
This doesn't make any sense to me, there has to be a way to be a way to mimic this behavoir by coding the keystrokes yourself. It's my understanding that the MS Visual Basic Namespace only exists for backward compatability and in Version 2005 it is removed by default althought you can add it back in via an imports.
Does anybody know what namespace can be used to mimic keystrokes?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Phil Stanton |
last post by:
When designing a new form or report, the Default ForeColor is often
something like -2147483640 which is the colour of Windows text (possibly
black) and the default backColor is -2147483643 (possibly white)
Can anyone tell me how to convert these colours to either RGB colours or the
Long number used by Access. Black is 0 and White is 16777215
...
|
by: GC |
last post by:
Hi,
How would I get various system settings through C# such as machine name,
hard drives, bytes free on hard drives, printers, etc...this is going to be
from a simple console app. Thanks!
|
by: Stewart Saathoff |
last post by:
Hello,
I am trying to search the file system from a string of text located inside
of a textbox on a form and have it return a list of file names in a list box
on that same form. Does anyone know where I can find a sample of that?
Thanks
Stewart
|
by: Harry Strybos |
last post by:
Hi All
Is there a book or web site that lists all the VB.Net equivalents for VB.6
methods? In other words, a list of all VB6 keywords and their equivalent in
VB.Net. This would be of enormous help to me. Tank you (sorry, got a cold
;->)
|
by: Jim Duffie |
last post by:
Hi,
I am trying to build a simple websire using the above in Visual Web
Developer. When finished I have build the website and it works fine locally
but when I FTP it to the server I am getting a parse error. Should I be
uploading a DLL as well (I can't see one in directory)? The error is :-
Parser Error Message: Could not load type System.Web.UI.WebControls.Menu
from assembly System.Web, Version=1.0.5000.0, Culture=neutral,...
| |
by: Ilias Lazaridis |
last post by:
I understand that I can use __metaclass__ to create a class which
modifies the behaviour of another class.
How can I add this metaclass to *all* classes in the system?
(In ruby I would alter the "Class" class)
..
http://lazaridis.com
|
by: Ing. Carlos Villaseñor M. |
last post by:
Hi everybody!
I have developed in C# and got in a news group a math class that make matrix
operations, eigenvals, eigenvecs, stat functions and much more, but now I
trying to develop software in Visual Basic.NET and wondering if does exist
something like that for Basic.NET.
I appreciate some help
Thank you
|
by: bugnthecode |
last post by:
Hi,
I am trying to put together a small app that uses one of my company's
web service. Originally I interfaced with this web service using java,
and have the example code. I believe the web service was written with
java. Since this web services uses soap I should have no problems
consuming it from other languages, although I'm having a problem
with .net.
The web service requires authentication. I tried adding the
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |