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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. URLDownloadToFile IBindStatusCallback And Visual Basic :-(

URLDownloadToFile IBindStatusCallback And Visual Basic :-(

Scheduled Pinned Locked Moved C / C++ / MFC
c++csshelptutorial
3 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.
  • B Offline
    B Offline
    Braulio Dez
    wrote on last edited by
    #1

    Hi, I wanted to develop a generic component to download files using URLDownloadToFile, just to make it even easier for VC++ and VBasic clients. The problem that I found is that... using IBindStatusCallback it's more or less easy to handle in C++, but I think handle this in Visual Basic it's a bit complicated ( for Vb Programmers :P). I thought about pass the handle of the window and one Message ID to my component and make a post message to that window... but it's a bit crappy and again Visual Basic guys won't know how to do it... use connection points for this case it's a good idea ? or again Visual Basic guys... thanks in advance Braulio

    D 1 Reply Last reply
    0
    • B Braulio Dez

      Hi, I wanted to develop a generic component to download files using URLDownloadToFile, just to make it even easier for VC++ and VBasic clients. The problem that I found is that... using IBindStatusCallback it's more or less easy to handle in C++, but I think handle this in Visual Basic it's a bit complicated ( for Vb Programmers :P). I thought about pass the handle of the window and one Message ID to my component and make a post message to that window... but it's a bit crappy and again Visual Basic guys won't know how to do it... use connection points for this case it's a good idea ? or again Visual Basic guys... thanks in advance Braulio

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      Well, VB programmers always have trouble with even adding two numbers. But VB maps connection points as events, so VBers can declare the variable WithEvents and handle the event, just like a button click. Any average VBer will be able to accomplish this. Trying to make bits uncopyable is like trying to make water not wet. -- Bruce Schneier By the way, dog_spawn isn't a nickname - it is my name with an underscore instead of a space. -- dog_spawn

      B 1 Reply Last reply
      0
      • D Daniel Turini

        Well, VB programmers always have trouble with even adding two numbers. But VB maps connection points as events, so VBers can declare the variable WithEvents and handle the event, just like a button click. Any average VBer will be able to accomplish this. Trying to make bits uncopyable is like trying to make water not wet. -- Bruce Schneier By the way, dog_spawn isn't a nickname - it is my name with an underscore instead of a space. -- dog_spawn

        B Offline
        B Offline
        Braulio Dez
        wrote on last edited by
        #3

        Hi Daniel, I have seen that if you develop an ActiveX control and place it with the designer you get for free the connection point in your "Event" combo, ... but how to do that if the COM component has no inteface at all ? Thanks for your info Braulio

        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