Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21301 articles
Browse latest View live
↧

Required code for Tear Off By VB6 for usb Printer

can u give me a hint so that i can change paper size of epson printer through VB6. or i need a hint to print a bill in usb printer with tear off through vb6 code. or Should i purchase USB to Parallel...

View Article


Finding words

Hi, I have been trying to find a macro that can search for a list of words that are listed in one tab (name list) and mark them in another, but it doesn't seem to be working. Can anyone help me with...

View Article


[RESOLVED] Shell to Browser

Is it possible to Shell from VB6 to your Browser and link to a site ?

View Article

Toggle 2 checkboxes

Hi, want to turn off Chkbox1 if Chkbox2 is clicked, and vice versa. I'm setting the other one to 0 in the click event. But it requires 2 clicks. Can I make it work with one click ?

View Article

Catia v5 Module

Hey guys! I'm new to VB and I've been having some problems. I made a button in Catia v5 (uses Visual Basic 6.5) that uses macro that opens a module from a VB project. When I click on the button that i...

View Article


Webbrowser Control

Hi all, I want to display my webpage in a Vb form and I'm using the Webbrowser control to do this. My webpage uses popups to allow the user to filter for information. There may be up to 3 popup levels....

View Article

VB6 compatibility with Windows 7

Hi Is Visual Basic 6 compatible with Windows 7 Thanks

View Article

MScomctllib error

Hi When i am running program under Windows 7 operating system i am getting this error Class MSComctlLib.ProgressBar of control ProgressBar1 was not a loaded control class. In Windows XP/Vista it is...

View Article


textbox to file name trouble

I am making a patient roster program that lists the patients for a specific day: Code: Private Sub Form_Load() dat$ = Date Text1.Text = Format$(dat$, "MM-DD-YYYY") ff$ = "M:\recep\PT30415.txt" Open ff$...

View Article


Image may be NSFW.
Clik here to view.

Emulate the Google search bar

Good evening :) Onto a form I have a ComboBox that I fill with several items (names of people, in order surnames and names). I wish that the user when starts typing onto the control, it will appear a...

View Article

run program with admin privilege from service

Hi. I want to run a program from a service in current user (active session) with admin privilege (UAC). i use WTSGetActiveConsoleSessionId API to find current user. i use this code to run program in...

View Article

Passing Variable to Batch File to Process

I have a situation where a file is created during runtime of vb code. The file is stored in a folder. Later in the code the file is located in the folder and needs to be passed to a bat file for a...

View Article

Use PIPE (STDIN/STDOut) to port images to ffMPEG to Create video..

HI, Greetings to everyone this topic is related to ffMpeg ( a command line video encoding tool) below is the sample code to create video files from images: Code: ffmpeg -f image2 -r 1 -i img%03d.png...

View Article


Image may be NSFW.
Clik here to view.

subscript out of range run time error '9' vb6 crystal report

I am getting this error when I try to pass an sql string to an external crystal report. extenal in the the report is not part of the project but a crystal report file. I have uploaded a summarised...

View Article

Image may be NSFW.
Clik here to view.

GDI + GdipGetImagePixelFormat (untrusted)

Hello, it fails when using an 8-bit image with a transparent palette, return 32 bits, any explanation? Download the image and put in C:\ Code: Option Explicit Private Declare Function GdiplusStartup...

View Article


Hello, please help. VB6 & Acad

The challenge is to create the example program in VB. Merge AutoCad, Excel. We need to open AutoCAD software, file, identify the drawing, text boxes, and change them to a table in VB6 is ehsel.V Ole...

View Article

[RESOLVED] running code without clicking a button

Now that my project is nearing completion, i have been informed that thjey would like the process to run simply by having the exe called. I must make it run without having to click any command button...

View Article


RS232 "sniffer"

Hello In the company we have sw communicating over bluetooth. I'm doing another software which recognizes communication via RS232 commands and writes to the database. Does anyone know how to connect to...

View Article

function returning value

Sir, I am trying to write a function which check that the numeric key is pressed and if not returns null/blank in the textbox and on write key writes the value so the event and functions are as follows...

View Article

Detect a Process

Looking for a bit of help / direction with this. I have a command button, If I press it I want it to see if calculator is open, If it is open bring it on top. if its not open then open calculator End I...

View Article
Browsing all 21301 articles
Browse latest View live