Search found 11 matches

by tj23
Fri Feb 19, 2010 7:38 pm
Forum: VBScript
Topic: Help changing regional settings(locale) by script
Replies: 1
Views: 2091

Help changing regional settings(locale) by script

HI, I am try to find a way to change the locale/regional settings of a system automatically during startup using vbscript.I could not find a way to accomplish this so far.Here is what I've found: 1)Use setlocale()/getlocale() function.This getlocale() returns the correct LCID but I'm unable to chang...
by tj23
Thu Jan 28, 2010 4:53 pm
Forum: Other Scripting Languages
Topic: cmd option to change locale/lang settings winXP
Replies: 1
Views: 3886

cmd option to change locale/lang settings winXP

Hi All,Is there a DOS command to change the locale setting of a windows machine.I googled out and found some information on a utility(intlcfg.exe).But I couldn't find a way to get this utility.Please let me know if you are aware of any alternatives/DOS commands that could do this!!.Thanks in advance.
by tj23
Thu Jan 28, 2010 4:53 pm
Forum: Other Scripting Languages
Topic: cmd option to change locale/lang settings winXP
Replies: 1
Views: 3886

cmd option to change locale/lang settings winXP

Hi All,Is there a DOS command to change the locale setting of a windows machine.I googled out and found some information on a utility(intlcfg.exe).But I couldn't find a way to get this utility.Please let me know if you are aware of any alternatives/DOS commands that could do this!!.Thanks in advance.
by tj23
Wed Jan 27, 2010 4:15 pm
Forum: VBScript
Topic: VBSCRIPT for windows applications?
Replies: 2
Views: 1474

VBSCRIPT for windows applications?

Yes.Point taken.I will go with QTP to get this done.Thank you!!
by tj23
Wed Jan 27, 2010 3:21 pm
Forum: VBScript
Topic: VBSCRIPT for windows applications?
Replies: 2
Views: 1474

VBSCRIPT for windows applications?

Thats a lot of information!!.Thanks:)As I said earlier, this can be done using QTP.I was wondering if VBSCRIPT can substitute QTP so that the whole thing would become a lot easier to setup and run..No other specific reasons!!
by tj23
Tue Jan 26, 2010 8:55 pm
Forum: VBScript
Topic: VBSCRIPT for windows applications?
Replies: 2
Views: 1474

VBSCRIPT for windows applications?

Hi All,Here's my problem:I need to automate a process in a windows application.I am able to identify and automate this using the tool QTP.Can plain VBSCRIPT be used to do this?Can windows application's handles be obtained using plain VBSCRIPT(Not using automation tool like QTP) just like we do for w...
by tj23
Tue Jan 19, 2010 4:30 pm
Forum: VBScript
Topic: How to : Connect to ORACLE DB using VBscript
Replies: 4
Views: 16081

How to : Connect to ORACLE DB using VBscript

Hey all,Thanks much for the information.I was able to get connected to the DB.Below is the code that I used.Set cn = CreateObject("ADODB.Connection") cn.ConnectionString = "Driver={Microsoft ODBC for Oracle};CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<SERVER>)(PORT=<PORT>))(CONNECT_DATA...
by tj23
Sun Jan 17, 2010 6:19 pm
Forum: VBScript
Topic: How to : Connect to ORACLE DB using VBscript
Replies: 4
Views: 16081

How to : Connect to ORACLE DB using VBscript

HI Jvierra,I tried the below string but couldn't connect to the DB>An error "Microsoft OLE DB Provider for Oracle: ORA-12154: TNS:could not resolve service name" was thrown.Any idea??cst = "Provider=MSDAORA;" & "Data Source=<DB ip.SID>;" & "User ID=<UID>;" & "Password=<PWD>;" set conn = CreateObject...
by tj23
Sun Jan 17, 2010 4:18 pm
Forum: VBScript
Topic: How to : Connect to ORACLE DB using VBscript
Replies: 4
Views: 16081

How to : Connect to ORACLE DB using VBscript

HI All,I 'm trying to connect to an Oracle DB using VBscript so that I can run queries during runtime.I 'm totally new to this concept.I found that a connection string is needed to get this done.Any idea on the format of the connection string.What needs to be installed in the client machine to get t...
by tj23
Wed Dec 09, 2009 1:49 pm
Forum: VBScript
Topic: Help!!-Ways to create user sessions in a web page
Replies: 2
Views: 885

Help!!-Ways to create user sessions in a web page

Hi All,I have written a script that automates the process of sending daily reports from a web based tool(which requires a user session).This is how it works:1.Launch URL and create user session using SendKeys "{TAB}"' to navigate and provide the username and pwd.2.Use XMLHTTP("msxml2.xmlhttp.3.0") o...