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

Run-time 430: class doesnot support automation or does not support expected...

Hi All, I'm new to Visual Basic 6.0. My question is that : When i tried to execute the EXE in vb6 it is getting error as Run-time 430: class doesnot support automation or does not support expected...

View Article


Web page source code problem

Hi everybody; I am using this code for get the web page source code >> document.body.innerHTML But some letters are as "?" Example; <td valign=top><b>oyun adı:</b>...

View Article


[RESOLVED] TransparentBlt - Does nothing

I'm using Windows XP/SP2 - VB6.0 On a Form I have two Pictureboxes, Picture1 and Picture2. The Form, Picture1, and Picture2 have their ScaleMode = vbPixels. Picture1 and Picture2 have their AutoRedraw...

View Article

[RESOLVED] Visual Basic Newb Stuck Getting Two Outputs

I am currently enrolled in a class for VB and all of the programs we are creating are console only. With each of my lab projects I always try to make it a little more challenging so I can learn more...

View Article

Delete an open .mdb file

In vb6 I am using Microsoft.Jet.OLEDB.4.0 to open an existing .mdb file. Before opening it I want to Kill (delete) it so that new data is inserted in it. When first time it is opened, Kill statement...

View Article


converting entire Sid to hex..how to? help please!

hi, i would like to convert the entire Sid of the current user into an hex value like "4DF3" for example... or if is not asking too much...have a way to choose how many characters of the Sid i will...

View Article

Please help me to optimize code for count character in big loop.

Dear all expert programmers, Please look my code and tell me how to make it fast when use in big loop. Code: Option Explicit Private Const lngMaxarray = 32767 Private strSource() As String Private Sub...

View Article

[RESOLVED] Combobox Sorting

Hi I use the following code to populate a combobox is it possible to sort the list before I index. Code:   'Load Combo Data     With frmTopControl       If Control.myRset.RecordCount > 0 Then...

View Article


textBox and richTextbox character problem

Hi everybody; I copy this character "а" and paste to textBox or richTextbox it seems "?" а >> this is a special character how can it show on textBox or richTextbox? how can i resolve this problem?

View Article


where field is blank (How to do?)

Hi guys im using the following code to check the database and add the date to a listview Set rs = db.OpenRecordset("SELECT * FROM `Leads` WHERE `Agent` = " & "'" & Form1.Text1.Text & "' AND...

View Article

If user pushes up or down key on listview then do something?

Hi guys, I currently have some code in listview1_dblclick is it possible to run that command when a user presses up or down on the listview changing the item? Thanks Jamie

View Article

Timing Shift Project Help

Hi All I got project in mind but need your experts out there to see if its possiable What i would like is between 6.30am - 14.30pm the data in text1.text and save it to text file during that time to...

View Article

Image may be NSFW.
Clik here to view.

Convert line to polygon

hi, need a help - how to convert line (polyline) to polygon? see pic. Attached Images  

View Article


opening form(s) from listbox double Click

Ok I have ran into a problem that I need help with. I have searched but cant find anything that I need. Ok my problem is. I have a 2 forms. form1 is full screen and I have a list box and command...

View Article

Image may be NSFW.
Clik here to view.

Email Attachment using Access2007 & VB 6.5

Hello, I need help! I have a small Access 2007 DB containing a table with Email addresses and attachment to each record. The Email data type is "Text" and the Attachment data type is "Attachment"...

View Article


Old VB5 project with Active X control on Win7 64: exe runs, source code is...

Hi everyone! I'm asking for your help because I have a problem with my old projects in VB5. Some of them (the ones without external ocx controls) are loaded and compiled perfectly even in my new...

View Article

Get Textbox Font Height

Can some please explain what I'm doing wrong. I set the textbox font to "Tahoma", Fontsize = 9 and IMHO TEXTMETRICS should return that same value BUT does NOT?? Code: Private Sub GetFontHeight()...

View Article


Help me understand Winsock UDP please

Hello, I have been using VBS for years (as a Hobby) but have never uses an ActiveX control before. I have written a 2 player card game, played over 2 PCs, so you can not see each others cards ( it a...

View Article

How to set value for fields in CSV file to zero using VBScript?

Dear all, I have a CSV file contain many fields. All fields have value. However, I want to set the value for fields 24 until 26 to 0. How can i do that by using VBScript? I want the script to force the...

View Article

Why does this if statement not work?

Hi guys, I am using the current code below, now i'm trying to make it search the database for what is typed in text1.text and then when it finds the results it adds them to listview4. For some reason...

View Article
Browsing all 21846 articles
Browse latest View live


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