PC Review


Reply
Thread Tools Rate Thread

Control for show text with images

 
 
Vitaly Sedov
Guest
Posts: n/a
 
      17th Mar 2005
Hello!

I am writing an application for pocket pc 2003 using C#.
I need to show text with images in the text. Which user control I need to do
this?

Vitaly


 
Reply With Quote
 
 
 
 
Sergey Bogdanov
Guest
Posts: n/a
 
      17th Mar 2005
What about using of PictureBox and Label?

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com


Vitaly Sedov wrote:
> Hello!
>
> I am writing an application for pocket pc 2003 using C#.
> I need to show text with images in the text. Which user control I need to do
> this?
>
> Vitaly
>
>

 
Reply With Quote
 
Vitaly Sedov
Guest
Posts: n/a
 
      17th Mar 2005
Good idea, but i need to insert images in the middle of the text.
For example:

this is a first line of text
this is a text <image> and
text again.


Like you can do in word

"Sergey Bogdanov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What about using of PictureBox and Label?
>
> Best regards,
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> Vitaly Sedov wrote:
> > Hello!
> >
> > I am writing an application for pocket pc 2003 using C#.
> > I need to show text with images in the text. Which user control I need

to do
> > this?
> >
> > Vitaly
> >
> >



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      17th Mar 2005
You could build it as HTML and use the HTMLViewer / WebBrowser control -
www.opennetcf.org/sdf/

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://blog.opennetcf.org/pfoot/

"Vitaly Sedov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Good idea, but i need to insert images in the middle of the text.
> For example:
>
> this is a first line of text
> this is a text <image> and
> text again.
>
>
> Like you can do in word
>
> "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> What about using of PictureBox and Label?
>>
>> Best regards,
>> Sergey Bogdanov
>> http://www.sergeybogdanov.com
>>
>>
>> Vitaly Sedov wrote:
>> > Hello!
>> >
>> > I am writing an application for pocket pc 2003 using C#.
>> > I need to show text with images in the text. Which user control I need

> to do
>> > this?
>> >
>> > Vitaly
>> >
>> >

>
>



 
Reply With Quote
 
Sergey Bogdanov
Guest
Posts: n/a
 
      17th Mar 2005
If your text is static and will never be changed during application
execution then just split your text on different labels that will gather
round image. If text can be changed then you should consider Peter's
suggestion to implement it as HTML text.

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com


Vitaly Sedov wrote:
> Good idea, but i need to insert images in the middle of the text.
> For example:
>
> this is a first line of text
> this is a text <image> and
> text again.
>
>
> Like you can do in word
>
> "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>What about using of PictureBox and Label?
>>
>>Best regards,
>>Sergey Bogdanov
>>http://www.sergeybogdanov.com
>>
>>
>>Vitaly Sedov wrote:
>>
>>>Hello!
>>>
>>>I am writing an application for pocket pc 2003 using C#.
>>>I need to show text with images in the text. Which user control I need

>
> to do
>
>>>this?
>>>
>>>Vitaly
>>>
>>>

>
>
>

 
Reply With Quote
 
McFar
Guest
Posts: n/a
 
      17th Mar 2005
Try to look at
http://www.labitweb.com/raidpage.aspx
may be u will get this there...

"Vitaly Sedov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello!
>
> I am writing an application for pocket pc 2003 using C#.
> I need to show text with images in the text. Which user control I need to

do
> this?
>
> Vitaly
>
>



 
Reply With Quote
 
Vitaly Sedov
Guest
Posts: n/a
 
      17th Mar 2005
Thank you guys! I already thought about HTMLViewer. Actually I writing
application for testing people. So, I need control for show each question
from SQL CE database. Each question can contain some pictures in text. If I
use HTMLViewer I'll need to store pictures and HTML text as files on disk
(memory) and point HTMLViewer to this location. It will be better if I have
just some control to show text and pictures from memory (not from files).
I'll try to find control

Thank you,
Vitaly Sedov

"Sergey Bogdanov" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> If your text is static and will never be changed during application
> execution then just split your text on different labels that will gather
> round image. If text can be changed then you should consider Peter's
> suggestion to implement it as HTML text.
>
> Best regards,
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> Vitaly Sedov wrote:
> > Good idea, but i need to insert images in the middle of the text.
> > For example:
> >
> > this is a first line of text
> > this is a text <image> and
> > text again.
> >
> >
> > Like you can do in word
> >
> > "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >
> >>What about using of PictureBox and Label?
> >>
> >>Best regards,
> >>Sergey Bogdanov
> >>http://www.sergeybogdanov.com
> >>
> >>
> >>Vitaly Sedov wrote:
> >>
> >>>Hello!
> >>>
> >>>I am writing an application for pocket pc 2003 using C#.
> >>>I need to show text with images in the text. Which user control I need

