473,902 Members | 3,539 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 14296
"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
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
to VB via the Microsoft.Visua lBasic.dll, however the opposite is not

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

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.

Nov 21 '05 #23

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

Similar topics

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
by: mike parr | last post by:
What is the equivalent of Space in C#? Space(10 - Len(Trim(txtAccessAccountsID.Text))) Thanks, Mike
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)-> " ";
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
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. :)
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...
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,...
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 (_)
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...
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: 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,...
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: 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
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.