7/19/2023 0 Comments Winmerge reviewUsing output As New IO.StreamWriter(fileDst)įor Each table As DataRow In Query("Select name from sqlite_master where type = 'table' order by name") ![]() Using connection As New SQLite.SQLiteConnection("Data Source=" + fileSrc + " Version=3 DateTimeFormat=ISO8601 ") Public Function UnpackFile(ByVal fileSrc As String, ByVal fileDst As String, ByRef bChanged As Boolean, ByRef subcode As Long) As Boolean Public ReadOnly Property LastErrorString() As String Public ReadOnly Property LastErrorNumber() As Long Public ReadOnly Property PluginFileFilters() As String PluginDescription = "Display Sqlite Databases in tab-delimited format" Public ReadOnly Property PluginDescription() As String Public ReadOnly Property PluginEvent() As String ' registered in the COM registry and cannot be created ![]() ' with no parameters, otherwise, the class will not be ' A creatable COM class must have a Public Sub New() Public Const EventsId As String = "8f4f9c82-6ba3-4c22-8814-995ca1050de6"ĭim _connection As SQLite.SQLiteConnection ' clients will no longer be able to access the class. ' These GUIDs provide the COM identity for this class In desperation, I tried looking at the VB DLL using DLL Export Viewer, but it did not show any exported functions. However, it still does not appear in WinMerge as a loaded plugin. However, I think VB.Net is supposed to do all that stuff for you, so I rewrote the class in VB.Net, using Project/Add New/COM class. I figured I must not have put in the right COM attributes (I just put ComVisible(true) on the class). But I'm not very familiar with writing COM-visible. I have written code in C# to do the conversion, but I can't seem to make it appear as a WinMerge plugin. I would like to write a WinMerge plugin to translate SQLite databases to text, so I can use WinMerge to compare databases.
0 Comments
Leave a Reply. |