461 Topics

Member Avatar for
Member Avatar for breaker14

This is my vbscript to read the text file .. I want to know how to split some of the chinese characters. In my code it prompts the Text Line by Line with chinese characters my problem is how to split the chinese characters and the open and close pharenthesis …

Member Avatar for lolafuertes
0
522
Member Avatar for balu_mtx42

Hai all, Please help me to compare two xml files using vb script or java script. example of xml file [CODE] <table name="uninstall_software" numRows="0" remarks="" schema="dbo"> <column autoUpdated="false" digits="0" id="0" name="swtitle_id" nullable="false" remarks="" size="10" type="int"> <parent column="id" foreignKey="c_uninstall_swtitle_id" implied="false" onDeleteCascade="false" table="software_title"/> </column> <column autoUpdated="false" digits="0" id="1" name="machine_id" nullable="false" remarks="" size="10" …

0
108
Member Avatar for mad_1989

Hi, Can you help me how to call two lines from VB Script and give the same in .bat file as input. Here is my VB SCript code.. --------------------------------------------------------------------------------------- [code]Set oShell = CreateObject( "WScript.Shell" ) Set ObjFSO= CreateObject("Scripting.FileSystemObject") Str1="Version=3.1016.0.0" Str2="Version=3.1017.0.0" Getxml1 = "D:\BuildShare\CMS_Maternity\lorenzo tranche2\maternity\webclient\wizard\lorappmaternityslui.web\moduleconfig\modulecatalog.xml" Set objFile = objFSO.OpenTextFile(Getxml1, 1) strText …

Member Avatar for Reverend Jim
0
253
Member Avatar for gunlock777

Hello all, Im currently doing a project which is a system that adds booking records to it it loads the database from a module [CODE]Set Db = OpenDatabase(App.Path & "\cihansol.mdb") Set RS_Staff = Db.OpenRecordset("EPHS_Staff") Set RS_Customers = Db.OpenRecordset("EPHS_Customers")[/CODE] im very new to visual basic so i dont know much anyway …

Member Avatar for shivya jain
0
188
Member Avatar for arshadarsal

i also experienced this problem,my web page showing multiple entries also. Please help me This is my code \:- [CODE]userid=Session("username") %> <html> <head> <title>Tax Invoices</title> <script language="JavaScript"> function openwindow(path) { window.open(path,"bill","menubar=yes,resizable=yes,scrollbars=yes,width=800,height=450,top=50,left=50"); } </script> <link rel="stylesheet" type="text/css" title="CSS" href="Include/Styles/style.css" media="screen" /> </head> <body> <table topmargin="0" leftmargin="0" align="center" ID="Table1"> <tr> <td><img src="images/headerksphc.jpg" …

0
149
Member Avatar for gurushankar

Hi All, I have to test a wsdl. I am using XMLHttp object in VBscript. I have to specify an operation in the script, I am not sure how i can do that. xmlObj=CreateObject(XMLHttp object) xmlObj.open "post",[U]ESDL File Location[/U],"False" xmlObj.SetRequestHeader "content-type",[COLOR="Red"]"applicatin/mentioned the application i need to access"[/COLOR] xmlObj.send RequestXML 'I …

0
73
Member Avatar for tgreer

I think I've posted on this before, but I find the overall site categorization non-intuitive. "Software Development" vs. "Web Development" doesn't make sense to me. Web development IS software development. I propose the site be organized by software development languages and platforms. DHTML/AJAX includes working with XML/XSLT, so where do …

Member Avatar for tgreer
0
249
Member Avatar for atrueresistance

Alright, I'm having a problem with a scheduled task not running. At first it wouldn't run the vbs, so I created a bat to run it and then it would work, but only when the user is logged in. I went into the local security policy and made sure my …

Member Avatar for atrueresistance
0
325
Member Avatar for mlesniak

Hi. I've been trying to populate a <select> option list in HTML by querying a Microsoft SQL Server database. For some reason I can not do this by mixing the scripting code (VBscript) with HTML. If I place the query between the <select> and </select> tags it does not run …

0
68
Member Avatar for jacksantho

Hi, I don't know why i am getting this error. Please see my coding part, where i am facing this following error [ICODE]Private pbat As New ADODB.Parameter 'in form load With pbat .Direction = adParamInput .Type = adVarChar .Size = 4 End With 'saving part [B] pbat = Trim(Text1.Text) & …

