Quantcast
Channel: Visual Studio Tools for Office (VSTO) forum
Viewing all 5157 articles
Browse latest View live

Strange behavior by systems with VSTO

$
0
0

We have a strange behavior on our Windows 7 systems since a recent patch for VSTO (10.0.30319.01).  Every system that has this installed has had a problem with McAfee HIPS and network traffic. Obviously when I think about network traffic this update does not seem like something that might impact the behavior of the network, but as far as we can tell we were fine before this update, and after this update we had problems. 

Is there anything about this update that might impact how systems talk on the network?

Where can I find a list of updated files for this update?

The following information is ancillary to this question and is provided in the event that there does appear to be a correlation. 

Symptoms:

Prior to this update we would use NESSUS to scan our network and never experience a problem. About the time that this update was deployed, workstations with this update started tripping port security on our Cisco switches when scanned by NESSUS.  Only systems with this update have ever tripper port security in this manner. We were able to determine through packet captures that the MAC addresses in the packet capture were reversed for a very small subset of ICMP packets that appear to be triggered by the NESSUS scan. We are able to resolve this issue by making minor temporary adjustments to the HIPS firewall. Specifically disabling and re-enabling the McAfee HIPS firewall appears to be all that is needed to correct this issue.

Though I understand that this forum is not for support of McAfee HIPs, all of our systems run McAfee HIPS, and only those with the VSTO version noted above demonstrate this issue. About 1% of our systems have this problem. The other 99% are not impacted but do not have VSTO...

I also realize that this might be a coincidence. Just trying to eliminate one possibility.


Trouble Closing VSTO Word Template Application from code behind, Crashes Word

$
0
0

I am new to VSTO for Microsoft Word, so please bear with me if I ask a foolish questions:-)

I have built a little VSTO application based on a .dotx Word Template.

The basic application is working correctly and filling the wordtemplate correctly. I am now trying to save the resulting document and close word after that.

The code below works, but leaves Word hanging and I am not able to close it except via the TaskManager.

What am I doing wrong?

Your help is greatly appreciated.

try

            {
                object doNotSaveChanges = Word.WdSaveOptions.wdDoNotSaveChanges;
                object saveChanges = Word.WdSaveOptions.wdSaveChanges;

                Word._Document document = Application.ActiveDocument;
                document.Close(ref saveChanges, System.Type.Missing, System.Type.Missing);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }


Br.

Word crashing when closing a document

$
0
0

My (watered down) code (below) is simple enough. But when I run it, Word crashes with an error:

"Microsoft Office has stopped working. Windows is collecting more information about this problem. This might take several minutes"

The event log says:

Faulting application name: WINWORD.EXE, version: 15.0.4659.1000, time stamp: 0x5417f0a4

Faulting module name: wwlib.dll, version: 15.0.4659.1000, time stamp: 0x5417f0e5

Exception code: 0xc0000005

Fault offset: 0x00000000002e7e11

Faulting process ID: 0x51c4

Faulting application start time: 0x01cfe951f894d7e8

Faulting application path: C:\Program Files (x86)\Microsoft Office 2013\Office15\WINWORD.EXE

Faulting module path: C:\Program Files (x86)\Microsoft Office 2013\Office15\wwlib.dll

Report ID: 38531b7c-5545-11e4-be98-bc305bac4f36

Faulting package full name:

Faulting package-relative application ID:

CODE
-------

void Application_DocumentBeforeSave(Word.Document wordDoc, ref bool saveAsUI, ref bool cancel)
{
 wordDoc.Saved = true;
 cancel = true;
 DoUpdate(null);
}

public void DoUpdate(IRibbonControl control)
{
CloseWordDoc();
}

private void CloseWordDoc()
{
    object saveChanges = false;
    object o = null;
    ((Word._Document)wordApp.ActiveDocument).Close(ref saveChanges, ref o, ref o);
}

Does anyone have any ideas please?

Thanks.

PowerPoint presentation options for image size and quality - exposed or not?

$
0
0

