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

Can't run excel macro from VBScript (WireChartEvents error)

Hi everyone, I'm not an expert on VBA and VBScript, and I'm trying to run an Excel Macro from VBScript in a Windows 7 bloomberg computer and some how I'm not managing to do so. When running the .vbs...

View Article


append registry key script not working correctly

Good morning i have a scenario where i need a value of a registry key to be appended with the original value still retained and added to the value for example is hkcu\software\test with a string value...

View Article


Losing a connection when concatenating vbCrLf

Hi, I am developing a VB script to access a Unix server to run a series of commands and ultimately execute a script. I am using the OstroSoft Winsock Component to make the connection and then I am...

View Article

Cannot Use parentheses when calling a sub

Good afternoon i am just finishing a script but i have the following scenario 1. script needs to check if the string value is present at all in that particular entry, if it is then DO NOTHING. 2....

View Article

Asp Page Development in a Chromebook or Android Tablet

I have a web site with a 1000+ web pages that have an .aspx extension. The only thing I really use is the include files as far as scripting, so I'm a complete newbie. Anyway, to do my pages, I use Vis...

View Article


VBS copy and paste into another excel match destination formatting

I have been searching online for the answer to this without much luck. 1) I have an excel file that has "general" formatting. It has dates etc. etc. When it is formatted manually within the file to...

View Article

SendUsing invalid configuration error code 80040220 solution

This is probably is old news but I think it is worth posting. Last night I wanted to send email with attachment using script but I ran into problem. When I send the email I get SendUsing Invalid...

View Article

Deleting part of a string value

Good morning, I have a custom action which edits the string in a value in the registry to en-gb is there a way i can remove this from the string without it deleting the entire value or the entire key...

View Article


[RESOLVED] TextBox Click Event

following code used to work before but suddenly failed. I tried inserting OnClick="Button4_Click" but that gives me a compilation error. what is going wrong ? Code: <asp:Panel runat="server"...

View Article


VBScript: how can i use win32 functions on script?

i'm totally new with VBScript. but i can show a message box: Code: MsgBox("hello") but i can't add a message box title :( but going to the problem: how can i use the Win32\API functions?

View Article

VBScript to do an action on all files in a folder

Hi everyone, I basically have a vbs script to rename all outlook messages stored as .msg files so that they actually are relevant to someone looking for a specific message. The script works well and...

View Article

simple script that asks for a password with inputbox/msgbox/net use

I am looking for a simple vbs that asks for a password with inputbox after you run it. (the password check can happen with plain text in the script - i know it is not secure but it is good enough). if...

View Article

How to convert feet and inches into inches using classic .asp

Hi, I have thousands of different sizes that I need to convert from feet and inches into inches using classic .asp. The sizes are listed in the following format: [width] x [height] The width and height...

View Article


Help adding current year month and date to script target foler

im still learning VB but i am having i have about given up adding the current year month and date to the target folder this robocopy script i am using for example my target folder name is...

View Article

transfer SelectedIndex between two WebForms

I have two WebForm pages, each with a DropDownlist named ddl1. I need to send the selected index from the ddl on the first page to the ddl on the second page, followed by an automated selection of the...

View Article


Why doesn't CMD execute within a VBS launched from Scheduler?

This is my VBS file contents : Code: dim com1, com2 com1 = "C:\windows\system32\cmd.exe /c D:\wamp\bin\mysql\mysql5.6.17\bin\mysql.exe -h xxx -u xxx -pxxx xxx < " & chr(34) &...

View Article

Correct format to attach a file to an email using Outlook in VBS

I have a working VBS script that I had tested and was able to send emails with. It was a kind of template that can be modified for various uses. The problem I hit was when i tried to add a file as an...

View Article


Search for a sting in text files Merge those text files

Hello, I am having a little trouble. Here is what I am trying to do. Search all text files in a folder for a string If that string is found than merge those text files that were found. Any help to...

View Article

Using VB Script to open, save, and close a program

I am trying to have VB open Excel, save the workbook (after a macro runs), then close the workbook. The catch is that I have an Adobe Report-Builder Plugin (used to pull Adobe Analytics into the...

View Article

How can I get a file list with the same sorting as Explorer?

Hi! I need to make a directory listing with VBS, but I need to have the files sorted just as they are when you open a directory in Windows Explorer. For instance, I open a folder with images, and they...

View Article
Browsing all 688 articles
Browse latest View live


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