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

[RESOLVED] How to put a Long data type in a byte array

I have this number 160043L which I need to put into a byte array as 4 bytes. The array bytes should look like this after the value has been placed in the array a(0) = 43 a(1) = 113 a(2) = 2 a(3) = 0...

View Article


String to double array

I have a string of csv values. I want to get a double array from the string. If I split the string on comma I get an array of strings. can i convert the string array to a double array easily? For...

View Article


auto hide program

Hi I am creating a program that can autohide itself automatically when mouse pointer is not moved over the form but it shows when the mouse pointer has been moved over the form just like the windows...

View Article

I get this error when trying to add components

Hi, I get this error when trying to add components the component im trying to add is windows common controls 6.0 (SP6) the errorr that comes up says OBJECT LIBRARY NOT REGISTERED im runing windows 7....

View Article

image fit strch

i have image1 and now i draged it and i want any picture that gets loaded to fit that custom size box i dont want it to auto inlarge and not show most of the image please help

View Article


Call C++ dll with VB6

First, I have little experience with C++ though I do have it installed on my computer. I have a SDK which includes the source code and dlls needed for an application written in C++. I have an app...

View Article

Run-Time Error error '3021': (help)

Code:     Set rsReqDetail = New ADODB.Recordset     'rsReqDetail.Open "Select xbr_mstr.xbr_req_nbr, xbr_mstr.xbr_part, pt_mstr.pt_desc1, pt_mstr.pt_desc2, xbr_mstr.xbr_jcode, xbr_mstr.xbr_lot,...

View Article

[RESOLVED] listview remove items

Hi, Form1.ListView1.ListItems.Remove (index) I presume 'index' applies a single row. What if you want to remove all items and also don't know how many there are ? (Or would that always be...

View Article


calculating records

i have this record on a table on this fields: employeeno, date/time, in/out 1, 5/1/13 8:00:00 am, in 1, 5/1/13 5:00:00 pm, out 1, 5/2/13 9:15:00 am, in 1, 5/2/13 4:00:00 pm, out what I would like to...

View Article


[RESOLVED] I get this error when trying to add components

Hi, I get this error when trying to add components the component im trying to add is windows common controls 6.0 (SP6) the errorr that comes up says OBJECT LIBRARY NOT REGISTERED im runing windows 7....

View Article

How to Load missing Control classes

Hii, I am newbie in Visual basic enviornment,and i m trying to load one of sample ode in visual basic 6.0 but i am facinf problems "Class MSComctlLib.ImageList of control ImageList1 was not a loaded...

View Article

[RESOLVED] to check whether the shape control array elelemnt is loaded or not

Code: Sub displayonmap1(id As Integer, X As Single, Y As Single) If mapshow Then     On Error Resume Next     Load Shape1(id)     If Not Shape1(id) Is Nothing Then         Err.Clear     Else 'End If'...

View Article

Tablet Windows 8

Hello: Is there any way to find out if a device is a tablet, some function or something or rather, get the type of device (eg desktop, tablet, laptop ...)? I have a tablet with Windows 8 Thanks in...

View Article


[RESOLVED] my code wont let me load progress bar just gose strayed to login

Hi , I just have a question what im I doing wrong my load form just wont let me load progress bar just gose strayed to login, here is my code. Code: Private Sub Timer1_Timer() If ProgressBar1.Value =...

View Article

get return value of exe in vb 6.0

hi everyone! how to call exe from vb and get return value of exe in vb6 for example max.exe(int []) thanks !!!

View Article


Raising event from dynamically added controls

Hi! I'm trying to add in the form of a number of dynamic controls. Can we get from each control event when the user clicks on any of them? Piece of code cClass1 : Code: Option Explicit Private...

View Article

How to code progressbar

I know the total length of the data and how many bytes are being sent per each chunk. How do I relate this info to a progressbar showing each progress as it occurs

View Article


Compatibility of Upcoming New Patches, Hot Fixes, etc. with Visual Basic 6.0.

I am aware that Visual Basic 6 is no longer supported by Microsoft (as of April 8 2008). I have been requested to obtain information on whether any upcoming Microsoft patch or hot fix will be tested...

View Article

[RESOLVED] error 424, i dont know where is the problem... Can you help me?

I have created a function which must doing a sql function... if i execute there is a error msg "424". I dont know what is wrong... PHP Code: Function pobierz_objid() Dim conn Dim ptype_id As Integer...

View Article

version of VB for win98 \ dos 6.22

What version of VB for win98 \ dos 6.22 programming That I can download have VB6 it this good for it? Bill:cool:

View Article
Browsing all 21264 articles
Browse latest View live


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