Solved

CGI Visual Basic Quotes

Posted on 2002-07-03
2
175 Views
Last Modified: 2013-11-25
I'm just trying out vb with cgi for the first time and I'm having trouble using double quotes.

i.e. Send "<BODY BACKGROUND=  "Sand.jpg">"


any ideas would be great.
0
Comment
Question by:GMorgan
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
Comment Utility
Double them Or send the actual character as well:

Send "<BODY BACKGROUND=  ""Sand.jpg"">"

Or

Send "<BODY BACKGROUND=  " & Chr(34) & "Sand.jpg" & Chr(34) & ">"

0
 

Author Comment

by:GMorgan
Comment Utility
Thanks I knew it would be something as simple as that...

Cheers
Glen
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now