Re: [ADVANCED-DOTNET] Intellisense in .NET application?

2006-12-11 Thread Armand du Plessis
ScintillaNET - .NET 2.0 wrapper is on CodePlex ( http://www.codeplex.com/ScintillaNET) On 12/12/06, John Bergman <[EMAIL PROTECTED]> wrote: Scintilla does it, its open source (although not sure where they are in their .NET version) -Original Message- From: Discussion of advanced .N

Re: [ADVANCED-DOTNET] Intellisense in .NET application?

2006-12-11 Thread Eyvind Axelsen
< I don't know anything about your application, but I would seriously consider refactoring the form layout to allow the rapid entry but provide extensions for detailed entry, or, provide an 'expert' form for the rapid entry. You mention tabbing through several tab pages, so simple auto-complete or

Re: [ADVANCED-DOTNET] Intellisense in .NET application?

2006-12-11 Thread Brady Kelly
John Bergman: > We are thinking of equipping our .NET 2.0 WinForms application with a > kind of intellisense, so that the user may enter data quickly using the > keyboard instead of tab'ing through a large form over several tab pages > to enter data in a few fields. I don't know anything about yo

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Marc Brooks
Are there any issues if I just do a rename of the word doc from file.doc to file.txt, then open the file as a text document and parse if for the data I need? I know that the Word document format is not in strait ASCII text, but it appears that the data itself is. That is TOTALLY wrong, no offen

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Matthew Wills
Jon, Its certainly a possibility. I wouldn't recommend it (what if someone adds bookmarks to the documents with the same name as the tags you search for, for example). And (from memory), Word sometimes stores data that has subsequently been deleted from the document. In short, unless you are usi

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Jon Rothlander
I really appreciate all of the discussion on this topic and the many great ideas. I have taken each suggestion and dug into it in depth. Are there any issues if I just do a rename of the word doc from file.doc to file.txt, then open the file as a text document and parse if for the data I need? I

Re: [ADVANCED-DOTNET] .NET Remoting 1.1 Crashing - WinXP SP2

2006-12-11 Thread Adam Tuliper
Is your network card disabled or unplugged? Check your computer properties as well for the full dns name - does it seem valid? -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bugeja Sent: Monday, December 11, 2006 1:26 PM To: ADVA

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread J. Merrill
Don't "monitor a given folder every X-minutes". Use a FileSystemWatcher. But that's not a solution to what to do to dig the text out. Mark Brooks' tool might well be the answer for that. (For some reason, I can't see that message any more in my mail. Odd.) Mark, is the code for your IFilter-

Re: [ADVANCED-DOTNET] Intellisense in .NET application?

2006-12-11 Thread John Bergman
Scintilla does it, its open source (although not sure where they are in their .NET version) -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Eyvind Axelsen Sent: Monday, December 11, 2006 6:08 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.CO

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Vince P
Yeah, I was just collaborating what you said :) > -Original Message- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of > Peter van der Weerd > Sent: Monday, December 11, 2006 3:57 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Peter van der Weerd
You're right! That's why we used the helper application. - Original Message - From: "Vince P" <[EMAIL PROTECTED]> To: Sent: Monday, December 11, 2006 10:22 PM Subject: Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003? Microsoft does not recommend nor sup

[ADVANCED-DOTNET] .NET Remoting 1.1 Crashing - WinXP SP2

2006-12-11 Thread Mark Bugeja
I have have just installed WinXp SP2 on a development Workstation running IIS hosted remoting application. I have turned the windows firewall off, but the application is failing to start up with the error below. There's nothing else of note in the logs, and the machine seems to be working perf

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Vince P
Microsoft does not recommend nor support using the Office COM objects for server operations. >From http://support.microsoft.com/kb/257757/ MORE INFORMATION All current versions of Microsoft Office were designed, tested, and configured to run as end-user products on a client workstation. They ass

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Peter van der Weerd
We used Automation with MS Word succesfully in a server condition. However, we had to make a few design decisions: 1) Due to the fact that Word is written as a UI-application you must be prepared that messageboxes might occur, stopping your application. We wrote code to auto-answer some of those

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Sean Greer
You might want to check out Syncfusion's DocIO offering. I haven't used it, but their samples ship with one showing the conversion of a Word doc to a text doc. Sean -- quoted text -- I'm trying to read a Word document as text data and I cannot find an easy way to handle this in .Net 2003. If

[ADVANCED-DOTNET] Passing a structure from Unmanaged C++ to Managed C#

2006-12-11 Thread Jones, Austin (AGTE)
Does anyone have any experience in passing structures to a Managed C# DLL from an Unmanaged C++ DLL? I've followed some of the examples from the internet that deal with passing zero or more parameters between Managed/Unmanaged methods, but nothing talks of passing a structure. I have followed t

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Bob Uva
Another option that I've used is to convert Word documents to xml and then parse the xml. The .doc to .xml conversion can be done in scripting using the Word.Application object and the xml parsing in any way you want to parse the xml. I had a lot of files that were very similar in format and fou

Re: [ADVANCED-DOTNET] Does anyone know how to read a Word document in .Net 2003?

2006-12-11 Thread Steve Welborn
You could try the Automation/Server idea, MS makes it easy to use, but like most here I've had nothing but nightmares with it. Automation with Word is a memory hog, majority of the time the instances still remain in memory despite whatever measure you take to close it and not to mention the crash's

Re: [ADVANCED-DOTNET] System.DirectoryServices - same code -- different behaviour

2006-12-11 Thread Toulakis, Dimitrios (RESC)
Hi, I am doing the complete impersonisation & AD stuff in a try-catch block. So fetching all the errors & log them to the database & clean up resources is done there. According to your question: I did get this thing working by doing the following: Do not process the "ImpersonateLoggedOnUser(to

Re: [ADVANCED-DOTNET] Intellisense in .NET application?

2006-12-11 Thread Sebastien Lorion
You can take a look at the SyntaxEditor from ActiPro: http://www.actiprosoftware.com/Products/DotNet/Default.aspx Or at SharpDevelop which includes a full featured editor component in its source code: http://www.icsharpcode.com/OpenSource/SD/Default.aspx Sébastien www.sebastienlorion.com > -

Re: [ADVANCED-DOTNET] AW: [ADVANCED-DOTNET] System.DirectoryServices - same code -- different behaviour

2006-12-11 Thread J. Merrill
Your code ignores the result of ImpersonateLoggedOnUser. If it indicated a failure ... Did you get things working? What had to be done to make it work? At 04:10 PM 11/29/2006, Dimitrios Toulakis wrote (in part) >Hi, > >but I am setting explicit the user in ImpersonateUser(..). >And this user h

[ADVANCED-DOTNET] Intellisense in .NET application?

2006-12-11 Thread Eyvind Axelsen
We are thinking of equipping our .NET 2.0 WinForms application with a kind of intellisense, so that the user may enter data quickly using the keyboard instead of tab'ing through a large form over several tab pages to enter data in a few fields. Has anyone done stuff like this before? Or does anyon