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

Put & Get methods - VB6 ?

I've read some code as follow: Code: If CommonDialog1.FileName <> "" Then         Open CommonDialog1.FileName For Binary As #1         Put #1, , data         Close #1     End If and next: Code:...

View Article


Can VB6 program run on Win 8 tablet ?

I have a small VB6 program that has no dependencies. (a special calculator) Someone has pleaded with me to write it for smart phones, but I am too old to be going through those (learning) hoops. If he...

View Article


Vb 6 - Sigma character in vb

In dos If i press Alt+228 it will return Sigma(Summation) character. I want to type same character in vb. If i press Alt+228 it printing S. Any help will be appreciated.

View Article

Image may be NSFW.
Clik here to view.

Is wmf suposed to look grainy, or is it because of VB6?

Hi there, I am working on adding vector images to a program that I can resize to full screen. The only issue I see though is, is the images look grainy, and really only look decent when the image...

View Article

search by date

in my project am using the DTPicker. and from my database i want to search data between two dates of DTPicker. My database date field is Dat and is in Date format. My codes are as such .RecordSource =...

View Article


Bar128 font & vb6 code

I was using idautomationhc39m font in my VB6 program for printing barcodes, printing working but some bars are not scanned Then I printed the sames Barcodes using a ordinary Laser printer, worked, bars...

View Article

Error ocuurs randomly

Hai, I have developed my project with VB and the back end is SQL Server 2008. Some time I am getting the following errors 01000: [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting...

View Article

Need help with nim

Hi, i'm trying to make a nim game. basically I have 16 labels, and im changing their visability throughout the game. I want code that will say that if I only have one label that is still visable then a...

View Article


I am getting error The conversion of a char data type to a datetime data

Dear Sir How are you? I got the following error in VB but the error is with sql server [Microsoft][ODBC SQL Server Driver][SQL Server] The conversion of a char data type to a datetime data type...

View Article


How to extract Date/Time from format - Sun Oct 28 09:41:19 2012

Hi Is there any easy way( using some in built function) to extract date ( and time) from a string - Sun Oct 28 09:41:19 2012 - in Visual Basic 6. Thanks in advance

View Article

Another Question About Text Files

Suppose, for example, I had the following contents in a text file: Code: [regular] airplane bigbuck bill bowler boxer countryduet cannonball car doowop exercise fang2 jackhammer jaws magician matador...

View Article

iterate and looping in all object prporty of listview

I need a routine to loop in all column of listview and retrive all possible info, smiliar, lenght column, tag, column name, ecc...

View Article

How to make date change after 7 am

Hello I need to know to make date change after 7 am not after 12 am for example today :- in form load event after 12 am date 29-10-2012 display in textbox and after 7 am date 30-10-2012 display in...

View Article


Putting Chr(n) values in a Textbox

Code: Private Sub Command4_Click()  Dim a() As String  Dim CC As String  Dim C As Integer  Dim B As String  a = Split(Text3.Text, ",")    CC = ""    txtYourString.Text = ""    For n = 0 To UBound(a)...

View Article

Using SetMapMode function

Hello everybody! I have used The SetMapMode function in the gdi32 library to define the device context logical unit. Then, I have used movetoex and lineto to draw line. I want to have a mm_himetric map...

View Article


error while searching

In my project i am trying to search data between two dates by DTPicker my codes are Dim sSQL As String sSQL = "select * from ExpCM Where Format(Dat, 'dd-mm-yyyy') Between '" &...

View Article

Program Help how to add costs to original cost

Hi I don't know if anyone can help me but i'm doing this program in school and i'm so confused. It's supposed to upgrade the original cost by adding the upgrades then the discounts then...

View Article


need help with hangman game

In my hangman game if i have a word with two of the same letters only the first of the two will show up. I have the labels invisible until you guess it right, here is the code: Private Sub...

View Article

Image may be NSFW.
Clik here to view.

How to import txt file to database (MSAccess of SQL Server) using vb6.0?

Hello masters? I need help! I'm a newbie in programming vb6.0. I would like to import a txt file into MSAccess Database or SQLServer using vb6.0. Below is the format of the text File. test.txt SEQ A ID...

View Article

[RESOLVED] HELP regarding common dialog control in visual basic 6.0

hi i was wriing a program to change the color of the shape using a common dialog control but i always get an error in common dialog control while compiling my code its says "invalid outside procedure"...

View Article
Browsing all 21846 articles
Browse latest View live


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