|
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?
|
|
|
|
|
|
I tried doing that - it didn't do anything other than mess up the threads.
Thanks for your reply though
|
|
|
|
|
If your GUI is truely idle, then you wouldn;t have to call DoEvents at all. But if you're GUI is doing something, like blocking while your waiting for a thread to complete, then DoEvents can do strange things. It sounds like you haven't done something correctly, but without further information and code samples, it's impossible to tell you what that is.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I HAVE A SIMILAR PROBLEM
i am havig a list view and i dynamically tried to cange the cursor to waiting cursor, but it does not work.
then i tried changing the cursor from the property of the list view but it does not work either.
|
|
|
|
|
Are you sure the event is on the GUI thread? You might want to check using InvokeRequired property; if an invoke is required, that would explain why the cursor setting doesn't seem to be working.
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
|
|
|
|
|
I HAVE A SIMILAR PROBLEM
i am havig a list view and i dynamically tried to cange the cursor to waiting cursor, but it does not work.
then i tried changing the cursor from the property of the list view but it does not work either.
|
|
|
|
|
Hi...
I have a richtextbox and the ReadOnly is set to true... but if the richtextbox is focused and I press this char '€'(it is on the 'e' key on my keyboard) on the keyboard, it is being showed in the richtextbox?!?
can anyone tell me how that char, and no other chars are being showed?
and if it is possible to do so the char is not being showed!!
thanks
QzRz
QzRz
|
|
|
|
|
Interesting. On my machine that doesnt happen
Try to handle the KeyDown event of the textbox and alter the event arguments:
private void richTextBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
e.Handled = true;
}
|
|
|
|
|
that did it...!
But can you tell me what the "e.Handled = true" event do...?
Thanks alot...!
QzRz
|
|
|
|
|
Its relatively simple:
The KeyDown events tells the consumer of the event that a key is being pressed. This event is raised before the underlying control actually reacts on the key. If you set e.Handled to true this will tell the control not to react at all (its nearly as the key would never have been pressed).
|
|
|
|