?
Solved

Tying to insert quotes

Posted on 2006-06-12
2
Medium Priority
?
169 Views
Last Modified: 2010-04-23
Hi there I am trying to use the following code


objStartPt.Insert(vbCr + "Dim sqlCmd As New SqlCommand("SaveCustomer", conn)")

but it does not like the   "SaveCustomer"  because of the quotes and i need those to be written in literatlly when the code runs.

is there a way round this

many thanks

davoman
0
Comment
Question by:davoman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 16884071
Hi davoman,

Put 2:
> objStartPt.Insert(vbCr + "Dim sqlCmd As New SqlCommand(""SaveCustomer"", conn)")


Cheers!
0
 
LVL 1

Author Comment

by:davoman
ID: 16884078
DOH!!!


that easy

cheers dude easy 500 for ya
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

777 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