Quantcast
Channel: VBForums - ASP, VB Script
Browsing index pages (688 articles)

How can i use subreports in rdlc asp.net vb.net

Please help i wanted to have cover page bearing the student name and photo on each and each report and the other details of marks on the second page how can i get this using subreport in rdcl vb the...

View Article


Show & Tell: I built an open-source, cross-platform runtime to keep Classic...

Hi everyone, I wanted to share an open-source project I’ve been pouring my time into recently, called AxonASP. With Microsoft officially announcing the deprecation of VBScript, and knowing that Classic...

View Article


Question about array type parameters in VBScript

Using the MSScriptControl in VB6 as the host, I noticed some interesting things about passing parameters to a VBScript function. My The code on the host side is: Code: Private Sub Command1_Click()...

View Article

[RESOLVED] File download

I have used the following code for several years and never had an issue down loading .docx file from our web site to the user. Code:                     Dim fi As New IO.FileInfo(FileName)...

View Article

File download

I have used the following code for several years and never had an issue down loading .docx file from our web site to the user. Code:                     Dim fi As New IO.FileInfo(FileName)...

View Article


For Each + JSON2 = Object doesn't support this property or method

Dear community, I'm looking for solution or help with the problem. The problem is that "For Each" fail with error "0x800a01b6 Object doesn't support this property or method". JSON - is json2 javascript...

View Article

Random Photo to Drive Letter

I'm very new to programming, I appreciate some help with a command script I have: Code: echo off setlocal enabledelayedexpansion set folder="c:/photos" set count=1 set x=1 for /r "%folder%" %%a in...

View Article

Contents of an arrayList persist through all attempts to dump. WHY?

For context, I'm running this code as a macro on an AS400 terminal. Offending line in red. Entire For Each loop runs through lines in a .txt file and grabs each one parsing it out into the vars seen...

View Article


Need to extract information from pdf fields from large document

I have a 320 page document. Each page has one fillable field on it that I need to extract the data from and input into an Excel sheet. My initial stab shows me the field name, but not the content of...

View Article


Run as administrator myapp.exe

How to Run as administrator myapp.exe Myapp exe Is in c:/mydir/ If Is possibile via .Bat. Tks

View Article

VBScript fails

Hello, Not sure why the script fails on the marked line below. Code: sPath = "c:\tmp\" fln = sPath + "tmp.pptm" strExcelPath = sPath + "tmp.xlsm" Set objExcel = CreateObject("Excel.Application") '...

View Article

VB Script to format excel sheet

Hi All, I am new to VBScript and need to format an Excel sheet using it. I found the following code online, but when I try to execute it, I encounter the error: Quote: runmacro.vbs(17, 39) Microsoft...

View Article

CDate error on Windows Server 2022

Dears, I move asp pages to new server. Regional short date setting is dd.mm.yyyy. On script i have CDate function and it return format mm/dd/yyyy. Where on system set it properly? test: 8/9/2024...

View Article


[RESOLVED] Message box if error

Hi Folks, New to the forum. Very familiar with excel VBA but new to VBS. I've created a code that activates and excel VBA macro. However it's reliant on me being connected to a network (which isn't...

View Article

log-in as another user whose I don't know password

I have a projet in asp.net After I logged-in correctly as administrator or superuser , i'd like change my 'user' and use application as anotheruser whose i don't kwow password. how can i do anything...

View Article


Runtime Error '326' Resource with identifier '0' not found

Hi, I just started getting this error when running an application on a Windows 10 PC. I think it might be related to a VBscript. Runtime Error '326' Resource with identifier '0' not found It worked...

View Article

How to close outlook from Task Schedular using VB Script

The VB Script code below check for an instance of outlook and close it if it is running before opening another instance of outlook and send the mail. It works fine when I tested it manually in QlikView...

View Article


How to handle error in VBScript

Hi, In VBScript I have a issue at particular line if script crashes it should go to particular line with out using on error resume next command how can I resolve this issue. Thanks Sampath

View Article

How do I use the byte arrays returned from Read method of the ADODB.Stream...

The only way in VBScript to read data properly from a binary file is the ADODB.Stream object. Here's some code I have to read a file in the VBScript code of my ASP page. Code:         dim obj...

View Article

ASP Classic xlsx file connect and retrieve columns

Hi there, Is there any asp classic code to retrieve all the columns from a csv file, some columns are not required therefore I need to select only those columns I need to process the data; currently i...

View Article
Browsing index pages (688 articles)


Latest Images