PowerPoint Options | Advanced | Image Size and Quality exposes 3 options of the selected presentation:

  • Discard editing data
  • Do not compress images in file
  • Set default target output to

I would like to get|set these options.

Are these options exposed through the Interop.Powerpoint?

Are these options exposed through the registry?

Many thanks,

Dave

Microsoft.Office.Interop.PowerPoint.PpSlideLayout?

$
0
0

Hello all:<o:p></o:p>

I am working on a little project to programmatically create a PPT presentation from a directory of images. It works OK, except that I get a couple of text boxes behind the image on the slides that I must manually go and delete from each slide (see screen below). this is because I am using Microsoft.Office.Interop.PowerPoint.PpSlideLayout.ppLayoutClipartAndText for the layout, and when I try to use one of the different layouts, like blank, listed here: http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.ppslidelayout(v=office.14).aspx<o:p></o:p>

I get an error that the index is out of range. Does anyone know how I can just set the slide layout to blank, so I just get the Image?<o:p></o:p>

Thanks!<o:p></o:p>

John.

<o:p></o:p>


Multiple caret

$
0
0
I would like to be able to show multiple caret positions in a document and possible add a tooltip to each.  Is this possible within an AddIn or even embedding the Word control in an application?

How to identify a presentation in PowerPoint?

$
0
0

Normally, to identify a shape in a slide, we use PowerPoint.Shape.Id

to identify a slide in a presentation, we use PowerPoint.Slide.SlideId

but I don't know how to identify a presentation in a PowerPoint application. Assume that we have a collection of presentation being opened, how can we identify a presentation in that collection?

Thanks.

GetManifestResourceStream returns null in Excel Add In

$
0
0

Hi,

I have a strange problem. I have an Excel Add In that uses GetManifestResourceStream to get a stream to an xml file.

I have a log from the following code fragment:

var stream = callingAssembly.GetManifestResourceStream(resourceName);
  if (Logger.IsDebugEnabled)
     {
	if (stream != null)
	  {
	    Logger.Debug("Opened resource stream for " + resourceName);
	  }
	else
	  {
	    Logger.Debug("No resource found with the name " + resourceName);
	}
}

Once installed this code fails to read the resource steam on some PCs.

I have decompiled and the resourceName that I see in the log is an exact match of the one I see embedded in the dll. So it is not one of the standard misstakes and this piece of code has works on other installations for a few years now.

1. The file is embedded as a resource

2. The assembly name is correct

3. The code works on som installations but not all. Verified that the version of the component is the same.

4. I have decompiled it to check that the resource is there

5. The code has a fallback that loops over all resources (GetManifestResourceNames) to find a matching "ends with" since this is a general component and people often get the resource names wrong. Unfortunately I have no logs for this call.

6. The resource is public in the dll

Why would GetManifestResourceStream return null on some installations of the same Excel Add In? They claim to only have one version installed but I can't verify the issue here since it works on all 3 machines we have tested it on. Could this be becuase of a system set-up / configuration some how?



Karin, Stockholm


Presentation Selection Change

$
0
0

We can detect when a slide get selected by SlideSelectionChanged.

Do we have the same event for presentation selection change?

for example, I have 3 presentations on the screen. How can we know when a presentation get selected? 

Note: I am using PowerPoint 2013, VS Ultimate 2013

Thanks

how to turn off outlook security warning dialog box using C#

$
0
0
Hi,

How can one get rid off the Security Warning dialog box which pops up when you try to access a property of ContactItem in Outlook 2003?

I'm using Visual Studio Team Suite Beta 2, Microsoft Outlook 11.0 Object Library, Outlook 2003. I've written a webform to get the list of contacts and display it in a listbox. But everytime the webform loads, an outlook security dialog box pops up. I'm not sure if this is the right forum but I couldn't find another one specifically for Outlook 2003 programming.

Here's the code.

protectedvoid Page_Load(object sender, EventArgs e)

{

Outlook.

Application app = new Outlook.Application();

Outlook.

NameSpace ns = app.GetNamespace("MAPI");

Outlook.

MAPIFolder contactlist = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts);

Outlook.

