"John" <Jo**@discussions.microsoft.com> schrieb:
If I save the content of Test.txt as binary data into my database and read
it back from the database. Is that possible to use the Shell command to
launch Notepad (or other programs like Explorer) with binary stream?
That's not possible, except you provide your own text editing form in your
application. What you can do is extracting the binary data to a file, start
notepad, wait until it exits and read back the file's content. The listing
below will give you an idea of the necessary steps:
\\\
Imports System.Diagnostics
..
..
..
WriteDataToFile(...)
Dim p As Process = Process.Start(FileName)
p.WaitForExit()
p.Dispose()
ReadDataFromFile(...)
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>