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 gkittelson 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. Sasquatch69

    What Scripts Are Running on My Computer?

    The result is not the same as "CommandLine". If i use CommandLine, i receive the name of the batch file i use to start my vbs. objProcess.CommandeLine return: cmd /c ""C:\testcall.bat" " testcall.bat is the program who call the VBS file. If i use Executable path, i...
  2. Sasquatch69

    What Scripts Are Running on My Computer?

    I need to know what Script are Running on my computer. On Windows XP, i can use this little script: Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.OpenTextFile("c:\test.log", 8 , True) 'Get parameters (Process ID) Set objArgs = WScript.Arguments For I = 0 to...
  3. Sasquatch69

    calendar in visual basic

    http://support.microsoft.com/default.aspx?scid=kb;DE;311219 i install offcie XP and i think this is why it not working(see link). I replace MScal.ocx(version 10) by Mscal.ocx(version 9), regsvr32 Mscal.ocx, and it work very well. thanks.
  4. Sasquatch69

    calendar in visual basic

    I have control calendar 10.0 in my application. This application is working very well since june 2003. Now i need to make some modification in the application but when i open my project, the control calendar are change for Picture box with the name of my calendar!!!, i re-insert a control...
  5. Sasquatch69

    Change Local Security settings

    Hi, anyone know how to change local Security Settings with VBscript or Wscript?? I need to change "Log on as a Service" in the "User Rights Assignment".
  6. Sasquatch69

    delete files wscript

    ok, just a error when i paste the code, the "and" is not in the code. I thing the format of the date is not ok. any ideas...
  7. Sasquatch69

    delete files wscript

    Hi, i try to delete all file in a directory where the date is less than a specific date(date - 10 day) My Code: If CStr( Day((Now()-NbDay))) < 10 Then jour = &quot;0&quot; + CStr( Day((Now()-NbDay))) Else jour = CStr( Day((Now()-NbDay))) End if mois = CStr( Month((Now()-NbDay))) annee =...
  8. Sasquatch69

    Print report from Visual Basic 6

    Hi, I got a little problem printing a report(crystal report) from visual basic. I open the report without problem and i can print the report when is open. But if i try to print it with: ReportViewerFrm.CRViewer1.PrintReport It does'nt work!!!! but if i run my program in step by step mode, it...
  9. Sasquatch69

    host variable declaration in cobol

    Hi, i execute a SQL query in Cobol. I have 450 host variables to declare. My problem is, when i execute my query, i have some null field and then the query return me error( sqlcode -305). i know i can use a indicator to verify if my field is null, but i don't want to declare 450 indicator and...
  10. Sasquatch69

    Insert and update

    thank you guys, I will use a insert and update(Terry solution). It work very well. thanks a lot
  11. Sasquatch69

    Insert and update

    thanks Wsmall73, But i got a little problem because i have a primary key. i want to update(or replace) the record but i can't with insert into.
  12. Sasquatch69

    Insert and update

    Hi, I need to update a table1 from table1 in a SQL SERVER database. I can use update without problem, but i also need to insert new value from table 2 in table1. I know i can use &quot;replace into&quot; in MYSQL(replace and insert). but it seem that it not working in SQL server. i really need...
  13. Sasquatch69

    pass file in vb programme.

    THank you very much Sunaj It work perfectly. thanks a lot.
  14. Sasquatch69

    pass file in vb programme.

    Hi, i got a little problem. I made a Script in VB(not vbscript) who convert some caractere in a text file My code: Private Sub Main() Dim temp As Byte Open &quot;D:\input.txt&quot; For Binary As #1 Open &quot;D:\output.txt&quot; For Binary As #2 While Not EOF(1)...
  15. Sasquatch69

    write apostrophe in cobol

    GOOOOOOOOOOOOOD!! Thanks you guys, It working, i try The Dimandja solution and it works. Thanks a lot...
  16. Sasquatch69

    write apostrophe in cobol

    thank you CliveC and Dimandja, but it doesn't work. I just want to replace all apostrophe in a string with a space. Exemple of my string, a town call VAL D'OR. I don't know how i can do my inspect because i have to put my apostrophe between two apostrophe ( '''). Clive, i do what you said...
  17. Sasquatch69

    write apostrophe in cobol

    Hi, i need to replace all apostrophe(') in a string. i use this: INSPECT MYVARIABLE REPLACING FIRST 'apostrophe' BY space. How can i write apostrophe in that case??? (''',not work) thanks a lot.
  18. Sasquatch69

    call .vbs file with parameter!

    Hi, I need to call .vbs file with parameter. I call this .vbs file in a batch file. Anyone know how can i do this???

Part and Inventory Search

Back
Top