Click here to Skip to main content
15,895,606 members
Home / Discussions / C#
   

C#

 
QuestionRe: Serial Data Pin
musefan7-Jul-09 2:43
musefan7-Jul-09 2:43 
AnswerRe: Serial Data Pin
Dave Kreskowiak7-Jul-09 3:47
mveDave Kreskowiak7-Jul-09 3:47 
QuestionOracle commit Pin
swpr7-Jul-09 2:24
swpr7-Jul-09 2:24 
AnswerRe: Oracle commit Pin
Christian Graus7-Jul-09 2:27
protectorChristian Graus7-Jul-09 2:27 
QuestionRe: Oracle commit Pin
musefan7-Jul-09 2:40
musefan7-Jul-09 2:40 
AnswerRe: Oracle commit Pin
Pete O'Hanlon7-Jul-09 2:50
mvePete O'Hanlon7-Jul-09 2:50 
QuestionOnPaint Pin
satsumatable7-Jul-09 2:20
satsumatable7-Jul-09 2:20 
AnswerRe: OnPaint Pin
Christian Graus7-Jul-09 2:27
protectorChristian Graus7-Jul-09 2:27 
AnswerRe: OnPaint Pin
musefan7-Jul-09 2:38
musefan7-Jul-09 2:38 
Questionhow to create XML using DataSet having more then one table? Pin
Sasmi_Office7-Jul-09 2:17
Sasmi_Office7-Jul-09 2:17 
AnswerRe: how to create XML using DataSet having more then one table? Pin
Dave Kreskowiak7-Jul-09 3:42
mveDave Kreskowiak7-Jul-09 3:42 
QuestionForm designer insisting on form being checked out Pin
Dan Neely7-Jul-09 2:11
Dan Neely7-Jul-09 2:11 
AnswerRe: Form designer insisting on form being checked out Pin
molesworth7-Jul-09 2:20
molesworth7-Jul-09 2:20 
GeneralRe: Form designer insisting on form being checked out Pin
Dan Neely7-Jul-09 2:31
Dan Neely7-Jul-09 2:31 
GeneralRe: Form designer insisting on form being checked out Pin
molesworth7-Jul-09 2:41
molesworth7-Jul-09 2:41 
GeneralRe: Form designer insisting on form being checked out Pin
Dan Neely7-Jul-09 3:17
Dan Neely7-Jul-09 3:17 
AnswerRe: Form designer insisting on form being checked out Pin
Christian Graus7-Jul-09 2:39
protectorChristian Graus7-Jul-09 2:39 
GeneralRe: Form designer insisting on form being checked out Pin
molesworth7-Jul-09 2:49
molesworth7-Jul-09 2:49 
GeneralRe: Form designer insisting on form being checked out Pin
Dan Neely7-Jul-09 3:06
Dan Neely7-Jul-09 3:06 
GeneralRe: Form designer insisting on form being checked out Pin
molesworth7-Jul-09 3:41
molesworth7-Jul-09 3:41 
GeneralRe: Form designer insisting on form being checked out Pin
Dan Neely7-Jul-09 4:12
Dan Neely7-Jul-09 4:12 
AnswerRe: Form designer insisting on form being checked out [SOLUTION] Pin
Dan Neely7-Jul-09 4:16
Dan Neely7-Jul-09 4:16 
GeneralRe: Form designer insisting on form being checked out [SOLUTION] Pin
molesworth7-Jul-09 5:48
molesworth7-Jul-09 5:48 
GeneralRe: Form designer insisting on form being checked out [SOLUTION] Pin
Dan Neely7-Jul-09 7:17
Dan Neely7-Jul-09 7:17 
QuestionReading word document in asp.net Pin
Spurple7-Jul-09 1:44
Spurple7-Jul-09 1:44 
hi all,
Im trying to read word document in asp.net 1.1 with following code.
added required ddls too.(i.e Microsoft Office 10.0 Object Library,Microsoft Word 11.0 Object Library)
but it is throwing error {Access is denied}
plz help!
thanks in advance!

Code:
Microsoft.Office.Interop.Word.ApplicationClass obj_app=new Microsoft.Office.Interop.Word.ApplicationClass();
Microsoft.Office.Interop.Word.Document obj_doc=new Microsoft.Office.Interop.Word.Document();
object readOnly = false;
object isVisible = true;
object missing = System.Reflection.Missing.Value;
object filepath=_FilePath;
obj_doc=obj_app.Documents.Open(ref filepath,
ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref isVisible,
ref missing,ref missing,ref missing,ref missing,ref missing,ref missing,ref missing);
obj_doc.Select();
string m_Content="";
m_Content=obj_app.Selection.FormattedText.Text;

obj_doc.Close(ref missing,ref missing,ref missing);
obj_app.Quit(ref missing, ref missing, ref missing);

Response.Write(m_Content);

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.