473,699 Members | 2,700 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 14276
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
No, there are differences and probably those will stay because it are
different development teams.


So it would seem that C# has the advantage. C# can access all that's provided
to VB via the Microsoft.Visua lBasic.dll, however the opposite is not
true.(URL:http://msdn2.microsoft.com/library/2...us,vs.80).aspx)
Nov 21 '05 #21
"Alex" <pl******@no.me ssages> schrieb:
No, there are differences and probably those will stay because it are
different development teams.


So it would seem that C# has the advantage. C# can access all that's
provided
to VB via the Microsoft.Visua lBasic.dll, however the opposite is not
true.(URL:http://msdn2.microsoft.com/library/2...us,vs.80).aspx)


Both programming languages provide different advantages, C#'s features are
not a subset of VB.NET's features and vice-versa. VB.NET, for example,
supports the 'Declare' statement, optional parameters, declarative event
handling, declarative interface implementation and much more which C#
doesn't support.

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

Nov 21 '05 #22
Alex,

I think that you understood a previous reply from Herfried not well, where
he wrote "I doubt that" with a :-)) because he does not doubt at all.

There are (what is an advantage) advantages in C#, as well as there are
advantages in VBNet.

For me is the biggest one from VBNet the background compiling. That is the
hardest part for someone used to the IDE from VBNet to work with C#. To get
your typing errors you have first to build a project.

Although there is a lot more, however not something that prevents you in
general in both of them to make almost the same program.

Cor
Nov 21 '05 #23

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
8623
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
9197
Oralloy
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...
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...
1
8941
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5881
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();...
0
4390
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...
0
4637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3071
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
3
2015
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.