Items oItems = contactlist.Items;

Outlook.

ContactItem oCt = (Outlook.ContactItem)oItems.GetFirst();

while (oCt != null)

{

ContactsListBox.Items.Add(oCt.Email1Address);

oCt = (Outlook.

ContactItem)oItems.GetNext();

}

}

// Gets the selected contacts from the listbox and displays it in a textbox


protected
void AddToButton_Click(object sender, EventArgs e)

{

StringBuilder sb = newStringBuilder();

foreach (ListItem li in ContactsListBox.Items)

{

if (li.Selected)

{

sb.Append(li.Text);

sb.Append(

",");

}

}

ToTextBox.Text = sb.ToString();

}

Thanks in advance,
shiversticks

Word fails to create a single logical undo-able operation when editing document content and custom xml content

$
0
0

Hi,

We have a document generation system in place where we use Content Controls as placeholders for data. To indicate the type of data allowed within a content control we maintain a custom xml file embedded in the Word document, reachable through ThisDocument.CustomXmlParts. When a content control is added to the document using our and the underlying Word APIs we also adda a node in the custom xml part.

What we are noticing is that Word fails to make the addition of the content control and the addition of a custom xml node a single logical operation even when we use ThisDocument.Application.UndoRecord.StartCustomRecord. Therefore, the user is able to undo the creation of the custom xml node containing our metadata, while retaining the content control in the document.

Eg., the following code should create a single undo-able record, but running this sample gives you two undoable records.

private void button1_Click(object sender, RibbonControlEventArgs e)
{
    // the custom xml part is added on document load as a sample
    Office.CustomXMLPart MyCustomXmlPart = Globals.ThisDocument.MyCustomXmlPart;
    // start the logical operation
    Globals.ThisDocument.Application.UndoRecord.StartCustomRecord("Do it");
    // first action is adding a content control using VSTO API's
    var control = Globals.ThisDocument.Controls.AddContentControl("My Control Name", Word.WdContentControlType.wdContentControlRichText);
    // configure it a bit
    control.LockContents = true;
    control.Title = "MyNode";
    control.Tag = "Tag";
    control.SetPlaceholderText(null, null, "MyNode");
    // Create the custom metadata for the control in the embedded XML file. Use the control ID
    // as a pointer back into the document
    Globals.ThisDocument.MyCustomXmlPart.DocumentElement.AppendChildNode("MyNode", "",
        Microsoft.Office.Core.MsoCustomXMLNodeType.msoCustomXMLNodeElement, control.ID);
    // done with the logical operation
    Globals.ThisDocument.Application.UndoRecord.EndCustomRecord();
}

When running this in Word, we get two undo-able operations not one.

Any help on what's wrong or on whether this is a bug in Word?

Thanks!

Wouter

Outlook 64bit (VSTO) GetAsync call

$
0
0

Hi,

i try this from Outlook-AddIn:

_httpClient = new HttpClient();

var credential = new NetworkCredential(user, password);

string usernamePassword = credential.UserName + ":" + credential.Password;

string authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(usernamePassword));

_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", authInfo);

await _httpClient.GetAsync(new Uri(url.ToString()));

Therequest is being processedon the serverand completed.However, the will not come backtoOutlook.

I havecreated aaddinwith VSTO.from WordorExcel worksthe samerequest.Havealready tried withTimeOut.
No effect,Outlookstops.Other security settingschecked, noeffect.

Ideas?

Thank you

greeting

ATozlu
                                         

Problem in deploying VSTO plugin in remote system

$
0
0

Hi,

I have got my VSTO plugin for outlook developed with VS2010, it works fine in all the systems, except one client system. I have checked the following

The prerequisites are installed properly, they are

1. .Net framework 4 

2. VSTO installed

3. PIA 2010 installed

i have checked the registry value, and it looks fine, the vsto manifest is pointing to correct manifest file

When i looked at the event viewer, there isn't any problem with the installation, but while outlook is opening the addin isn't even trying to load, and the loadvariable in the registry is automatically changed to 2

