原因:

在VB.NET 2005中使用VB6.GetPath時導致error BC30451: Name 'VB6' is not declared

        Dim proc2 As New Process
        proc2 = Process.Start(VB6.GetPath & "\\RFTOOL.exe", "EnterTestMode")

解法:

STEP1:

 

 

 

STEP2:

 

 

STEP3. import Microsoft.VisualBasic.Compatibility

arrow
arrow
    全站熱搜

    天才R 發表在 痞客邦 留言(0) 人氣()