PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Custom File Types

Reply

Custom File Types

 
Thread Tools Rate Thread
Old 03-10-2005, 05:13 PM   #1
Mustafa Rabie
Guest
 
Posts: n/a
Default Custom File Types


Hi all,

i working on an application where i want to create my own file that holds a
jpg image and an xml file holding some fileds abt this image. Any
suggestions on how this could be done?

thanks a lot for ur help
appreciated
mustafa


  Reply With Quote
Old 05-10-2005, 09:06 PM   #2
Paul G. Tobey [eMVP]
Guest
 
Posts: n/a
Default Re: Custom File Types

There are too many ways to do that. You could encode the binary data as a
field in your XML file, you could use COM structured file storage to split
the XML from the binary data, etc., etc., etc.

Paul T.

"Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
news:%23EBHT0CyFHA.3188@TK2MSFTNGP14.phx.gbl...
> Hi all,
>
> i working on an application where i want to create my own file that holds
> a jpg image and an xml file holding some fileds abt this image. Any
> suggestions on how this could be done?
>
> thanks a lot for ur help
> appreciated
> mustafa
>



  Reply With Quote
Old 07-10-2005, 01:35 AM   #3
Mustafa Rabie
Guest
 
Posts: n/a
Default Re: Custom File Types

what's the easiest and fastest way to do that?

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:OZbEN$dyFHA.2064@TK2MSFTNGP09.phx.gbl...
> There are too many ways to do that. You could encode the binary data as a
> field in your XML file, you could use COM structured file storage to split
> the XML from the binary data, etc., etc., etc.
>
> Paul T.
>
> "Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
> news:%23EBHT0CyFHA.3188@TK2MSFTNGP14.phx.gbl...
>> Hi all,
>>
>> i working on an application where i want to create my own file that holds
>> a jpg image and an xml file holding some fileds abt this image. Any
>> suggestions on how this could be done?
>>
>> thanks a lot for ur help
>> appreciated
>> mustafa
>>

>
>



  Reply With Quote
Old 07-10-2005, 05:53 PM   #4
Paul G. Tobey [eMVP]
Guest
 
Posts: n/a
Default Re: Custom File Types

To do which? XML? Read the XML stuff in the VS.NET help. COM? Read the
help on structured file storage. There's no right answer to your question,
just a list of possible options. Your application requirements will
determine what the right strategy is.

Paul T.

"Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
news:e1Iix6syFHA.1040@TK2MSFTNGP14.phx.gbl...
> what's the easiest and fastest way to do that?
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:OZbEN$dyFHA.2064@TK2MSFTNGP09.phx.gbl...
>> There are too many ways to do that. You could encode the binary data as
>> a field in your XML file, you could use COM structured file storage to
>> split the XML from the binary data, etc., etc., etc.
>>
>> Paul T.
>>
>> "Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
>> news:%23EBHT0CyFHA.3188@TK2MSFTNGP14.phx.gbl...
>>> Hi all,
>>>
>>> i working on an application where i want to create my own file that
>>> holds a jpg image and an xml file holding some fileds abt this image.
>>> Any suggestions on how this could be done?
>>>
>>> thanks a lot for ur help
>>> appreciated
>>> mustafa
>>>

>>
>>

>
>



  Reply With Quote
Old 07-10-2005, 06:51 PM   #5
Mustafa Rabie
Guest
 
Posts: n/a
Default Re: Custom File Types

great thanks a lot for your help really appreciated
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:ubQKzc1yFHA.2212@TK2MSFTNGP15.phx.gbl...
> To do which? XML? Read the XML stuff in the VS.NET help. COM? Read the
> help on structured file storage. There's no right answer to your
> question, just a list of possible options. Your application requirements
> will determine what the right strategy is.
>
> Paul T.
>
> "Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
> news:e1Iix6syFHA.1040@TK2MSFTNGP14.phx.gbl...
>> what's the easiest and fastest way to do that?
>>
>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
>> wrote in message news:OZbEN$dyFHA.2064@TK2MSFTNGP09.phx.gbl...
>>> There are too many ways to do that. You could encode the binary data as
>>> a field in your XML file, you could use COM structured file storage to
>>> split the XML from the binary data, etc., etc., etc.
>>>
>>> Paul T.
>>>
>>> "Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
>>> news:%23EBHT0CyFHA.3188@TK2MSFTNGP14.phx.gbl...
>>>> Hi all,
>>>>
>>>> i working on an application where i want to create my own file that
>>>> holds a jpg image and an xml file holding some fileds abt this image.
>>>> Any suggestions on how this could be done?
>>>>
>>>> thanks a lot for ur help
>>>> appreciated
>>>> mustafa
>>>>
>>>
>>>

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off