openform

OpenArgs is Null error

I am using the OpenArgs parameter to send a value when using DoCmd.OpenForm: `DoCmd.OpenForm "frmSetOther", acNormal, , , acFormAdd, acDialog, "value"` I then use Me.OpenArgs inside the opened form to grab the value. It sometimes sends a Null value instead of the original string. What is wrong? ...

WPF version of Application.OpenForms

I have an application in which I will have to get at another WPF window which is open. In WinForms, I was able to use: MainWindow main = (MainWindow)Application.OpenForms["MainWindow"]; To be able to access the the form. Now in WPF it does not exist. I have seen the other post on this site which is relevant, however it uses Applicatio...