How to load PNG image?
I want to load PNG(Portable Network Graphics) image on the PictureBox or Image control but failed. Is there any control that VB6 provides? If not, is there some workaround that I can load PNG image?
View ArticleCreating PictureBox at run-time
I want to create PictureBox at run-time. I'm wondering if anybody could suggest the way how to do it.
View ArticleCheck if record exist then do UPDATE, if not, then do INSERT. vb 2010 ms access
Hi, I would like to ask help. I am currently creating a time keeping system. My only problem right now is with regards to time-in and time-out of the employee. If button timeinout is clicked, it should...
View Articleformat number
i have MyVal=325687(as long dimensioned) I need to format to have: 3.256,87 wath is the correct format parameter?
View ArticleImageList Image Question
I see that the max size for an ImageList is 256 x 256. Is there any alternative(s) I can use if I need the larger picture for the ListView Drag Image. This would occur when the user selects many items...
View ArticleWebbrowser - Run-time error '70' permission denied - how to prevent?
Problem with occasional permission denied '70' error, when user clicks table cell, in locally generated and loaded html document. VB6 form, where webbrowser component; - loads locally generated html...
View ArticleVB6 Wrapper Class for WinHTTP WebSockets?
See WebSocket for an overview. I've been using some clunky 3rd party libraries for ws/wss WebSocket protocol clients. These are pretty painful and full of bugs. But I saw that a while back in Windows 8...
View ArticleCrystal to PDF problem
VB6 application sends PDF files created by exporting Crystal Reports to PDF as an attachment to customers. From time to time (not always) the process of exporting produces an error -2147189152 'Cannot...
View ArticleHow to Prefix " % " Sign in Text Box?
hi, all i want to Prefix a " % " sign in a right corner of my TextBox (as it is possible in Excel). at run time i will allow user to input any number like 5,10, etc, to textbox and i will use this text...
View Articlequiz help!!
Ok, I have created a quiz in vb it has a username and a password. The user enters a username and password and it is saved in database and it is used to log on. Then they answer a quiz and get a score....
View ArticleClient Area
I have never been sure using system metrics how to align objects on a form correctly. I always seem to find myself adding a fudge here and there to get things just perfect. To align things horizontally...
View Article[RESOLVED] How to Prefix " % " Sign in Text Box?
hi, all i want to Prefix a " % " sign in a right corner of my TextBox (as it is possible in Excel). at run time i will allow user to input any number like 5,10, etc, to textbox and i will use this text...
View ArticleUserControls and Line method
In VB you can draw a line using a controls built in method. Picture1.line (0,0) - (100,100) It's a strange arrangement of parameters which does not conform to the normal calling standard. If writing a...
View ArticleProblem adding images to ImageList using function GetAssocIcon
I can add 30,000+ icons to the ImageList using this: Code: For n = 1 To 32000 ImageList1.ListImages.Add , , Me.Icon Next n So, I know it's not a quantity issue but when I use GetAssocIcon function I...
View ArticleFlexgrid combolist from database
I'm using a flexgrid to get data from the user. As you can see I have 6 fields. What I want on the field name ="UOM" the data will be coming from a database and it will work as normal combo box like...
View ArticleHelp requied with datarport
I am facing a problem that I have to show database results from 3 different tables on a single report these three tables have are used for different purposes and want to show their headings details...
View ArticleHelp finding Agreed Secret
In my ongoing attempt to implement ECC (Elliptical Curve Cryptography) in TLS 1.2, I have run into a roadblock that I can't seem to get around. Background: To use ECDHE (Elliptical Curve Diffie-Hellman...
View Article[RESOLVED] Type Mismatch
I'm noob with VB6 so bare with me. :( I got an error with this code: Dim i As Integer With poFlexGrid For i = 1 To .Rows - 1 .Cell(flexcpText, i, 5) = poFlexGrid.TextMatrix(i, 2) *...
View ArticleHow can I run my program in background of a game?
G'day all, I have made a game companion similar to a trainer but not quite. It is loaded with information I have researched about the game via the net and a huge book I bought about it. I have tried...
View Article3 levels of 'split' string; 1 level not working
The attached code works, apart from the area between the 2 sets of "---------------" lines; specifically I think lines labelled 10 and 20. The highlighted area of code splits the text using " " as...
View Article