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

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

setting x values in line graph

I have written a code that prompts the user to select x values then y values through inputboxes. However, I am unable to assign xaxis (the range of x values) to actually be used as ThemeColor x values...

View Article

Microsoft Visual Basic

Run- time error '3251': Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.

View Article


recordset.LastModified does not seem to work

I have a routine that creates a log entry into a table (that has already been created, is Global and never closed while program running) as certain things are done. I call the following routine before...

View Article

[RESOLVED] listbox click

when i hover over an item in list1 and click it , its clicked once but then right after i clicked it how do i make it click auto just once on that same item ? please urgent

View Article


Timing an event from start to stop and showing the time in 10th/second

I have a sound file. I need to click on button1 to start the sound and also start a timer. Then I click on button2 to stop the sound. When the sound has stopped I need to see how many 10th/seconds have...

View Article

CHECK data file by date

I need to check if \\myserverdir\database.mdb is newest of c:\midir\database.mdb, how to??? in effect i update a recordset in \\myserverdir\database.mdb and before to copy and overwrite in...

View Article


A very tricky problem for me to figure out

I am piss-poor at math which makes certain things difficult for me to figure out. Here's what I am up against. I am trying to move a vertical bar horizontally across a picturebox at a precise as...

View Article

Image may be NSFW.
Clik here to view.

Listview and Autonumber Problem!

my system is only showing 191 items. but in my database it has 240 items and my autonumber is not working as well Attached Images   

View Article

Image may be NSFW.
Clik here to view.

Need help trapping Enter key

Attached is the code(some of it were not mine) and i would like to extend it... but for some reason, im having problems trapping the "Enter" key, any help would be very much appreciated...thanks....

View Article
Browsing all 21835 articles
Browse latest View live


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