Announcement

Collapse
No announcement yet.

Has anyone gotten a compiled Dll to work with VB, VBA or VBSCRIPT?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    Also,

    The dll's will not register on Vista, I tried all I could to get it to register when calling DllRegisterServer. On XP it works, no problem at all. Can someone shed some light on that one?


    BTW - Using the simple steps provided I can get it to work in VB, VBA, and VBSCRIPT with out any problems on XP

    Thanks
    Last edited by Thomas Tierney; 27 Aug 2008, 03:00 PM.
    Sr. Software Development Engineer and Sr. Information Security Analyst,
    CEH, Digital Forensic Examiner

    Comment


    • #42
      Did you run the regsrv with admin rights?
      hellobasic

      Comment


      • #43
        I am not really good with VISTA, there is only one user as far as I can tell.. How does one get admin rights?

        Thanks
        Sr. Software Development Engineer and Sr. Information Security Analyst,
        CEH, Digital Forensic Examiner

        Comment


        • #44
          Usually you can use the right mouse menu and use something like "Run As.."
          A admin password is required during installation.
          hellobasic

          Comment


          • #45
            From what I can see, as long as you do not dimension the object in function where you are using it (IE DIM x as Object) then it will work. For me (with all the latest greatest updates for VB6, if I declare it as global, public or private above the code then I am good.

            IE

            Private x as mynewobject

            sub main
            msgbox x.foo
            end sub

            Otherwise it will always crash.

            Sub main
            dim x as new object
            set x = new object

            x.foo

            End sub
            Sr. Software Development Engineer and Sr. Information Security Analyst,
            CEH, Digital Forensic Examiner

            Comment

            Working...
            X