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 IamaSherpa 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. diggityduncs

    System.Environment.MachineName exception????

    Yes user has local admin rights. Trying to simulate this on my computer as well. Know of the ways to remove rights in .Net thx, Paul
  2. diggityduncs

    System.Environment.MachineName exception????

    Hi, I'm using the following code to get the Machine name in an app System.Environment.MachineName On most computers this works fine but on one of our testers computers (machine is a windows 2000 desktop pc), it's throwing the following exception. Request for the permission of type...
  3. diggityduncs

    problems using dllimport

    Hello, I'm tring to use a win32/api dll in c# The vendor I received the dll from doesn't know anything about .net I received two files ACGAPI.DLL + ACGAPI.LIB and some example source code Declaration: Visual C/C++ extern "C" __declspec(dllimport) int __stdcall...
  4. diggityduncs

    Word.Application in C#

    Hello From what I can tell your having problems instantiating your word object. I'm assuming you've made a reference to the word (com object version 8.1) you want to instantiate the word object as follows: Word.Application word = new Word.Application(); then you can do whatever you want...
  5. diggityduncs

    Word.Application in C#

    Hope this helps object FilePath = "E:/DirectoryName/FileName.doc"; object False = false; object True = true; object Blank = ""; object Format = Word.WdOpenFormat.wdOpenFormatAuto; object Encoder = Office.MsoEncoding.msoEncodingUSASCII...
  6. diggityduncs

    Word.Application in C#

    If you figure out the above problem, please let me know. I've been working on the same issue and can't come up with anything. From what I can tell my code should work, it compiles, but I get an exception when I try to execute the code. Here's a link that explains all the parameters...

Part and Inventory Search

Back
Top