Click here to Skip to main content
16,004,927 members
Home / Discussions / C#
   

C#

 
GeneralRe: Packs not getting to destination... Pin
Le centriste16-Feb-06 14:02
Le centriste16-Feb-06 14:02 
GeneralRe: Packs not getting to destination... Pin
Shy Agam17-Feb-06 2:44
Shy Agam17-Feb-06 2:44 
GeneralRe: Packs not getting to destination... Pin
Le centriste17-Feb-06 3:01
Le centriste17-Feb-06 3:01 
GeneralRe: Packs not getting to destination... Pin
Shy Agam17-Feb-06 8:11
Shy Agam17-Feb-06 8:11 
GeneralRe: Packs not getting to destination... Pin
Le centriste18-Feb-06 5:42
Le centriste18-Feb-06 5:42 
GeneralRe: Packs not getting to destination... Pin
Shy Agam18-Feb-06 10:18
Shy Agam18-Feb-06 10:18 
GeneralRe: Packs not getting to destination... Pin
Shy Agam17-Feb-06 8:35
Shy Agam17-Feb-06 8:35 
QuestionWord automation Pin
Tom Wright16-Feb-06 7:47
Tom Wright16-Feb-06 7:47 
I've added the ability to access a word document using COM. However when I go to run this on another machine I get an error saying that my object is not set to an instace of an object. How come this would work fine on one machine (my development machine) and not on the other (testing)....here is my code
<br />
			if (File.Exists("c:\\PO.dot"))<br />
			{<br />
				File.Copy("c:\\PO.dot", "c:\\PO1666.doc");<br />
				oWord.Visible = true;<br />
				object oFile = "c:\\PO1666.doc";<br />
				oDocs = oWord.Documents;<br />
				//MessageBox.Show("Here");<br />
				oDoc = (Word.Document) oDocs[1];<br />
				oDoc = (Word.Document) oDocs.Open(ref oFile, ref oMissing,<br />
					ref oMissing, ref oMissing, ref oMissing, ref oMissing,<br />
					ref oMissing, ref oMissing, ref oMissing, ref oMissing,<br />
					ref oMissing, ref oMissing, ref oMissing, ref oMissing,<br />
					ref oMissing, ref oMissing);<br />
<br />

The error comes up when I open the document.

Thanks


Tom Wright
tawright915@yahoo.com
AnswerRe: Word automation Pin
Tom Wright16-Feb-06 8:53
Tom Wright16-Feb-06 8:53 
QuestionFinally Startup Edit Released Pin
Ahmad Mahmoud [candseeme]16-Feb-06 5:24
Ahmad Mahmoud [candseeme]16-Feb-06 5:24 
QuestionStream Reading & Multibyte encoding. Pin
liRetro16-Feb-06 5:16
liRetro16-Feb-06 5:16 
AnswerRe: Stream Reading & Multibyte encoding. Pin
User 665816-Feb-06 5:48
User 665816-Feb-06 5:48 
GeneralRe: Stream Reading & Multibyte encoding. Pin
liRetro16-Feb-06 8:04
liRetro16-Feb-06 8:04 
QuestionProperties in a property grid Pin
Mark_Harrison16-Feb-06 4:44
Mark_Harrison16-Feb-06 4:44 
AnswerRe: Properties in a property grid Pin
Glaxalg16-Feb-06 7:03
Glaxalg16-Feb-06 7:03 
GeneralConvert c# to C++ Pin
dl4gbe16-Feb-06 4:41
dl4gbe16-Feb-06 4:41 
GeneralRe: Convert c# to C++ Pin
Nish Nishant16-Feb-06 4:47
sitebuilderNish Nishant16-Feb-06 4:47 
GeneralRe: Convert c# to C++ Pin
Jeremy Falcon16-Feb-06 4:52
professionalJeremy Falcon16-Feb-06 4:52 
GeneralRe: Convert c# to C++ Pin
Le centriste16-Feb-06 4:52
Le centriste16-Feb-06 4:52 
GeneralRe: Convert c# to C++ Pin
JimmyRopes16-Feb-06 5:20
professionalJimmyRopes16-Feb-06 5:20 
GeneralRe: Convert c# to C++ Pin
Alvaro Mendez16-Feb-06 5:04
Alvaro Mendez16-Feb-06 5:04 
GeneralRe: Convert c# to C++ Pin
Jerry Hammond16-Feb-06 5:10
Jerry Hammond16-Feb-06 5:10 
GeneralRe: Convert c# to C++ Pin
Joe Woodbury16-Feb-06 9:46
professionalJoe Woodbury16-Feb-06 9:46 
GeneralRe: Convert c# to C++ Pin
Michael P Butler16-Feb-06 10:07
Michael P Butler16-Feb-06 10:07 
QuestionRemote PC Connection problem Pin
JamesSoutar16-Feb-06 4:14
JamesSoutar16-Feb-06 4:14 

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.