461 Topics

Member Avatar for
Member Avatar for Sanket_3

I need to create a cron job which will execute a php file after every 5 sec on my Win7 machine. I have Tomcat installed on my machine also apace server for php in uwamp server and i have knowledge of c,c++,java,javascript and vbscript. Also i have some experience in …

Member Avatar for rch1231
0
243
Member Avatar for Jamblaster

I have been reading about exec() and passthru() and system() and different ways to use these, but so far not one of them is working. The Closest I have gotten is to get a request from CMD printed up on the page and so I researched how to pass a …

Member Avatar for Jamblaster
0
7K
Member Avatar for overclocking

Hello, I am new to VBscripting and hope someone can help clarify the split options. I just started learning VBscrpiting a few weeks ago and Im trying to figure out how to do something. I haven't learned anything other than the basics so this question might seem super simple. If …

Member Avatar for overclocking
0
312
Member Avatar for Reverend Jim

I find that I occasionaally have special projects where it would be nice to have a context menu for files. I tend to write housekeeping scripts and it is convenient to be able to run these scripts against one or more files at a time without having to navigate and …

0
1K
Member Avatar for mith_cool

Hi, I have a scenario where in I had to sort an array, find duplicates and increment one or the other by 1. So, Eg: An array has 22, 23, 21, 21, 24 within it then, an array should be able to find 21 and increment it by 1 i.e. …

Member Avatar for Troy III
0
986
Member Avatar for Mocabilly

Hi all, We use a .hta vbscript from a fileserver, but after office 2007 has been intalled, the script does not read/write from/to a .mdb file on that same fileserver. The script does work (with office 2007), if it is started from a desktop instead of the fileserver. (reading/writing the …

Member Avatar for Mocabilly
0
333
Member Avatar for elopez2389

I am not sure if this issue is a permissions or code problem. Whenever I run my script I get the following error. Microsoft VBScript runtime error '800a004c' Path not found /build-your-own-report/stjreport/includes/includes.inc, line 16 **Line 16 in my includes file is getting the url path to the temp folder. The …

Member Avatar for Member #949455
0
859
Member Avatar for craigallansmith

GoodDay All. I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free. My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website …

Member Avatar for Member #949455
0
860
Member Avatar for dendenny01

<% @ language="VBScript" %> <% Option Explicit %> <html> <body> <% Dim I,j For I = 1 to 4 For j = 1 to i Response.write i Next Response.write "<br>" Next </body> </html> Output: 1 22 333 4444 Please explain me how this output is formed. One bellow the other …

Member Avatar for gian88r
0
192
Member Avatar for RCDAWebmaster

Hi everyone, I’m getting the following error uploading a file with asp. I’m using the code I downloaded from uploadasp.zip. I don’t know who wrote it so I can’t give credit. I've checked my local dev box here and I do infact have the correct directory permissions as far as …

Member Avatar for remunance
0
422
Member Avatar for Siberian

I'm trying to associate VBS files with WScript.exe, when I think it is associated it isn't, I tried numerous times to associate the file type wit the program. Anyone know if this registry file would work on Windows8 ? Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.VBS] @="VBSFile" [HKEY_CLASSES_ROOT\.VBS\PersistentHandler] @="{5e941d80-bf96-11cd-b579-08002b30bfeb}" [HKEY_CLASSES_ROOT\VBScript] @="VB …

Member Avatar for Siberian
0
365
Member Avatar for anmolvatsa

FOR FOLLOWING CODE <%@language=VBScript%> <%Option Explicit%> <html> <body bgcolor="aqua"> <% Dim myConn Set myConn = Server.CreateObject("ADODB.Connection") myConn.Open = ("DRIVER={Microsoft Access"&" Driver (*.mdb)};DBQ="&"C:\Inetpub\wwwroot\tizagASP\razor.mdb;") myConn.Close() Set myConn = nothing %> </body> </html> I GOT FOLLOWING ERROR The page cannot be displayed There is a problem with the page you are trying to …

