Solved

Tying to insert quotes

Posted on 2006-06-12
2
167 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

737 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