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

Run-time error '424' (object required)

Hello The 424 error occurs when an object is necessary. I’m having trouble to reference an instruction to a property of an object. The object in question was created in a form and the instruction that...

View Article


Image may be NSFW.
Clik here to view.

Icon corrupt

Icon become corrupt when I run in VB6. This icon is OK in PowerBuilder or display in DeskTop but corrupt only in running of VB application. How to remove this problem? I attached Icon image. Can...

View Article


Fill a common dialog with an address

hi first I'm sorry for my bad English. :D I've a problem with my program I've code a program for upload a file to a sharing center and it's completely dynamic (i mean using tab's to find the fields and...

View Article

need help finding SetWindowPos in References

Hi, how do I find SetWindowPos in References because I cant find it on there , or dos it have another name. thanks everyone:wave:

View Article

Cursor disapears on textbox

I have a app that has both a webbrowser control and a textbox. The textbox is used to show the contents of the HTML document and the webbrowser is use to run the HTML OK, I want to edit the HTML in the...

View Article


GetAttr() to check if a file exists ove a network

Greetings all, I'm working with some existing code that use getAttr() on a specifed file located on the same network on a different server to check if a file exists. The results of which are then...

View Article

cannot populate combo box with access 2003

i tried to populate combobox with access it show me blank data on combo box. Code: Private Sub Comboyear_Change() Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Dim str As String Dim i...

View Article

clarification about active windows

I have seen this code below Dim MyStr As String, theHwnd As Long 'Create a buffer theHwnd = GetForegroundWindow() MyStr = String(GetWindowTextLength(theHwnd) + 1, Chr$(0)) 'Get the window's text...

View Article


[RESOLVED] counting the number of characters in a label caption?

Hello everyone. I am working on a student attendance prog, and I was wondering if there was a way to count the number of characters in a label caption called StudentNameLBL I am asking because...

View Article


Possible ways to execute ASM shellcode in VB6

I know that you can use CallWindowProcA to call/execute ASM shellcodes, but are there any alternatives, since CallWindowProcA has a lot of flaws..

View Article

Select Case

Click a command button to move to the next account number which are held in strings from the database loading. The code works but shows one blank before it returns to the first account is there any way...

View Article

[RESOLVED] Strange Problem Saving File Using As Binary

Here's the code I use to save a file as binary: Code: dim s As String  s = Text1.Text  Open App.Path & "\" & C_FileName For Binary As #1  Put #1, , s  Close #1 Anything not correct with this...

View Article

[RESOLVED] can someone create me 1 command to destroy files

i need 1 command to destroy all .obj files in appath its getting so f+++ annoying when my vb6 crashes during build had inuf of obj any please please 1 click destroy all .OBJ

View Article


help search exact string

I have the code below Code: Private Sub FindText(ByVal start_at As Integer) Dim pos As Integer Dim target As String     target = LCase(Text1.Text)     pos = InStr(start_at, findtext.text, target,...

View Article

[RESOLVED] VB6 Shell function and mysqldump help

I need help in using the Shell function and access the mysqldump.exe to automatically create backups of the database when needed. I tried to put a shell function in a command button and the path going...

View Article


Image may be NSFW.
Clik here to view.

Delete registry key with multiple subkeys VB6

I want delete registry key with multiple subkeys Example: Attachment 96319 How change this code to visual basic 6 Plese help me Thanks in advance Code: Const HKEY_CLASSES_ROOT  = &H80000000 Const...

View Article

webcam client + server example low compression request plz

hi all am looking for webcam client server with multi connection, really needed with low compression thanks really need it plz:thumb:

View Article


Move This

Is there a way this could happen on the first of the month? Label8.Move Label8.Left + 5, Label8.Top + 360 Thanking you in Advance:D

View Article

Format/Add Spaces to fields of text file, to display consistent columns -...

I have added spaces to fields of data pulled from a database, but I'm having problems applying this principal to items read from a text file. My objective is to add spaces to shorter items, like: "TOM...

View Article

[RESOLVED] need help with constant value changing it

i have this tool client server image in server it has this Private Const RefreshRate As Integer = 1000 ' default refresh in ms as u no when form loads this cannot be changed its permanent value i wish...

View Article
Browsing all 21243 articles
Browse latest View live


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