The plugin however is moved to the inactive state, while trying to active the plugin it shows the COM exception 

'Add-Ins not loaded. A runtime error occurred during the loading of the COM Add-In'

Can't able to display errors even after VSTO_SUPPRESSDISPLAYALERTS is set to 0

The outlook is 2010 and the system is windows 7 spanish.

Note:- This error appears only in one system, and works fine in all other system

is it anything we are missing?

Visual Studio PowerPoint add-in

$
0
0

Where can I find an PowerPoint add-in program that I can download? Or a tutorial where I can learn how to do it?
So far the programs I download hadn't worked it has error so i can't see what's the output. I'm not that good at programming and I really need to learn how to make it. I'm using Visual Studio 2012. I tried the tips and how tos in the microsoft website and for some reason the code there doesn't work for me. it says error. PLEASE! I really need help.

Also does anyone know how you can add a new slide without opening a new powerpoint presentation. I have a powerpoint add-in with a Ribbon (Visual Designer). I put a button on it and put the codes from this site:  https://www.google.com.ph/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCQQFjAB&url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F824021&ei=Ze1hVOqUEoOhuQSnyoHYCQ&usg=AFQjCNGpJBx_cRD9l0Yt3y4FhQ1wXkKpdA&sig2=ML0kb6ZogyBJZTkiivziNw

but when i run it and click the button it opens a new powerpoint presentaion. 

VBE7 can crash Word 2010 when closing a .docm after enabling macro content

$
0
0

When opening 2 or more macro-enabled word documents with any Word VSTO add-in installed, if the first document is closed, Word will stop responding. If the second document is closed before the first, the crash does not occur.

Setup:

1. Word 2010, install the most basic VSTO Word 2010 add-in (create one from scratch and build).

2. Open Word. In Trust Center | Macro Settings, I had "Disable all macros with notification" selected and in Trust Center | Trusted Locations, I checked "Disable all Trusted Locations."

3. Close Word.

4. Open the 1st macro enabled document ( .docm ) and select Enable content.

5. Open the 2nd .docm file.

6. Close the 1st .docm file.

7. Word 2010 may crash with the following event information.

------------------------------------------------------------------------------------

Faulting application name: WINWORD.EXE, version: 14.0.5123.5000, time stamp: 0x4c646b38
Faulting module name: VBE7.DLL, version: 7.0.16.19, time stamp: 0x4d430aec
Exception code: 0xc0000005
Fault offset: 0x00163e60
Faulting process id: 0x4c540
Faulting application start time: 0x01ceef8cd11fe428
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE
Faulting module path: C:\PROGRA~2\COMMON~1\MICROS~1\VBA\VBA7\VBE7.DLL
Report Id: 14e57808-5b80-11e3-a7de-005056c00008

------------------------------------------------------------------------------------

The Full Report.wer file

