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

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

Writing to a text file without quotes and spaces

I am trying to write data to a text file without spaces or quotation marks. I have googled it and found that if I use Print it will remove the quotes but it adds spaces to the string I am trying to...

View Article

Invalid use of Null

Private Sub ListView2_Click() Call d("Select * from Inventory Where ID=" & ListView2.SelectedItem) If rs!SellingPrice = Null Then MsgBox "Product's selling price is not set!", vbExclamation,...

View Article


Emulate specific PSEXEC behavior... PipeRPC or 'other'?

I'm a complete noob when it comes to RPC and Named Pipes and anything related so forgive me first off. I've just discovered PipeRPC here and I'm hoping maybe the author some someone 'in the know' can...

View Article


I've been told I need to send and receive RPC messages... Is PipeRPC a solution?

I'm a complete noob when it comes to RPC and Named Pipes and anything related so forgive me first off. I've just discovered PipeRPC here and I'm hoping maybe the author some someone 'in the know' can...

View Article

get latest date

I have this table transdate column for date on format mm/dd/yyyy hh:mm:ss and this transtype column related to transdate. I would like to get the latest date encoded and corresponding transtype? is it...

View Article

database

guys i need recommendation or ideas why im having "obj req" error this code is used for moving records from one another Code: Private Sub Command5_Click() 'first button, disable first and previous...

View Article

Sorting a Tab Delimited File

Hello: Many may have seen the struggle I am having with sorting a TREEVIEW. After many, many hours I am trying to think of another way of accomplishing this. I thought perhaps I could write the TV to...

View Article


Image may be NSFW.
Clik here to view.

How do I clicking through the form?

Hello everyone How are you all I hope that you will be okay How do I clicking through the form? like widget software as in the picture Wait your help Thank you very much Attached Images    

View Article

need all combination of number with dot

i want combination of a number with dot(.) example input ----> 1234 output 1.234 12.34 123.4 1.2.34 1.2.3.4. and so on etc output can be within listbox item wait for reply.thanks in advance

View Article


Debug mode not responding

Hi I have server application based on WinSock. After 2-3 hours (randomly) its "crashing" - program is not responding. Its also have the same issue when im testing this application in debug mode. Then...

View Article

Changing Registry question

Hello everybody. I am writing an application where users open an executable from IE browser. However most people are using Win 7 and I need to be able to change the setting from 'Tools/SmartScreen...

View Article


vb6 vs oracle11

Hi all, i'm trying to connect to an oracle 11 db via vb6. I have install the correct client but when I do the connection open the program response is that it can't do it. What tipe of connectione...

View Article

[RESOLVED] error 3464? help

I cant save the this now to my database error 3464 "data type mismatch" here are the codes Code: Set db = OpenDatabase(App.Path & "\database\database.mdb")     db.Execute "update audit_log set...

View Article

searching for special character doesnt return anythins

i saved and am searching for all string " ! @ # $ % ^ & * ( ) '" symbols in within a field content a database, using the following sql string Code: Select ID From Contacts Where '--' || note ||...

View Article
Browsing all 21266 articles
Browse latest View live


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