|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CreateObject errorI am stuck and have run out of ideas...
I am trying to perform this in Visual Studio 2005 using .NET 2.0. Dim appl As Object appl = CreateObject("Word.Application") Works fine in VisualStudio 2003 using .NET 1.1. Here it throws this error: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. What magic do I have to perform to get rid of it? Thanks a lot! Hi,
I would avoid late binding. Try adding a reference to the word primary interop assemblies instead. http://support.microsoft.com/?id=301656 Ken ------------------------ Show quoteHide quote "bremze" wrote: > I am stuck and have run out of ideas... > > I am trying to perform this in Visual Studio 2005 using .NET 2.0. > Dim appl As Object > appl = CreateObject("Word.Application") > > Works fine in VisualStudio 2003 using .NET 1.1. > > Here it throws this error: > Request for the permission of type > 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, > Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. > > What magic do I have to perform to get rid of it? > > Thanks a lot!
CODE to Test ALPHA Transparency
not sure how to describe this question... Installation monitoring and capture...... Updating field in table New obj() vs. New obj Unhandled exceptions in Vs 2005 Please. join 2 tables and datagrid form.load don't exist anymore ? Printing to screen in VB.NET RichTextBox special characters? |
|||||||||||||||||||||||