15,949,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by JOHNNYDEMICHAEL (Top 18 by date)
JOHNNYDEMICHAEL
19-Feb-14 22:25pm
View
Vedat, does your code run? If so, what reference do you add other than Microsoft.Office.Interop.Word?
using System.Threading.Tasks; results in several errors . . what reference do you add? I cannot get your updated solution to compile without errors.
JOHNNYDEMICHAEL
18-Feb-14 13:00pm
View
Vedat, you mentioned VB . . . I'm writing in C#
JOHNNYDEMICHAEL
18-Feb-14 12:58pm
View
Here are the errors listed . . .
Error 1 'Application' is an ambiguous reference between 'System.Windows.Forms.Application' and 'Microsoft.Office.Interop.Excel.Application' C:\JR PROGRAMMING\JR C# Projects\csv2dgv\Form1.cs 1102 44 csv2dgv
Error 2 The type 'System.Windows.Forms.Application' has no constructors defined C:\JR PROGRAMMING\JR C# Projects\csv2dgv\Form1.cs 1102 40 csv2dgv
Error 3 The name 'WdDocumentType' does not exist in the current context C:\JR PROGRAMMING\JR C# Projects\csv2dgv\Form1.cs 1107 21 csv2dgv
Error 4 No overload for method 'SaveAs' takes '1' arguments C:\JR PROGRAMMING\JR C# Projects\csv2dgv\Form1.cs 1108 17 csv2dgv
Error 5 No overload for method 'Close' takes '1' arguments C:\JR PROGRAMMING\JR C# Projects\csv2dgv\Form1.cs 1109 17 csv2dgv
JOHNNYDEMICHAEL
18-Feb-14 12:52pm
View
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Word = Microsoft.Office.Interop.Word;
using Excel = Microsoft.Office.Interop.Excel;
using Microsoft.Office.Interop.Excel;
using System.Reflection;
using System.Collections;
using System.Globalization;
using System.Threading;
using Office = Microsoft.Office.Core;
using System.Diagnostics;
using Microsoft.VisualBasic.FileIO;
JOHNNYDEMICHAEL
18-Feb-14 12:50pm
View
Yes.
JOHNNYDEMICHAEL
18-Feb-14 12:38pm
View
Debugging . . . showing a lot of compile errors. One is saying SaveAs doesn't have 1 parameter.
JOHNNYDEMICHAEL
12-Feb-14 7:09am
View
Dave . . . your comments were very helpful . . . I now understand much about how VirtualMode works. Your comments have enabled me to resolve my problem.
JOHNNYDEMICHAEL
12-Feb-14 7:06am
View
The example in your 2nd suggested link enabled me to resolve the problem. Thanks a bunch!
JOHNNYDEMICHAEL
10-Feb-14 9:12am
View
Yes, I worked with the Range.Find but had problems. No code examples given. I'll be trying your 2nd suggested link today or tomorrow . . has some code examples. That may help me solve problem. THANKS!
JOHNNYDEMICHAEL
9-Feb-14 17:13pm
View
But I need to access the instance already available in another cell.
JOHNNYDEMICHAEL
2-Feb-14 10:12am
View
Dave . . . Thanks . . I've reviewed the code to handle the various events. The example seems to deal with populating the grid directly and not using DataTable to bind. Populating my DataTable is very quick . . its the binding to DGV that takes the time. Should I not be using a DataTable . . . & load data directly to the DataGridView? I thought I was speeding things up by using a DataTable.
JOHNNYDEMICHAEL
27-Jan-14 8:24am
View
I think I entered my comment in wrong area . . .
Great . . . thanks! Excellent commentary!
It was meant for Sergey.
JOHNNYDEMICHAEL
27-Jan-14 8:14am
View
Deleted
Great . . . thanks! Excellent commentary!
JOHNNYDEMICHAEL
16-Jan-14 20:28pm
View
That's what I needed . . . THANKS!
JOHNNYDEMICHAEL
13-Jan-14 17:09pm
View
I understand . . . thanks!
JOHNNYDEMICHAEL
13-Jan-14 12:13pm
View
Doesn't the above add a new row to the table? I want a blank row to appear in the DataGridView for the user to enter data. Shouldn't the blank row appear in the grid?
JOHNNYDEMICHAEL
13-Jan-14 4:31am
View
It works! Thanks!
JOHNNYDEMICHAEL
13-Jan-14 4:30am
View
It works! Thanks!
Show More