Version=1
EventType=APPCRASH
EventTime=130304827425941144
ReportType=2
Consent=1
ReportIdentifier=14e57809-5b80-11e3-a7de-005056c00008
IntegratorReportIdentifier=14e57808-5b80-11e3-a7de-005056c00008
WOW64=1
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=WINWORD.EXE
Sig[1].Name=Application Version
Sig[1].Value=14.0.5123.5000
Sig[2].Name=Application Timestamp
Sig[2].Value=4c646b38
Sig[3].Name=Fault Module Name
Sig[3].Value=VBE7.DLL
Sig[4].Name=Fault Module Version
Sig[4].Value=7.0.16.19
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=4d430aec
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=00163e60
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.256.4
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
UI[2]=C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE
UI[3]=Microsoft Word has stopped working
UI[4]=Windows can check online for a solution to the problem and try to recover your information.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\syswow64\kernel32.dll
LoadedModule[3]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[4]=C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll
LoadedModule[5]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\Comctl32.dll
LoadedModule[6]=C:\Windows\syswow64\ADVAPI32.dll
LoadedModule[7]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[8]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[9]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[10]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[11]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[12]=C:\Windows\syswow64\GDI32.dll
LoadedModule[13]=C:\Windows\syswow64\USER32.dll
LoadedModule[14]=C:\Windows\syswow64\LPK.dll
LoadedModule[15]=C:\Windows\syswow64\USP10.dll
LoadedModule[16]=C:\Windows\system32\IMM32.DLL
LoadedModule[17]=C:\Windows\syswow64\MSCTF.dll
LoadedModule[18]=C:\Program Files (x86)\Microsoft Office\Office14\wwlib.dll
LoadedModule[19]=C:\Windows\syswow64\ole32.dll
LoadedModule[20]=C:\Windows\syswow64\OLEAUT32.dll
LoadedModule[21]=C:\Program Files (x86)\Microsoft Office\Office14\gfx.dll
LoadedModule[22]=C:\Windows\system32\WTSAPI32.dll
LoadedModule[23]=C:\Windows\system32\MSIMG32.dll
LoadedModule[24]=C:\Program Files (x86)\Microsoft Office\Office14\oart.dll
LoadedModule[25]=C:\Program Files (x86)\Common Files\Microsoft Shared\office14\mso.dll
LoadedModule[26]=C:\Windows\system32\msi.dll
LoadedModule[27]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[28]=C:\Windows\system32\apphelp.dll
LoadedModule[29]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\Comctl32.dll
LoadedModule[30]=C:\Program Files (x86)\Common Files\Microsoft Shared\office14\Cultures\office.odf
LoadedModule[31]=C:\Program Files (x86)\Microsoft Office\Office14\1033\wwintl.dll
LoadedModule[32]=C:\Windows\system32\uxtheme.dll
LoadedModule[33]=C:\Program Files (x86)\Common Files\Microsoft Shared\office14\1033\MSOINTL.DLL
LoadedModule[34]=C:\Program Files (x86)\Common Files\Microsoft Shared\office14\MSORES.DLL
LoadedModule[35]=C:\Windows\system32\dwmapi.dll
LoadedModule[36]=C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\MSPTLS.DLL
LoadedModule[37]=C:\Program Files (x86)\Common Files\Microsoft Shared\office14\riched20.dll
LoadedModule[38]=C:\Windows\system32\mscoree.dll
LoadedModule[39]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
LoadedModule[40]=C:\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPC.DLL
LoadedModule[41]=C:\Windows\system32\Winspool.DRV
LoadedModule[42]=C:\Windows\syswow64\SHELL32.DLL
LoadedModule[43]=C:\Windows\system32\VERSION.dll
LoadedModule[44]=C:\Windows\syswow64\SETUPAPI.dll
LoadedModule[45]=C:\Windows\syswow64\CFGMGR32.dll
LoadedModule[46]=C:\Windows\syswow64\DEVOBJ.dll
LoadedModule[47]=C:\Windows\syswow64\CLBCatQ.DLL
LoadedModule[48]=C:\Windows\system32\propsys.dll
LoadedModule[49]=C:\Windows\system32\ntmarta.dll
LoadedModule[50]=C:\Windows\syswow64\WLDAP32.dll
LoadedModule[51]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[52]=C:\Windows\system32\rsaenh.dll
LoadedModule[53]=C:\Windows\system32\RpcRtRemote.dll
LoadedModule[54]=C:\Windows\System32\msxml6.dll
LoadedModule[55]=C:\Windows\system32\profapi.dll
LoadedModule[56]=C:\Windows\system32\SXS.DLL
LoadedModule[57]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\x86\VSTOWordAdaptor.dll
LoadedModule[58]=C:\Windows\system32\MSVCR110.dll
LoadedModule[59]=C:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\vstoee.dll
LoadedModule[60]=C:\Windows\syswow64\urlmon.dll
LoadedModule[61]=C:\Windows\syswow64\WININET.dll
LoadedModule[62]=C:\Windows\syswow64\iertutil.dll
LoadedModule[63]=C:\Windows\syswow64\CRYPT32.dll
LoadedModule[64]=C:\Windows\syswow64\MSASN1.dll
LoadedModule[65]=C:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\10.0\VSTOLoader.dll
LoadedModule[66]=C:\Windows\system32\MSVCR100.dll
LoadedModule[67]=C:\Windows\system32\MSVCP100.dll
LoadedModule[68]=C:\Windows\system32\oledlg.dll
LoadedModule[69]=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
LoadedModule[70]=C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll
LoadedModule[71]=C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\7150b9136fad5b79e88f6c7f9d3d2c39\mscorlib.ni.dll
LoadedModule[72]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System\369f8bdca364e2b4936d18dea582912c\System.ni.dll
LoadedModule[73]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Core\3c2ed368e1f3889997dfb42a5ca77284\System.Core.ni.dll
LoadedModule[74]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\ef9d97175ae84dc61fa5310568618b42\Microsoft.VisualStudio.Tools.Office.Runtime.v10.0.ni.dll
LoadedModule[75]=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorsec.dll
LoadedModule[76]=C:\Windows\syswow64\WINTRUST.dll
LoadedModule[77]=C:\Windows\syswow64\imagehlp.dll
LoadedModule[78]=C:\Windows\system32\ncrypt.dll
LoadedModule[79]=C:\Windows\system32\bcrypt.dll
LoadedModule[80]=C:\Windows\SysWOW64\bcryptprimitives.dll
LoadedModule[81]=C:\Windows\system32\USERENV.dll
LoadedModule[82]=C:\Windows\system32\GPAPI.dll
LoadedModule[83]=C:\Windows\system32\cryptnet.dll
LoadedModule[84]=C:\Windows\system32\SensApi.dll
LoadedModule[85]=C:\Windows\system32\Cabinet.dll
LoadedModule[86]=C:\Windows\system32\DEVRTL.dll
LoadedModule[87]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.AddIn\1149dca3c109f46c30cf25cb34873dd4\System.AddIn.ni.dll
LoadedModule[88]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\c95fe1502c8d291ba86516568fcbbaeb\Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0.ni.dll
LoadedModule[89]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\046afb7570e94b4c295e4f84537b7749\Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0.ni.dll
LoadedModule[90]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\7546d929c3ed4703425b307c753b8b98\Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.ni.dll
LoadedModule[91]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\86c05d5f53a0ddc46f833b62a235a44e\Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0.ni.dll
LoadedModule[92]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Drawing\eead6629e384a5b69f9ae35284b7eeed\System.Drawing.ni.dll
LoadedModule[93]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\30e3a21202000677d0a9270572251477\System.Windows.Forms.ni.dll
LoadedModule[94]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Deployment\33125250f48dd834dde012979858b39f\System.Deployment.ni.dll
LoadedModule[95]=C:\Windows\system32\shfolder.dll
LoadedModule[96]=C:\Windows\system32\dfshim.dll
LoadedModule[97]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Configuration\764f15e86c82662e977bd418bd6318c1\System.Configuration.ni.dll
LoadedModule[98]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\f687c43e9fdec031988b33ae722c4613\System.Xml.ni.dll
LoadedModule[99]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Security\23673bbebe3c0ca7c894e614bb3ffd1a\System.Security.ni.dll
LoadedModule[100]=C:\Windows\syswow64\ws2_32.DLL
LoadedModule[101]=C:\Windows\syswow64\NSI.dll
LoadedModule[102]=C:\Windows\system32\dnsapi.DLL
LoadedModule[103]=C:\Windows\system32\iphlpapi.DLL
LoadedModule[104]=C:\Windows\system32\WINNSI.DLL
LoadedModule[105]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml.Linq\990123c5701a26f1d724150839811bce\System.Xml.Linq.ni.dll
LoadedModule[106]=C:\Users\amaimone\AppData\Local\assembly\dl3\K74D1YZD.L9G\HPDQJP35.H39\03d55ca8\c852b0b1_8aefce01\Word2010.Addin.DLL
LoadedModule[107]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.Office.To#\53faeb4b406f8fac51ae8833a41d60ef\Microsoft.Office.Tools.Common.v9.0.ni.dll
LoadedModule[108]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.Office.To#\2a485d9e5d3d88763d2f718674ca8391\Microsoft.Office.Tools.v9.0.ni.dll
LoadedModule[109]=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
LoadedModule[110]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\dae41259f6566bec3ade3b38efd15993\Microsoft.VisualStudio.Tools.Office.Word.AddInAdapter.v9.0.ni.dll
LoadedModule[111]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\8035995c9109fd5e9fb39307366527d1\Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0.ni.dll
LoadedModule[112]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\c33e1347452e289ac7e01652bd16426e\Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0.ni.dll
LoadedModule[113]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.AddIn.Contra#\4e9a3b9427dae6b94cb5ae1d134282ac\System.AddIn.Contract.ni.dll
LoadedModule[114]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\f819cae09f88905f46cd900722b54c6a\Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.ni.dll
LoadedModule[115]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\c911e49958a43bb7168178b92e47b604\Microsoft.VisualStudio.Tools.Office.Contract.v9.0.ni.dll
LoadedModule[116]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\a1ea7007a7c5ca1e3669c1f9b051f088\Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.ni.dll
LoadedModule[117]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\16c66283a6d69f498d5b93927c3eec23\Microsoft.VisualStudio.Tools.Office.Word.HostAdapter.v10.0.ni.dll
LoadedModule[118]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\86fc2cb5850874db9b613546399b10f4\Microsoft.VisualStudio.Tools.Office.HostAdapter.v10.0.ni.dll
LoadedModule[119]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\8bbe007d7ca60b4285344d5d372f1559\Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0.ni.dll
LoadedModule[120]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\06a6d55838827eccfd57ca7b64c34111\Microsoft.VisualStudio.Tools.Office.Word.AddInProxy.v9.0.ni.dll
LoadedModule[121]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\4b6709d6a0e108aded0cbce7582058c1\Microsoft.VisualStudio.Tools.Office.Contract.v10.0.ni.dll
LoadedModule[122]=C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Word\14.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Word.dll
LoadedModule[123]=C:\Windows\assembly\GAC_MSIL\office\15.0.0.0__71e9bce111e9429c\office.dll
LoadedModule[124]=C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\USP10.DLL
LoadedModule[125]=C:\Windows\SysWOW64\SFC.DLL
LoadedModule[126]=C:\Windows\system32\sfc_os.DLL
LoadedModule[127]=C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Csi.dll
LoadedModule[128]=C:\Windows\system32\Secur32.dll
LoadedModule[129]=C:\Windows\system32\WINHTTP.dll
LoadedModule[130]=C:\Windows\system32\webio.dll
LoadedModule[131]=C:\Windows\syswow64\PSAPI.DLL
LoadedModule[132]=C:\Windows\system32\MPR.dll
LoadedModule[133]=C:\Windows\System32\drprov.dll
LoadedModule[134]=C:\Windows\System32\WINSTA.dll
LoadedModule[135]=C:\Windows\System32\ntlanman.dll
LoadedModule[136]=C:\Windows\System32\davclnt.dll
LoadedModule[137]=C:\Windows\System32\DAVHLPR.dll
LoadedModule[138]=C:\Windows\System32\netprofm.dll
LoadedModule[139]=C:\Windows\System32\nlaapi.dll
LoadedModule[140]=C:\Windows\system32\netutils.dll
LoadedModule[141]=C:\Windows\system32\cscapi.dll
LoadedModule[142]=C:\Windows\system32\srvcli.dll
LoadedModule[143]=C:\Windows\System32\npmproxy.dll
LoadedModule[144]=C:\Windows\system32\NetworkExplorer.dll
LoadedModule[145]=C:\Windows\system32\dfscli.dll
LoadedModule[146]=C:\Windows\system32\wkscli.dll
LoadedModule[147]=C:\Windows\system32\normaliz.dll
LoadedModule[148]=C:\Windows\SysWOW64\ieframe.dll
LoadedModule[149]=C:\Windows\SysWOW64\OLEACC.dll
LoadedModule[150]=C:\Windows\system32\LINKINFO.dll
LoadedModule[151]=C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17825_none_72d273598668a06b\GdiPlus.dll
LoadedModule[152]=C:\Windows\system32\WindowsCodecs.dll
LoadedModule[153]=C:\PROGRA~2\COMMON~1\MICROS~1\VBA\VBA7\VBE7.DLL
LoadedModule[154]=C:\PROGRA~2\COMMON~1\MICROS~1\VBA\VBA7\1033\VBE7INTL.DLL
LoadedModule[155]=C:\Program Files (x86)\Microsoft Office\Office14\msproof7.dll
LoadedModule[156]=C:\Windows\system32\ntshrui.dll
LoadedModule[157]=C:\Windows\system32\slc.dll
LoadedModule[158]=C:\Windows\system32\WINMM.dll
Sec[0].Key=LCID
Sec[0].Value=1033
Sec[1].Key=skulcid
Sec[1].Value=1033
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Microsoft Word
AppPath=C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE


