Scanning for messages

Dennis_DecoeneDennis_Decoene Member Posts: 123
edited 2003-03-07 in Navision Financials
Hello,

I'm working on a program that should react when a certain button is pressed in Navision.

I have experience in VB but I do not know how to go about this. I know I should scan for a message and if this message is found, the program should react.

What I would like to know, is which message I should scan for, to know the correct parameters, and also how to scan in VB.

In a similar fashion, it would be nice if I could send messages back to the form. (but there is another topic on that allready)

Hope someone can help...

Comments

  • John_TegelaarJohn_Tegelaar Member Posts: 159
    Best way to communicate will be by making an OCX (VB can do that for you), which you can access (set a property, pass a value) from C/AL code in the OnPush trigger of the button. In VB you can scan the OCX also and react to the event generated.

    John
  • maikeljmaikelj Member Posts: 50
    Hi there,

    I'm having a similar problem, but I'm not familiar with VB.
    Could you send me an example of an OCX?

    MaikelJ
Sign In or Register to comment.