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 dencom 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: barny2006
  • Content: Threads
  • Order by date
  1. barny2006

    is there a way to "UNDELETE" deleted files in dos?

    hi, is there a way to recover / undelete files that were deleted in cmd window? my son deleted some files from a directory. and we can't find them in the recyble bin? thanks.
  2. barny2006

    what's the value of "cancel" in an inputbox?

    hi, anybody know what value is returned and where, when you click cancel button instead of ok in an input box? thanks!
  3. barny2006

    is there a way to print from a vbs?

    hi, is there a way to print a list or something like a message onto a printer from a vbs program? i understand that in .hta, you can use window.print() to print something. i'm not sure about vbs. any guidance on this? thanks.
  4. barny2006

    how to run a cmd program from HTA?

    Hi, i have an hta program that backs up files from c: drive to a cd. i have finished all the components of the hta, inputs, drives, file selections, etc. but the cd copy command is a dos app that runs from the command prompt. this command runs from vbs but when i imbed the vb script in the...
  5. barny2006

    using windows explorer & file dialog box from vbs

    hi, is there a way to deploy a file dialog box from within a vbs/hta, select files and folders, and then pass them to the program? the code that i have been working on, seems to be a single level folder listing of files and subfolders. it would be a lot better if it can use a file dialog...
  6. barny2006

    how to get to value of a selected option in a drop-down box

    hi, i have my code working. however, i'm stuck in getting the value of a folder that is in a drop down box. i can't seem to get the correct syntax for getting the value of the selectin. <form name=frm2> <SELECT NAME="folders" SIZE="1"> <OPTION SELECTED>app_dev...
  7. barny2006

    is there an easier way of displaying contents of a folder?

    hi, currently, i'm using a dos command in vbs to put contents of a folder in a text file, then opening it, reading it and displaying it. is there an easier way of doing this without writinig it to a file? the code that i have is: Set wshshell = CreateObject("WScript.Shell")...
  8. barny2006

    welcome screen

    hi, anybody know what the name of the welcome screen file is? (the screen that's displayed with user names). is it a file that's displayed? if it is, what's the name of it? is there anyway it can be modified for a company's needs?
  9. barny2006

    how to modify lastmodifieddate of a file

    hi, somebody has saved a file on a directory, somehow with last modified date of 11/28/2057! when a directory is dispayed, this file stays on the very top. is there anyway to modify this data? i understand fso.name is modifyable. is the date modifyable also? thanks.
  10. barny2006

    Error msg when trying to list MSysObjects

    hi, i'm getting this error msg: Record(s) cannot be read; no read permission on 'MsysObjects' when i'm trying to list table names with this code: commandstring = "SELECT MSysObjects.Name FROM MsysObjects WHERE (Left$([Name],3)=" & chr(39) & "Feb" & chr(39) & ");" objRecordSet.Open...
  11. barny2006

    how to put content of directory into a file in HTA

    hi, i'm trying to put contect of a folder (file list) into a text file using HTA/vbs to be used in a pull-down menu. i get an error msg when i use this code: Set wshshell = WScript.CreateObject("WScript.Shell") wshshell.Run("cmd.exe /c dir c:\visdb data\*.* > c:\a_temp\test.txt") is...
  12. barny2006

    mobo intermittent problem on P.O.S.T.

    Hi, here's a scoop on what's happened with my home-built pc: 1 - mobo is asus p5RD1-V 2 - cpu is p-4 2.66 ghz socket lga775 3- 2 hdd's, one cdr, one dvdr - all via IDE cables 4- hp printer via usb 5- camera card reader via usb 6- webcam via usb 6- mic, speaker 7- onboard lan, sound and video...
  13. barny2006

    vb script using import skips first record in text file

    i have this code, which works perfect (thanks to you guys). however, after counting the records/rows imported, i noticed that when i import the text file using access user interface, it imports all records (144). but when i import using this code below, it skips the first record, and imports...
  14. barny2006

    error msg when importing text file using access and vbs

    hi, i have this code Set objConnection = CreateObject("ADODB.Connection") objConnection.Open _ "Provider = Microsoft.Jet.OLEDB.4.0; " & _ "Data Source = " & db_path strSQL = "INSERT INTO tbl1 (x1, " & _ "x2, " & _ "x3, " & _ "x4, " & _ "x5, " & _...
  15. barny2006

    how to retrieve items from MSysIMEXSpecs?

    remou, i mean, as pete said, if i want to retrieve and save import specs in a file or something, how could i iterate through the msysimexspecs? can i do a select from msysimexspecs? and if i do, what fields/columns are in that object? can you give an example? like this one? SELECT...
  16. barny2006

    what's the syntax of cdburn.exe?

    hi, I'm wondering if somone knows the syntax for cdburn.exe program? thanks.
  17. barny2006

    copying a file to cd using windows facility

    hi, is there a way to copy a file to a cd-r using send-to in windows? without a third party cd-burning software? we have an app, that needs to back up user data on a weekly basis, and needs to be a vbscript so the user can invoke it from desktop without any complications. thanks.
  18. barny2006

    breaking age into year and month

    hi, is there a way to use modula or something like that to break age into years and month accurately in a single expression in access sql? i'm using int(test_dt - dob)/365.25 to get the year, but it's rounding up. so somebody 12 years and 9 months old, gets 13 years for yr value. and i'm...
  19. barny2006

    breaking age into year and month

    hi, is there a way to use modula or something like that to break age into years and month accurately in a single expression? thanks.
  20. barny2006

    problem with motherboard/ram

    hi, i have home made pc that i built in march 2006. it's based on asus p5rd1-v. two 100 gb hard drives, 1024 mb ram, dvd-r, cd-r, modem, and nic card. it has windows xp-pro. the pc was working ok until recently. when i booted up, the motherborad logo used to appear for a couple of seconds...

Part and Inventory Search

Back
Top