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

[RESOLVED] Be able to close form with ALT+F4

Hello! I have a form, ControlBox=True, BorderStyle=None, blank Caption. I want to be able to close the form at ALT+F4. Any idea? I need the form to remain without title bar. ( it is also displayed...

View Article


read from random access file

Can someone help me explain the code snippet below: Why am I getting "1" when reading "Buks(2).Index" in Private Sub Command2_Click(). Its value should be "88". Also, when reading "Buks(2).Saved" I am...

View Article


How do I move a whole bunch of folder in VB6?

Hi there! I am finishing up an attendance prog, and one of the features is that when a teacher creates a roster, the program will create a folder with each students name. At the end of the year, the...

View Article

[RESOLVED] 2 or more records SQL DELETE FROM - problem

strSQL = "DELETE FROM sold_Tbl WHERE (transno = 1)" is working efficiently for me however strSQL = "DELETE FROM sold_Tbl WHERE (transno = 1) AND (transno = 2)" have a problem. no error is encountered...

View Article

[RESOLVED] VB6: Adding a new record to an existing TYPE structure?

Hi, I've searched through the threads but can't seem to find an answer. I have a Type structure namely Type PersonalInfo CompanyName As String * 50 Address1 As String * 50 Address2 As String * 50 City...

View Article


Closing a form without closing the whole program

Hi guys, Tiny little issue Im having with a program im writing. I have a form open in my program (when the program is running) what I need is a close button so that when the close (or exit or whatever)...

View Article

Inner Join in B6

Hi guys, any idea how can i use innerjoin in VB, im not sure if its inner join that i nee to use. Here is the scenario. i have two tables: tblProductInfo and tblSerialNumber tblProductInfo:...

View Article

Image may be NSFW.
Clik here to view.

Layout creation

How could I create such a layout using visual basic 6 There could be any no. of rows from database. Logically I think that I should use Grid or listview But I don't know how to write a code for that...

View Article


Request.ResponseText data analysis

I have a vba script my MsgBox MyRequest.ResponseText result is as below. I want all the id's,abbreviation and description in an array, does anyone know how? I am new to VB <table> <tr>...

View Article


VB6, Access DB, & ADODB 2.7 on a Windows 7x64 Machine

I've been given some legacy code to work on that was built using VB6 and ADODB 2.7 to connect to an Access database. I'm getting an error when connecting that states: "The specified dsn contains an...

View Article

Image may be NSFW.
Clik here to view.

vb6 app cannot connect to sql server 2008 on win7x64

Hi guys, I have an app written in vb6. the app will connect a sql 2008 server. Everything wroks file. But suddently, the client pc can not connect to the server. The error says: Attachment 97197 The...

View Article

Find listbox items that have a check mark

I have a listbox full of items. As each item in the listbox has been taken care of it's checkbox is ticked. Later I want to loop through the listbox items pulling data out of the ItemData property of...

View Article

VB & Quadratics

I have recently began programming in Visual Basic 2010 Express, and I have already learned a lot. I have decided to try combining Quadratic Functions with Visual Basic by creating a graphing program. I...

View Article


help: email client

hi. bits by bits I gathered codes to make an email client that sends multiple attachments. I also store the images to mysql database as blob. Now I realized that I need to send those images as multiple...

View Article

help: save image to jpg

how to save my image from mysql database to jpg file?

View Article


Sql Server does not exist or access denied

Hi Connection is like this cnn.Open "Driver=SQL Server;Server=.\SQLEXPRESS;Database=Test;uid=sa;pwd=sa;" When i run program fron Client machine it gives the above error "Sql Server does not exist or...

View Article

Text on Image in vsflexgrid

I'm using vsflexgrid. In my Grid I have to show a button like image as a background of particular cell and have to put some text on it. I wrote like this. GridTotal.Cell(flexcpText, 2, 1) = "First Row"...

View Article


[RESOLVED] Choosing which row to add an item in a listview?

Hello there everyone. This is sort of a follow up from a previous post, I have a listview called ResultsView, and it keeps track of student literacy stations. What I am doing now, is I have a listbox...

View Article

need good licence system

please recommened me good licence system its bed time here so when i wake up il add more , i know how to make 1 but il also want to se some examples that will be great thanks.:):p

View Article

Return 0 Value

Hi I have written this , it should return 1 but it is returning 0 . I am using MS-Access shiftdate = "02/03/2013" In Database also there is one record with tdate = "02/03/2013" str = "select count(*)...

View Article
Browsing all 21089 articles
Browse latest View live


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