VSTO addin can not load

$
0
0

I came across a strange problem about VSTO addin. The same VSTO addin installed and works well in other xp and win7. But it can not load in one xp machine.

The VSTO addin build from VS 2008, and the xp with Office 2007, VSTO 3.0 runtime and office2007 PIA installed, and .net 3.5 also installed. Check environment with VSTO power tool showed every dependency is installed.  With VSTO_SUPPRESSDISPLAYALERTS option on, got an error message like this:

The following solution cannot be loaded because Microsoft Office support for the .NET Framework 3.5 is not installed:......

But I am very sure office2007 PIA installed, not only in vsto power tool but also in windows/assembly. I wanna tip the same vsto addin in other machines works well.

Are there any suggestions? Thanks in advance.

 


Every body needs help, even spider man.

Infopath 2010 Windows Form - Copy ComboBox value to a field C#

$
0
0

Hello!

I’m quite new in c# and I have a problem and don't know what to do :(. I have an InfoPath 2010 form, with a windows form (form1) and a combobox (comboBox1) and a field (/my:fields/my:field1).

I’d like to do, when the value of the combo box changing, I want to copy the new value of the combobox to the field. But, it’s not working L

I think, the solution would be this:

Form1.cs

privatevoidcomboBox1_SelectedIndexChanged(object sender,EventArgs e)

       {

           if (comboBox1.Text != null)

                       

XmlNamespaceManager ns =this.NamespaceManager;

           XPathNavigator ch1 = MainDataSource.CreateNavigator();

           XPathNavigator ch2 = ch1.SelectSingleNode("/my:fields/my:filed", ns);

           ch2.SetValue(ComboBox1.Text);

}

