473,465 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problem with using SQL queries in VC++dotNet

1 New Member
Hi all,
I am trying to create an Excel sheet using VC++ dotNet. I am using CDatabase and CRecordset calsses and standard SQL queries for creation and Insertion of data in the sheet.
I am havin problems with this statement

sql.Format("DRIVER={%s};DSN=\'\';READONLY=FALSE;CR EATE_DB=myexcel;DBQ=myexcel",m_driver);

where m_DRIVER = "Microsoft Excel Driver (*.xls)"


could anyone suggest an appropriate DSN name which i could use?

Thanks in advance!!!
Madhusudan
Aug 2 '06 #1
0 1303

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: rdheadrick | last post by:
Hi All, Has anyone seen or heard any announcements that a major desktop application will be ported to DotNet framework? I'm talking Microsoft Office, Internet Explorer, Adobe apps, Corel apps,...
16
by: Jon Masterson | last post by:
Hi Guys Another quick question please. I understand that to send mail using .NET I need to install the SMTP server. I have two XP Home edition machines here and neither of them show IIS in...
0
by: SenthilVel | last post by:
Hi I want to list the available "Component Services " (COM+) in a machine . i am trying to get the list of Componenet services in a machine using windows forms in dotnet , how can i retrive...
3
by: SenthilVel | last post by:
Hi I want to list the available "Component Services " (COM+) in a machine . i am trying to get the list of Componenet services in a machine using windows forms in dotnet , how can i retrive...
0
by: nimesh | last post by:
Hi, I m new to this technology. Can anyone guide me write a program in DotNet with any language to convert a text file into Microsoft Power Point Presentation? Also please guide me how to execute...
9
by: Jim | last post by:
With .net having been around for a while now, does anyone know what the uptake of major software houses is in using .net for Windows Application development? e.g. have the likes of Adobe, MS,...
2
by: Abhi | last post by:
i need to create a user in web mail using dotnet coad by using webmailserver api ex: xxx is my webmail then i want to create to a user in that webmail xxx ex: yyy@xxx.com how i should do in...
2
by: sathyakvani | last post by:
hi all c we r creating web appl using dotnet similarly if i want to create a web site how can i do that pls tel me.pls tel the steps to create thanks in advance bye sathya
5
by: sekarm | last post by:
Hi all, Happy to see you all again, I am going to develop one client server application using dotnet(vb.net or c#.net).The task is to develop two applications seperately. one application...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.