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. AtariJag64

    Checking files in a directory

    I'm trying to monitor a directory to ensure that all of the files are there. The files are being processed by another program, so I need to verify that all 4 files are present before moving on. Does anyone know a way to do this? I've tried to install a File System Watcher, but I didn't find a...
  2. AtariJag64

    Changing TextBoxes

    Thanks that's what I needed
  3. AtariJag64

    Changing TextBoxes

    I start out the page by setting the TextBoxes's Text equal to some field in a database. I change the Text in that box however that acctual value when it gets posted back to the database does not change from the original. for example: TextBox1.Text = "Hello"; Now, I change the text...
  4. AtariJag64

    Trouble with Timers...

    I'm trying to setup a program that will perform a function call on every tick of a timer; however, its not working correctly. I basically just set up a default timer, with an interval of 2000. Now I have a function within the timer1_tick() method { generate() } The function is called...
  5. AtariJag64

    Executing Applications from Webforms

    I want to open up a windows application (*.exe file) from a webform. Does anyone know the code for this? I've tried: System.Diagnostics.Process.Start(fileName); but this doesn't seem to do anything. Any suggestions? Thanks, -Chris B.
  6. AtariJag64

    Word.Application in C#

    Paul, Thank you so much! That was a big help. Now I'm trying to create the document object: Word.Document theDocument = WordObj.Documents.Open(); This compiles, but I get a runtime error of the following: "Object reference is not set to an instance of an object." I've tried...
  7. AtariJag64

    Word.Application in C#

    Yeah, The ref part was throwing me at first, but I figured that part out. Now I just don't understand why it asks for type "object." I've tried to do this: string FileName = "c:/directory/filename.doc"; WordObj.Documents.Open(ref FileName,...); But it says it can't...
  8. AtariJag64

    Word.Application in C#

    I'm trying to programmatically edit a Word Document in C#. I want to open the file, edit the file via Bookmarks, and then save it. From my research, I've found that you have to go to "Add Reference" and add the MSWord9 reference to the project. This I have done. The code looks like...

Part and Inventory Search

Back
Top