|
What do you mean by that? You want to open a .doc file with notepad?
<italic>Work hard, Work effectively and a bit of luck is the key to success.
|
|
|
|
|
Use System.Diagnostics.Process class and pass it the name of the file you want to launch. The Windows Shell will then launch the file with the associated program.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: He has a funny face. And he's my son.
Judah Himango
|
|
|
|
|
so i can use this with any extension hopefully: .doc , .text, .html ...etc
thanx for for the reply both of u
regards
|
|
|
|
|
Try asking in the correct Forum! Drop this in the Visual C++ Forum and you might get an answer.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Your right! 1st Monday of the week and I've got a huge headache that just won't go away.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
1st Monday of the week
I hope the 2nd Monday of this week is better!!
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
|
|
|
|
|
Xicoloko, created a three part article describing how to simplify coding using some classes.
Xicoloko wrote "The Code Project - A Data Access Layer to persist business objects using attributes and reflection - Part I - C# Database"; part II and part III.
I would like to know how the code can be used with MS Access.
|
|
|
|
|
Then ask him.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Hi,
I am interested in writing a little routine that scans a resume document and returns certain information from it. I have no idea where to start and am wondering how to do the following two things:
How to open a word document for searching?
How to search the document for key words?
I was thinking about opening the document into a rich textbox and searching it from there.
Thanks for any help.
Stephen
|
|
|
|
|
A RichTextBox will not open .doc files. RTB will only open .rtf files.
For searching Office documents, you're either going to have to open the document and get the plain text from it using some conversion routine, or use the MS Office ActiveX controls to do it for you.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: He has a funny face. And he's my son.
Judah Himango
|
|
|
|
|
Hi,
I am wanting to implement help in an application and I am having an issue when the help file displays. It does not display the help page even though it has the word in the index highlighted. When I click on the word the page displays but when the file first displays the page for the searched word is not displayed. How can I display the page?
Thanks for any help.
Stephen
|
|
|
|
|
What is Reflection, when and were to use it.
Thanks
------------------------------------
To study, study and only to study
|
|
|
|
|
Reflection means to examine an object to find out it's properties and methods, then to call them.
Whenever you need to.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Is there an actual built in way to do this? Or do i just have to enumerate through all the types, sorting them according to the Namespace, and build the namespace tree from that?
Cheers
Cata
|
|
|
|
|
Hi,
How do I create a datagrid that allows me to select the entire row with one click?
I've managed to get the while row selected with the
<br />
private void dataGrid1_Click(object sender, System.EventArgs e)<br />
{<br />
dataGrid1.Select( dataGrid1.CurrentRowIndex );<br />
}<br />
command.
But it only works if I select the grid, in-between the text. If I select the text it gets selected and only in that cell. I'd like to have the whole row selected no matter what I select in that row.
any ideas ?
Thanks.
|
|
|
|
|
Hi
I've just moved my project from VS2k5 beta 1 to beta 2. I've got 2 warnings:
Warning 2 'System.Windows.Forms.Form.AutoScaleBaseSize' is obsolete: 'This property has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202' C:\Ben\C#\OpenGL in .NET Control\WindowsApplication1\WindowsApplication1\Form1.Designer.cs 45 13 WindowsApplication1
Warning 3 'System.Windows.Forms.Application.EnableRTLMirroring()' is obsolete: 'This method has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202' C:\Ben\C#\OpenGL in .NET Control\WindowsApplication1\WindowsApplication1\Program.cs 20 13 WindowsApplication1
What should I replace the code with?
Cheers
|
|
|
|
|
How have you managed to get Beta 2? It's not advertised as being available yet.
Kevin
|
|
|
|
|
|
OK, so it's not yet the official Beta 2.
Kevin
|
|
|
|
|
Is there actually any way to get the beta if you're not a MSDN subscriber?
|
|
|
|
|
Yeah you can order the disk of VS2k5 Pro Beta even if you're not msdn. Its worth doing. or i think you can download the express one if your not msdn
|
|
|
|
|
|
I have a gui app which runs a long process on a worker thread. When the thread starts the long running process fires an event which is picked up by the gui thread and sets the Cursor.Current to the WaitCursor - when the long process has finished it fires another event and Cursor.Current is set to the default cursor. Unfortunately the cursor never becomes the WaitCursor - I can test the Cursor.Current.ToString() and it says it's the WaitCursor - but it isn't, just the default cursor.
Why is that?
|
|
|
|
|