Click here to Skip to main content
15,890,882 members
Home / Discussions / C#
   

C#

 
Questionvirtual USB device Pin
Grimes22-Aug-11 11:03
Grimes22-Aug-11 11:03 
AnswerRe: virtual USB device Pin
Rutvik Dave22-Aug-11 11:26
professionalRutvik Dave22-Aug-11 11:26 
GeneralRe: virtual USB device Pin
Grimes22-Aug-11 11:41
Grimes22-Aug-11 11:41 
AnswerRe: virtual USB device Pin
Bernhard Hiller22-Aug-11 22:29
Bernhard Hiller22-Aug-11 22:29 
GeneralRe: virtual USB device Pin
Grimes22-Aug-11 22:39
Grimes22-Aug-11 22:39 
AnswerRe: virtual USB device Pin
John Clegg23-Aug-11 2:29
professionalJohn Clegg23-Aug-11 2:29 
GeneralRe: virtual USB device Pin
Grimes23-Aug-11 2:53
Grimes23-Aug-11 2:53 
QuestionDatagridview to Excel.....using error (again) Pin
PDTUM22-Aug-11 9:43
PDTUM22-Aug-11 9:43 
Good Morning,

The reason I have prefaced this with "again" is that although I have found numerous articles on this in Code Project, I have yet to see this problem resolved with a clear answer or a suggestion as to what the problem might be (or I cannot find it). So, it's my turn in the barrel...I am trying to add an Excel reference (seems simple enough) to my application (VS 2010), and I have tried to add it from both the .NET (Microsoft.Office.Excel) and COM tabs (Microsoft.Office.Interop.Excel) under Add Reference. I have also added the Microsoft.Office.Core Excel Object (12.0). I have tried each individually and all simultaneously and each time I get the familiar error (Error 1 The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly reference?). This was done as per the instructions of a great article on Code Project by Geek13 that begins with the code


Excel.ApplicationClass ExcelApp = new Excel.ApplicationClass();



The article heading is as follows:
Exporting a DataGridView to Excel in .NET 2.0 (C# code)
Author: Geek13

If there is some other prerequisite that I need or (???), please let me know. Thank you for your attention....Pat
AnswerRe: Datagridview to Excel.....using error (again) Pin
SledgeHammer0122-Aug-11 10:38
SledgeHammer0122-Aug-11 10:38 
GeneralRe: Datagridview to Excel.....using error (again) Pin
PDTUM22-Aug-11 16:38
PDTUM22-Aug-11 16:38 
QuestionLevel of privileges Pin
Herboren22-Aug-11 6:36
Herboren22-Aug-11 6:36 
AnswerRe: Level of privileges Pin
Richard Andrew x6422-Aug-11 11:27
professionalRichard Andrew x6422-Aug-11 11:27 
QuestionHow do I generate a number divisable by 5, and check it? PinPopular
stephen.darling22-Aug-11 3:42
stephen.darling22-Aug-11 3:42 
AnswerRe: How do I generate a number divisable by 5, and check it? PinPopular
Luc Pattyn22-Aug-11 3:46
sitebuilderLuc Pattyn22-Aug-11 3:46 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling22-Aug-11 4:01
stephen.darling22-Aug-11 4:01 
AnswerRe: How do I generate a number divisable by 5, and check it? PinPopular
Manfred Rudolf Bihy22-Aug-11 4:47
professionalManfred Rudolf Bihy22-Aug-11 4:47 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
GParkings1-Sep-11 7:39
GParkings1-Sep-11 7:39 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Manfred Rudolf Bihy22-Aug-11 4:52
professionalManfred Rudolf Bihy22-Aug-11 4:52 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Fabio Franco23-Aug-11 3:04
professionalFabio Franco23-Aug-11 3:04 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
Luc Pattyn23-Aug-11 3:31
sitebuilderLuc Pattyn23-Aug-11 3:31 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Fabio Franco23-Aug-11 4:00
professionalFabio Franco23-Aug-11 4:00 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
riced22-Aug-11 3:54
riced22-Aug-11 3:54 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling22-Aug-11 4:00
stephen.darling22-Aug-11 4:00 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
David198722-Aug-11 4:02
David198722-Aug-11 4:02 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Luc Pattyn22-Aug-11 4:29
sitebuilderLuc Pattyn22-Aug-11 4:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.