Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi!

 

I would like to know how can I insert pictures into a win form during runtime.

I guess I need to use OLE picture command and than to add some code to it in run time, but I'm not sure, and I conuldn't find any place to put code in.

Thanks!

 

Tom.

Posted
What kind of pictures and where would they be comming from? If it is simply a file on disk then you could load the file into an image object and assign that to the picturebox control's image property.

 

Hi!

 

These files are located in the local hard-drive. The reason why I can't just choose them in the picturebox control, is that I want to create it in run-time. As far as I know, Crystal lets you choose files only in design time, so this is not what I need... moreover, I don't know the file names in advanced, so I my program go and search for relevant files and then print them (JPG pictures).

Thanks,

Tom.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...