Hi,
I have a 26 digit string written to a textfile using streamwriter. I now wish to use streamreader to display the string using the substring method, so that the first 4 digits are listed under the heading 'Product Code', the next 2 digits listed under the heading 'Type' and so on. This...
I have a list of 24 digit strings that have been written to a textfile using the streamwriter function and I now want display each string split under a series of columns. At the moment I can display the list of strings in a rich textbox using the following code:
Private Sub Button2_Click(ByVal...
Hi
I have six labels in a group box, each of which displays a random number between 1 and 49 when I click the generate numbers button. If the number is between 1 and 9, I want the backcolor for the label to be white, 10-19 cyan, 20-29 - red, 30-39 - green & 40-49 - yellow. Can anyone help...
Thanks. This works, the above message no longer appears and all the checkboxes are selected when I click 'Select All'if I haven't got them placed in a groupbox, but if they're placed in a groupbox, they aren't selected - nothing happens.
Any suggestions would be much appreciated.
I've got a group box with 10 check boxes on a form and a 'Select All' button and Reset button. In the General Declarations I've declared Dim c as Control, then in the click event of the 'Select All' button I've got the following code:
For Each c in Controls
If Typeof (c) Is Checkbox...
I think I could create a class module that opens a Recordset in its intialize event. The initialize event would use the primary key as a parameter
and Property get procedures would be created for each field.
mogura
I want to develop an ActiveX component that will validate IP addresses. If an invalid IP address is passed to the component, then the component will pass back the address 0.0.0.0. I want to use a deployment model that will allow the component to be used simultaneously by multiple applications...
I’m trying to work out a few things about Visual SourceSafe and one of them is this. If I want to send a shell application, after bringing it to a stable state (after having developed the shell app.), to a team at another location for final development do I create a separate Visual SourceSafe...
I want to create a component with objects that will represent records in a database table. Each object will represent a single record and expose a read-only property for each field.
Should I create a class module that opens a Recordset in its initialise event, make the initialise event use the...
I am using ADOs in the initial coding of a VB datatbase application. I have created an ADO Command object named cndMyCommand and associated it with an ADO Connection object named cnnMyConnection. I want to issue the following UPDATE statement against the database:
UPDATE Employees SET Salary =...
I want to optimize the speed and performance of my application. It performs several mathematical calculations, but does not compare floating point numbers to each other. I’m on the advanced optimizations dialog box and I think I shouldn’t select ‘Remove Floating Point Error Checks’ and I...
I’m developing a database application using a Data Environment object named deMyDatabase. I’ve created a report object named drMyCustomers using the Data Report Designer. In deMyDatabase I’ve set up a Command object named cmdCustomers that contains the following fields:
CustomerID
LastName...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.