Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8548539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:31:14+00:00 2026-06-11T13:31:14+00:00

Whether is it possible to draw ECG in VB6.0? As i am not that

  • 0

Whether is it possible to draw ECG in VB6.0? As i am not that much familiar with VB any type of help will be appreciated.Please help me .thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:31:15+00:00Added an answer on June 11, 2026 at 1:31 pm

    The simplest method to do this is to use a picture box with the AutoRedraw property set to true and the ScaleMode set to vbPixels.

    For each point, you calculate the Y value (dependant on the minimum and maximum allowable values). To make it scan, just increment the X value for each point you draw wrapping back to 0 when it gets to the width of the picture box (.ScaleWidth).

    You can use the picture box’s .Line method to blank the areas behind the current X point and the .PSet method to draw the new point.

    Dim X As Long
    Dim LastValue As Long
    
    Private Sub AddPoint(ByVal Value As Long)
      'Clear the line behind (for 5 pixels forward)
      Picture1.Line (X, 0)-(X + 5, Picture1.ScaleHeight), vbBlack, BF
    
      'Draw the new point and the line from the previous point
      Picture1.Line (X - 1, LastValue)-(X, Value), vbGreen
      Picture1.PSet (X, Value), vbGreen
    
      'Update the last value so we can draw the line between them
      LastValue = Value
    
      'Increment the X value for the next point
      X = X + 1
      If X = Picture1.ScaleWidth Then X = 0
    End Sub
    

    A better method is to use an off screen picture that you update using a similar method and just update the picturebox when needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please tell me whether it is possible to use both SimpleUrlHandlerMapping and AnnotationMapping in
Learning how to write JPA query. Please advise me whether it possible to write
I'm curious whether this is possible, or as I suspect, by design not. In
Especially getting the function return type(and if possible whether its a pointer type). (I'm
could anyone please ease my misery and inform me whether its possible to use
I need to develop an application that will check whether the phone is in
I just had an idea that I wonder whether is possible in java. Let's
I wonder whether it is possible to use Django in-built comments framework for other
I want to know whether it is possible to save as an array list
Does anyone know whether it is possible to refer to another section from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.