But I can’t create NamespaceManager and DataSource, CreateNavigator, because of this: „'TST_64.Form1' does not contain a definition for 'NamespaceManager'”, or „The name 'MainDataSource' does not exist in the current context”, etc..

What should I do?L What is wrong? Can anybody help me?

Thank youin advance for yourhelp.


PowerPoint.Presentation AcceptAll and RejectAll

$
0
0

Hi,

Do you know what for are the following methods:

PowerPoint.Presentation.AcceptAll()

and

PowerPoint.Presentation.RejectAll()

I go through the MSDN document, but still don't get it, and don't know in which case they are able to be used?

Thanks

VSTO Express won't open my project?

$
0
0

I have a VSTO project developed in VSTO 2010 (full version) I now don't have access to that software, so I downloaded VSTO Express 2013, which then couldn't open the project, so I tried VSTO Express 2010 and that wouldn't open the project either. Do I eed to buy a full version? The project is an Outlook add-in developed for office 2010.

I am ultimately looking to develop add-ins for office 2010 (outlook 2010 mainly) and also find that the templates for these don't exisit in the VSTO Express 2013 edition?

How to detect paragraph change

$
0
0

Hello,

I could not find an eventwhen a paragraph is being changed, so I was wondering if there is a way to detect change of a paragraph or a range.
Or that there may be an other way, like an event that fires when someone do acarriage return or types text so that I can find out what paragraph style he is typing in.

I use Word 2010 and Visual Studio 2013 with vb.net.

Thank you for your help!

Viewing all 5157 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>