Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mogura

    Headings for report

    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...
  2. mogura

    Using substring in report

    Thanks - I'll give it a try.
  3. mogura

    Using substring in report

    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...
  4. mogura

    Applying backcolor for labels in GroupBox

    I see. There is such a thing as cringe-worthy lyrics.
  5. mogura

    Applying backcolor for labels in GroupBox

    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...
  6. mogura

    Controls collection question - beginner's query

    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.
  7. mogura

    Controls collection question - beginner's query

    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...
  8. mogura

    Recordset query

    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
  9. mogura

    Which kind of component should I use?

    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...
  10. mogura

    VSS query

    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...
  11. mogura

    Recordset query

    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...
  12. mogura

    ADO query

    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 =...
  13. mogura

    Speed optimiztion

    Thanks for your advice; I think I'll leave them checked. Thanks.
  14. mogura

    Speed optimiztion

    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...
  15. mogura

    Data Environment Object Query

    Thanks for the advice!
  16. mogura

    Data Environment Object Query

    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...
  17. mogura

    Class module query

    Thanks, I'll check that out.
  18. mogura

    Testing DLL in design-time environment

    Thanks for the tip!
  19. mogura

    Testing DLL in design-time environment

    I’ve developed an ActiveX in-process component named MyDLL. What is the best way to test MyDLL using the Visual Basic design-time environment?
  20. mogura

    Viewing value of global variable

    That was quick! Thanks a lot!

Part and Inventory Search

Back
Top