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 wOOdy-Soft 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: *

  • Users: dmoonme
  • Content: Threads
  • Order by date
  1. dmoonme

    Append checkbox value to url?

    Not sure if this is the right forum to post this, please excuse me if not. what I'm trying to do is append the value of a checkbox when checked to the form action url. So for example, if checkbox1 and checkbox2 is checked then action="http://server/webfile.asp?blah&blah&ABC=123&DEF=456"...
  2. dmoonme

    Use Regular Expression to delete lines in text file?

    I am a newbie using RegEx but what I want to do is delete 3 lines in a text file (ie. headers). The header always starts with the text "1PAGE" so I'm assuming this is what we want to match. Here's what the header contains. 1PAGE 1 RPT-978 'delete this line DATE 12/06/04 'delete this line 0PLAN...
  3. dmoonme

    Problem with using Try Catch exception - FileNotFoundException not wor

    The generic Exception only works. I want to prompt the user to download files if files are not found. What am I doing wrong? Catch es As FileNotFoundException MessageBox.Show("Download files off of network?", "File(s) Not Found!", MessageBoxButtons.YesNo, MessageBoxIcon.Question...
  4. dmoonme

    Write text to text box instantly on button click event?

    Hi, It seems simple enough but I can't figure it out. I would like to have "Please wait..." appear into a richtextbox immediately after Button1 is clicked. The code that I have displays "Please wait..." AFTER the subfunction is done. Here's what I have so far. Private Sub Button1_Click(ByVal...
  5. dmoonme

    Multi select files and pass each file to separate function?

    I need help with this and thanks in advance too :) I want to multi select files and display the file names into a textbox or RichTextBox and then pass the file paths to a separate function. The function will then do something to each of the files selected. I have the openfiledialog control to...
  6. dmoonme

    Getting VBA code to work in VB.NET???

    Hi here's my VBA code that I want to use in VB.NET. I'm do not know the new syntax's in VB.NET in order for this to work. It basically converts .doc files to .rtf. PLEASE HELP. [code] Dim aDoc Dim tempFilename As String = "c:\test.txt" 'Application.ScreenUpdating = False aDoc =...
  7. dmoonme

    Enumerating conversion of word .doc to rtf?

    Hi, I need help with converting word .docs to .rtf's. I can do one-to-one but I need to do many-to-many. Here's what I have so far: [code] Private Sub Command1_Click() Const FORMAT_RTF = 6 Const FORMAT_TEXT = 2 Const NO_PROMPT = 2 Const OPEN_FORMAT_AUTO = 0 Dim word_server As Object '...
  8. dmoonme

    How to pass variable from PERL to VB.NET?

    I need a VB.NET program to see an "exit status" from the Perl program. Basically, we need to know if the Perl programs can signal to the VB.NET program whether succeeded or failed. How can I do this?
  9. dmoonme

    How can I pass arguments/variables in VB.NET to PERL?

    How can I pass arguments/variables in VB.NET to PERL? I can start my PERL program with process.start method but I need to pass something to it.
  10. dmoonme

    Regular Expressions - how to get text after pattern match???

    I'm learning how to make use of regex. I want to parse a text file and get the data after a pattern match is found. But here's the problems I am having: * Only the 1st word after the pattern match gets returned. * Employee's Name: and Last Time: doesn't get returned. * The beginning and end...
  11. dmoonme

    Run-Time Error 3011 - Can't find file...

    Hello, I want to import about 100 csv files to Access table named "NY" But I keep on getting this error when running this code. Points to the DoCmd.TransferText line when debugging. PLEASE HELP!!!! Private Sub Command0_Click() Dim myfile Do myfile = Dir("c:\csv\*.csv")...
  12. dmoonme

    VBA Excel Run-Time Error 1004 - HELP!!!

    Hello, I am new to VBA and I appreciated your help. I am creating a PIVOT table to parse a text file but I get this error message "Run-Time Error 1004 If you creating a PivotTable type a cell reference or select a..." Here's the code that causing the problem: Sheets.Add...
  13. dmoonme

    HELP WITH SQL LIKE QUERY

    TableA fields are unc_path and office. My update query looks like this: update TableA set office='CRB' where unc_path like '%crb%' The query doesn't seem to work even though there are records that match this criteria. An example of a record in the unc_path is \\crbA1\MyDir\akde12 Thanks...
  14. dmoonme

    Help with insert statement

    Hi, I am a rookie at this and so I thank you for your help in advance. Basically I have 3 tables. TableA and TableB have the data I want to put into TableC. I only want to put records into TableC.Column1 where TableA.Column1=TableB.Column2 I tried and tried but I can't figure it out. Please...
  15. dmoonme

    Help with creating update query

    Hi, I'm a newbie at this but here's what I want to do. TableA has columns: ServerName,Drive,Last_Free TableB has columns: ServerName,Drive,LastPercentFree I import new data into TableA weekly. The old data is stored into TableB. The problem is that I want to update the Last_Free column in...
  16. dmoonme

    RUN TIME ERROR 62 : Input Past End of File?

    I am a newbie to VBA for Word. I am writing a script that parses info into a text file. The source file is a .doc file which after parsed is stored in a txt file. I keep getting this run time error 62: input past end of file. Here is the part of the code where the error occurs. Do While Not...
  17. dmoonme

    COMPILE / RUN-TIME ERRORS

    I am new to VBA so your help is much appreciated. Basically I am trying to modify existing code but I keep getting compile/run-time errors. The code is too long to post here so here is a URL to it. http://home.earthlink.net/~u_heet/code.txt The macro parses a file that the user selects and...

Part and Inventory Search

Back
Top