我使用ChilkatCrypt2在VB6中進行了加密。現在在.NET中,我想使用System.Security.Cryptography。 我用: Public Function Encripta(pTexto As String, pChave As String, pModo As Byte) As String
Dim vMD5 As New ChilkatCrypt2
好了,所以我升級VB6應用程序到VB.NET,我不確定如何在容器類的class_terminate分量現代化我的建築: Private Sub class_terminate()
If Not (colUserMappings Is Nothing) Then
Set colUserMappings = Nothing
End If
End Sub
問題是,這
我知道,在循環的背景下To在VB i = long1 To long2相當於是在C#(i = long1; i < long2; ++i),但我試圖找到它的等效在ReDim/System.Array.Resize()背景: VB6: ReDim indexCorr(LBound(fDefMatchs) to UBound(fDefMatchs) C#: System.Array.Resize(in
有誰知道是否有可能讀取C#中的隨機訪問文件? 我試圖複製在C#中的以下功能(從舊VB6應用程序) - Open File For Random Shared As #100 Len = Len(Record)
Get #100, DM, Record
Close #100
Public DM As Long
Public Record As DMrecord
Public T
我是從VB6的轉換一些代碼,VB.Net,它包含了一些出現: - Private m_myobj As ObjectContext
m_myobj = GetObjectContext()
' do stuff, then
m_myobj.SetAbort()
' or
m_myobj.SetComplete()
通過包括System.Data和System.Data.Entity
我最近將項目升級到了Visual Basic 2008,並且遇到以下錯誤,我無法識別,希望有人能幫到您: AxThreed.AxSSCommand is not defined
AxActiveInput.AxSSDropDownEdit is not defined
AxPVTEXT3DLib.AxPVText3D is not defined
任何想法這是什麼以及如何解決它?
我想知道如何將這一行代碼轉換爲vb.net。我將數據集更改爲記錄集,它確實是一個函數。當我轉換它給了我這個錯誤。數據集充滿了來自數據庫的值它就是這個「!」是主要的錯誤任何人都可以告訴我在vb6中意味着什麼?說出來的錯誤是「數據集可以不被索引,因爲沒有默認屬性」 'getting values from database procedure
If priRecordSet!Co