Skip to content

Commit 4b49382

Browse files
committed
Camtasia and Visual Studio added
1 parent b3e33f7 commit 4b49382

12 files changed

+111
-99
lines changed

Midas Civil/Keyboard Shortcuts.pdf

-367 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,100 @@
1-
### Check
2-
3-
- [ ] First Install New Version on Secondary PC
4-
- [ ] Check Sample Project Building and Debugging
5-
- [ ] Check Main Project Build
6-
- [ ] Check All Extension
7-
- [ ] Update Visual Studio on Main
8-
9-
<aside>
10-
⚠️ Latest Stable Version 16.4.10
11-
12-
</aside>
13-
14-
### Steps for Semi Clean Installation
15-
16-
- This for case when there's problem with VSTO Debugging like unable to retrieve value for name range or datarange but it is working in release build
17-
- Uninstall visual studio using visual studio installer, keep Installer
18-
- Clean Up Visual Studio Files from Appdata>Local>Microsoft>(Visual Studio+Visual Studio Service)
19-
- Reinstall Visual studio with visual studio installer
20-
- Test with sample excel workbook project
21-
22-
### Steps for Clean Installation
23-
24-
- Uninstall visual Studio using Visual studio installer
25-
- Uninstall Visual Studio Installer using BC installer
26-
- Uninstall office 365 using BC installer
27-
- Clean Up Visual Studio Files from Appdata>Local>Microsoft>(Visual Studio+Visual Studio Service)
28-
- Restart PC
29-
- Install 64bit Version of Office 365 using Latest Installer
30-
- Install Visual Studio using this [Link](https://docs.microsoft.com/en-us/visualstudio/releases/2019/history) (Latest working Version 16.4.10 download Link with Progessional tag)
31-
- Install Visual Studio Installer, Close it after completion and Reopen for New Updates
32-
- Install Visual Studio Community 2019 with (Desktop+Office) Development Setup Use Default Setting
33-
- After Installation Complete
34-
- Create new Console App with .net framework for Testing
35-
- Create New Excel Document Level Addin for Testing
36-
- Test Vsto Setup [Link](https://nodesauto-my.sharepoint.com/personal/vivek_nodesautomations_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fvivek%5Fnodesautomations%5Fcom%2FDocuments%2FRepos%2FExcelWorkbook%5FCSharp%5FSample)
37-
- Reopen Visual Studio Update it's core extension like Live Sharing
38-
- Install All Visual Studio extension except Roslynator
39-
- Restart Visual Studio to Install Roslynator
40-
- Test Rolsynator with Sample Console App
41-
42-
### Sample Code
43-
44-
```csharp
45-
using System.Diagnostics;
46-
using Microsoft.Office.Tools.Ribbon;
47-
using ExcelModel;
48-
using Microsoft.Office.Interop.Excel;
49-
50-
namespace ExcelWorkbook1
51-
{
52-
public partial class Ribbon1
53-
{
54-
private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
55-
{
56-
Globals.Ribbons.Ribbon1.tab1.RibbonUI.ActivateTab("tab1");
57-
Debug.WriteLine(Globals.Sheet1.test.Value2);
58-
59-
int rows = Globals.Sheet1.tblTest.DataBodyRange.Rows.Count;
60-
int cols= Globals.Sheet1.tblTest.DataBodyRange.Columns.Count;
61-
for (int i = 0; i < rows; i++)
62-
{
63-
string str =default;
64-
for (int j = 0; j < cols; j++)
65-
{
66-
Range rng = Globals.Sheet1.tblTest.DataBodyRange.get_Range("A1").get_Offset(i, j);
67-
str += System.Convert.ToString(rng.Value)+",";
68-
}
69-
Debug.WriteLine(str);
70-
}
71-
}
72-
73-
private void button1_Click(object sender, RibbonControlEventArgs e)
74-
{
75-
var _TempNameRange = new NamedRange();
76-
_TempNameRange.Name = "test";
77-
_TempNameRange.Formula = "0";
78-
_TempNameRange.Detail = "0";
79-
_TempNameRange.IsOptionalInput =false;
80-
81-
Debug.WriteLine(Globals.Sheet1.test.Value2);
82-
Debug.WriteLine(Globals.Sheet1.test.Value2);
83-
var data = DataValidation.GetString(Globals.Sheet1.test, _TempNameRange);
84-
Debug.Print(data);
85-
}
86-
87-
private void button2_Click(object sender, RibbonControlEventArgs e)
88-
{
89-
var _TempTableRange = new TableRange();
90-
_TempTableRange.Name = "tblTest";
91-
_TempTableRange.Detail = "Table for test";
92-
_TempTableRange.IsMissing = false;
93-
94-
Range rng = Globals.Sheet1.tblTest.DataBodyRange.get_Range("A1").get_Offset(0, 1);
95-
var data = DataValidation.GetString(ref rng, ref _TempTableRange);
96-
Debug.Print(data);
97-
}
98-
}
99-
}
1+
### Check
2+
3+
- [ ] First Install New Version on Secondary PC
4+
- [ ] Check Sample Project Building and Debugging
5+
- [ ] Check Main Project Build
6+
- [ ] Check All Extension
7+
- [ ] Update Visual Studio on Main
8+
9+
<aside>
10+
⚠️ Latest Stable Version 16.4.10
11+
12+
</aside>
13+
14+
### Steps for Semi Clean Installation
15+
16+
- This for case when there's problem with VSTO Debugging like unable to retrieve value for name range or datarange but it is working in release build
17+
- Uninstall visual studio using visual studio installer, keep Installer
18+
- Clean Up Visual Studio Files from Appdata>Local>Microsoft>(Visual Studio+Visual Studio Service)
19+
- Reinstall Visual studio with visual studio installer
20+
- Test with sample excel workbook project
21+
22+
### Steps for Clean Installation
23+
24+
- Uninstall visual Studio using Visual studio installer
25+
- Uninstall Visual Studio Installer using BC installer
26+
- Uninstall office 365 using BC installer
27+
- Clean Up Visual Studio Files from Appdata>Local>Microsoft>(Visual Studio+Visual Studio Service)
28+
- Restart PC
29+
- Install 64bit Version of Office 365 using Latest Installer
30+
- Install Visual Studio using this [Link](https://docs.microsoft.com/en-us/visualstudio/releases/2019/history) (Latest working Version 16.4.10 download Link with Progessional tag)
31+
- Install Visual Studio Installer, Close it after completion and Reopen for New Updates
32+
- Install Visual Studio Community 2019 with (Desktop+Office) Development Setup Use Default Setting
33+
- After Installation Complete
34+
- Create new Console App with .net framework for Testing
35+
- Create New Excel Document Level Addin for Testing
36+
- Test Vsto Setup [Link](https://nodesauto-my.sharepoint.com/personal/vivek_nodesautomations_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fvivek%5Fnodesautomations%5Fcom%2FDocuments%2FRepos%2FExcelWorkbook%5FCSharp%5FSample)
37+
- Reopen Visual Studio Update it's core extension like Live Sharing
38+
- Install All Visual Studio extension except Roslynator
39+
- Restart Visual Studio to Install Roslynator
40+
- Test Rolsynator with Sample Console App
41+
42+
### Sample Code
43+
44+
```csharp
45+
using System.Diagnostics;
46+
using Microsoft.Office.Tools.Ribbon;
47+
using ExcelModel;
48+
using Microsoft.Office.Interop.Excel;
49+
50+
namespace ExcelWorkbook1
51+
{
52+
public partial class Ribbon1
53+
{
54+
private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
55+
{
56+
Globals.Ribbons.Ribbon1.tab1.RibbonUI.ActivateTab("tab1");
57+
Debug.WriteLine(Globals.Sheet1.test.Value2);
58+
59+
int rows = Globals.Sheet1.tblTest.DataBodyRange.Rows.Count;
60+
int cols= Globals.Sheet1.tblTest.DataBodyRange.Columns.Count;
61+
for (int i = 0; i < rows; i++)
62+
{
63+
string str =default;
64+
for (int j = 0; j < cols; j++)
65+
{
66+
Range rng = Globals.Sheet1.tblTest.DataBodyRange.get_Range("A1").get_Offset(i, j);
67+
str += System.Convert.ToString(rng.Value)+",";
68+
}
69+
Debug.WriteLine(str);
70+
}
71+
}
72+
73+
private void button1_Click(object sender, RibbonControlEventArgs e)
74+
{
75+
var _TempNameRange = new NamedRange();
76+
_TempNameRange.Name = "test";
77+
_TempNameRange.Formula = "0";
78+
_TempNameRange.Detail = "0";
79+
_TempNameRange.IsOptionalInput =false;
80+
81+
Debug.WriteLine(Globals.Sheet1.test.Value2);
82+
Debug.WriteLine(Globals.Sheet1.test.Value2);
83+
var data = DataValidation.GetString(Globals.Sheet1.test, _TempNameRange);
84+
Debug.Print(data);
85+
}
86+
87+
private void button2_Click(object sender, RibbonControlEventArgs e)
88+
{
89+
var _TempTableRange = new TableRange();
90+
_TempTableRange.Name = "tblTest";
91+
_TempTableRange.Detail = "Table for test";
92+
_TempTableRange.IsMissing = false;
93+
94+
Range rng = Globals.Sheet1.tblTest.DataBodyRange.get_Range("A1").get_Offset(0, 1);
95+
var data = DataValidation.GetString(ref rng, ref _TempTableRange);
96+
Debug.Print(data);
97+
}
98+
}
99+
}
100100
```
File renamed without changes.

0 commit comments

Comments
 (0)