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

Using vbYesNo in MsgBox

Hello, I am performing a comparison below and would like to incorporate the vbyesNo. When clicking on yes I would like for the event to continue and No to exit the sub. Been trying different things...

View Article


Outlook macro script problem

Hi. I have put together the below script for batch printing email pdf attachments. I get hundreds of emails which all have the same name as the attachment "Tax Invoice" which is why I have inserted the...

View Article


String for SQL Statement

Hi Everyone, I'm new to aspx & VB script & writing a SQL statement in vb script. I'm executing a query against a db & write the output to an XML file. When my query is a simple select like...

View Article

How to Get the New ID number to pass using Stored Procedure and SCOPE_IDENTITY

I need help! I am able to get this code to work, but it passes the previous Meeting ID, not the newly added Meeting ID. I am still somewhat new to VB and Asp.net so I cannot figure out where the...

View Article

Calling exe from VBS with stored credentials

For the life of me i cant figure this out, if someone could shed some light on this i would be grateful. i planned on using the code below to call a exe from the vbs with diff user credentials. Code:...

View Article


EXIF from jpg and link to google maps - "Convert" vbs to asp classic page

Hello, sorry for my bad English. I have create an asp classic page with a list of photos (jpg), i have to put a link for every image pointing to google maps. So i need to extract exif info from the...

View Article

vbs Inputbox - how to set focus at the end of a default value

Hi, In a vbs script 1/ how to set the focus at the end (sendkeys end??) of the default. In this example Code: InputBox ("Give a pair of numbers", "title", "1-2") I wish the focus to be after "2" 2/ how...

View Article

how to add an HTA script into Explorer right click menu, just as vbs or bat...

Hi, OS: Win7 64bits Family To add a vbscript or bat file to Win7 Explorer right click menu, ones does the following: Within Explorer: 1. type "shell:sendto" into the address bar 2. drop the vbs, bat...

View Article


Image may be NSFW.
Clik here to view.

Get error on web application defining a class

Get error only on web. locally it works fine. the line is: dim MIO as new IOM IOM is a class I defined and resides in App_Code Here how it starts: Imports Microsoft.VisualBasic Imports System.Data...

View Article


VBS - shell commands how to view & keep them in the shell - console looses...

OS: Win 7 64bits Hi, I want to run some command line from the shell and be able to: 1/ view the run command 2/ keep it the memory, so that I can use the arrow down key to reshow it in order to modify...

View Article

Image may be NSFW.
Clik here to view.

VBA code to VBS file

Hi I have a vba code in Outlook for saving attached pdf files to a folder. but I want to run the code in a vbs file insted. if I just cpoy the code to notepad and save it to a vbs i get the follow...

View Article

[RESOLVED] .DeleteFile not working

In a vbs, I have this sub to delete some files depending on the extension: Code: Sub DoDelete(TheFolder) Dim TheFile Dim FSO2 Set FSO2 = CreateObject("Scripting.FileSystemObject") TheFile= TheFolder...

View Article

Running querry in vb script

Hi All I hope someone would be able to help me out here. I am not a programmer but can put together some code to get what I need. I have a list of computers in a text file. I am trying to read the...

View Article


Image may be NSFW.
Clik here to view.

Help with script to login to gmail. Excel 2013.VB 7.1. Button will not click

TLDR:Need help with clicking the NEXT button, please. I was hoping somebody could help, please. I am a newcomer to VB but have fallen in love with it already. I am attempting to compile a script that...

View Article

Image may be NSFW.
Clik here to view.

Twitter timeline not loading in visual studio web browser

Hi, I'm trying to load a webpage into a web browser widget in visual studio 2015, however the page doesn't load correctly. I suspect it could be a problem loading the javascript that sets up the...

View Article


divide text into 3 column by count words and divide by 3

data d/11, ratndeep colony, bhandup west que. i have 6 words. i want this text dived into 3 column. like that 6/3=2 therefore col1 col2 col3 d/11 ratndeep colony bhnadup west (2words) (2words) (2words)...

View Article

Need a little Modification in a VBS ! ( Really Urgent !)

Hi everyone! (excuse my english) I need to modify a VBS that I took from an other forum, it's used to move UP level all files within a folder structure - better explained with examples: let's say I...

View Article


Image may be NSFW.
Clik here to view.

[VB Script] Setting a dealy in VB Script

Hi VB Forums, I need to stop my code from running for 1 second before continuing on to the next line. WScript.quit(1000) produces the error below: Below is a simplified version of what I want to...

View Article

VBScript to open (BG) web page, send ID, PW, "Enter", then scrape info from...

As the title says.... Create a VBS file to: open in background a webpage provide login ID and Password to it send "enter" (this process then invokes another page) then read this next page and scrape...

View Article

Image may be NSFW.
Clik here to view.

SelectNode[s] method, comma breaks string

Hi All, I'm using a vendor supplied script to run a function I made to swap values in 2 XML strings. When I run it and the attribute values have commas it doesn't load the entire string and breaks it...

View Article
Browsing all 688 articles
Browse latest View live


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