Ed
Tue Feb 10 01:34:28 CST 2004
Try creating a new class library in C# with that code and consume it with
your VB app.
"Muhammad Arif" <aliarifpk@hotmail.com> wrote in message
news:979367fe.0402092145.60698158@posting.google.com...
> Dear,
> The sample code on
http://www.opennetcf.org/Articles/GdiObjects.asp is
> for C# but I need the sample code for VB.Net.
>
> Arif
>
>
>
> "Ed Kaim [MSFT]" <edkaim@online.microsoft.com> wrote in message
news:<O#V3y5z7DHA.3360@tk2msftngp13.phx.gbl>...
> > There is also an implementation at
> >
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=205ea6e8-cec6-4a84-8e77-db4f65c2731c.
> > It's not as fast as the P/Invoke method, but is completely in managed
code.
> >
> > "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
> > news:uqL%23g9w7DHA.3860@tk2msftngp13.phx.gbl...
> > > Alex Feinman wrote an article on working with bitmaps by working with
> > their
> > > internals (no Save method is directly supported) - here:-
> > >
http://www.opennetcf.org/Articles/GdiObjects.asp
> > > There is also a sample available here:-
> > >
> >
http://www.microsoft.com/downloads/details.aspx?familyid=554acd82-d87d-43c6-a984-8c625387b198&displaylang=en
> > > which describes saving a bitmap from the contents of a screen control.
> > >
> > > Peter
> > >
> > > --
> > > Peter Foot
> > > Windows Embedded MVP
> > > OpenNETCF.org Senior Advisor
> > > www.inthehand.com | www.opennetcf.org
> > >
> > > "Muhammad Arif" <aliarifpk@hotmail.com> wrote in message
> > > news:979367fe.0402090432.1bcb530a@posting.google.com...
> > > > Hi,
> > > > I have created a .BMP using Bitmap object of dot NET. This image
might
> > > > be displayed in image box but I want to save this BMP file as well.
If
> > > > some one have done this thing, please provide me the code.
> > > >
> > > > Best Regards,
> > > > Muhammad Arif
> > >
> > >