100Topics.net

VBScript

           


Home > Computers & Tech > Programming > Scripting > VBScript

TOPICS

Running Vba Script In Excel

Hi, I need help. Im generating a excel file using jakarta poi. I have added a vba to my excel template so that it creates a chart on file open using the data populated using the poi map. Now this works fine in a windows machine. But on a linux machine the vba does not execute. I need to release my prod in linux too and im losing time. Is there any workaround for this???? Thanks in advance Karthik

....know more

Open File Dialog Box

I am in the process of writing a VBScript to grab a text file and rewrite it into an XML formatted file and decided that for each part that I'm working on I would drop off a small snippet of my code that may or may not be handy for people. I know not many people use VBScript, but it's always handy to know, especially if you just want to create simple solutions using what your Operating System gives you. [b]Note: These snippets have only been tested on Windows XP which is the platform

....know more

Making Fake Virus In Vbs

Note: Use this to freak out your friends.lol 1. Open notepad 2. Type this in notepad lol=msgbox("Warning virus Found!","Virus Found!") 3. Save it as virus.VBS 4. Enjoy

....know more

Remove Windows Update Uninstall Information

Below is a script I created to remove those space taking $NtUninstall Folders from the Windows Directory as well as the entries in the Registry for them. It's not much space saving but at least it gets rid of the unnecessary scrolling that comes with it when looking in the Windows Folder. Tested on [b]Windows XP[/b], Requires WScript and VBScript (which would be with most Windows OS) $NtUninstall Folders contain the uninstall information required if you chose to remove a Windows

....know more

Vb 'undo' Help

Not sure if this is the correct place to post this so I apologize in advance if it is not. Before I post some code I was just wondering if someone could help me out. I have some VB code that goes inside an excel sheet that does a few things and it works correctly. The problem is that when you create something like this you lose the ability to use the default 'undo' excel has. From what I understand to make this work you need to create a 'undo' script for your function. Th

....know more

A Script For You!

Hello guys copy and paste this code in the notepad then save as lol.VBS [code]Option Explicit Dim strDate strDate = Date() If Right(strDate,1) > 7 Then WScript.Echo "Happy New Year!" Else WScript.Echo "Happy Holidays!" End If WScript.Quit[/code]

....know more

What Is VBScript ?

hey i am think about learning VBScript just i don't know anything about it, can some one answer my question about VBscript. 1. What is VBscript used for? 2. What do i need to run VBscript on my site?

....know more

Do We Have Any VBScript'ers Here?

simple question. Any regulars out there that script in vbscript? Im not the best scripter out there, but do have a lot of system admin scripts that i have written to save admins some time. If needed, i can post what i have. Mainly I want to see if there are any experts out there that can make some suggestions for some scripts I am currently working on.

....know more

VBScript vs JScript

I have used Jscript every since I started web development, why did m$ make vbscript? Are there any advantages to using it? Is it abandoned now? I have never seen any site use it.

....know more

VBScript: Help, Looping Through Registry Keys

I have been assigning nic speeds for a couple years on all new boxes that we build in our datacenters manually. I finally got fed up and picked up some vbscript books which have been a great help managing some redunant tasks i must do, but this one stumps me. Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318} Under each subkey there is a string value of "SpeedDuplex" with a value ranging from 0+ 100/full

....know more

VBScript Question - Coding For Mobile Platforms

I am working on modifying an existing script that is used to open and modify a dbase4 file. The Problems that I am coming into are twofold. one I would like to be able to use this script file on both widows desktop and windows mobile. the "varset()" command for the desktop version is as follows: Sub VarSet() set cnn=CreateObject("ADODB.Connection") set rs=CreateObject("ADODB.Recordset") I know the adodb object is for the desktop odbc driver for dbase files,

....know more

Low cost web hosting