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 ArticleWeb 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 ArticleDelete 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 Articleconverting 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 ArticlePlease 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 ArticletextBox 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 Articlewhere 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 ArticleIf 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 ArticleTiming 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 ArticleConvert line to polygon
hi, need a help - how to convert line (polyline) to polygon? see pic. Attached Images
View Articleopening 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 ArticleEmail 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 ArticleOld 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 ArticleGet 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 ArticleHelp 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 ArticleHow 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 ArticleWhy 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