Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

46 azure build process missing type for vbproject unregistred microsoftvbeinteropdll #47

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified access-add-in/AccUnitLoader.accda
Binary file not shown.
204 changes: 204 additions & 0 deletions access-add-in/LocalTest.accdb.src/dbs-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
{
"Info": {
"Class": "clsDbProperty",
"Description": "Database Properties (DAO)"
},
"Items": {
"AccessVersion": {
"Value": "09.50",
"Type": 10
},
"AllowBuiltInToolbars": {
"Value": true,
"Type": 1
},
"AllowDatasheetSchema": {
"Value": true,
"Type": 1
},
"AllowFullMenus": {
"Value": true,
"Type": 1
},
"AllowShortcutMenus": {
"Value": true,
"Type": 1
},
"AllowSpecialKeys": {
"Value": true,
"Type": 1
},
"AllowToolbarChanges": {
"Value": true,
"Type": 1
},
"ANSI Query Mode": {
"Value": 0,
"Type": 4
},
"Auto Compact": {
"Value": 0,
"Type": 4
},
"Build": {
"Value": 720,
"Type": 4
},
"CheckTruncatedNumFields": {
"Value": 1,
"Type": 4
},
"Clear Cache on Close": {
"Value": 0,
"Type": 4
},
"CollatingOrder": {
"Value": 1033,
"Type": 3
},
"Connect": {
"Value": "",
"Type": 12
},
"Continuous Form Navigation Keys": {
"Value": 0,
"Type": 4
},
"DesignMasterID": {
"Value": "",
"Type": 15
},
"DesignWithData": {
"Value": true,
"Type": 1
},
"HasOfflineLists": {
"Value": 70,
"Type": 3
},
"Name": {
"Value": "rel:LocalTest.accdb",
"Type": 12
},
"NavPane Category": {
"Value": 0,
"Type": 4
},
"NavPane Closed": {
"Value": 0,
"Type": 4
},
"NavPane Sort By": {
"Value": 1,
"Type": 4
},
"NavPane View By": {
"Value": 0,
"Type": 4
},
"NavPane Width": {
"Value": 215,
"Type": 4
},
"Never Cache": {
"Value": 0,
"Type": 4
},
"Picture Property Storage Format": {
"Value": 0,
"Type": 4
},
"ProjVer": {
"Value": 142,
"Type": 3
},
"QueryTimeout": {
"Value": 60,
"Type": 3
},
"RecordsAffected": {
"Value": 0,
"Type": 4
},
"ReplicaID": {
"Value": "",
"Type": 15
},
"Show Navigation Pane Search Bar": {
"Value": 1,
"Type": 4
},
"Show Values in Indexed": {
"Value": 1,
"Type": 4
},
"Show Values in Non-Indexed": {
"Value": 1,
"Type": 4
},
"Show Values in Remote": {
"Value": 0,
"Type": 4
},
"Show Values Limit": {
"Value": 1000,
"Type": 4
},
"ShowDocumentTabs": {
"Value": true,
"Type": 1
},
"StartUpShowDBWindow": {
"Value": true,
"Type": 1
},
"StartUpShowStatusBar": {
"Value": true,
"Type": 1
},
"Theme Resource Name": {
"Value": "Office Theme",
"Type": 10
},
"Themed Form Controls": {
"Value": 1,
"Type": 4
},
"Transactions": {
"Value": true,
"Type": 1
},
"Updatable": {
"Value": true,
"Type": 1
},
"Use BigInt for linking and importing data": {
"Value": 0,
"Type": 4
},
"Use DateTime2 for linking and importing data": {
"Value": 0,
"Type": 4
},
"Use Microsoft Access 2007 compatible cache": {
"Value": 0,
"Type": 4
},
"UseAppIconForFrmRpt": {
"Value": false,
"Type": 1
},
"UseMDIMode": {
"Value": 0,
"Type": 2
},
"Version": {
"Value": "14.0",
"Type": 12
},
"WebDesignMode": {
"Value": 0,
"Type": 2
}
}
}
13 changes: 13 additions & 0 deletions access-add-in/LocalTest.accdb.src/documents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Info": {
"Class": "clsDbDocument",
"Description": "Database Documents Properties (DAO)"
},
"Items": {
"Databases": {
"SummaryInfo": {
"Title": "Database"
}
}
}
}
41 changes: 41 additions & 0 deletions access-add-in/LocalTest.accdb.src/modules/ExampleClass.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "ExampleClass"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'--------------
' ExampleClass
'--------------

Public Function Method1() As Long

Dim x As Long

'1 This line must be ignored.

1 x = 4 ' Line number with code

x = x + 1

2 Method1 = x

'3 This line must be ignored.

End Function

Public Function Method2() As Long

Dim x As Long

1 x = 1 + 1
2 Method2 = x

3 Exit Function

4 'This line will never be reached.

End Function
36 changes: 36 additions & 0 deletions access-add-in/LocalTest.accdb.src/modules/_Example.bas
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Attribute VB_Name = "_Example"
Option Compare Database
Option Explicit

Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As LongPtr)

Public Sub RunCodeCoverageTestExample()

'CodeCoverage config:
With CodeCoverageTest("ExampleClass")
'TestSuite:
With .AddByClassName("ExampleClassTests")
'Run tests:
.Run
End With

End With

'wait to see CodeCoverageTracker code:
'Sleep 5000

Debug.Print CodeCoverageTracker.GetReport("*", "Method2", True)

'Remove CodeCoverageTracker code:
CodeCoverageTracker.Clear "ExampleClass"

End Sub

Private Sub TestRef()

Dim r As Reference
For Each r In Application.References
Debug.Print r.Name, r.IsBroken, r.Guid
Next

End Sub
24 changes: 24 additions & 0 deletions access-add-in/LocalTest.accdb.src/nav-pane-groups.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Info": {
"Class": "clsDbNavPaneGroup",
"Description": "Navigation Pane Custom Groups"
},
"Items": {
"Categories": [
{
"Name": "Custom",
"Flags": 0,
"Position": 2,
"Groups": [
{
"Name": "Custom Group 1",
"Flags": 0,
"Position": 2,
"Objects": [
]
}
]
}
]
}
}
10 changes: 10 additions & 0 deletions access-add-in/LocalTest.accdb.src/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"Info": {
"Class": "clsDbProject",
"Description": "Project"
},
"Items": {
"FileFormat": 12,
"RemovePersonalInformation": false
}
}
Binary file not shown.
17 changes: 17 additions & 0 deletions access-add-in/LocalTest.accdb.src/vbe-project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Info": {
"Class": "clsDbVbeProject",
"Description": "VBE Project"
},
"Items": {
"Name": "LocalTests",
"Description": "",
"FileName": "LocalTest.accdb",
"HelpFile": "",
"HelpContextId": 0,
"ConditionalCompilationArguments": "",
"Mode": 0,
"Protection": 0,
"Type": 100
}
}
20 changes: 20 additions & 0 deletions access-add-in/LocalTest.accdb.src/vbe-references.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"Info": {
"Class": "clsDbVbeReference",
"Description": "VBE References"
},
"Items": {
"stdole": {
"GUID": "{00020430-0000-0000-C000-000000000046}",
"Version": "2.0"
},
"DAO": {
"GUID": "{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}",
"Version": "12.0"
},
"VBIDE": {
"GUID": "{0002E157-0000-0000-C000-000000000046}",
"Version": "5.3"
}
}
}
Loading
Loading