Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / April 2005

Tip: Looking for answers? Try searching our database.

Starting an Application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fred Herring - 27 Apr 2005 21:37 GMT
I am storing application data as a byte array in my database.  In this case
the application is a Media Player file of the form c:\medialfiles\file1.wmv.  
I guess the question could also apply to application files of form .doc or
.xls, etc.  What I would like to know is that when I recover the byte array
from my server containing the serialized file contents, do I have to stream
back to a file on disk to enable the parent application to run it or can I
somehow avoid disk operation and activate the application form the file
contents in memory in the form of a memorystream or some other in memory
format.  Can I avoid having to stream my application file back to disk and
still have my parent application load it?

Thanks,
Fred Herring
Norman Yuan - 28 Apr 2005 00:50 GMT
I think it is all depending on how the target app is designed (if you can
communicate with it at runtime and if it provides a way to accept the input
format you want to. For example, for ActiveX exe, such as Word, you can
start it from your app through automation, and have it to open a file.
Should Word have an API that allow to open a document from a stream, then
you should be able to feed the running Word a stream (but the fact is Word
does not have such API, as you know).

If you design the target app, I'd imagine you can do that with .NET
remoting, so that other app can feed this target app data in your preferred
format: memory stream, DataSet, custom class...

> I am storing application data as a byte array in my database.  In this case
> the application is a Media Player file of the form c:\medialfiles\file1.wmv.
[quoted text clipped - 9 lines]
> Thanks,
> Fred Herring

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.