looping combobox IN FRAME VB6 and retirn combobox name
my test code: ... Dim cCont As Control, name as string For Each cCont In Me.Controls.Frame1 If TypeName(cCont) = "COMBOBOX" Then name=????? End If Next cCont ... i need only for frame1, in form have...
View ArticleCrystal Report 9 y vb6
Hola muy buenas tardes a todos Tengo un sistema desarrollado en vb6 que utiliza Crystal report 9 como reporteador pero me ha empezado a dar algunos problemas sobre todo en terminal services, como por...
View Article[RESOLVED] Allow users to build WHERE clauses
I need to allow users to build a WHERE clause. Basically I am in a STORED PROCEDURE that allows any table to be selected from - by specifying the table name in a parameter to the SPROC. The SPROC...
View ArticleVS 2019 Placing Graphics Functionality into a library class
I have created a library class in VB Net (Framework). I have this class include a method to plot the class object. In the main program I have added the library class as an existing item and I have...
View ArticleMSSQL Login for Stored Procedure
Hello, I am having a challenge creating a MSSQL Database Login that can ONLY create, delete, execute some few Stored Procedures Only. I dont want that user to be able to view table or perform any other...
View ArticleFormat a Number
if l have say the number 1234 text1.text=Format$(1234, "##0.00")......produces 1234.00 What is the Format to produce 1,234.00
View ArticleAutocomplete only considers the 1st letter?
I enabled autocomplete for file paths, and was surprised to find it would stop autoappending after the second letter... Consider C:\aa123 C:\ab123 C:\ac123 I would type C:\a and it would correctly...
View ArticleAccess VB6 object from another class
If I have a simple class e.g. Basket which contains some items e.g. Description and Price. The class is instantiated and set up with required values in one module. Now how can I view the basket from...
View ArticleVB.NET - Drawing Lines From Scratch (Bresenham)
Howdy fellow programmers, Learning to draw lines on a computer screen is part of the basic useful stuff. Reinventing the wheel being my main focus I looked around to find out how, but most if not all...
View Article[RESOLVED] Determine position of UserControl on Form?
Trying to figure out basically where the x,y position of a UserControl is on a form, then the width/height of the form. Obviously this is easy to do from the outside, but I need to do it from the...
View ArticleNeed Help with ActiveX Command Button (Return Click Event)
Hi Everyone! Sorry! I feel ... Out of phase !! But I have this problem which I cannot solve. I don't find any information about it, and I don't understand how I can do it. If you don't know the proper...
View Articleupdating DatabaseGris from vb6
I want to update a database grid from vb this is my code which is not working Code: Private Sub Update_Bank_Balances() Set Titles = New clsTitle With frmTopFront.adoSo*****k.Recordset .MoveLast...
View Articleexcel 2000 question
I have a spreadsheet that has names (text) on rows and columns. They appear only twice. What I am looking for is the syntax (macro) to find that name in whatever row and column and color that cell. I...
View ArticleWhile loop asking user if they would like to repeat the program
Hello! How do I create a program where it repeats until the user types "No"? I'm using online.gdb btw. Thank you so much!
View ArticleFinally. Help after Running Winhlp32.msi on windows 10/W10
This seemed too easy, just run the winhlp32.msi and clicking on my help.chm file, I do get the help displayed, but as a separate task. I call this progress. But there is no link to the help file inside...
View ArticleUDP Server & Client -- Server is not saving packets!
I am experimenting with transferring files within a LAN by UDP. I know that UDP has issues with reliability, but at the present time, this is just an experiment and sort of a proof-of-concept. On...
View ArticleVS 2012 How to convert a HEX array to DEC ???
Hi all. I have a collection of raw hexadecimal bytes (2 digits each with a space between i.e. "5E A2 1C") which I want to convert and simultaneously, I want to separate each part with ',' but I don't...
View ArticleVS 2019 [RESOLVED] from CheckedListbox to Parameters.AddWithValue
Hi want to update a record in an access table with the values of a CheckedListbox I use this code to update the record but don't know how to loop through the CheckedListbox and get the values of the...
View Article