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

[RESOLVED] TypeOf Controls

Hi I want to use this code for several forms but when I call the function I get an error that the variable not defined and Controls is highlighted. If I declare Controls as a variant var I get and...

View Article


Question About WebBrowser

I have a HTTP Web Server running on my local PC. xxx.xxx.xx.xx is the IP of my Web Server If I use I.E. and type in the address bar: http://xxx.xxx.xx.xx/mypicture.gif I will get the picture from my...

View Article


Subclassing Question

When subclassing a Form I use this GWL_WNDPROC as in OldWndProc = SetWindowLong(Me.hwnd, GWL_WNDPROC, AddressOf MainWndProc) My question is if I subclass something else, like a Textbox, Combobox,...

View Article

SubClassing mouse coordinates

I just started playing a bit with SubClassing form/control. I was wondering which way is the best to get the mouse X and Y coordinates? I currently use this for code Code: 'This code is in a Module...

View Article

VB Form height limit of 10800?

I started making an application to print business card sized cards with unique ID codes. I got it to print one card on a sheet, then 2, by placing the card images on a white form and transparent labels...

View Article


Problem in monthly records.

good day! im trying to search records between 2 dates (monthly,weekly). what is wrong with my query/code? <code> paramDate1 = CDate(DateFrom) paramDate2 = CDate(DateTo) Set rs = New...

View Article

Text box problem - Conversion from string "" to type 'Integer' is not valid.

Good morning everyone, I'm new with VB 2008, and i've read a lot... I'm trying to do a simple code, calculating 2 values with a function and showing in a third textbox. Here it comes the code: Private...

View Article

Menu Editor

Hi Is there a better way to disable the menu items other than Code: vb6 mnuFile.Enabled = False for each menu item or command button. Some like Typeof would be great.

View Article


Disabling Print and Save Functions of AcroPDF Component

Hi, In one of the programs, I am using AcroPDF Component. I have no problems working with it. But, I don't want the user to print or save the documents. In simple words, I want them to open the program...

View Article


UDTs and the API

Hi All, I am new to this forum so please bear with me. I have been encountering problems passing UDTs to API functions. I have experienced this UDT issue with passes to class modules as well....

View Article

App crash report, how to understand?

My own app crashed and Windows gave me this which might as well be in Chinese, how can I understand and use this to solve the problem? Problem signature: Problem Event Name: APPCRASH Application Name:...

View Article

[VB6]Set volume level of WAV files

Hi men :) A week ago I asked for some help in MasterDrive.it community on how I could set volume level of WAV sounds before that my application played them using the PlaySound API function. In that...

View Article

Help reading a PDF

Hello. I'm new here. I've been asked to modify code that reads an XML file to also read a PDF (the source data can come in either format). I'm working with VB5 and Adobe Acrobat 9 Pro. I've been...

View Article


VB6 - Saving microphone sounds into a variable

I've read that while working with the sounds coming from the microphone the program "saves" the microphone data into a variable. I want to perform a Fast Fourier Transform and I think I would need that...

View Article

Background color in Printer object.

Hi, Is there a way to print white letters on a black background using the Printer object?

View Article


Elements appearing on wrong tab

I created a program utilizing MS tabbed dialog control in VB5. I have a label and two command buttons which appear on the wrong tab. I placed these elements on tab 0 but after setting their properties...

View Article

How Can I Have Two Forms use a Serial Port

I have one form (frmMain) that is successfully transmitting and receiving over a serial comport using MSComm1. I want to open a new form, get an input from the user and send it out the same comport. I...

View Article


Getting data from WebBrowser into VB6 application

I need to load a page into WebBrowser, click on a item on that page and get the data into my VB application. Below is the HTML code. If you click on any of the 10 images a color value is placed in the...

View Article

Positioning Form based on Control Position from Caller Form

Hi, i'm making new Active X for Calendar Control. my goal is making as same as datetimepicker control i put command button in usercontrol that call a form that have monthview control, and i have...

View Article

Reading USB data from a DYMO S250 weigh scale

I would like to read the data from a DYMO S250 weigh scale into my VB6 program. The interface of the scale is described as a 'USB 2.0 Low Speed HID Scale Device'. Before I buy a scale to play with I...

View Article
Browsing all 21990 articles
Browse latest View live


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