zachtk8702
Feb 10 2005, 03:26 AM
| | This isn't a very long tutorial. I get asked this often, so here is the solution. The following code will return a string containing a number that has commas appropriately placed:
Code:
myStringOrProperty = FormatNumber(3587532789053, 0)
The second parameter (0) represents how many decimal places you want the returned number to go out to. Unless your number contains its own decimal, you probably don't want .00 at the end of every number you have.
The above code would return: 3,587,532,789,053
This should make life easier for many... |
Reply
Recent Queries:--
gif in vb6 tutorial - 141.23 hr back. (1)
Similar Topics
Keywords : visual, basic, 6, adding, commas, large, numbers
- Adding Flash Music Player To Home/any Page
How-to (put any song you want!!!) (4)
Ftp In Visual Basic 6.0
Start making your FTP client using VB6 (0) Recently, I had a need to make a FTP client, since our webhosting FTP server was kind of exotic, and
very restrictive, and most of uploads, even though they reach 100% would crash... File would be
uploaded to a server, but FTP clients just froze upon completion, waiting for the 226 (OK) from FTP
server... So, I had to make my own, one who would not wait for 226, but instead, watch the file
pload progress... This tutorial is not fuly complete, in the sense that it does not offer COMPLETE
FTP client functionality (for example, I ddn't write the code for FTP download, ....
Adding An Aef Forum To Snews Cms
"almost" integrated (2) Adding an AEF Forum to sNews CMS Although not truly integrated, here is an explanation of the
steps I took to have an AEF Forum Software present itself as an 'integrated' page on the
sNews CMS. 1. Download a standard sNews version 1.6 Content Management System. Instructions are
found on the sNews site. (refer to link list below) There are several flavours of sNews. This method
has only been tested on the sNews 1.6, but should work on other versions as well. 2. Created a
MySQL Database and user, Modded the snews.php, and took the usual steps for installin....
Adding Your Website To Google
How to register with google (20) Hi everyone. Hopefully here im going to tell you how to register yourself with the Google search
engine and get yourself in their results. Ill start the tutorial assuming you already have Meta
tags or other search engine optimisation techniques in place. This tutorial is solely about
registering with google. At one time i thought simply using meta tags etcetera would get you listed
in Google, i then found out that didnt work, so i wondered why, and the fruits of my labour are what
will go into this tutorial. the first step is to get a google account, this will get y....
Adding Data To A Database And Displaying It Later
Using Forms, PHP and MySQL (1) Requirements: PHP Support MySQL Database access I am going to use a news program as an example.
Ok, first you are going to need to connect to the database. Do so by using the code below. I have
added some comments where you will need to edit to fit your server's specifications. Create a
new file with notepad and call it config.php QUOTE //Change root to your database
account's username $dbusername = "root"; //Add your account's password in between the
quotations $password = " "; //Add the name of the database you are using in betw....
How To Install An Openoffice Dictionary Manually
adding the new dictionary by yourself (3) How To Install An OpenOffice Dictionary Manually Introduction The Tutorial
What's OpenOffice? Introduction Before you all rant at me and tell me that there is a
wizard to install dictionaries for you, it can sometimes not work. I know this because on my copy of
OpenOffice Writer, it doesn't. This tutorial is very easy to follow and it's for those
whose wizard is broking, just like mine or people who like to be difficult and do things the hard
way /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />....
Creating A Timer Program
Using Visual Basic 2005 (8) This tutorial will explain how to create a basic timer using Visual Basic Express 2005. If you
don't have it, it's free and you can dowload it from Microsoft's website. All you need
is a few minutes to sit down and read this and a version of Visual Basic. OK, so what will this
timer actually do? Well, you are able to enter a number of minutes and a message, and then click a
button. Once the timer is up, your message pops up and you are reminded! So, basically it's
a little reminder system. I use it to remind me when TV programmes start, when I have to....
Creating A Simple Image Viewer
Using Visual Basic 2005 Express Edition (3) I downloaded Microsoft's Visual Studio Express suite a few months ago, but only recently got
around to installing it. I have been practising with Visual Basic and making some rather basic
programs and utilities, but they contain most of the basic concepts. This tutorial will explain how
to create a basic image viewer, and I will try to explain each step from beginning to end as clear
as I can. To start you will need: Microsoft Visual Studio About 10-20 minutes free time OK,
first open up the Visual Basic part of the Studio. I am using the 2005 Express version, so....
Custom Bbcode Tags In Smf
adding extra tags in a Simple Machines Forum (0) Adding custom BBCodes to your Simple Machines Forum is really very... simple. First, you will need
to download three mods from the package manager. Faster Parsecode, ModSettings Textarea, and of
course Custom BB Code. Once you have those mods set up you will need to go into your admin section
and click on your "Edit Features and Options" link. In the Basic Forum Features section you will now
find a "Custom BB Code tags" box. This box is where you will put your custom codes. You can add as
many as you like, one per line. Let's break down the bits of a simple tag tha....
How To Make A Web Browser
Visual Basic 6 (48) This is a simple and specific tutorial on how to make a basic web browser in Visual Basic 6. Steps
1-3 Create a new project, and then go to "Project" on the menu. Click components as shown in the
following image. Find the component "Microsoft Internet Controls," check it, and click "Apply" and
then "Close." Click the icon that was just added in the tools window, and draw a large sized
window with it. This is going to be where you view webpages through your browser, so don't make
it small, but leave room for buttons and other accessories. Steps 4-6 Make a t....
Bit Shifting In Vb
Shifting bits in Visual Basic (0) This is for all Visual Basic programmers out there, who want to programm some form of encryption
algorithm, or anything else that includes shifting bits left or right, for that matter. Most of you
who have tried to accomplish this, know that Visual Basic doesn't have any function for bit
shifting. And bit shifting si very usefull /smile.gif' border='0' style='vertical-align:middle'
alt='smile.gif' /> Some of you probably know how to shift bits, but this tutorial is for those who
don't know how to do it... Shifting bits is actualy easy, we use multiplication ....
Adding Ur Own Files On Send To
Windows xp (0) This tutorial will enable you to add places on the context menu under the Send To option. This is
how u do it. Create a shortcut of the folder you want to add.Cut/Copy the shortcut and go to
C:\Windows\Documents and Settings\Your user\Send To and paste the shorcut
there. You can also rename the shortcut from shortcut to xxxxx to xxxxx Remember Your user stands
for your userid that you have used to login. If you have any probs PM me.....
Making Winrar Archives
and adding password to winrar archives (12) **** This tutorial will show you how to put files into .rar Archive and pass worded (if wanted)
**** What You Will Need Before continuing you will need a couple of thing, first of all you
need WINRAR , which is a very powerful archive manager. It can reduce size for you email
attachments, decompress RAR, ZIP and other types of files downloaded from the internet. You can get
winrar at http://www.rarlabs.com The other thing is that make sure your using Windows XP because
this is what I used to make this tutorial. I think it works with any other windows not....
How To Edit Your "index Page"
Adding new pages? (0) This tutorial was requested by sxyloverboy . Introduction: sxyloverboy has asked me how
to make your navigation bar on him website change to add another page, without having to do it on
every page. Well, I have the answer for you! Beginning Assuming you have a FTP upload
access, you'll be open your file "index.php" -=Example=- Once your "index.php" file is open
press "CRTL+F" (Find) and search for something that looks like this; CODE
<tr> <td class="off" onmouseover=....
Simple Login In Visual Basic 6
user interaction example trough login programm (5) First of all, I am NOT a programmer, this is something my friend taught me. It describes basic
interaction with the user, while showing basic functionality of this simple programm. So, without
further ado, we're off to the tutorial: First of all, start your visual basic, when prompted
for new project, select Standard Exe . Next, we need to open code window, so we can start typing
the program. This can be done in two ways, one is double clicking on the form, or selecting Code
from View menu. If you double clicked on the form, you will see following text: CODE ....
Parking Domains
howto on adding a purchased domain to your account here (3) I wrote this tutorial for astahost, but I thought I'd add it here too /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> QUOTE Since this is something we may encounter
while being hosted here I thought I'd touch the subject /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> First of all this tutorial/how to is written for
those who have purchased a domain name through a registrar /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> Depending on how your registrar works, you should
be able ....
Moving And Adding Shortcuts To Your Start Menu
Tutorial for newbies (4) Do you have lots of programs in programs menu? and want a quick click solution?... so you don't
have to chase down the program on the Programs Menu! For the example I'll use Notepad.
Click on start->programs->Accessories and direct to Notepad and hold the left mouse button. Keep
holding it, and move it to the area above the "Programs" and you'll see a dark "bar" appear.
Slide the icon up and down, and the bar moves up and down. Release the mouse button, and the icon is
now on Start Menu. And if you want desktop item to be add on Start Menu, use tutoria....
Simple Visual Basic 6 Tutorial
Tutorial 1: Msgbox (0) For this tutorial you will learn how to make a very simple, and basic program. Step one- Create a
new form. Step two- Click the command button on the side and make two buttons. Step Three- Click
on on of the command buttons you drew, and on the side there will be a menu. Change the caption to
Button 1, and repeat the same with the other button, but the caption Button 2. Step four- Double
click one of the buttons, and put in CODE Dim button button = MsgBox("What you want to
say here", 65, "Title") Now change that code to what you want it ....
[tutorial] Visual Basic 6
Closing Programs Right, Why END is bad (2) This tutorial applies to all those people who insist upon using "End" to close their programs: End
stops the program immediately without any thought as to what's going on - it's like a high
speed train hitting a brick wall. It can cause unwanted errors and is bad programming practice in
general. END gets rids of the form, but NOT its leftovers. This leaves a bunch of memory that will
still be in use even after your program has supposedly closed. An object or variable won't be
terminated properly - it's just not a graceful exit. The only time that it'....
Looking for visual, basic, 6, adding, commas, large, numbers
|
|
Searching Video's for visual, basic, 6, adding, commas, large, numbers
|
advertisement
|
|