newbie question 
Author Message
 newbie question

hi,
i am writing a VBScript which creates a text file and write some text in it.
with writeline func how to write " " in the text file.since these denote the
start and end of writeline string, vbscript shows error.
nesting of " " doesnt works.
help

Madhur



Sat, 18 Jun 2005 23:21:28 GMT  
 newbie question
Madhur,

...writeline """This is a quoted portion of text"""

--
Michael B. Murdock
MyPageSage
"Manage your Web Content by Email - Try it FREE"
http://www.mypagesage.com


Quote:
> hi,
> i am writing a vbscript which creates a text file and write some text in
it.
> with writeline func how to write " " in the text file.since these denote
the
> start and end of writeline string, vbscript shows error.
> nesting of " " doesnt works.
> help

> Madhur



Sat, 18 Jun 2005 23:35:48 GMT  
 newbie question
thanks but,
if i write

writeline "msgbox "sdfsdfs",vbcritical,"dsf dfs""

it shows error(expected end of statement)


Quote:
> Madhur,

> ...writeline """This is a quoted portion of text"""

> --
> Michael B. Murdock
> MyPageSage
> "Manage your Web Content by Email - Try it FREE"
> http://www.mypagesage.com



> > hi,
> > i am writing a vbscript which creates a text file and write some text in
> it.
> > with writeline func how to write " " in the text file.since these denote
> the
> > start and end of writeline string, vbscript shows error.
> > nesting of " " doesnt works.
> > help

> > Madhur



Sun, 19 Jun 2005 03:57:49 GMT  
 newbie question

Quote:

> thanks but,
> if i write

> writeline "msgbox "sdfsdfs",vbcritical,"dsf dfs""

> it shows error(expected end of statement)

writeline "msgbox ""sdfsdfs"",vbcritical,""dsf dfs"""

--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US



Sun, 19 Jun 2005 04:14:43 GMT  
 newbie question
thanks very much.



Quote:

> > thanks but,
> > if i write

> > writeline "msgbox "sdfsdfs",vbcritical,"dsf dfs""

> > it shows error(expected end of statement)

> writeline "msgbox ""sdfsdfs"",vbcritical,""dsf dfs"""

> --
> Michael Harris
> Microsoft.MVP.Scripting
> Seattle WA US



Sun, 19 Jun 2005 17:19:03 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. verschl├╝sselung

2. Newbie question: Session_OnEnd question

3. Resizing forms question (newbie question)

4. SQL Statement month grouping

5. DataBase-Change All Records

6. Can anyone recommend a good book

7. How handle output to the screen by an external program?

8. graph unit

9. Yet another CRT-unit bug?

10. input fractions

11. TechTips: "Index out of date" ... best suggestions

12. EDatabaseError

 

 
Powered by phpBB® Forum Software