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 SkipVought 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. Gaffi1

    how can i write the code when you click at the sam button to change //

    If the images simly cycle, you might want to try a loop of IF conditionals. For example: If showing image 0, then show image 1. If showing image 1, then show image 2. ... If showing image n, then show image 1. I would give a coded example, but I'm not familiar with the Image controls. Sorry.
  2. Gaffi1

    System::String^ to int conversion in VC 2005

    Ok... I've figured it out, though I found very little information about this method in books or google... This is the correct conversion (or at least it's one way that works): int Value1; Value1 = System::Convert::ToInt32(this->Value1TextBox->Text); (write Value1 to file with int type)
  3. Gaffi1

    System::String^ to int conversion in VC 2005

    Hello. I'm still fairly new to C++, and I'm using the cookie-cutter style coding built into Visual Studio 2005 to help me out. From there, I'm adding additional code as needed. What this means for me is, when I have a text box on a form, the default type of the Text field seems to be...
  4. Gaffi1

    Help, I could use an extra set of eyes...

    nevermind, figured it out.... I was reading into the reqlog just the file name, not the path. I'm not sure how it was able to find the first files information, but either way, once I added full pathnames it worked brilliantly.
  5. Gaffi1

    Help, I could use an extra set of eyes...

    I'm trying to run a script that checks various log files with filenames in them to see if they exist or not and then writes results to a log file. So, I've used the fso.opentextfile to first open up a report of each of the log files in the main directory, then fso.opentextfile again to open up...
  6. Gaffi1

    How to Email reports as PDF files

    I just ran into the same problem as you THWatson. I was hoping maybe you could tell me how you fixed the printers in the windows registry problem?
  7. Gaffi1

    Problems with E-mail script in access

    re: FTP/Copying files, it can be done, just not exactly what I'm looking for, though might end up having to. re: CDO, I sure did. With CDO, CDOSYS, CDONTN or something like that all received various versions of "object required". This is so frustrating, lol... thanks for your continued help.
  8. Gaffi1

    Problems with E-mail script in access

    Before I get the usual scolding reply of did you search the forums and did you read the FAQ's, the answer is yes. I've read everything I can find searching for e-mail, smtp, and object required. I have tried various script options and all of them have so far failed. The various forms of...
  9. Gaffi1

    Script to automate manual file conversion

    ok, i don't know why the prior script wasn't working correctly, but thanks to someone else for tipping me off on a tweak to get it to work correctly. I modified the copy script to : wshshell.Run ("cmd.exe /C xcopy " & "" & strNewFile & "" & " " & "" & newpath & "" & " /Y") Thanks!
  10. Gaffi1

    Read directories for vbscript from text (config/param) file

    Thanks, got this to work via the following: Config File Dim strFolder 'Sound Folder Location Variable Dim qaFolder 'QA Folder Location Variable Dim objFolder 'Current FSO Folder for Conversion portion of script Dim colFolders 'objFolder.SubFolders Dim objSubFolders 'Sub Folders under...
  11. Gaffi1

    Script to automate manual file conversion

    HEHEHE, I'm back :) OK, found a bug and I'm not sure what the heck is causing it... The bug is in the xcopy process. While its copying everything the audio files to where they are supposed to go, when I go there to listen they won't play, indicating the codec is wrong. Yet all we are doing...
  12. Gaffi1

    Read directories for vbscript from text (config/param) file

    Thanks Sheco, I agree that it would be easier for it all to be in one place, but you know how it goes... ask and they shall receive, lol. Any chance someone could point me in the direction of how to do it? Is it as simple as reading in the open text file? I figured you would have to call a...
  13. Gaffi1

    Read directories for vbscript from text (config/param) file

    Hi, i know that you can read information in from a text file using the FSO methods/properties. I'm not sure however if I can read from a text file a directory and pass it into a script. For example, I have a script http://tek-tips.com/viewthread.cfm?qid=1208195&page=1 that works perfectly...
  14. Gaffi1

    Script to automate manual file conversion

    well... that's a wrap!!! I accomplished my mission and everything works extremely well. I can't think of anything else that I'll need now. Thank you to everyone who helped. I gave stars to each of you! I couldn't have done it without you! Here is my final script: Set WshShell =...
  15. Gaffi1

    Script to automate manual file conversion

    well, I'm a persistant little bugger and came up with a solution that works brilliantly. And in the best of my fasions, I want to take it another step, lol..... I'm going to keep plugging away at this so please don't think I'm a freeloader because I'm not at all. Just a beginner having a hard...
  16. Gaffi1

    Script to automate manual file conversion

    OK, so far so good... everything is working peachy. To bypass the filetype, I simply moved the conv32 util to its own folder outside \soundtest\ and did the same for the scripts. The last thing I'm trying to do now is copy the new wav to a secondary subdir. Basically, once the wav file is...
  17. Gaffi1

    Script to automate manual file conversion

    thank you PHV, it took me a couple of hours but I finally got the recursive code to work and here it is in all its glory... but it has one problem I can't bang my head around... Set WshShell = CreateObject("WScript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") strFolder=...
  18. Gaffi1

    Script to automate manual file conversion

    Ok, so switching over to FSO, here is where I am at.... Set WshShell=CreateObject("WScript.Shell") Set FSo = CreateObject("Scripting.FileSystemObject") Tmpdir= "C:\soundtest\" WshShell.CurrentDirectory="c:\soundtest\ConvUtil" Set oFolder = fso.GetFolder(TmpDir) For Each objFile In...
  19. Gaffi1

    Script to automate manual file conversion

    OK, I think I've converted the code correctly for this to work with FSO but I'm still getting an error message... could use a hand... set wshshell=createobject("wscript.shell") Set FSo = CreateObject("Scripting.FileSystemObject") Tmpdir= "C:\soundtest"...
  20. Gaffi1

    Script to automate manual file conversion

    ok, so time for the hypotheticals... 1) is it possible to list all files in a directory and its sub directories instead of just the specified folder? [Current Usage] Set colFiles = objWMIService.ExecQuery _ ("ASSOCIATORS OF {Win32_Directory.Name='C:\test'} Where " _ & "ResultClass...

Part and Inventory Search

Back
Top