Member Avatar for BitBlt
0
1K
Member Avatar for JohnHensonInc

Using VBA/Excel and need a VBA or VB help file. Doesn't appear to be packaged with Excel anymore. Any help?

Member Avatar for ChrisPadgham
0
49
Member Avatar for brentgabel

Hello Everyone! My problem is this. I have a VBscript encrypting passwords using capicom.dll RC2. I want to use C# to decrypt this password. Which I can't get to work for the life of me. Keeps coming back saying 'Specified key is not a valid size for this algorithm.' (but …

Member Avatar for skatamatic
0
599
Member Avatar for v_sriram

Hi Everyone, I am trying to write a string variable containing XML in the form of text into an iframe such that it shows up as formatted XML with the expand(+) and collapse (-) options that default in IE when opening an XML file. The first thing I tried is …

Member Avatar for v_sriram
0
785
Member Avatar for jfkennedy

Hello All, I am newbie and looking for a script to search for the following: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP4\KBXXXXXX\Description HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\xxxxxxx\xxxxxxxxx I want to loop as I am trying to search for KB#'s under these folders Please advise as how i can go for writing this script. The script will eliminate the manual …

0
58
Member Avatar for koffimide

Help! i cannot access my ms access database i am using to learn web design. I keep getting different error codes depending on the windows webhosting used. The latest i got was : Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver]General error Unable to open …

Member Avatar for crishjeny
0
338
Member Avatar for davewillis

Below is an assignment that i did but i didnt do good on it. It is/was never meant to be ran the teacher was just asking for the code to be written based off of her A-D. Can you please let me know what is right and wrong with this. …

Member Avatar for Momerath
0
129
Member Avatar for rahulkanna

Hello I am Rahul I am getting error when I am giving password The error listed below Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'mid' /includedfiles/encriptdecript.asp, line 45 here I have listed the code below. I tried so many articles but i didnt, Actually I have used …

0
82
Member Avatar for wilko1995

Hi all, i need help with this code. [CODE]<html> <head> <SCRIPT LANGUAGE="VBScript"> <!-- Sub button_OnClick Dim TheForm Dim y Set TheForm = Document.form1 If IsNumeric(TheForm.inputbox.Value) Then If TheForm.inputbox.Value >= 1 Then y = TheForm.inputbox.Value * 1.3 Alert("Your $AUD is $" & y) End If Else Alert("Please enter a numeric value.") …

Member Avatar for WaltP
0
124
Member Avatar for lhxndd

Hi everybody! I am Cường, from Vietnam I am a VB and VBScript programmer. Very happy and nice to get acquainted with everybody!

Member Avatar for jingda
0
55
Member Avatar for davewillis

Below is an assignment that i did but i didnt do good on it. It is/was never meant to be ran the teacher was just asking for the code to be written based off of her A-D. Can you please let me know what is right and wrong with this. …

Member Avatar for Member #857553
0
104
Member Avatar for plannerK

I'm mostly a former developer, doing small pieces of code in a variety of languages and applications in order to help out my team. I joined DaniWeb to learn new things, be reminded of old things, get help and help out others. I do mostly systems engineering now, processes, quality, …

Member Avatar for AndreRet
0
118
Member Avatar for darkelflemurian

Hello everyone: I have the following issue, i have and old computer and i need to erase pics and all that, but that computer has several folders and some are hidden, and is very time consuming checking where are those folders. I would like a VBS to erase all the …

Member Avatar for debasisdas
0
390
Member Avatar for davewillis

Got this quiz and want to change the code so that it displays the correct answer for any question that the player misses. I open it/modify it in NotePad and dbl click the file to launch Windows Script Host to run the quiz... Any help will be appreciated. 'Perform script …

0
71
Member Avatar for reneeschultz

Need to write a script wit the following criteria using VBScript: Am an English teacher and have some programming experience but not to this extent that is needed. Just trying to make it easier on me for grading... 1. prompt user for a # of quiz scores to input, should …

Member Avatar for Tarkenfire
0
137
Member Avatar for jcb0806

