hello ppl,
i have a doubt how do i append MSWord in my proj. if i have a form on which i make a button now on clicking that button MSWORD should open. If i use system.diagnostic.process.start() and the whole path of MSWORD in the bracket it will work but what if i want to make it run on some other machine what should be done in that case please help me with a code as soon as possible.
One more thing how do i make a simple combo box uneditable at run time.
please help me as soon as possible by providing codes for both my questons...
thank you.
asmit1987 0 Newbie Poster
Recommended Answers
Jump to Post1. Just add your msword file on your setup project.
then you can modified path of msword file :System.Diagnostics.Process.Start(Application.StartupPath & "\MsWordFileName.doc")
2. On combox properties, set DropDownStyle = DropDownList
Jump to PostYou have to add com object reference in your appliction
i.e microsoft word 9.0 object library and in namspace
iimports the word so that you can use the ms word object in ur code as you like
just try it out.
Jump to PostExactly what u want to do? do u want to automate msowrd?
All 12 Replies
Jx_Man 987 Nearly a Senior Poster Featured Poster
asmit1987 0 Newbie Poster
asmit1987 0 Newbie Poster
Pgmer 50 Master Poster Featured Poster
asmit1987 0 Newbie Poster
Pgmer 50 Master Poster Featured Poster
Prabakar 77 Posting Whiz
Pgmer 50 Master Poster Featured Poster
asmit1987 0 Newbie Poster
asmit1987 0 Newbie Poster
Prabakar 77 Posting Whiz
asmit1987 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.