Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. question about calling the function OleCreatePictureIndirect in VB.Net

question about calling the function OleCreatePictureIndirect in VB.Net

Scheduled Pinned Locked Moved Visual Basic
helpquestioncsharpannouncement
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mwolf122
    wrote on last edited by
    #1

    hello, i have called the function OleCreatePictureIndirect correctly in Vb6, but after upgrading to VB.Net, the calling of the function doesnt works. with the returned message, no argument is given for parameter "lpPictDesc" from "Private Function OleCreatePictureIndirect(lpPictDesc As ADV.modWindowing.PictDesc, riid As ADV.modWindowing.Guid, fPictureOwnsHandle As Integer, ipic As Object) As Integer" (translated from german-version, maybe not exactly) by the way, i didn't change any parameters for it by calling the function. does anyone can help me to solve the problem? thx

    D 1 Reply Last reply
    0
    • M mwolf122

      hello, i have called the function OleCreatePictureIndirect correctly in Vb6, but after upgrading to VB.Net, the calling of the function doesnt works. with the returned message, no argument is given for parameter "lpPictDesc" from "Private Function OleCreatePictureIndirect(lpPictDesc As ADV.modWindowing.PictDesc, riid As ADV.modWindowing.Guid, fPictureOwnsHandle As Integer, ipic As Object) As Integer" (translated from german-version, maybe not exactly) by the way, i didn't change any parameters for it by calling the function. does anyone can help me to solve the problem? thx

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I have no idea if these will help you, but you might want to check out http://www.mztools.com/articles/2005/MZ007.htm[^] and http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21818045.html[^]. You could probably fashion something out of the code examples in those posts. Dave Kreskowiak Microsoft MVP - Visual Basic

      M 1 Reply Last reply
      0
      • D Dave Kreskowiak

        I have no idea if these will help you, but you might want to check out http://www.mztools.com/articles/2005/MZ007.htm[^] and http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21818045.html[^]. You could probably fashion something out of the code examples in those posts. Dave Kreskowiak Microsoft MVP - Visual Basic

        M Offline
        M Offline
        mwolf122
        wrote on last edited by
        #3

        Thanks Dave. I have tried with the code in the first link (mztools), but it still doesnt work, with the same returned message. Anyone knows why? Anyhelp will be great.

        D 1 Reply Last reply
        0
        • M mwolf122

          Thanks Dave. I have tried with the code in the first link (mztools), but it still doesnt work, with the same returned message. Anyone knows why? Anyhelp will be great.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          What are you ultimately trying to do with this code?? Dave Kreskowiak Microsoft MVP - Visual Basic

          M 1 Reply Last reply
          0
          • D Dave Kreskowiak

            What are you ultimately trying to do with this code?? Dave Kreskowiak Microsoft MVP - Visual Basic

            M Offline
            M Offline
            mwolf122
            wrote on last edited by
            #5

            I want to get a Bitmap-picture in a pictruebox. The original picture is written in DICOM form, firstly i have already convert the DICOM into Bitmap, now i have to get the Bitmap using this function.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups