Quantcast
Channel: VBForums - ASP, VB Script
Browsing all 686 articles
Browse latest View live

Gaining focus of a window without the complete name

I've been searching online and experimenting but can't get this to work. I'm using the Windows Scripting Host (just running .vbs files on the machine) What I need to do is gain focus on a particular...

View Article


sending computer to sleep

hi i have a vbs that after two hours sends my computer to shutdown. this is the script set shell = CreateObject("Wscript.Shell") shell.run "shutdown.exe -s -t 7200" i was wondering if there is any way...

View Article


Calling macro from VB script

Hi I am trying to call a macro in test.xls using the following VB script Option Explicit Dim returnVal returnVal = 0 WScript.Echo returnVal Dim xlApp, xlBook Set xlApp =...

View Article

[RESOLVED] Template Column Textbox doesn't update text property when user...

Hi All I've been staring at this for about the last hour and I'm sure I'm missing something obvious but I just can't see it. I have a DataGrid on a Web Form. It has a tempate column which is bound to a...

View Article

calculator GPA

hi. there is no GPA calculation example using VBScript? or anyone can help. hope you all can help me in VBScript in html coding. Course Code Course Name Grade Grade Point Credit Hours Credit Hours x...

View Article


Using ShockwaveFlashObjects in VB Script

This has been bothering me for quite some time now, I hope someone here can help me. In Windows Notepad I save a blank file as "hello.vbs" Then I enter this: Code: Set test =...

View Article

[RESOLVED] Newb to VB need help

Sorry for the newbish question asking for help, but for the life of me i had been trying to modify my script to read my exclusions from a single of multiple text files. well here goes my script, it...

View Article

Is this possible with vb

I have a program at work where I right click a text box. Up pops a text box where I would type a numbber in the first field, tab a few times to another field and type another number and hit enter. I...

View Article


[RESOLVED] Self Teaching VBScript- Noob question

I am working with the book Microsoft WSH and VBScript Programming for the Absolute Beginner. Third Edition The first chapter introduces a sample script that is supposed to build a knock knock game,...

View Article


Set value of variable upon hyperlink click - ASP.net

Hi guys, I've currently got a listview on a asp.net webpage that displays "cottage" records from an access database. The name of each cottage is displayed as a hyperlink so when clicked brings you to...

View Article

Count files in folders, subfolders on remote servers

Hi all, complete noob to vb. OK.. so I have this. It does great at counting the number of files in c:\temp and it's subfolders. But it pops it up in a msgbox. What I really need is something that will...

View Article

Type mismatch

I am getting an error of type mismatch error. Here is the code:- If OracleFormWindow("Vendor Items").OracleTable("Vendor Items Table").GetFieldValue(x, "SKU #") = DbGetString(dbCon, "select distinct...

View Article

Redirect exe file output to text file

Hi, I am just trying to execute the below command in command prompt and it works perfect Code: """C:\Program Files\ccc""" -C server -t 13 -l -R -s 03/04/2013 /D/ > E:\m_bkup\mk.txt but when i try to...

View Article


[RESOLVED] Redirect exe file output to text file

Hi, I am just trying to execute the below command in command prompt and it works perfect Code: """C:\Program Files\ccc""" -C server -t 13 -l -R -s 03/04/2013 /D/ > E:\m_bkup\mk.txt but when i try to...

View Article

VB scritp to open .exe file and perform 4 activity

I have a tool based on .net . I need a vb scritp which would open this tool (.exe file) and then select 3 radio buttons , click on a button to browse a xml file stored in same folder and then click on...

View Article


Unexpected error line 5

I have inherited a ASP site using the old style ASP and only changed several lines in the form handler, but now I keep getting this error: Microsoft VBScript compilation error '800a0401' Expected end...

View Article

Help with regexp

Hi, How would I do multiple searches I have done one Code: .Pattern = "\b(https?)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]" now I also want to look for email address's Please help before...

View Article


VB Code help

I'm trying to make an application that opens and creates files.(i made the file type) and I would like to show on the main/startup screen recently opened/created/saved/edited files. Is there a way to...

View Article

CInt overflow

Give me CInt Overflow. What should I change to overcome this error Thanks ====================================================================================================...

View Article

Mapping network drives

I have been given a script that will open a connection to a remote server using its static IP address, I can connect and open a document, edit and do what I need to... btw this is the company hot...

View Article
Browsing all 686 articles
Browse latest View live


Latest Images