-
July 29th, 2009, 09:49 PM
#1
Notepad Save Process
Hi all,
We have a weird issue at work, where Biztalk is failing to process large text files. If I open the file in notepad.exe and simply re-save it, then everything is fine. At first we thought it was an encoding issue, so I wrote a program to save save the file in any encoding type and that doesn't seem to fix the problem, so I see two alternatives.
1. Does anyone know exactly how notepad.exe saves files? I could then simply write an app to do the same.
2. Can I write an app that runs notepad, opens a given file and resaves it?
Any help is appreciated.
C
-
July 29th, 2009, 11:05 PM
#2
Re: Notepad Save Process
what is Biztalk ? Is it a editor just like notepad ?
For your second question , there should some APIs in C# where you can open other applications like notepad - you need to using the corresponding namespaces of Notepad before that.
-
August 4th, 2009, 12:27 AM
#3
Re: Notepad Save Process
Originally Posted by vcdebugger
what is Biztalk ? Is it a editor just like notepad ?
For your second question , there should some APIs in C# where you can open other applications like notepad - you need to using the corresponding namespaces of Notepad before that.
This is completely wrong. If you don't know the answer, please don't respond. It isn't fair to the OP to get incorrect advice.
-
August 4th, 2009, 12:29 AM
#4
Re: Notepad Save Process
Originally Posted by scathenC
Hi all,
We have a weird issue at work, where Biztalk is failing to process large text files. If I open the file in notepad.exe and simply re-save it, then everything is fine. At first we thought it was an encoding issue, so I wrote a program to save save the file in any encoding type and that doesn't seem to fix the problem, so I see two alternatives.
1. Does anyone know exactly how notepad.exe saves files? I could then simply write an app to do the same.
2. Can I write an app that runs notepad, opens a given file and resaves it?
Any help is appreciated.
C
How is Biztalk picking up the file? Is a built-in workflow or custom adapter. Does it work again if you were to recopy the file into the source folder?
-
August 4th, 2009, 01:25 AM
#5
Re: Notepad Save Process
Originally Posted by vcdebugger
what is Biztalk ? Is it a editor just like notepad ?
Here is some info on BizTalk :
http://www.microsoft.com/biztalk/en/us/default.aspx
http://en.wikipedia.org/wiki/Microsoft_BizTalk_Server
http://www.microsoft.com/biztalk/en/us/overview.aspx
Originally Posted by Arjay
This is completely wrong. If you don't know the answer, please don't respond. It isn't fair to the OP to get incorrect advice.
He was just trying to help
-
August 4th, 2009, 02:06 AM
#6
Re: Notepad Save Process
Originally Posted by HanneSThEGreaT
He was just trying to help
Understood and that may have come out harsher than intended. I believe it's important that folks respond when they are pretty sure of the answer; otherwise, it's easy to lead folks down the wrong path (which can be a waste of time and frustrating to the OP).
-
August 4th, 2009, 04:09 AM
#7
Re: Notepad Save Process
Originally Posted by Arjay
This is completely wrong. If you don't know the answer, please don't respond. It isn't fair to the OP to get incorrect advice.
Sorry, That was just my guess as I am from VC++ background so thought of putting forward it.I wont respond hereafterwards if I dont know exactly.
-
August 4th, 2009, 04:19 AM
#8
Re: Notepad Save Process
Thanks HanneSThEGreaT for the links.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|