Click here to Skip to main content
15,883,705 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:15
anuj_jain3-Jan-12 2:15 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Richard MacCutchan3-Jan-12 2:48
mveRichard MacCutchan3-Jan-12 2:48 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Dave Kreskowiak3-Jan-12 3:52
mveDave Kreskowiak3-Jan-12 3:52 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Member 85373613-Jan-12 16:48
Member 85373613-Jan-12 16:48 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:05
anuj_jain3-Jan-12 2:05 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
BobJanova3-Jan-12 2:25
BobJanova3-Jan-12 2:25 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:30
anuj_jain3-Jan-12 2:30 
QuestionError reading word doc using Micorsoft.Office.Interop(Object library) via IIS 7 Pin
sudeep vajrala2-Jan-12 19:46
sudeep vajrala2-Jan-12 19:46 
Hi All

Iam facing issue while reading the document when runnning code from IIS. It is not reading the document and throwirng an error "No document is opne when trying to save the activedocument.".

m_word.Documents.Open(ref FileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);

m_word.ActiveDocument.SaveAs2(ref FileName_rtf, ref FileFormat, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1, ref missing1);

m_word.ActiveDocument is giving error when running from IIS. It is working in visual studio debugging mode.

I also tried the below code. Document doc_open = m_word.Documents.Open(ref FileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); doc_open.Activate();

doc_open is retruning null and it throws object reference error in the second line. this works when code is in debugging mode. Error occurs when ran from IIS on development server where we have IIS 7 and MS offices too.

Please help on this IAm struggling from 5 days.

Thanks in advance
AnswerRe: Error reading word doc using Micorsoft.Office.Interop(Object library) via IIS 7 Pin
manognya kota3-Jan-12 19:10
manognya kota3-Jan-12 19:10 
Question[SOLVED] - DataGridView - Object can not be cast 'From DBNullto Other Types' Pin
AmbiguousName2-Jan-12 19:17
AmbiguousName2-Jan-12 19:17 
AnswerRe: DataGridView - Object can not be cast 'From DBNullto Other Types' Pin
V.2-Jan-12 20:15
professionalV.2-Jan-12 20:15 
GeneralRe: DataGridView - Object can not be cast 'From DBNullto Other Types' Pin
AmbiguousName3-Jan-12 19:04
AmbiguousName3-Jan-12 19:04 
AnswerRe: DataGridView - Object can not be cast 'From DBNullto Other Types' Pin
PIEBALDconsult3-Jan-12 2:25
mvePIEBALDconsult3-Jan-12 2:25 
Questioncall database sql server 2008 in c# Pin
tito0306902-Jan-12 14:45
tito0306902-Jan-12 14:45 
AnswerRe: call database sql server 2008 in c# Pin
OriginalGriff2-Jan-12 21:21
mveOriginalGriff2-Jan-12 21:21 
Questionthe counter reading program in c # Pin
mfy402-Jan-12 12:35
mfy402-Jan-12 12:35 
AnswerRe: the counter reading program in c # Pin
BillWoodruff2-Jan-12 14:20
professionalBillWoodruff2-Jan-12 14:20 
Questionhow to copy cheked nodes from a treeview to to new treeview? Pin
JANARDHAN GURRAM2-Jan-12 7:08
JANARDHAN GURRAM2-Jan-12 7:08 
AnswerRe: how to copy cheked nodes from a treeview to to new treeview? Pin
Pete O'Hanlon2-Jan-12 10:34
mvePete O'Hanlon2-Jan-12 10:34 
GeneralRe: how to copy cheked nodes from a treeview to to new treeview? Pin
JANARDHAN GURRAM2-Jan-12 21:23
JANARDHAN GURRAM2-Jan-12 21:23 
GeneralRe: how to copy cheked nodes from a treeview to to new treeview? Pin
Pete O'Hanlon2-Jan-12 21:36
mvePete O'Hanlon2-Jan-12 21:36 
GeneralRe: how to copy cheked nodes from a treeview to to new treeview? Pin
JANARDHAN GURRAM2-Jan-12 21:59
JANARDHAN GURRAM2-Jan-12 21:59 
AnswerRe: how to copy cheked nodes from a treeview to to new treeview? Pin
BillWoodruff2-Jan-12 14:10
professionalBillWoodruff2-Jan-12 14:10 
GeneralRe: how to copy cheked nodes from a treeview to to new treeview? Pin
JANARDHAN GURRAM2-Jan-12 21:40
JANARDHAN GURRAM2-Jan-12 21:40 
GeneralRe: how to copy cheked nodes from a treeview to to new treeview? Pin
BillWoodruff2-Jan-12 23:04
professionalBillWoodruff2-Jan-12 23:04 

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.