Member Avatar for ptduran
0
171
Member Avatar for bangla

Excel cell(1,2) has data with blank lines as: " vb is hard language. test data. test vb. " I want to change to without blank lines as " "vb is hard language. test data test vb" Below code is not working. Please please help. ---------- Set ExcelApp = createobject("Excel.Application") ExcelApp.Visible …

Member Avatar for bangla
0
1K
Member Avatar for amitshowry

I had written a script to login to some terminals and do some basic commands remotely. It fails at password entry. ******************************************************************* Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cygwin" ' Give Cygwin time to load WScript.Sleep 2000 a=Array(112) For Each i In a WshShell.SendKeys "`ssh [email protected]" & i & " 'hostname;ps …

0
306
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to replace a cell value from one excel spreadsheet and save it as another spreadsheet but with the replaced cell value. Please Help

Member Avatar for joshl_1995
0
1K
Member Avatar for ponnu

GIVEN below is vbscript to connect to acess database and insert records into the table using forms Private Sub Command1_Click() Set rs = cn.Execute("insert into employee values('txtempname.text',txtempid.text,txtssn.text) ") rs.Close cn.Close End Sub Private Sub Form_Load() datafile = "C:\mas.accdb" With cn .Provider = "microsoft.ACE.OLEDB.12.0" .ConnectionString = datafile .Open End With End …

Member Avatar for pradipkar
0
2K
Member Avatar for Fiziana

Required to write a VBscript to perform simple calculations on the overall rating of item. How to calculate if all responses are 5s, then the overall rating is 100% or if all responses are 1s, the overall rating is 20% only by using VB script. Please make sure that all …

Member Avatar for G_Waddell
-1
203
Member Avatar for america9

Hi, I am trying to develop a windows batch file /vbscript, where the script automatically opens an .exe (like for ex: notepad.exe) and selects the file menu and scroll to a particular file menu subitem . This is the code i have so far : Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run …

0
68
Member Avatar for Aviplo

Hello, Can anyone help me in this, What i'm trying to do is that i try to break my page in case if i have too much record. But what happen is when i click on 'next' the record doesn't shows because the date that i select had been cleared …

Member Avatar for ainosilva
0
221
Member Avatar for MARKAND911

http://localhost/Project.html?ProjectId=P6610C32F-7C54-4221-A190-A9E7E08F8B08 This is my weburl. I want to retreive query string value of variable "ProjectId" How i can do this using vbscript and html page

Member Avatar for JorgeM
0
124
Member Avatar for canniemar

Hi I have a website in which I am unable to click the checkout button or doCheckout. <% rsUsers.Close() Set rsUsers = Nothing %> The error I keep getting is that the line Set rsUsers = Nothing is incorrect. As I am a newbie at this I am lost as …

Member Avatar for ainosilva
0
97
Member Avatar for Mocabilly

Hi all, We use a .hta vbscript from a fileserver, but after office 2007 has been intalled, the script does not read/write from/to a .mdb file on that same fileserver. The script does work, if it started from a desktop instead of the fileserver. (reading/writing the same .mdb file on …

0
135
Member Avatar for DAS-03590

I am having an issue with scrip deployment through GP on a 2003 domain. As well, I am also having an issue with placing this issue in the correct category. I have a BAT file that has the ability to modify a select registry key and force the change even …

Member Avatar for Reverend Jim
0
127
Member Avatar for mynamekbk

Hello All, I have shell script which runs on unix box but recently we moved to windows box. I am completely zero in VB script I need you guys help to convert the below script to VB Thanks in advance for the help. CheckQDepth() { arch_log_file=`ls $arch_dir |grep $FNPARAM | …

Member Avatar for Member #838794
0
279
Member Avatar for AquaNut