I'm just trying to write the following out in an excel cell using VBScript. What I want in the cell: =BDS(A2,$B$1,"dir=H") I'm having problems with excel accepting the quotations for some reason this is what I have and is getting an error with: ""=BDS(A"& LC &",$B$1,"dir=H")""

Member Avatar for Marcel_Go
0
144
Member Avatar for klegrand

I want to change to setting 'Deny access to this computer from the network'. This is under Local Security Settings. I need to remove the guest account from the list. Is this setting stored in the registry and can it be modified with VB script ? Thx, kurt

Member Avatar for klegrand
0
90
Member Avatar for ammwebmaster2

I don't understand why this is happening or how to explain it but here goes: I have an asp page that uses lots of layers and in Mozilla when I click on a link it is supposed to bring up and image and slide it into position. But when I …

Member Avatar for ArtistScope
0
109
Member Avatar for peck3277

Hey guys, I was just wondering if anyone could tell me how to use VB on a WAMP server. I want to connect to MYSQL and read and write values to it. Do I have to store the VB script in the wamp server or anything? Cheers

0
70
Member Avatar for rohit2

I am developing a tool using java swing. In it I have to read a .vbs file. I have used the following code for it. Scanner fileReader1 = new Scanner(new File(fileName),"US-ASCII"); while (fileReader1.hasNext()) { System.out.println(fileReader1.nextLine()); } where fileName is valid .vbs file path This is working only for .vbs files …

0
82
Member Avatar for lance7tour

Am trying to get this code to work where the user enters n rock,paper,or scissors and the computer randomly picks as well, it then states what each choose, once u click ok it tells who won the match but my code once it shows the 1st winner result have to …

Member Avatar for codeorder
0
669
Member Avatar for jcmartin

Hi all, My name is Jeremy. I am a 31yr old, part time student hoping to get into an IT job while earning my CS degree. I got a late start in life due to a rough upbringing, and I need some advice on how to break into the field …

Member Avatar for rbross
0
333
Member Avatar for slugdoug

I am trying to learn vbscript and am having trouble with one of me first scripts, can someone look and see what I am doing wrong? I get the following error: Line 13, Path not Found. 'if folder B does not exist it is created option explicit const OverWriteFiles = …

Member Avatar for AndreRet
0
128
Member Avatar for wewehalim

I use Docmd Open query to open one append query in the script that has another code in it. When I run the script, this option will opo out: "You are about to run an append query that will modify data in your table" "Yes/No" If I answered "Yes", the …

Member Avatar for ChrisPadgham
0
145
Member Avatar for DaZZaMaN1990

I have been trying to make images appear in a table from a database i have created in MS Access this code [CODE] <td><%=(Recordset1.Fields.Item("Image").Value)%></td>[/CODE] is the code that is original used that shows the path, i was told to replace the code with the one below the original but i …

Member Avatar for AceDesignz
0
162
Member Avatar for kittystitches

[FONT=Arial]whats goin guys? I wanted to know how you would add in videos or music into your website using VBScript. If anyone can help me out I'tll be great :) thank you[/FONT]

Member Avatar for media90cj
0
1K
Member Avatar for jcb0806

Using VbScript:: I have a list of several different prices and I'm trying to figure out how to round these 5 decimals adding zeros if necessary. For example: I want 2.84 3.1 4.896 to look like 2.84000 3.10000 4.89600 Can somebody please help me? Thanks!

Member Avatar for jcb0806
0
235
Member Avatar for ccdsystems

We're working on a very large project that has been exclusively written in VBScript/javascript/HTML. We're starting to port it over, page-by-page into C#. We have split out common constants and code into <# Include .asp files, but when we go to try to include these files into out new C# …

Member Avatar for ccdsystems
0
150
Member Avatar for lili.edryana

Hello fellows. I need some help regarding my script. I have a simple php script contains form to insert [B]First Name[/B] and [B]Last Name[/B]. This works successfully. But my problem is when i try to display the posted data to ASP page, the ASP page doesnt come out. What should …

Member Avatar for lili.edryana
0
2K
Member Avatar for jjemphoung

good day! i know theres a way to kill a process in task manager using vbscript. but i've tested all of the codes i've seen upon googling it, still no luck. how can i do it right? sorry if i post this to javascript forum becos there's no vbscript forum …

