1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable Mscomm Interrupts

Discussion in 'Visual Basic ( VB )' started by swapnaoe, Nov 20, 2006.

  1. swapnaoe

    swapnaoe New Member

    Joined:
    Oct 26, 2006
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I have an application which uses Mscomm. Most of the data handling is done with interrupt(On_Comm event) but at few instances, it has to be done with polling mode also. Please tell me the way to disable interrupts(Mscomm).Will setting RThreshold to '0' work???

    Regards,
    Swapna
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    Yes, setting the value for each property to 0 (which is the default value) prevents the OnComm event from firing. Setting the value to something other than 0 (1, for instance) causes the OnComm event to be fired every time a single character is received into either buffer.
     
  3. swapnaoe

    swapnaoe New Member

    Joined:
    Oct 26, 2006
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Thanks pradeep.Shall try and post a success msg if it works
     
  4. compgeek

    compgeek New Member

    Joined:
    Nov 30, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Getting a polynomial Expression in VB6

    Hi ,

    I have posted this thread 3 to 4 days back . But I didnt get any reply....
    I found Your post and I thoght i may get solution for my problem ... So I am Posting it in Wrong location
    I hope My Problem get solved...............!!!!!!1

    Bye

    Hi everyone

    I want to know the method to get a polynomial expression in vb so that i can write program for "Numerical methods of finding interpolating Polynomial,Differentiation & Integration"

    THE ACTUAL FORM OF THE INTERPOLATING POLYNOMIAL TO BE CALCULATED IS AS FOLLOWS

    (x-x1)(x-x2)(x-x3)(x-x4)
    ----------------------------- +
    (x0-x1)(x0-x2)(x0-x3)(x0-x4)


    (x-x0)(x-x2)(x-x3)(x-x4)
    ----------------------------- + ...........
    (x1-x0)(x1-x2)(x1-x3)(x1-x4)


    THE SUM CONTINUES BY LEAVING x2, x3, x4 AND INCLUDING REMAINING POINTS IN SERIES IN THE NUMERATOR AND USING THE LEFT POITS IN DENOMINATOR...=> IN EVERY PART THERE WILL BE 4 TERMS IN THE NUMERATOR AND DENOMINATOR

    The final polynomial expression after simplyfying the above will be in the form of
    a4x^4 + a3x^3 +a2x^2 + a1x + a0 whose degree is 4
    the polynomial expression to be calculatd can be of any degree based on the datapoints given.


    Can any one expalin me in detail the method to get the above mentioned polynomial
    based on the values of x0,x1,x2,x3,,x4 ......... ???


    IS THERE ANY WAY TO GET THE FORM OF THE EQUATION IN CONVENTIONAL WAY WITH ALL THE SUBSCRIPTS ,SUPERSCRIPTS,.....ETC BY CONNECITNG IT TO THE TOOL EQUATION EDITOR IN MICROSOFT WORD

    waiting for a nice reply

    BYEEEE
     
  5. compgeek

    compgeek New Member

    Joined:
    Nov 30, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Reading a mathematical expressiong in VB6

    Hi ,

    I have posted this thread 3 to 4 days back . But I didnt get any reply....
    I found Your post and I thoght i may get solution for my problem ... So I am Posting it in Wrong location
    I hope My Problem get solved...............!!!!!!1

    Bye

    Hi everyone

    I want to know the method to read a mathematical expression from the user in VB6
    The equation can be in any form like (xy + cos x + log(x+y) )/x^2
    the integration of this function is to be found out in the specified intervals using numerical methods(simphsons 1/3rd rule........etc)
    Can any one send me the method to do it in VB 6 if its is possible

    can we connect the tool Equation Editor in Microsoft word to write the equations in the textbox or any other control so that the user can easily write the function easily???
    if so how to connect it ??

    Byeee
     

Share This Page