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

Textbox_Keypress = 13 Event produces sound

I have code similar to the following in my project: Code: Private Sub Text1_KeyPress(KeyAscii As Integer)     If KeyAscii = 13 Then         MsgBox "Enter pressed.",vbOkonly,"Result"     End If End Sub...

View Article


Help on how to update or refresh text in my animated label text

hi i need some help again... i have 2 forms, first form is the "insert announcement", 2nd form is my "main form" in my main form you can find a LABEL "LBLANNOUNCEMENT" here is the situation, one you...

View Article


Conflicting Names [Help]

Hi , When I used a reference to Microsoft Excel 12.0 Object Library in vb6 , I got a type/control named "Pane" eg: do declare a new element of type 'Pane' I can use, Dim e as Pane And, later I used an...

View Article

Image may be NSFW.
Clik here to view.

Linear Feedback Shift Register

I'm a bit baffled, not to mention frustrated beyond comprehension and hopefully I can explain this right or I just once again created a dead thread noone can answer due to the advanced nature of what...

View Article

Incorporate CSS in VB 6 Application

Hi, Is it possible to incorporate CSS (Cascade Style Sheet) in VB 6 application to change the look of Controls ? Regards

View Article


com objects and character encoding

I have written a com object in vb6.. My colleague is using this in Delphi.. He has asked me "when it returns a string what character encoding is it using?" and I dont know how to answer him.. Can...

View Article

Hide Data Report textbox

Hi I'm wondering if it is possible to hide textboxes inside data report with conditions. i have searched for ways on hiding text/label and I have tried this kind of code but it won't work: Private Sub...

View Article

how to make two button toggle - one in other out

I need two commands buttons that act like a one or the other (kind of like two radio buttons where only one is ticked at a time). If one button is pressed it stays pressed and the other becomes...

View Article


ListView Loading Slow

Hi all, Coming from a VB.NET\C# environment back to VB6, which I have not coded for years, is a bit challenging. So, I needed to add a new form to one of our VB6 applications, which is supposed to...

View Article


encryption routine

Hi everyone, I'm trying to give some sense to this piece of code, which is used as a module: Option Explicit Public Function Crypt$(sMsg$, sPhrase$, Optional bEnOrDec As Boolean = False) Dim...

View Article

OCX en Windows 7

Hola Gente…. Tengo un sistema en Windows 7 usando un OCX en una de mis computadoras y funciona bien. Cuando quiero levantar los fuentes en otra igual, registro el OCX me dice que el registro fue...

View Article

Problem installing VB 6.0 Service Pack 6 on Win 7 32 Bit Embedded PC

This PC is from a company called Beckhoff based in Germany. Supposedly a typical Intel mboard and loaded with Win 7 32 Bit. Anyway, I did all the necessary mods to get the VB 6.0 install to work, but...

View Article

How to kill a file

Hi evryone I just wonder how to kill a file with this format. App.Path & "\backup\backup\PhoneTel.mdb" & Format(Now, "yymmdd_hhnn") & ".mdb" Bonzo

View Article


[RESOLVED] How to round up a Single variable

In a timer loop a variable dimensioned As Single gets a value every time the timer event is entered. The value will be like this: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 etc etc every time the...

View Article

How to improve this

Code: Private Sub Timer1_Timer()  On Error Resume Next  Static HH As Single  Static MM As Single  Static SS As Single  Static TS As Single  Static TSS As Single  TS = TS + 1    TSS = TS / 10    If TSS...

View Article


HowTo: Create A Resource Dll and link to DirectX8 rendering???

oks, i really not sure what im talking about other then the lil bit of info on the net which isnt helping , so many names one said its a mircosoft "something" resource Dll, others just resource dll,...

View Article

ListBox Help

Hey guys, Being the amateur that I am, I do not know how I can select a record in a listbox and then display the contents somewhere else. Basically, I load a txt file for Input (which consists of...

View Article


example needed urgent : trial soft , limitation use

there is 2 things am after 1: limitation the software use when programme is launched , an example will be great such as limiting command1_click to be pressed once a day then order package 2: extend...

View Article

[RESOLVED] search listbox

this is what i have Dim i As Integer, J As Integer Private Sub List1_Click() On Error Resume Next For J = List1.ListCount - 1 To 0 Step -1 If InStr(List1.Text, "@yahoo.com") Then Me.Caption = "found"...

View Article

[Beginner] Random number generator game, need help.

Hello! I am making this random number generator game where you are playing against the computer, and the one who gets 3 labels with the same numbers first will win, numbers are from 1-9. Now to my...

View Article
Browsing all 21243 articles
Browse latest View live


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