0
85
Member Avatar for ArtistScope

Am sending email using CDOSYS and finding that it works ok with a hard coded email address in the TO field but it doesn't work when I use a variable. This works... [ICODE]ObjSendMail.To = "[email protected]"[/ICODE] This doesn't work... [ICODE]ObjSendMail.To = strEmail[/ICODE] giving an error... Microsoft VBScript compilation error '800a0401' Expected …

Member Avatar for ArtistScope
0
83
Member Avatar for snehalj

above code not working, y is 2010 and year0 is also 2010, as per my knowledge Equal should be displayed as output, but the condition does not get equal. Pls help me for this.

Member Avatar for snehalj
0
585
Member Avatar for jimbennett57

I'm a newbie to SOAP, and have been searching for an answer with no luck. Hopefully someone can help me out here. I have a VB script which successfully retrieves a SOAP response (xmlhttp.responseText). I can see the response with WScript.Echo, save it in a variable or can save it …

Member Avatar for jimbennett57
0
607
Member Avatar for bobymathews

In php we use the following code to block the url link passing via text boxes or textarea on form submit(For avoid bad link passing from contact us form ).Is there any methode like this in classic asp using vb. if($_POST['Register']) { $username=$_POST['username']; if (preg_match('~(?:[a-z0-9+.-]+://)?(?:\w+\.)+\w{2,6}\S*~i', $username)) { die('Access Denied Avoid …

Member Avatar for achinaseller
0
144
Member Avatar for eoscondor

my school has blocked executables and most over file types but i can still run vbscripts the problem is that i know jack-all about vbs and i would like to know of any good vbscript tutorials that are not HTML. [U]can anyone help?[/U]

Member Avatar for eoscondor
0
209
Member Avatar for tgreer

First, sorry for posting this here, but I couldn't find a VBScript forum on Daniweb (which I find surprising). I'm working with binary data in several different projects. Below is an example of code that works to retrieve a static map image (PNG) from Google: [CODE]strFileURL = "http://maps.google.com/maps/api/staticmap?markers=2200+S+Western+Ave+Lisle+IL&zoom=14&size=400x400&sensor=false" Set objXMLHTTP …

Member Avatar for tgreer
0
824
Member Avatar for pv.vasconcelos

Hi Guys, I have a script (vbs) that exports the contents of the database (SQL Server) generating an XML file, but he always brings with encoding UTF-16. Is there any way to change to ISO-8859-1 through exports? Or maybe in the XSL file? Here a piece of code that exports: …

0
84
Member Avatar for Preet20

Hi! I m using VB 6 For Software Development. when i filter a Data Report Using Filter Command an error occur says "Out of Memory". It happens with only one data report meanwhile Other Data Reports are Executing properly. Please Help me to resolve the Problem.

Member Avatar for abu taher
0
143
Member Avatar for sourceskill

I'm getting a runtime error on a for next loop and need: Here's my code: [CODE]<% for i=1 to Trim(UCase(Request.QueryString("print"))).Count If Trim(UCase(Request.QueryString("print"))) (i) = Trim(UCase(rsAuto.Fields.Item("vin").Value)) Then %> <tr> <td width="10%" height="45" align="center" valign="middle"><%=(rsAuto.Fields.Item("year").Value)%></td> <td width="15%" align="center" valign="middle"><%=(rsAuto.Fields.Item("make").Value)%></td> <td width="30%" align="center" valign="middle"><%=(rsAuto.Fields.Item("vin").Value)%></td> <td width="15%" align="center" valign="middle"><%=(rsAuto.Fields.Item("title").Value)%></td> <td width="25%" align="center" valign="middle"><%=(rsAuto.Fields.Item("ticket").Value)%></td> <td …

Member Avatar for sourceskill
0
129
Member Avatar for VasquezPL

Dears, I have a problem - I need to write VBS script which will show me a question: "Please enter string to search" and then to find that string in description filed of all groups in AD (limited to some OUs) basicaly I need it to do sth like [code]dsquery …

0
77
Member Avatar for cptspock

I am working on an ASP VBScript to upload some files to my web server. When I get a compliation error, I go to the .asp file and make a change. Save, then reload the page. I still get the same error. For example; I had this statement: Dim ProductFilePath …

0
71

The End.