> >
> > to do
> >
> >>>this?
> >>>
> >>>Vitaly
> >>>
> >>>

> >
> >
> >



 
Reply With Quote
 
Mark Arteaga
Guest
Posts: n/a
 
      17th Mar 2005
Sounds like the text will not be changed by the user and only will be
viewed. If this is correect then I would draw the text and the pictures
manually in a panel or something similar.


--
Mark Arteaga
..NET Compact Framework MVP
http://www.neotericsdc.com | http://blog.markarteaga.com




"Vitaly Sedov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank you guys! I already thought about HTMLViewer. Actually I writing
> application for testing people. So, I need control for show each question
> from SQL CE database. Each question can contain some pictures in text. If
> I
> use HTMLViewer I'll need to store pictures and HTML text as files on disk
> (memory) and point HTMLViewer to this location. It will be better if I
> have
> just some control to show text and pictures from memory (not from files).
> I'll try to find control
>
> Thank you,
> Vitaly Sedov
>
> "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> If your text is static and will never be changed during application
>> execution then just split your text on different labels that will gather
>> round image. If text can be changed then you should consider Peter's
>> suggestion to implement it as HTML text.
>>
>> Best regards,
>> Sergey Bogdanov
>> http://www.sergeybogdanov.com
>>
>>
>> Vitaly Sedov wrote:
>> > Good idea, but i need to insert images in the middle of the text.
>> > For example:
>> >
>> > this is a first line of text
>> > this is a text <image> and
>> > text again.
>> >
>> >
>> > Like you can do in word
>> >
>> > "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> >
>> >>What about using of PictureBox and Label?
>> >>
>> >>Best regards,
>> >>Sergey Bogdanov
>> >>http://www.sergeybogdanov.com
>> >>
>> >>
>> >>Vitaly Sedov wrote:
>> >>
>> >>>Hello!
>> >>>
>> >>>I am writing an application for pocket pc 2003 using C#.
>> >>>I need to show text with images in the text. Which user control I need
>> >
>> > to do
>> >
>> >>>this?
>> >>>
>> >>>Vitaly
>> >>>
>> >>>
>> >
>> >
>> >

>
>



 
Reply With Quote
 
Vitaly Sedov
Guest
Posts: n/a
 
      17th Mar 2005
Thank you for response,
but it's not so easy to draw text with images manually, becouse images can
be with different size and text should be well alligned.
So, I f we have image on second string and image height is bigger than one
string, we need additional space between strings and so on...

Thank you, Mark

"Mark Arteaga <MVP>" <marteaga_[at]_neotericsdc_[dot]_com> wrote in message
news:(E-Mail Removed)...
> Sounds like the text will not be changed by the user and only will be
> viewed. If this is correect then I would draw the text and the pictures
> manually in a panel or something similar.
>
>
> --
> Mark Arteaga
> .NET Compact Framework MVP
> http://www.neotericsdc.com | http://blog.markarteaga.com
>
>
>
>
> "Vitaly Sedov" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Thank you guys! I already thought about HTMLViewer. Actually I writing
> > application for testing people. So, I need control for show each

question
> > from SQL CE database. Each question can contain some pictures in text.

If
> > I
> > use HTMLViewer I'll need to store pictures and HTML text as files on

disk
> > (memory) and point HTMLViewer to this location. It will be better if I
> > have
> > just some control to show text and pictures from memory (not from

files).
> > I'll try to find control
> >
> > Thank you,
> > Vitaly Sedov
> >
> > "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> >> If your text is static and will never be changed during application
> >> execution then just split your text on different labels that will

gather
> >> round image. If text can be changed then you should consider Peter's
> >> suggestion to implement it as HTML text.
> >>
> >> Best regards,
> >> Sergey Bogdanov
> >> http://www.sergeybogdanov.com
> >>
> >>
> >> Vitaly Sedov wrote:
> >> > Good idea, but i need to insert images in the middle of the text.
> >> > For example:
> >> >
> >> > this is a first line of text
> >> > this is a text <image> and
> >> > text again.
> >> >
> >> >
> >> > Like you can do in word
> >> >
> >> > "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
> >> > news:(E-Mail Removed)...
> >> >
> >> >>What about using of PictureBox and Label?
> >> >>
> >> >>Best regards,
> >> >>Sergey Bogdanov
> >> >>http://www.sergeybogdanov.com
> >> >>
> >> >>
> >> >>Vitaly Sedov wrote:
> >> >>
> >> >>>Hello!
> >> >>>
> >> >>>I am writing an application for pocket pc 2003 using C#.
> >> >>>I need to show text with images in the text. Which user control I

