on 2023 Jan 17 12:46 PM
Good morning,
I'm new to the forum and I hope I've done everything correctly.
I hope someone can help me:
I created a simple application in VB.NET Windows Forms, Framework 4.7.2, downloaded latest version SAPNCO and SAPNCO_UTILS and added to references.
On my Form I added a Button and put this simple line of code on the Click event:
Dim mySapLogon As SapLogonIniConfiguration = SapLogonIniConfiguration.Create()
I run the program in Visual Studio 2017: everything works fine, no errors.
I run the program in Visual Studio 2022: it throws an exception of the type System.NullReferenceException.
Any help is welcome.
Thank you
Request clarification before answering.
Good Evening,
I bypass the problem by adding a condition to:
System.NullReferenceException where module name is different from sapnco.dll
Now everything works correctly, but if anyone has to suggest another solution it would be appreciated.
N.B. I also tried wrapping the code in a Try block but it's not working.
Thanks
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.