Quantcast
Channel: VBForums - ASP, VB Script
Browsing all 688 articles
Browse latest View live

Microsoft VBScript compilation error: Expected end of statement. What is wrong?

sInput = InputBox("Enter your name") a=MsgBox 1("You entered: " & sInput , 4+0 , "Is that what you want entered?") if a = vbyes then b=msgbox("Yes" , 0+16 , "Yes") end

View Article


Microsoft VBScript compilation error: Expected 'End' What is wrong with the...

sInput = InputBox("Enter your name") a=MsgBox("You entered: " & sInput , 4+32 , "Is that what you want entered?") if a = vbyes then b=msgbox("thanks" , 0+16 , "thanks") If a = vbNo Then...

View Article


VB Script to drag column down to last row of column A

Hi Folks - I'm struggling with a solution to be able to drag down a formula in column N3 down to the last row of data for Column A. Here is what I have thus far: Code: Set objExcel =...

View Article

working with files and variables

ok so im not sure how this is done I only have a basic understanding of the code. what i have written is a macro system inside open office and in this macro system it calls to vbs to send an email with...

View Article

Error upon rsObject.Open

Hello, Using the following SELECT statement: strSQL = "SELECT tblCustomerTests.TestValMin, tblCustomerTests.TestValMax, tblItems.ItemID, tblItems.ItemNum, tblItems.ItemDesc, tblItems.ItemSpecInst,...

View Article


VBScript AND operator

Dear Members, This is known issue and just wanted to check an alternate solution for AND operator. In If Condition i am using AND and i wanted to exit condition if first condition is false. If(a() AND...

View Article

Run-time errpor 52 Bad file name or number

Hello. I'm a vb script newbie. I am debugging a VB script Excel Macro. The Macro is suppose to create a PDF once a button is selected. I am getting a runtime error 52. Bad file name or number. Below is...

View Article

Need help with vbscript and Adobe Illustrator plug-in

Pleading help from someone who is into Vbscript and Adobe Illustrator with regards to using script to access a custom preset in Illustrator. What I am trying do is a take an Tiff image and trace it...

View Article


Use data from the Web in MS Word

Hi I am busy working on a project where I need to include graphs from a website in my final document created by my Windows Forms Application. Basically, the user inputs are taken and incorporated into...

View Article


Path Not Found when I use variables...

I am building a script that uses a user's input to create the path for a source folder. If I use a full path (the path that has been comment out), this works. Otherwise I get "Path Not Found". Can...

View Article

Running two actions in same VBScript

Good afternoon I have the below scripts which I need to run in one script. I cant get the second script to execute so I think I'm missing command line to continue can anyone advise whats missing...

View Article

Set a VBS file encoding

Hello, I use the following code in a BAT file to open a folder and select a file in an existing Windows Explorer window (QTTabBar installed). Code: start "" %1 :VBSDynamicBuild SET...

View Article

error logging in vbs

so as of right now my code is Code: Option Explicit On Error resume next dim attachment dim subject attachment = WScript.Arguments.Item(0) 'msgbox attachment,vbInformation subject =...

View Article


Make page to stay at center of screen

# July 26, 2017 at 8:51 am Company use 17″ and 23″ monitor. I want app page always stay at the center of screen. I learn CSS from the link here http://jsfiddle.net/PvfFy/. I added a div1 and set class...

View Article

Web Services and passing XML files from outside to me

Is anyone here good with web services? I have a server set up and can run the coveted TempConvert web service so I know the server is set up correct for VB/ASP 4.5 web services and has a good webconfig...

View Article


Website Script to click button on Website and export file to directory?

I have an internal company website that does not come up on the Excel internal browser (Data > From web) so I am trying to find a script that would allow me to go to my company website, click a...

View Article

Read Specific Value In .csv File

Hi, I am relatively new to this stuff, so please bear with me. I need to search a .csv file for a specific value (a stored variable), and then pull another value out of a different column on the same...

View Article


VB Script Not Working on All Computers

I am running a VBScript which I want to open an Excel workbook, load a .bas file, then save the Excel workbook. The vbscript works on one PC but not on any other PC. No error is being thrown either....

View Article

Carry session variables from https to http

I have just moved web hosts and have run in to a problem. With my old host, on one of my client sites, when the user logs in under https, any session variable that was then set under https would then...

View Article

Update Document reference for Internet Explorer

So I'm writing a script in Visual basics to fill out an online form. I'm able to fill out the first form, but after submitting the first the page refreshes with a new form but the internet explorer...

View Article
Browsing all 688 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>