Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. traimo

    COM Component calling a method in C# .Net app

    Thanks for all you help on this. http://www.cowbellies.com
  2. traimo

    COM Component calling a method in C# .Net app

    After doing some more research on interfaces, I think I know what you are suggesting. However, I don't think it will work in my case. The reason being is that my EXE is not initiating the call to the COM component in my DLL. The initial call is coming from my IE toolbar via javascript...
  3. traimo

    COM Component calling a method in C# .Net app

    I guess I still don't see how this is going to allow me to invoke a method in my EXE from my DLL. I'll check out some tutorials and then try your code. Tony
  4. traimo

    COM Component calling a method in C# .Net app

    OK, I get it. But, where do I call SetFormField? In the EXE or the DLL? And what do I pass into it? Thanks for your patience and help. Tony
  5. traimo

    COM Component calling a method in C# .Net app

    First of all, thanks for all your help on this. I really appreciate it. I'm getting the following message: Cannot create an instance of the abstract class or interface 'MyDLL.ifFormField' Here is my code: in my DLL ------------------ public interface ifFormField { int Test(); } public int...
  6. traimo

    COM Component calling a method in C# .Net app

    Just to clarify, if I had a solution with 2 projects that consisted of my main app (EXE) and a DLL and I wanted the EXE to call a method in my DLL, I would create a reference to the DLL in my main app (EXE). Then I could instantiate an object and call the method. Is there anyway to do the...
  7. traimo

    COM Component calling a method in C# .Net app

    After doing a little more research, it looks like "Register for COM Interop" is only available for Class Libraries (DLL). So, I guess my question is this: Under the SAME VS .NET Solution, can a method in my DLL call a method in my EXE? I may be making this a lot harder than it really is...
  8. traimo

    COM Component calling a method in C# .Net app

    B00gyeMan, I read those articles. Thanks for the help. However, I still can't get it to work. In the properties of my project the "Register for COM Interop" field is greyed out. Is it possible to register a COM Component in an executable (EXE). The methods that I want to expose to COM are...
  9. traimo

    COM Component calling a method in C# .Net app

    In my VS .NET Solution I have two projects. One is the main windows application(EXE) and the other is a COM component(DLL). The com component talks to an IE Toolbar. My problem is that I need the COM component to also talk to the main windows app(EXE). My first crack at this was to have the...
  10. traimo

    "This page contains both secure and nonsecure items"

    Dan, thanks for the tip. That did work. However, it is kind of slow. I'd really like to figure out why the first solution is giving my the popup warning. Anyone got a clue? Tony
  11. traimo

    "This page contains both secure and nonsecure items"

    Hello, OK, here is my problem. I have written a custom IE toolbar that calls some javascript functions and these functions are in a .js file. First I tried this: var newscript = document.createElement("script"); newscript.type = "text/javascript"; newscript.src = "c:\\iebar.js"...
  12. traimo

    && BAB v9 - Remote DR for NT4 Computer

    Hi David, I'm having the same problem. Did you ever figure out what was wrong? Could it be the network card driver or the card itself? We have tried 2 different Intel NIC cards. Nothing seems to work. Thank You,
  13. traimo

    Error 8601 when trying to restore database

    Siqbals, I'm running into the same problem. Have you found a solution yet? Sorry I couldn't help.

Part and Inventory Search

Back
Top