I have a Form1 with a method called OrdreUpdate2
I try to run thad method from another form by using the
command Form1.Ordreupdate2 in a buttonclick.

But nothing happens..What am I missing here?

I solved this by passing the form ...

Public Sub New(ByRef PassedForm As Main)
        InitializeComponent()
        mn = PassedForm
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.