Click here to Skip to main content
16,013,489 members
Home / Discussions / C#
   

C#

 
GeneralRe: Launch an url from csharp Pin
Pete O'Hanlon6-Mar-08 4:54
mvePete O'Hanlon6-Mar-08 4:54 
GeneralRe: Launch an url from csharp Pin
baranils6-Mar-08 5:23
baranils6-Mar-08 5:23 
GeneralRe: Launch an url from csharp Pin
Pete O'Hanlon6-Mar-08 6:31
mvePete O'Hanlon6-Mar-08 6:31 
GeneralRe: Launch an url from csharp Pin
baranils6-Mar-08 7:09
baranils6-Mar-08 7:09 
GeneralRe: Launch an url from csharp Pin
Pete O'Hanlon6-Mar-08 22:00
mvePete O'Hanlon6-Mar-08 22:00 
GeneralRe: Launch an url from csharp Pin
led mike6-Mar-08 4:47
led mike6-Mar-08 4:47 
GeneralCrystal reports Pin
NewToAspDotNet6-Mar-08 2:16
NewToAspDotNet6-Mar-08 2:16 
GeneralRe: Crystal reports Pin
jchalfant6-Mar-08 3:14
jchalfant6-Mar-08 3:14 
I could have sworn CrystalDecisions.CrystalReports.Engine.PictureObject had some properties that allowed you to change the image. Either I'm mistaken or I'm looking at the wrong class.

One way I've done what you're asking for in the past is simply passing the image as a byte array inside a dataset.

First convert:
System.IO.MemoryStream _mystream = new System.IO.MemoryStream();<br />
_mypicture.Save(stream, System.Drawing.Imaging.ImageFormat.Jpeg);<br />
_mystream.Position = 0;<br />
byte[] _mydata = new byte[stream.Length];<br />
stream.Read(_mydata, 0, (int)stream.Length);


Then add to a data table in your dataset:
_mydataset._mydatatable.Rows[0]["PictureColumn"] = _mydata;

This assumes you're also binding your data through your app. If you're pulling straight from a database, just put the image in a datatable on the database and pull it from there.
GeneralRe: Crystal reports Pin
NewToAspDotNet6-Mar-08 3:57
NewToAspDotNet6-Mar-08 3:57 
GeneralRe: Crystal reports Pin
jchalfant6-Mar-08 5:10
jchalfant6-Mar-08 5:10 
GeneralCreate a class at runtime n access it immediately in client server application Pin
ankita luniya6-Mar-08 2:13
ankita luniya6-Mar-08 2:13 
GeneralRe: Create a class at runtime n access it immediately in client server application Pin
Himanshu Joshi6-Mar-08 2:47
Himanshu Joshi6-Mar-08 2:47 
GeneralRe: Create a class at runtime n access it immediately in client server application Pin
ankita luniya6-Mar-08 3:10
ankita luniya6-Mar-08 3:10 
GeneralRe: Create a class at runtime n access it immediately in client server application Pin
Himanshu Joshi6-Mar-08 3:13
Himanshu Joshi6-Mar-08 3:13 
GeneralRe: Create a class at runtime n access it immediately in client server application Pin
ankita luniya6-Mar-08 3:25
ankita luniya6-Mar-08 3:25 
GeneralRe: Create a class at runtime n access it immediately in client server application Pin
Himanshu Joshi6-Mar-08 3:33
Himanshu Joshi6-Mar-08 3:33 
GeneralRe: Create a class at runtime n access it immediately in client server application Pin
ankita luniya6-Mar-08 3:37
ankita luniya6-Mar-08 3:37 
Generalaccessing the Active Directory is giving an error message which is "Insufficient memory " Pin
rozhanin6-Mar-08 1:39
rozhanin6-Mar-08 1:39 
GeneralBuild An Assembly Pin
razanabanu6-Mar-08 1:19
razanabanu6-Mar-08 1:19 
GeneralRe: Build An Assembly Pin
Pete O'Hanlon6-Mar-08 1:28
mvePete O'Hanlon6-Mar-08 1:28 
GeneralRe: Build An Assembly Pin
razanabanu6-Mar-08 1:31
razanabanu6-Mar-08 1:31 
GeneralRe: Build An Assembly Pin
Pete O'Hanlon6-Mar-08 1:57
mvePete O'Hanlon6-Mar-08 1:57 
GeneralRe: Build An Assembly Pin
Lutosław6-Mar-08 6:54
Lutosław6-Mar-08 6:54 
GeneralDifferences in Invoke() Pin
stancrm6-Mar-08 0:46
stancrm6-Mar-08 0:46 
GeneralRe: Differences in Invoke() Pin
Robert Rohde6-Mar-08 1:24
Robert Rohde6-Mar-08 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.