461 Topics
Hi , This is vinod , iam just trying to write vbscript to protect document as well as select editting restrictions as filling in forms, i tried a lot , i can only protect the document but i could not select editting restrictions to allow users only fill in forms, …
hi I want to autorefresh a webpage when it is idle can we integrate vbscript + Ajax Plz guide
I'm using some (previously written by someone else who isn't around to ask anymore) VBScript to upload files to a webserver and on my upload processing page, there is a line that says: [CODE]Form.SizeLimit = &H100000[/CODE] I understand that the assignment means not to accept forms coming in that are …
Hi everybody. I have a couple questions all in one, not sure if all stem from the same thing or not but.. so i will ask in numbers. Question 1: What would make my system and services / process's run all of a sudden like crazy and like half max …
Hello, I have a series of variables ending with a number and am trying (unsuccesfuly) to put them in a table using For Next loop. the code looks like this: [CODE] <% v1 = "text_1" v2 = "text_2" v3 = "text_3" %> <table border="1"> <% For x = 1 To …
hi.... did anyone know how to run vbscripts in C#?if yes.........please do reply me.... thankyou regards Aruna
Hello, I need to write a query for MySQL in vbscript that is just not coming to me. I have written it in vbscript with two SQL statements then did a date comparison in vbscript but it just grinds the server to a halt. What I need to do is …
I am trying to create a program that analyzes sports statistics. I want to extract statistics from a website such as yahoo or espn and put it in a database. Does anyone know if this is possible to do with vbscript? Is there an easier way to do this? Any …
Hi All, Please help me in this. I'm a new member. I have a page with grid view appearance, data is coming in from table. For each column of the grid I have a button to sort data in asc/desc order of that particular column. I did this: <recordset_name>.Sort="<column_name> DESC" …
Hello, I'm new to VB script and I was wondering if anybody have any pointers on how to use VB Script with active directory?, for example, import and export data out of Active directory using scripts. Any hints or guides or anything that will help me out.
Hello, I'm trying to figure out how to convert this php file_get_contents command to visual basic script. I tried googling it but no luck. This is the command down below. <? $page=file_get_contents('http://www.example.com/page?user=cwarn23&pass=820578wxz56240358'); ?>
I am a beginner (very beginner) in vbscript and am having a problem running the following script. This was a html file that I converted to vbscript. I keep getting the same error no matter what support files (recommended) I put in the same or windows directories. Would someone be …
Using vbscript I want to create a runtime html login page on the fly. The html page should have username/pasword form and I will use this username/password to connect to a sql database. Is there a way to create this runtimehtml page using vbscript and them collect the username/password from …
I am suffering from this type of various error message. How can i get rid of it Script Error Line 140 Position 21 elseif IntStr(ver1,<script language="VBScript">
Does anyone know how many In-Built Compilers does Windows have. I know about Batch Files,VBScript,JavaScript,HTML(including .mht,htm etc). Are there any others except these. Compilation through command prompt will do.
Hi, I call a vbscript file from my batch file. I need to pass a variable from this vbscript file to batch file. can anyone please let me now how to do this. batch file looks like this cmd.bat ------------ @ECHO OFF cscript "D:\samp.vbs " isql -S sername -d dbname …
hi, can anyone help to explain this code.. or is their an equivalent vbscript for this code? please help...don't know about javascript.. thanks in advance.. [code] if(arguments.length == 3){ var result = "<" + arguments[1] + ">"; for (var i = 0; i < arguments[2].length; i++){ result += "<li>" + …
I'm integrating reCaptcha and CDONTS into a contact form. I've got everything working except the form does not send mail :confused: (it is supposed to gather data from form fields and send to my email address after successful reCaptcha entry). Live page located at [URL="http://www.uforecordingsusa.com/contact3.asp"]www.uforecordingsusa.com/contact3.asp[/URL] . I've truncated the code …
So Ive been working really hard to get a working ASP captcha to incorporate into my form (note, classic ASP not .net). I FINALLY got it working in a test area, the form looks like this: [CODE] <form action="<%=Request.ServerVariables("SCRIPT_NAME")%>" method="post"> <table border="0" width="570" align="center" cellpadding="1" cellspacing="0"> <tr> <td align="right" valign="center"><%=font4%><font …
The is a two part problem, part 1. I have a (primary) DIV tag that contains a FORM inside which I have among other things checkboxes - an unspecified number. Their name attribute is the same for all. Their value is set from a DB via VbScript. I have another …
Well, there are lots of bulit in functions, under the objects: response, request, server. As for JScript and VBScript being intergrated... You can use either language. Which ever one you know best. So for example, you choose VBScript, mostly all the ASP coding is with VB syntax and you can …
Just to cut straight to the heart of the problem: I only recently started working with asp because my current employer's website was built using asp.net and he requested I make some changes to the design/layout. In addition to the website there's also a kind of front-end content manager to …
hii...i am creating a chart using html and asp the code for it is : [code] <%@ LANGUAGE="VBSCRIPT" %> <% Option Explicit %> <% Dim data1Array(3) data1Array(0) = 5 data1Array(1) = 15 data1Array(2) = 25 data1Array(3) = 50 Dim data2Array(3) data2Array(0) = 5 data2Array(1) = 10 data2Array(2) = 20 data2Array(3) …
Hi guys, would be vbscript work in firefox or it's for IE only? thanks..
hi guys, how to code this vbscript in javascript? thanks.. [code] <script language=vbscript> <!-- Sub CallMenu(n,isHidden) document.all("menu" & n).style.visibility = isHidden End Sub //--> </script>[/code]
Hi everyone, im new to this site and also abit new to programming with asp. I have this form which is working fine, except for this little thing that I want and is not doing it. I want that when the user hit the Enviar btn (Submit) the info gets …
Good mourning or Good night ;) i am working on asp site (VBscript) of course with javascript as client side i wanna 2 count n of visitors at same page just like when u open for ex asp forum in daniweb.com displays [COLOR="Green"]Currently Active Users browsing ASP : 7 (1 …
Hi EveryOne, I am given only 2 days to finish my assignment in 2 days,but I'm only a biginner in HTML. . I would like to ask anyone to please check if what is wrong in my code. . [CODE]<html> <head> <title>Lab Exercise</title> </head> <body> <h2>Script Integration</h2> <h3>Laboreatory Exercise 5 …
Not sure if this is the right place or not, I'm trying to create a script to learn scripting better before editing the login script at work. I'm getting an error while trying to run this piece, can anyone tell me what's missing? it's supposed to check running processes and …
Hello, I am sending a string created in vbScript via CDO. My scripting is working but the whole string is not showing up in the receiving email. My code was on the bulky side with bordercolor and bgcolor in the tables cells, removing what was not needed for html in …
i want to delete a file from a specific location, if file Existing ; using JavaScript or VB scripting
Hello ! I finally took the leap and joined DaniWeb. I will tell you why. Daniweb is easy to use and I find the answers I am looking for here all the time. I am not a newb, but am not a programmer by any standard. I manipulate access pretty …
I am wrote a file del.asp where I am deleting a file but I am getting the following error Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied /asptreeview/del.asp, line 9 The code which I wrote is as follows... [CODE]PhotoFile = "/asptreeview/asptree/" & Request.QueryString("file")(1) PhotoPath = Server.MapPath(PhotoFile) Response.Write(PhotoPath & "<br />") …
Not sure if this should be posted here or programming forums... I'm writing login scripts for the different departments in our company as they all use different Printers, Network Drives, etc. I've managed to get the code together to do everything I need except set the Wallpaper to the Dept …
Hi, I have developed one application which should be accessible only if valid certificate from particular CA is installed on client browser . I am using VBscript for writing the code. I am using Request.ClientCertificate collection to get the details of certificate for validation purpose. Now i want to make …
I am working on microsoft MS SQL 2005, want to connect with vb script. Want a connect string for this.
Hi Guys, I'm new to the site and just joined. I am currently doing a project for college and would like your advice on what technologies I could use that is effective but simple. Really simple!! What I intend to do is from a Web page on a server I …
I managed to goof up big time. I tried loading Mcafee while Norton was running. Needless to say computer didn’t like it. I was barely able to do a restore and get back to almost working. Last problem appears to be a tough one to crack. Everything works except Microsoft …
Hi, I have a vbscript which calls a batch file. Now I want my vbscript variables to be passed to batch file. Is this possible? Please assist Thanks, SOW
Hello everyone, I was not sure where to post this as it is regarding VB Scripts. I have a script that when run with the proper command line arguments will ask the user to input text and later write that text to a file. The following code is giving me …
Hi, I'm trying to finish a college project for tommorrow, but am having real problems with my code. Every time I try and run it, I get an error message saying 'Expected If'. I looked and looked at it, but can't for the life of me work out whatthe problem …
Hello all, I'd like to know if it's ok to use vbscript within a css page? I'm thinking about defining certain variables at the beginning of the style sheet so that it's easy to change between colors (or load the colors from a database so each user can have their …
I have a file structure that is common to all of the jobs I do. When I start a new job I go into my computer (Explorer) copy the folder to clipboard, go to another location on a different server and paste this folder then I have to rename it …
folks, trying to pass variable from test1.html to test1.asp. simplest code possible, even works on our ISP host, but not my web server. please help?? code for test1.html, which calls test1.asp: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>A.html which calls B.asp</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> …
Hi folks, Due to being unable to find a suitable app, i've decided to make a little app (with the help from my trusty DWeb chums) Currently i'm looking at a little app that will allow me to enter a username and password for... whatever purpose really, map drive, shared …
Which one is the better tool for client side validation? I am using java script .Can any one suggests which one is the better? >url snipped<
i have a menu that has product IDs from a data base and I have a price text box that I wana get the price of that product from the data base on the menu change. HOW can i do this ?? plz help me so far this is the …
Hai, I'm creating a website for a computer forum (using VBScript, SQL server - back end). Im able to display the heading of the threads in a page & also im able to click and redirect to a proper .asp page but, can u tell me how can i show …
Hi ! New here and looking for a little assistance if possible. I have a spreadsheet and I'm trying to record / create a macro. I basically want to search a column (D) in a worksheet for a value (eg."gh76589") then copy that entire row to a new worksheet. Ideally, …
--URGENT-- Ive written a code in VBScript in ASP where back end is SQL. Here I want to display all the records with the data of the selected field of the table "Users" but it displays only the first record repetitively for the total number of records in the table …
The End.