FIX: ?????? ?? ???? DLLs ActiveX ?? ???? ??? ????? Project ????????

?????? ????????? ?????? ?????????
???? ???????: 192653 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

????? ?????? ????? Visual Basic ??? ???????? DLL ActiveX ?????? ????? ????? EXE ????????. ??????? EXE ????? ???? ???????? ????? DLL ActiveX. ??? ????? ???????? ??????? ?? ????? DLL ? EXE. ????? ??? EXE.

?? ????? ?????? ????? ????? DLL ActiveX ????? ????? ???????? ?????. ??? ???? ?? ????? ??????? ????? ????? DLL ActiveX ????? ??? ?? ????? ???? ????? ??????? ???????:
??????? ?? "0x6602c2c5 ??????? ??? ??????? ???"0x010b008c". ??????? ???? "?????".

?????

???? Microsoft ?? ??? ??? ?? ?????? Microsoft ??????? ?? ????? ??? ???????.

?? ????? ??? ??????? ?? Visual Studio 6.0 ?????? ????? ?????? Service Pack 3. ????? ?? ????????? ??? ??? ?????? Visual Studio ?????? ?????? ???????? ??????? ?? "????? ????? Microsoft:
194022INFO: Visual Studio 6.0 ???? ??? ? ?? ? ??? ? ?????

194295HOWTO: ????? ?? ???? ????? ??? ??????? Studio 6.0 ?????

??????? ????

???? ????? ??? ????? ??? ????? ???????? ???????? ???? IDE Visual Basic. ?? ???? ??????? ??? ????? ??????? ?? ???? IDE Visual Basic.

???? ??? ????? ????? ????? ????? ????? ???? ???? ???. ????? ?????? ??? ??????? ??? ????? ?????? DLL ActiveX ?? ???????? EXE ???????? ?? ??????? ??????? ?? ????? ??? ??????? ??? ??? ?????? ???????.

????? ????? ????? ??????

????? ??????? ????? ??? ?????? ???????? ActiveX DLL ???? ???? ????????? ?? ????? EXE ?????. ?? ??? ????? ??????? EXE ????? ?? ??? ???? ???????. ?? ??? ????? ????? ?????? ??????? ??? ??? ???? ???.

?????? ???????? DLL ActiveX ??????:
  1. ??? ????? ????? DLL ActiveX ???? ?? Visual Basic. ??? ????? Class1 ???? ???????.
  2. ??? ????????? ???????? ??????? ??? ???? ????????? ???????? Class1:
    Option Explicit
          Public Sub DoNothing()
    
          End Sub
    					
  3. ??? ??? ?????? ??????? ??? Class1.cls "?" ??? ??????? ?? ??? Project1.vbp.
  4. ????? ????? DLL ActiveX ??? ??????? ???????. ??? ????? Class1 ???? ???????. ????? ??? ?????? ??????? Class1 ?? ??? ??????? ?? ????? ???? ????? ????? Class1 ??????? Project1.vbp DLL ActiveX ??????? ???????.
  5. ??? ??? ??????? Project2.vbp.
  6. ??? ???????? 4 ?5 ?????? ??? ?????? DLL ActiveX ???? ?? ??? ?????? ??????? Class1 ??? ??????? ???????. ???? ??? ???????? Project3.vbp ???? Project8.vbp.

    ??? ??? ?????? ?????? ????? ?? ???????? DLL ActiveX ?????? ??? ?? Project1.vbp Project8.vbp ???. ???? ?? ????? DLL ActiveX ??? Class1 ??? ?????? ??????? ??????? ?? Project1.vbp.

    ?????? ??????? ?? ????? ????? EXE ????? ?????? ???????? DLL ActiveX ??????.
?????? ????? EXE ?????:
  1. ????? ????? EXE ????? ???? ??? ??? ???????? ??????? ???? ????? ??? ?????? DLL ActiveX ??????. ??? ????? Form1 ???? ???????.
  2. ????? CommandButton Form1.
  3. ??? ????????? ???????? ??????? ??? ???? ????????? ???????? ??????? Form1:
    
          Option Explicit
    
          Private Sub Command1_Click()
             Dim o(8) As Object
             Dim i As Integer
             Dim strProgID As String
    
             For i = 1 To 8
                strProgID = "Project" & i & ".Class1"
                Set o(i) = CreateObject(strProgID)
                o(i).donothing
                Set o(i) = Nothing
             Next
             MsgBox "Done"
          End Sub
    					
  4. ??? ??????? Project9.vbp.
  5. ????? Project9.vbp ???? ???? ???????. ?? "?????? ?????????" ???? ??? ?????? ?????? ??? Project9.vbp ??? ?? ???? ??? ????? ?? "???? ?????". Project9.vbp ???? ?? ?????? ?????? ?? "?????? ????????".
  6. ???? ??????? F5 ???? ????? ??????? ?? IDE. ???? ??? ???? Command1 ?? Form1 ??? ???? ??? ???? ??? ???? ???? ????.
  7. ????? ?????? Project.
  8. ????? Project9.exe ???? IDE. ???? ????? Form1. ???? ??? Command1. ???? ???? ?????. ???? ??? ????? ?????? ???? ???????. ???? ??? Command1 ??? ????. ?????? ???? ??? ?? ????? ?? ???? ???? ??????? ???????:
    ??????? ?? "0x6602c2c5 ??????? ??? ??????? ???"0x010b008c". ??????? ???? "?????".

???????

???? ???????: 192653 - ????? ??? ??????: 24/???? ??????/1435 - ??????: 2.1
????? ???
  • Microsoft Visual Basic 6.0 Learning Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
????? ??????: 
kbnosurvey kbarchive kbmt kbbug kbdll kbfix kbide kbvs600sp1fix kbvs600sp2fix kbvs600sp3fix KB192653 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????192653

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com