Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Disable Mscomm Interrupts (http://www.go4expert.com/forums/disable-mscomm-interrupts-t1946/)

swapnaoe 20Nov2006 12:56

Disable Mscomm Interrupts
 
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

pradeep 20Nov2006 13:12

Re: Disable Mscomm Interrupts
 
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.

swapnaoe 20Nov2006 13:15

Re: Disable Mscomm Interrupts
 
Thanks pradeep.Shall try and post a success msg if it works

compgeek 3Dec2006 08:46

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

compgeek 3Dec2006 08:47

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


All times are GMT +5.5. The time now is 17:36.