C# 如何创建Microsoft(MS)Access加载项
我已经在VisualStudio中创建了一个Ms access加载项 我使用这两种方法来实现我的逻辑,但当我构建设置时,它会打开MsAccess,但我在代码中放置的断点不会命中C# 如何创建Microsoft(MS)Access加载项,c#,.net,ms-access,ms-office,add-in,C#,.net,Ms Access,Ms Office,Add In,我已经在VisualStudio中创建了一个Ms access加载项 我使用这两种方法来实现我的逻辑,但当我构建设置时,它会打开MsAccess,但我在代码中放置的断点不会命中 private void ThisAddIn_Startup(object sender, System.EventArgs e) { File.Create(@"D:\AddIn.txt"); MessageBox.Show(&quo
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
File.Create(@"D:\AddIn.txt");
MessageBox.Show("Start");
}
private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
{
}
#region VSTO generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InternalStartup()
{
this.Startup += new System.EventHandler(ThisAddIn_Startup);
this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
}
是否有创建和使用Ms Access加载项的完整指南。
谢谢
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Access\Addins\MyAddIn]
"Description"="MSAccessAddIn"
"FriendlyName"="MsAccessAddIn"
"LoadBehavior"=dword:00000003
"Manifest"="C:\\Temp\\MsAccessAddIn\\bin\\Debug\\MyAddIn.vsto|vstolocal"