Login | |
|
 |
Re: does anyone here use HTAs? - 3/18/2005 12:10:11 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Whereever I need userinput that requires more than 1 line, i.e. username/password. I have built an unattended OS setup based off of WinPE that has a "gui" built with an HTA. A while ago I built a script that parsed through a folder of MP3's, extracted the id info then wrote a HTA that showed the original filename and the new file name that was based off of the info taken from the ID tag. Why I did this when there are apps that do it I don't know.
|
|
| |
|
|
|
 |
Re: does anyone here use HTAs? - 4/9/2005 12:41:26 PM
|
|
 |
|
| |
TNO
Posts: 1240
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
esnmb - " I really just don't understand how to assign variables to tables or anything. I have a script that loops to collect mailbox information. I have it creating a CSV, but I really would like to have it be an HTA so others could use it from IE. So I am just trying to learn how to do that." Have you tried using TDC (Tabular Data Control) to read directly from the CSV into the table?
|
|
| |
|
|
|
 |
Re: does anyone here use HTAs? - 4/30/2005 4:02:10 AM
|
|
 |
|
| |
TNO
Posts: 1240
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
quote: Originally posted by toddio GLM: > I'm interested in your text-chat app, and what means you're using get new data populating in each user's instance of the app. TextChat uses a timer to reread the text file and redraw the display every 10th of a second. I've only ever had a few users on it at a time, so haven't seen heavy use. I mainly wrote it to see how much activity it would take to cause a collision. I will clean it up some and post a working copy on my website next week. It's too big for a forum message. But I'll try to put together a demo to show how I write and read the file.
What is your website? I'm curious on how you implemented vbscript to do this.
|
|
| |
|
|
|
 |
RE: Re: does anyone here use HTAs? - 3/27/2006 4:35:29 PM
|
|
 |
|
| |
rOOs
Posts: 63
Score: 0
Joined: 2/28/2006
From: Switzerland
Status: offline
|
This is for MSSql... strConnectionString = "Provider=sqloledb;Data Source=servername;Initial Catalog=DB;Trusted_Connection=yes;" Set objConn = CreateObject("ADODB.Connection") Set objCommand = CreateObject("ADODB.Command") Set rs = CreateObject("ADODB.Recordset") objConn.Open strConnectionString Query = "SELECT * FROM table" rs.Open Query, objConn, 1 rs.MoveFirst Do Until rs.EOF ' output here... Loop rs.Close objConn.Close If you want to change it to mySQL google for "VBScript Connectionstring mySQL" or go to www.connectionstring.com (or somewhat like this)
|
|
| |
|
|
|
|
|