Search results for query: *

  • Users: tomhosking
  • Content: Threads
  • Order by date
  1. T

    App not exiting

    When I click the close button on the main form of my project, it closes, but the application seems to stay running, as it appears in the task manager. Is there something obvious I should be doing that Im not?
  2. T

    Double -> String

    When I convert a double to a string, it sometimes gives me weird answers. This seems to be happening because it is very small, and when it converts it to a string, it includes the E-05 bit. How can I set it to output just the numbers? Example: CStr(1921.256197-1921.256157) gives...
  3. T

    Basic maths - completely wrong

    My program calculates the difference between two measured values, to see what the error is. When I ask VB to do this, it often comes out with absurd answers. eg: 1921.25618 - 1921.25625 gives -6.99999999 The code is: facediff = targetSet(q).myMeasXYZFace1.X -...
  4. T

    PictureBox within a tab

    I have a picture box in a tab that draws a diagram of some data. What I want is for the sub that does the drawing to be triggered when the tab is selected. Using .Click or .GotFocus events for the tab doesnt seem to work... Any ideas?
  5. T

    Insert n characters

    Insert n characters [RESOLVED] Is there a function that will return a certain number of characters? Similar to space, but with any character, not just spaces...
  6. T

    Variable scope within classes

    I have a form and a class module, with basic controls for a log text box. When Button1 is clicked, the text in txtIn should be added to txtLogBox. The class module contains an overall class, and a errorhandler class. I want the errorhandler class to be a subset of the overall class, and also to...
Back
Top