VBScript Questions and Answers

Recent IT Questions

21 - 40 of 101

Why isn't my data displaying in the next page of Gridview?

I added a sqldatasource from my toolbox to my aspx page. I then configured the sqldatasource to connect to a table. I then added a gridview to the same aspx page and selected the sqldatasource as it's data source. In addition to other column formatting etc., I set paging to true. I then opened...

View Answer   |  Feb 5 2009  5:25 PM GMT
Visual Studio 2005, GridView, VBScript
asked by Ilfoprog

  30 pts.

How to remove "VBScript" from the title of a popup Message box

how to remove vbscript in title

Answer Question   |  Jan 29 2009  4:43 AM GMT
VBScript, Web development, VBScript MsgBox
asked by 1234755

  5 pts.

Help a beginner! What is wrong with this VBScript code?

<html> <head> <%Dim ColorIndex(4),Colors(4),i %> </head> <body> <%ColorIndex(1)="Love":ColorIndex(2)="Jealous":ColorIndex(3)="Peace":ColorIndex(4)=+"Leading" Colors(1)="red":Colors(2)="yellow":Colors(3)="green":Colors(4)="blue"%> <form name ="myform">...

View Answer   |  Jan 25 2009  6:33 AM GMT
VBScript, Arrays, Web forms
asked by Sief

  70 pts.

Using the selectedIndex value in VBscript

I'm calling a function through <select onChange="funcname()"><option>. inside that function I got the selectedIndex value, but when I used that value as an index to get an array item which is declared in the <head> section and filled in the <body> I failed it always gets...

asked by Sief

  70 pts.

Using Mail stationary

I am automating mail sending in lotus notes using vbscript. But I am not able to use a saved mail stationary as the mail form. I want the script that will use a specefic stationary as the mail template and save that mail in the draft folder.

Answer Question   |  Dec 31 2008  6:53 AM GMT
Lotus Notes, VBScript, automate mails
asked by Nabojyoti

  5 pts.

Image upload on multiple servers using classical ASP or VBscript

We have two servers for load balencing, But when we have logged in from one server and upload an image to the server by using simple image upload functionality all work fine but when we try to view image through another server then it doesn't show. Because we store a path of image to DB and image...

View Answer   |  Dec 30 2008  8:32 AM GMT
VBScript
asked by SwapnilD

  5 pts.

Can I create a child process using WMI VB scripting?

Using WMI VB scripting, I would like to create/attach multiple child processes to a parent process, such as the explorer process. Any ideas how this can be done? Below is my code that fails. Thanks! Chris Option Explicit dim wmi, rootProcessName, rootProcess, objStartup, objConfig, objProcess,...

View Answer   |  Dec 5 2008  3:33 PM GMT
Visual Basic, VBScript, WMI
asked by Simspace

  20 pts.

Registry Changes for Specific User

I want to make changes to users registry setting in a non domain environment. Can any one help me in reading the registry value of specific use in the system or remote sytsem on network without domain/AD and write the necessary changes in registry of local or remote machine. The whole process need...

asked by Prasmin

  5 pts.

Multiple image swap onclick - the main image and thumbnail to show 'selected'

Hi all, Just joined in hope for some input on this, there's probably a simple answer but my brain has shut down. I know nothing of JavaScript, only VBScript.. so any JavaScript I use is taken from the net. I'm working on a page which loads a project and its images from a database, for each image...

View Answer   |  Nov 26 2008  8:44 PM GMT
JavaScript, VBScript, ASP
asked by Mabronics

  15 pts.

find which excel spreadsheets contain macros

in a folder or drive how can I find which excel spreadsheets contain macros without opening every one individually?

View Answer   |  Nov 12 2008  5:21 PM GMT
VBScript, Microsoft Excel, Macros
asked by FreemaG

  5 pts.

Changing Binary Registry Setting Remotely though VBS Scripting

I am Looking to change a specific registry key using a script I have written. Cannot get the script to run correctly, have been racking my brain on the Answer. Need help. Const HKEY_CLASSES_ROOT = &H80000000 strComputer = "" Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\"...

Answer Question   |  Nov 10 2008  7:59 PM GMT
VBScript
asked by DjLimitless1

  5 pts.

VBScript

How can I use VBScript to copy the contents of a folder (including subfolders), but I only want it to copy new files/folders or ones that have been modified since the last copy.

View Answer   |  Nov 5 2008  3:52 AM GMT
VBScript, Windows scripting
asked by Davlyn

  15 pts.

Ownership of VB SCript program

If i am hired to write an application in visual bascic script is it the industry standard that i own the program.

View Answer   |  Oct 30 2008  4:11 PM GMT
VBScript, Programming
asked by Edisteve

  10 pts.

How to reboot a remote server using VB?

how to reboot a remote server using vb

View Answer   |  Oct 29 2008  11:40 AM GMT
VBScript, Scripting, Windows Management Instrumentation
asked by Nerd00101110

  5 pts.

VBScript

I am having a problem moving large amounts data to a sharepoint server due to file path length. Below is the script I have but it not going to work because it looks for two seperate values only. I need one that will check the entire path and filename and if it exceeds the value I out in then it...

Answer Question   |  Oct 9 2008  9:08 PM GMT
VBScript, SharePoint
asked by Kwcompco

  15 pts.

VBScript for FTP log on and rename file?

Hi All I wonder if any one can help me on this please... I would like to create a VBScript (or something similar) which when run, 1. It logs on to the ftp server, with a specified username/password. 2. In the current directory, it searches the file "abc.txt", if exists, it checks the timestamp...

Answer Question   |  Oct 8 2008  6:58 PM GMT
VBScript, FTP
asked by Aiko27

  20 pts.

VB Script to nest MSI file inside InstallShield

I'm looking for help with a VB script to have a MSI file to .exe run inside Installshield.

Answer Question   |  Oct 6 2008  7:06 PM GMT
VBScript, InstallShield, .MSI files
asked by MichelaDee

  10 pts.

Setting Local User Environment settings with VBScript on a standalone 2k3 server

Is it possible to set TerminalServicesInitialProgram, TerminalServicesWorkDirectory and EnableRemoteControl via VBScript on a standalone server? I am getting “The specified directory object is not bound to a remote resource” error, code 80005009, Source: Active Directory.

Answer Question   |  Sep 26 2008  5:37 PM GMT
Active Directory, Windows Server 2003, VBScript
asked by Crazybob

  5 pts.

How do I dismount an exchange 2003 DB, run eseutil /d and then mount using a VB script?

All, I have been working on a simple VB script to dismount a specific store, run a offline defrag, then mount the store again. Since this exchange 2K3 server has mulitple stores, I would rather not stop the IS service. I would use a scheduled task to call a batch file which runs the VBscript. I...

Answer Question   |  Sep 4 2008  12:52 AM GMT
Exchange 2003, VBScript, Exchange databases
asked by DROCK

  10 pts.

VB Script question

why doesn't the statement if (thres_PrivateBytes > cur_PrivateBytes) work properly? it was working when I had the WMI data type as Real32 and now it's UINT32 because I didn't have a conversion from scientific notation to decimal. Anyway, do I need to declare the vars as integers? my theory is...

Answer Question   |  Aug 11 2008  9:34 PM GMT
VBScript, VBScript Functions
asked by Minnow

  5 pts.

21 - 40 of 101