473,699 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Space function

In Vb 6 exist the SPACE function
How to replace this function in vb dot net?
Nov 21 '05
22 14278
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
As it's impossible to write VB.NET applications which don't reference
"Microsoft.Visu alBasic.dll", there is absolutely no reason for not using the
functionality of this library. Developing in VB.NET without using
'Microsoft.Visu alBasic' is developing with VB.NET without actually using it.


I noticed that there doesn't seem to exist a Microsoft.CShar p.dll. What's the
significance of that, if any?

Nov 21 '05 #11
It means that the capabilities added by the VisualBasic.dll can also be used
by c# users.
No need to define things twice.
Best regards,
Alejandro Lapeyre

"Alex" <pl******@no.me ssages> escribió en el mensaje
news:Oi******** ******@TK2MSFTN GP14.phx.gbl...
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
As it's impossible to write VB.NET applications which don't reference
"Microsoft.Visu alBasic.dll", there is absolutely no reason for not using
the
functionality of this library. Developing in VB.NET without using
'Microsoft.Visu alBasic' is developing with VB.NET without actually using
it.


I noticed that there doesn't seem to exist a Microsoft.CShar p.dll. What's
the
significance of that, if any?

Nov 21 '05 #12
"Alejandro Lapeyre" <Al************ **@jotmail.com> schrieb:
It means that the capabilities added by the VisualBasic.dll can also be
used by c# users.
No need to define things twice.


LOL...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #13
http://www.ftponline.com/vsm/2004_08...ettingstarted/

;-)

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> escribió en el mensaje
news:uU******** ********@TK2MSF TNGP10.phx.gbl. ..
"Alejandro Lapeyre" <Al************ **@jotmail.com> schrieb:
It means that the capabilities added by the VisualBasic.dll can also be
used by c# users.
No need to define things twice.


LOL...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #14
Carlos,

http://www.ftponline.com/vsm/2004_08...ettingstarted/

When I am able will I show it as soon as possible in the General newsgroup
to Jon Skeet, that will give a long thread again.

I once translated a VBNet sample literally to C# in the CSharp newsgroup
using this reference, however there was not any comment

:-)

Cor
Nov 21 '05 #15
Carlos,

"Carlos J. Quintero [.NET MVP]" <ca*****@NOSPAM sogecable.com> schrieb:
http://www.ftponline.com/vsm/2004_08...ettingstarted/

;-)


;-)

From the article:

| However, .NET makes it possible for C# developers to take advantage
| of all the power of Visual Basic .NET.

I doubt that ;-))).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #16
Hi Herfried and Cor,

I personally use VB.NET, although I tend to avoid Microsoft.Visua lBasic as
much as possible and during all these years I have found only this gem in
the Microsoft.Visua lBasic namespace: the
Microsoft.Visua lBasic.Informat ion.Typename(ob ject) function. It gives you
the actual type of a __ComObject when the debugger or the other .NET
Framework functions don´t give you a clue...
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> escribió en el mensaje
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Carlos,

;-)

From the article:

| However, .NET makes it possible for C# developers to take advantage
| of all the power of Visual Basic .NET.

I doubt that ;-))).

Nov 21 '05 #17
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
| However, .NET makes it possible for C# developers to take advantage
| of all the power of Visual Basic .NET.

I doubt that ;-))).
But, can the VB.NET developers take advantage of all of the features available
in C#?

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. C# will support some additional type keywords and operators for dealing with
nullable types:

<URL:http://msdn2.microsoft .com/library/2cf62fcy(en-us,vs.80).aspx>


(I'm not trying to be argumentative here. I want to understand the
implications of the differences between the two.)

Nov 21 '05 #18
Alex,

No, there are differences and probably those will stay because it are
different development teams.

For the VBNet development team it is of couse easier to get the same things
as in C# than in the opposite posistion.

C# is ECMA.

Just my thought,

Cor
Nov 21 '05 #19
Cor,

"Cor Ligthert" <no************ @planet.nl> schrieb:
For the VBNet development team it is of couse easier to get the same
things as in C# than in the opposite posistion.

C# is ECMA.


C# is standardized by ECMA, but Microsoft decides its roadmap.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1516
by: Killer | last post by:
Good Morning, I have a question. Is there a function like ISNULL but for the space value(example ISSPACE)? THANKS
3
54326
by: mike parr | last post by:
What is the equivalent of Space in C#? Space(10 - Len(Trim(txtAccessAccountsID.Text))) Thanks, Mike
5
16786
by: ad | last post by:
Is there fucntion in C#, which will return a string consist of a given number of space, like Space(5)-> " ";
4
2725
by: kollatjorva | last post by:
Hi all I'm trying to get a value from an xml node 'Publisher' use the value as a name of an .css class. This works fine until I get a value from the Publisher node with white space in it. I've been trying to use normalize-space function on this but I can't make this work here is what I'm trying to do
10
22638
by: kevinliu23 | last post by:
HI, I am new to Python and wanted to know how to check for the remaining disk space on my Windows machine using Python? I was thinking of using the command line "dir" and trying to extract the output from there. But I'm not sure how to extract command line strings using Python either. Anyway help would be appreciated. :)
0
1184
by: ajay pratap singh111 | last post by:
I have used space() and format() function in one of my project on excel vba. The project was running on my system but when i made its setup file using innoSetup and gave it to my client then it's giving error as Space() not defined . Then i made my customized space function and registered VBES6.DLL FILE ALSO. now it's giving error on format function just like in case of Space(). Now what should i do to resolve this issue. Can anybody help...
3
1505
by: preethi303 | last post by:
Hi, I'm using VB 2005 and I have a problem formatting a string when I use the print preview dialog box. I'm using just the vbCrLf character and the Space function to correctly align my data and when I write this data to a textfile, it's formatted the way I want it to be. But when I display it with the print preview dialog, the format is wrong. I was able to trace the problem to either the Space function or the font. When writing to a file,...
1
2011
by: nassegris | last post by:
Hello everyone! I'm trying to write a regular expression to capture VB6 function definitions and I'm abit stuck. The rules are: Function header: * Must contain the words SUB or FUNCTION * May contain the words PUBLIC or PRIVATE * May NOT contain the word DECLARE * Ends at the first newline that is not preceded by an underscore (_)
0
8705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8628
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,...
0
9054
jinu1996
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...
0
8899
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7785
agi2029
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...
0
5884
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();...
1
3075
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
2
2362
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.