Hi All, Wondering if anyone can point me in the right direction.. I have looked at various snippets but nothing seems to be what I need. I have a tab delimited text file in the form of: Title: Ms Forename: Fred Middle Name Initials: Surname: Bloggs Employment Type: Permanent Employee …

Member Avatar for razree
0
2K
Member Avatar for soapyillusion

Hello everyone, I've been out of college for a little over a year now with my degree in web development (or so it says at least on my degree) My school wasn't the best at training me and i've spent the better half of this year trying to teach myself …

Member Avatar for soapyillusion
0
141
Member Avatar for siddd

how do i import my externanal contact in my ms outlook by using classic asp vb script programatically

0
54
Member Avatar for Techiz123

I want to Inject Scripts inside VBScript.dll site, so that the scripts are available to different COM interface which have implemented the Windows Script Interfaces(or Active Script Interfaces). Thanks

0
68
Member Avatar for harsh01ajmera

How to create a website which i want to create by using a vb srcipt and also i want to make a use of java script in this.pls help me out..give me suggestions regarding this.

Member Avatar for madelinekim
0
134
Member Avatar for super-duper

Hey, everyone. I am writing a batch script (.bat program) to automate some tasks. And when that certain task is complete, I would like it to send an email to the admin saying if the task was completed successfully or it failed. It will figure out if the task was …

Member Avatar for Habitual
0
183
Member Avatar for Aviplo

Sorry if this is not the right place to post this but i really need help I'm trying to upload a file to a remote server by using vbscript below is a code : Dim fso, f, myFile Set fso = CreateObject("Scripting.FileSystemObject") myFile =$URL Set f = fso.GetFile (myFile) Dim …

Member Avatar for Aviplo
0
1K
Member Avatar for gillissj

Good morning, hopefully I have this in the correct topic! I have a need to delete a specific URL shortcut that would be located on users desktops before copying out a new shortcut to the 'All Users' desktop. I have found the vbscript code below to delete a .lnk from …

Member Avatar for C0ding
0
262
Member Avatar for petzoldt01

Looking for some advice from a Windows perspective. Hopefully someone can relate, or at least understands what I am trying to accomplish (keep in mind the "path of least resistance"). I am open to multiple suggestions and paradigms, just try to sugar coat if you can :) I know something …

0
103
Member Avatar for pennywise134

hey guys, I really need help with this VBScript problem: Ask the user to enter the folder name and filename. Test whether the file exists in the given folder. If the file exists, display the file size in MBs up to 2 decimal digits. If the file does not exist, …

Member Avatar for Jx_Man
0
128
Member Avatar for SyncMaster170

Heres my issue my fellow coders: My works VB program uses some .asp files to create reports. This is the error I am getting: Microsoft VBScript runtime error '800a000d' Type mismatch: 'ubound' /reports/wpoa_trans_summary.asp, line 238 I navigated to line 238 in the asp file and here is the code: [CODE]if …

Member Avatar for Reverend Jim
0
587
Member Avatar for BCBTP

I am not really good at HTML, (I assume this is HTML, at least, I do C++ mainly). I found this thing called "passwordreset.htm" and I got a little curious(this is on a school computer). I decided to open it, and I found something that looks like a password reset …

Member Avatar for BCBTP
0
277
Member Avatar for Gobble45

