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

[RESOLVED] toolbar1 help

i am working on bold now Quote: Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) Select Case Button.Key Case "smiley" Frame2.Visible = True Case "bold" Case "3" MsgBox "Aaaaaaaaaaa"...

View Article


Tag Program

Hi everyone. I'm fairly new to the programming world and need to create a small, simple and straight forward program and just want to know whether it's possible in VB. I'll be using Visual Studio 2010...

View Article


VB6 Comport problem using Windows 7

I have a VB6 application running on XP that uses the comports. I have installed VB6 on a Windows 7 machine, and cannot get VB6 to recognize the comports. I am using USB to Serial adapters, and they are...

View Article

DoEvents not Doing

Hi all. I can't figure out what is wrong with this code. What is SUPPOSED to happen is that a drivelistbox is used to select a drive. If the drive is read only, a label reads, "Read-Only." If it is NOT...

View Article

winsock chat ignore help

please help how to add ignore a user from list in winsock chat i wish to understand how ignore a user is done click a username in listbox and ignore his future text in room please anybody thank...

View Article


Array Help!

Hi there, I've created a large macro that uses an array that is about 40 items long with three subsections each. I've recreated a smaller version of it using generic terms so that I could show it here....

View Article

WebBrowser control - image cut off for some users only

Hello there I have inherited a legacy application from an outgoing developer, that was built on VB6. 2.5 weeks back there was a production upgrade (by another developer) on a set of forms unrelated to...

View Article

VB6 and Batch Files

I have a simple batch file that removes a lock from a pdf file that enables multiple files to be put in a binder for printing. Nothing illegal, but in the nature of my work I receive a ton of single...

View Article


Image may be NSFW.
Clik here to view.

setmapmode and setworldtransform

Hello everybody. I want to draw line in vb by using Line funtion.then, I want to use the API function LineTo to ensure that I can handle, fill and modify the line. For I use a user scalemode, I have...

View Article


Prevent windows shutdown

I want my application to be always running. I have included password so that if someone tries to close the application, it will ask for password. Now I am trying to prevent windows from shutting down,...

View Article

Stack versus Heap

1) Variable in Call Procedure are going on Stack Code: Private Sub OnStack     Call AnotherProc(10, "test)                  << Since Call is part of procedure, Call Parameters are copied to the...

View Article

Image may be NSFW.
Clik here to view.

Picture (or Image) size to fill Screen

Here is my ENTIRE project code: Code: Option Explicit Private Sub Command1_Click() Picture1(0).Visible = True Picture1(0).Top = 0 Picture1(0).Left = 0 Picture1(0).Width = Screen.Width...

View Article

Help with While Loop

Help. I'm not a coder, so I can't figure out how to do this, but I do understand code when i see it, so... I am creating a procedure in which I need to go through each text file in a folder. For...

View Article


Input a list of numerical values from a Excel column

I am pretty much a noobie, so go easy on me. I am trying to create a small program to do a mathematical average of values from a random column in Excel. Thus the copy/paste action. The number of values...

View Article

[RESOLVED] Select Case 0?

I'm trying to determine if a string contains a specific piece of text. If it does, then I need to change the forecolor of a ListItem to a predefined color. This is how I'm trying to do it, but nothing...

View Article


[RESOLVED] if list1 contains any user name then

i need 1 code help sir list1 is my iggi bin so what i want to archive is if list1 contains that user name then execute my code please help:cry::cry::cry:

View Article

Are there any debuggers for VB6 that you can attach to the .exe?

Are there any debuggers for VB6 that you can attach to the .exe? Or is there truly only on way to debug the vb6 app, and that is in the IDE? Thanks

View Article


list1 items then iggi code help again

i asked help before but need again sorry your code was Dim x As Integer For x = 0 To List1.ListCount - 1 List1.ListIndex = x If List1.Text = "iggi" Then 'Run your program here (are you using the Shell...

View Article

Where is the Basic, in Visual Basic?

In considering the current Visual Basic offerings (.Net), I am struck by just how HOSTILE .Net is to the casual programmer... by this I mean, someone that needs to fire off a quick and dirty program......

View Article

[noob] Byte Array APPEND

how to append an array? i've tried this code,but "type mismatch" codee Code: dim arx() as byte  Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) Dim asd() As Byte Winsock1.GetData asd arx =...

View Article
Browsing all 21968 articles
Browse latest View live


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