原因:

在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 的頭像
    天才R

    做 個 有 趣 的 人

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