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

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


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

click two input buttons in form. both buttons have the same value

Hello guys, I have a form (see below), where I need to select a value from the select list, then I click "Go", page loads, then I select another value from the second list, then I click in the second...

View Article


How to convert a TXT file into a VB script?

I have a TXT file that was a ebm macro that was converted. I need to know how to convert that TXT file into vb so I can import it into a IBM PCOMM macro. Can someone tell me how to convert the TXT file...

View Article

Get source code in Server in my office

Hi I need to see (only) the source code in server in office , I get to Service Desk, but very slow to provide Are there some other way to get it ? tia

View Article


[RESOLVED] How to include a file of classic ASP code?

I'm wanting to create a file for classic ASP/VBScript code. I'm assuming the extension would be .vb Can I include it into my webpage like this? Code: <html>   <head>         <script...

View Article

Creating a datatable using data from database

Hi, how can I create a datatable from a table in my database. I want to be able to use the datatable to perform calculations such as averaging a number of grades of different students. Im currently...

View Article

new string what?

strNoWOCalDate = string(2-len(month(cdate(strCalDate))), "0") & month(cdate(strCalDate)) & string(2-len(day(cdate(strCalDate))), "0") & day(cdate(strCalDate)) &...

View Article
Browsing all 688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>