need
> >> >
> >> > to do
> >> >
> >> >>>this?
> >> >>>
> >> >>>Vitaly
> >> >>>
> >> >>>
> >> >
> >> >
> >> >

> >
> >

>
>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      18th Mar 2005
Using the HTMLViewer / WebBrowser control you can load the html from a
database by writing to the Source property. However your images would have
to be stored as files either permanently or on the fly as you read each
section out from the database to a temporary directory.

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://blog.opennetcf.org/pfoot/

"Vitaly Sedov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank you for response,
> but it's not so easy to draw text with images manually, becouse images can
> be with different size and text should be well alligned.
> So, I f we have image on second string and image height is bigger than one
> string, we need additional space between strings and so on...
>
> Thank you, Mark
>
> "Mark Arteaga <MVP>" <marteaga_[at]_neotericsdc_[dot]_com> wrote in
> message
> news:(E-Mail Removed)...
>> Sounds like the text will not be changed by the user and only will be
>> viewed. If this is correect then I would draw the text and the pictures
>> manually in a panel or something similar.
>>
>>
>> --
>> Mark Arteaga
>> .NET Compact Framework MVP
>> http://www.neotericsdc.com | http://blog.markarteaga.com
>>
>>
>>
>>
>> "Vitaly Sedov" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Thank you guys! I already thought about HTMLViewer. Actually I writing
>> > application for testing people. So, I need control for show each

> question
>> > from SQL CE database. Each question can contain some pictures in text.

> If
>> > I
>> > use HTMLViewer I'll need to store pictures and HTML text as files on

> disk
>> > (memory) and point HTMLViewer to this location. It will be better if I
>> > have
>> > just some control to show text and pictures from memory (not from

> files).
>> > I'll try to find control
>> >
>> > Thank you,
>> > Vitaly Sedov
>> >
>> > "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
>> > news:%(E-Mail Removed)...
>> >> If your text is static and will never be changed during application
>> >> execution then just split your text on different labels that will

> gather
>> >> round image. If text can be changed then you should consider Peter's
>> >> suggestion to implement it as HTML text.
>> >>
>> >> Best regards,
>> >> Sergey Bogdanov
>> >> http://www.sergeybogdanov.com
>> >>
>> >>
>> >> Vitaly Sedov wrote:
>> >> > Good idea, but i need to insert images in the middle of the text.
>> >> > For example:
>> >> >
>> >> > this is a first line of text
>> >> > this is a text <image> and
>> >> > text again.
>> >> >
>> >> >
>> >> > Like you can do in word
>> >> >
>> >> > "Sergey Bogdanov" <(E-Mail Removed)> wrote in message
>> >> > news:(E-Mail Removed)...
>> >> >
>> >> >>What about using of PictureBox and Label?
>> >> >>
>> >> >>Best regards,
>> >> >>Sergey Bogdanov
>> >> >>http://www.sergeybogdanov.com
>> >> >>
>> >> >>
>> >> >>Vitaly Sedov wrote:
>> >> >>
>> >> >>>Hello!
>> >> >>>
>> >> >>>I am writing an application for pocket pc 2003 using C#.
>> >> >>>I need to show text with images in the text. Which user control I

> need
>> >> >
>> >> > to do
>> >> >
>> >> >>>this?
>> >> >>>
>> >> >>>Vitaly
>> >> >>>
>> >> >>>
>> >> >
>> >> >
>> >> >
>> >
>> >

>>
>>

>
>



 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My emails donot show the images inline with the text, how do i chg =?Utf-8?B?cmViYnJpZA==?= Microsoft Outlook Discussion 3 9th May 2006 03:59 PM
show subitem text of listview control in tooltip Lucky Microsoft C# .NET 0 22nd Dec 2005 08:04 AM
Report 'Text Box Control Does Not Show All Information =?Utf-8?B?Qmx1ZXQwMHRo?= Microsoft Access Reports 7 16th Nov 2005 03:21 AM
show text + images (smilies) Dirk Reske Microsoft C# .NET 1 21st Sep 2005 02:16 PM
Need create small text & images files: any text editor that store images in .jpg format ? Simone Murdock Freeware 3 7th Aug 2005 05:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 PM.