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

when EOF is true, error 2147352571 type mismatch

Hi, I have error with vb code in asp. Below is code for add new record in database. in syntax arec.EOF below, if eof is true (new record) then there will be error "Error: -2147352571 - Provider - Type...

View Article


Setting the default font and size used in my automated email script

This may seem pretty simplistic, but I am having a rather difficult time getting 2010 OL to change the default font used to Arial 10. I even added it to my script, but when I run the script, the...

View Article


How to add object property in vbs

Hi, Can anyone help me to add "file creation" and "File Modification time" properties in below VBS file. Code: Option Explicit Private Const BIF_RETURNONLYFSDIRS = &H1 Private Const...

View Article

[RESOLVED] How to add object property in vbs

Hi, Can anyone help me to add "file creation" and "File Modification time" properties in below VBS file. Code: Option Explicit Private Const BIF_RETURNONLYFSDIRS = &H1 Private Const...

View Article

Populating Labels

I feel like this should be simple but... I can't make it work. I am trying to create a subroutine to populate objects and below is the simple example I could come up with any help would be great! I am...

View Article


ActiveX cannot create component error, sockets

Hello, below script not working in OS 64 bit Dim oTelnet oTelnet = CreateObject("Socket.Tcp") With oTelnet .DoTelnetEmulation = True .TelnetEmulation = "TTY" .Host = "192.168.242.1:23" .Open .WaitFor...

View Article

Excel VB Automatically select filled cells range in textbox

Hey guys, I've a small problem on my hands here. I run a small business and with a few of my dealers i've set up a system in Excel which allows me to scan the barcodes of the necessary items and make...

View Article

Creating a moving button

Hello, I'm in an intro to VB class at school. We recently had to do a very simple program (Button that shows a joke setup, button that shows the punchline). I've already submitted it, and I'm kind of...

View Article


VBA Socket

I have problem with create object: Set objSocket = CreateObject("Socket.TCP") Run-time error '429' ActiveX component can't create object. regsvr32.exe "C:\Windows\SysWoW64\Socket.dll" is successfully....

View Article


Write to text file

Hi All, Ive been trying to get this to write to a text file, but keep getting an error "path not found" despite actually creating the path and a test .tsv to write to same message appears. Any Ideas?...

View Article

Replace Character(s) in filenames. e.g. He&llo => Hello in Visual Studio

Hi, I have a Code made in Visual studio 2010 that is kinda working. If a file has a character that i want to remove i browse to the folder and from there i can replace the Filename. if the code runs,...

View Article

How to Get Rid of Malware?

Malware, short for malicious software, is software used to disrupt computer operation, gather sensitive information, or gain access to private computer systems. It can appear in the form of code,...

View Article

Save File without duplicating file name

I have a macro that renames files by removing unwanted characters (to make the file name SharePoint compliant) in a folder and its subfolders. However, if after removing those characters and making...

View Article


How to connect to remote server and launch a job using VB Scripts from local...

Hi All, Please can you help me to create a button in a spreadsheet and the code behind the button should connect to a remote server and execute a batch file. I am very new to VB and need all the help...

View Article

Creating a variable programatically

In populating an ASP page, I pull data from a database. I need to create a series of variables based on that info. EG: Variable name ="Q" & obj("productID") (It will look like "Q17" or "Q43") and...

View Article


How to print the recursively parsed data into a .csv or .xls file using VBscript

Hi, i am new to VB scripting and developing a small script, which recursively parses the folders/sub-folders in a given path for the files with file extension _George.doc or _Peter.docx and it has to...

View Article

Batch Launcher With Variables

This batch launcher was created so that batch files won't launch a command prompt window... Now that i'm adding more variables to it, it's not working... I'm launching the VBScript like so; wscript...

View Article


Integrating ASP.Net with Dreamweaver

Hi all, I will soon be building a website with a mate. My mate is going to create the static HTML pages using DreamWeaver and I'm going to do the VB side using Visual Studio. My question is, how easily...

View Article

Cannot retrieve the fields from pdf using VBSCRIPT

Have this PDF document http://www.cic.gc.ca/english/pdf/kit...0008ENU_2D.pdf Code: FileNm = "IMM0008ENU_2D.pdf" 'File location Set gApp = CreateObject("AcroExch.app") Set avDoc =...

View Article

How to make a script that checks ID in a file and move it to folder with same...

Hi, I appreciate if someone could help me on this one. I have following setup of files and sub-folders: algo_xxx\ algo_yyy\ algo_zzz\ xxx_algo_report.csv yyy_algo_report.csv zzz_algo_report.csv...

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>