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

xml web page directly to a saved fike on disk

I have an xml file being brought back to my Web app as an html page.. Thing is I don't want it as a page but saved to a file on the server disk....... The request is made by:...

View Article


[RESOLVED] Parsing a Filename Help

Parsing a Filename Help Hello everyone, I am new to the forums. I hope that someone can help me. I am new to VBS also and need to automate a script that I found online. I need the file name to be...

View Article


Image may be NSFW.
Clik here to view.

please help!

i want to edit only my post. please help me guys! here is my code: Code: while not rs.EOF if Session("username") = "erick" then %> Posted By: <%=rs("uname")%><br /> Title:...

View Article

Cancel Button Help

I need my cancel button to exit the script. I tried adding: Code:     If strAnswer = "" Then     Wscript.Quit and it didn't work. Code: Function Help        Dim namesegment, folderSpec, file...

View Article

call a webpage API and pass credentials issue

Hi, I am using VB 2010 and want to call an API on a website that allows me to set and get information. The web page requires authentication so I need to pass it a username and password. The web site is...

View Article


"Multiple-step OLE DB operation generated errors" when writing text to Excel

Hi all, I have an Excel sheet which is filled with data using classic ASP. All the data I enter is all numeric. Now I am trying to write text to a certain cell in Excel, but this is generating an...

View Article

Can't get a loop to stop.

Hey I'm very new to this whole coding thing and I have managed to make a little program that reads back whatever I put in its box. However, it just keeps repeating and repeating and I can't get it to...

View Article

[RESOLVED] Can't get a loop to stop.

Hey I'm very new to this whole coding thing and I have managed to make a little program that reads back whatever I put in its box. However, it just keeps repeating and repeating and I can't get it to...

View Article


Appending computer name in web path

All, I am very new to VBS, and need a little help. I am developing an automated speed test that is to run twice a day. One of the pieces of information I need is the computer name (not IP address). I...

View Article


Playlist?

Okay, me again. Surprise surprise. So thanks to my previous post here I learned quite a bit actually and have been able to learn to do several things, including how to play a .mp3/.wma/.m4a in the...

View Article

How do I activate keyboard shortcuts?

Okay, so I figured out a while ago how to do something like this: Code: set WshShell = WScript.CreateObject("WScript.Shell") WshShell.SendKeys "Hey, I need some help!" Is there any way I can use the...

View Article

Sleep?

.....okay, honestly I'm starting to get a little bit embarrassed with my incompetence....... So anyway what I'd love this time is a way to use .vbs to put my computer to sleep (Standby/Suspend to RAM)....

View Article

class asp memory leaks

Hi, anyone experience with memory leak in classic asp; such as using com object, return object from functions, please share your experience.

View Article


Question about clicking a button and calling a button_click event

Hello I am very new to this. I have a form with a Button1 and a Button2 and Textbox1 and a RequiredFieldValidator. The CausesValidation property of Button2 is set to false. If the Textbox is null and I...

View Article

Error Code 800A01AD

Dear valued community I have been assigned with the Task of solving a currently occuring error within an VBScript. The script itself works fine on a Windows Server 2008R2 Standard x64 Server...

View Article


VB Script for Uploading files based on file name on share point.

Hi All, I have a situation like , i have folder in which excel file are present in following Manner. A_1.xls A_2.xls A_3.xls B_1.xls B_2.xls B_3.xls . . . . . now i want to move A files in some...

View Article

.vbs set focus on opened firefox window or open a new firefox session

Hello, I want to set the focus to the opened Firefox window. This code ist not working for me, it's opening a new firefox window, what I don't want to: Code: Dim ws     Set ws =...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] How to change this to output to MS Word or PDF

Hi everybody, I am in a bit of a situation, I have VB application with outputs the results to a HTML file which was fine until recently, now file that is outputted has over 50000 records, all text and...

View Article

ASp/VBScript SQL Stored Procedure with 2 user input variables from form

I have a Stored Proc that looks for a username and password to be passed in. I supply those values from a form. Below is my code. I cannot get it to work. I was asked to model the code after the a...

View Article

Detecting if multiple IE windows are open...

Hi. I'm building a macro that detects all the open IE windows. The requestor wants the macro to detect any random number of IE windows. The reason for this is that not every person who uses it will...

View Article
Browsing all 688 articles
Browse latest View live


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