Hello All. To admins - i wasnt exactly sure where to put this forum post, so please move if needed. Im not sure exactly what scripting language to use in this instance, and on top of that, im not really familiar with any (a tiny bit of VBSCRIPT, and tiny …

Member Avatar for Member #905211
0
145
Member Avatar for DAS-03590

I am new to the VB Scripting area and have done a few simple test scripts to get a feel for some of the commands. I am looking for a command that would use a domain user account to be known as a domain admin before running the actual command …

Member Avatar for DAS-03590
0
215
Member Avatar for gitopmax

Please i need help am newbie in asp, am trying to code a login page in which after user login all the user information will display in the success page i tried the following code but am not getting result. help me out pls member.asp <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <%option explicit%> <% …

0
75
Member Avatar for RickCJ7

How do I replace a string in a text file with another string, including quotes? For example, I have an xml sting that reads: <test name="My name is Rick" value="False" /> and I want replace to replace the value="False" to value="True" so that it ends up like this: <test name="My …

Member Avatar for BitBlt
0
1K
Member Avatar for gplkrsna

Hi All, Hi All, I'm trying to execute a vbscript programme, on execution I'm getting following error, can you please help me in coming out of the problem. "Wrong number of arguments or invalid property assignment: wsh" CODE snippet: [CODE]Set xl=createobject("excel.application") Set wb=xl.workbooks.open(testset) xl.visible=true Set wsh=wb.WorkSheets(1) <------- ERROR is seen …

Member Avatar for gplkrsna
0
112
Member Avatar for dinilkarun

Hi, I am running a batch file to generate a report. A command similar to the below one is put in the batch file. [url]http://localhost/XXXX/XXXX/Test.asp?format=EXCEL&cqs=N3-FMIJTUVMUTPO-QQEWQ3MP[/url] Test.asp contains the below <%@ Language=VBScript %> <% select case Request.QueryString("format") case "EXCEL", "Excel", "excel": Response.ContentType = "application/vnd.ms-excel" case "WORD", "Word", "word": Response.ContentType = "application/msword" …

0
91
Member Avatar for deceivingrakesh

Guys i have a question !! lets say that i code something in java-script for client side and vb-script in the back-end, now is it possible to execute vb-script in the back-end only once java-script gets executed!! there's an asp button on click java-script should get executed then the vb-script …

Member Avatar for Member #905211
0
90
Member Avatar for wbexclusive

Hello, I am creating my project now and I am using Dreamweaver CS3 ASP VBScript and Access 2007. Can you teach me how to restrict the database to add only three records on the table; say, a student has a MemberNo and he can only use his MemberNo to borrow …

Member Avatar for jcarbillon
0
158
Member Avatar for jcdisciple

I have an application that I modified from [url]http://offbeatmammal.com/upload_resize.aspx[/url] Can someone show me how to convert the vbscript UPDATE Query at the end to a DOT NET????? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <%@ Page Trace="False" Language="vb" aspcompat="true" debug="true" validateRequest="false"%> <%@ Import Namespace=System.Drawing %> <%@ …

Member Avatar for hericles
0
229
Member Avatar for Mocabilly

Hi all, I wrote a .hta script (with vbscript - no jscript, in it) and put it on a fileserver. The people who use this script, start the script by clicking on a shortcut on their Desktop that leads to the .hta script on the fileserver. The .hta script reads …

0
185
Member Avatar for tgreer

I have a C# Class Library which I want to use as a COM object in VBScript. I'm using Visual Studio C# 2010 Express. Here's the class code: [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace PB_GUID { class PB_GUID_Encode { private Guid _myGuid; private string …

Member Avatar for tgreer
0
212
Member Avatar for sifuhall

I'm trying to write a vbScript that will execute all files in a given directory (will be mostly batch files). I've tried to modify a script that deletes all files but I'm not able to get it to work. Here is what I have: [CODE]Option Explicit '=========================================================================== ' Scheduled Task …

Member Avatar for sifuhall
0
544
Member Avatar for RockT

Maybe this is the simplest thing ever but i'm a beginner trying to learn at least 1 language. How come the Script below keeps displaying the Else message until it finds the string? I was expecting for it to display 1 single Box whether it was found or not? why …

Member Avatar for RockT
0
129
Member Avatar for shena

Hi, I wrote a vb script in text file to send an automated email as a reminder to 36 recipients. I'm loading recipients from access database. I can send out email when i tried with test db, whereby there's only one recipient for each category (TO, CC, BCC). However, i …

Member Avatar for lolafuertes
0
470

The End.