Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Coooz
  • Order by date
  1. Coooz

    How to transfer pictures from C# to VB6?

    strongm, this is a w e s o m e. Indeed, this is exactly what I wanted... and so elegant! Thank you so much! I'll have a happy weekend now. I hope you'll have one too. [bigsmile]
  2. Coooz

    How to transfer pictures from C# to VB6?

    Hi strongm, This looks not too difficult. Thanks for sharing all the details! One thingie though... I've never registered a VB6 dll; and VB6 dlls in the GAC won't work. Using regsvr32 looks fine initially and I can set a reference to vbDataTransfer without any problems, but then the code...
  3. Coooz

    How to transfer pictures from C# to VB6?

    Okay, yes that sounds plausible. Here's the C# format, easily translated indeed. And if you'll allow me... you can skip the "With... End With" in your function. [wink] public byte[] GetImageBytes(Image image) { var stream = new MemoryStream()...
  4. Coooz

    How to transfer pictures from C# to VB6?

    Hi strongm, Yes, I got it working! This is neat. It looks like I've said a little too much though when I mentioned "Currently I can store the picture data (a .NET Bitmap class) in memory and the address from which to start reading is known". - thinking a C# version of VarPtr would give me the...
  5. Coooz

    How to transfer pictures from C# to VB6?

    Hi everyone, I have to research the fastest way to transfer pictures from a C# application - which generates them - to a VB6 form... if this can be done at all. Animation by replacing must be possible, but the smoother the better. Storing the pictures somewhere on disk and loading them in VB6...

Part and Inventory Search

Back
Top