Webmaster Forum

Go Back   Webmaster Forum > Scripting/Programming & Debugging > ASP & VBScript Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

ASP & VBScript Forum Need help from a webmaster with ASP or VBScript, you may ask in this forum?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-13-2008, 05:28 PM
fedia fedia is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
fedia is an unknown quantity at this point
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default writing output text file

Hi to all,

I am new in the Vb Script and would like to ask how to write the
numbers using format.

For example in the macro i have the numbers:

10 20 30
11 21 31

I also write in the macro:
Dim fso, myFile
Set fso=CreateObject(""Scripting.FileSystemObject")
Set myFile=fso.CreateTextFile("c:\bbb.text,True,False)

Now I want to write in the file the numbers a1 b1 c1 using format
as in Vb 6 ( for example "##.#" )

I trying
myFile.Write ( but don't now what to write here )

Thank you in advance

Boris
Reply With Quote

This ad is part of our Revenue Sharing program
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl: text file to excel usaknight85 CGI/PERL & Python Forum 0 03-27-2008 05:49 PM
Retrieving info from ADSI and displying on text file serge ASP & VBScript Forum 0 03-25-2008 03:22 PM
VBScript - Writing Func/Sub that can take 0 or 1 args? humbletech99 ASP & VBScript Forum 3 02-06-2008 09:38 PM
Append text file frikkied ASP & VBScript Forum 3 10-31-2007 09:04 PM
text file to excel heavydee ASP & VBScript Forum 3 09-21-2007 05:55 PM


All times are GMT. The time now is 05:14 AM.


Creative Commons License
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30