Hi, I'm using a outlook 2007 add-in project. In this project I added a reference to a dll. Somehow I can't make any calls to any of the methods in that dll. I keep getting FileLoadException. I have strong named this assembly. I read in one place that I have to grant trust to that assembly. Any idea how to fix this? After adding strong name I get this error: A first chance exception of type 'System.IO.FileLoadException' occurred in MyClass.DLL Could not load file or assembly 'MyClass, Version=1.0.3094.41526, Culture=neutral, PublicKeyToken=52388ff89a43b4bd' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) Thanks Ben
ben2
Posts
-
FileLoadException in Outlook 2007 add-in project -
VC++ runtime version checkHi, I have a two part question, can be written in either C++ or C# 1. How to figure out which versions of VC++ runtime installed on the computer? 2. How do I write a bootsrap program that checks if Visual C++ 2008 Libraries installed or not and then goes and install Visual C++ 2008 Redistributable Package if not installed? Thanks Ben
-
How to get VC++ version installed?Hi, I have a two part question, can be written in either C++ or C# 1. How to figure out which versions of VC++ runtime installed on the computer? 2. How do I write a bootsrap program that checks if Visual C++ 2008 Libraries installed or not and then goes and install Visual C++ 2008 Redistributable Package if not installed? Thanks Ben
-
GDI+ A generic error occurredThanks for the info
-
GDI+ A generic error occurredIs there any work around?
-
OleDbData Adapter.Update Command Errorcan you please post the query that you're using and also the error message
-
OleDbData Adapter.Update Command Errorconcurreny problem occurs when more than 1 users are trying to update the same record, it might happen that one will end up changing a record that has already been modified by other users. To fix concurrency violation, in your update query check if the record that you had read (and you're about to modify) has been modified or not. If it has been modified, don't update. Otherwise update it. This is called optimistic concurrency control.
-
GDI+ A generic error occurredI can, but I'm more interested in find out if there is a cutoff on the length of the string that gdi+ can handle thru these 2 methods.
-
Explicit interface implementationdid you try something like: class A:IComparable { } ______________________________________ A a = new A(); IComparable ia = a as IComparable; if (ia!=null) ia.ComapreTo(...); I don't know if it'll work...you can try it
-
OleDbData Adapter.Update Command ErrorIf it's a windows application just try a simple update query and see if you can update it If it's a web application, try to give ASPNET account proper privileges
-
OleDbData Adapter.Update Command ErrorI assume that you assigned a command object to the UpdateCommand property of the DataAdapter. If you have done that, then please check if you have access to update the table.
-
GDI+ A generic error occurredLength of the string 103325
-
GDI+ A generic error occurredHi, In my windows application if I'm getting ExternalException when I use the following to methods if the text parameter is too large. g.MeasureString(text, font, size, format); g.DrawString(text, font, color, rectangle, format); I have tried to make the size and rectangle parameters to be large so that it fits the text, but I still get the same exception with Message : "A Genric error occurred" Please let me know how I can fix this. Thanks Ben
-
How to Update Gridview with callbacksorry I'm using asp.net 2.0
-
How to Update Gridview with callbackHi, In my code I would like to update my gridview with a client callback to the server (update, insert and delete). Client callback just returns a string, how would I use that to say insert a new row, update a row? Can I use data source control from javascript? Thanks Ben
-
How to open .aspx in design view by defaultHi, Is there a setting that I can use to open .aspx pages to be opened in the design view by default instead of the source view. Thanks
-
WinForm design questionNot really. I want the forms to be dockable too.
-
WinForm design questionHi, I would like to create a winform application using c#, that looks kind of like Adobe Photoshop. That means the main window will have some small dockable windows inside the main window (those dockable windows can be minimized, closed, or maximized and docked). These windows will have other controls inside them. I was wondering if you can give me some pointers on how to create windows like that, or can you send me links to some custom controls that I can use in my code that behave like those windows. I'm still using visual studio.NET 2003, I might switch to VS.NET 2005 if there are controls like that in VS2005. Any idea, pointer, links, codes will be much appreciated. Thanks Ben
-
How to create and copy tablesThis method is fine only when source and destination tables are in the same server. What if they are in different servers?
-
How to copy tables?This method is fine only when source and destination tables are in the same server. What if they are in different servers?