Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
E

Eagle_Wizard

@Eagle_Wizard
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • context menu with textbox
    E Eagle_Wizard

    You can make a borderless form and then use that as your context menu. Just make the form apear when you right click the textbox. To exchange information to this context menu, you can add a reference to the base form in the contstructor of the contectmenuform

    Programming code is like magic, just use the right code (magic words) to make happen what you want..

    C# question

  • Security problem with Word 2007 add-in
    E Eagle_Wizard

    In the add-in itself I use reflection. An other programmer can give me a DLL file with actions (functions) and with the class, namespace and the path of the DLL I can use these functions in my add-in. I tested everything in a windows application and it worked perfect. After that I tried to use the same code in my Word add-in but I got a Security error. Here is the code where I had the problem: Assembly ass = Assembly.LoadFile(this.FilePath); if (ass == null) return; //compilatie liep wellicht verkeerd System.Type T = ass.GetType(this.Namespace + "." + this.Class); object o = System.Activator.CreateInstance(T); T.InvokeMember(this.Method, System.Reflection.BindingFlags.InvokeMethod, null, o, new object[] { (object)dicArgs, (object)sConfig }); The program gave a securityerror on the InvokeMember method. Probably I have to register the used dll somewhere in the .NET Framework 2.0. Can anybody help me fix this?

    Programming code is like magic, just use the right code (magic words) to make happen what you want..

    .NET (Core and Framework) help csharp dotnet security question

  • cant add to database
    E Eagle_Wizard

    Try to write MsgBox(ex.Message) in you Catch statement. This can tell you a lot about the problem. I haven't looked your code over in detail. But one thing that was differen from my code was this: OledBCommand oCommand = oCon.CreateCommand() Let your command be created by your connection. And don't just comm.Connection = conn But I doubt that this will solve all your problems. If you get some interesting errors from the Catch, post it again

    Programming code is like magic, just use the right code (magic words) to make happen what you want..

    Visual Basic database question

  • Smart tags Word 2007 VSTO 2005 SE
    E Eagle_Wizard

    Hi, I'm having a problem with smart tags in Word 2007. I just can't find how to add them. On the microsoft site their are lots of walkthroughs for VSTO 2005. But in the VSTO 2005 SE, you can't use me.VSTOSmartTags anymore Thanks in advance

    Programming code is like magic, just use the right code (magic words) to make happen what you want..

    .NET (Core and Framework)
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups