-
Apr 20th, 2024, 11:32 PM
#1
Thread Starter
Lively Member
Error: Windowsapp2 is not a member of Global
I am getting the above error in a class? called KenoDataSet.Designer.vb. When I look at the solution explorer, I cannot find KenoDataSet.Designer.vb.
This is the portion of the code that generates the error.
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")> _
Private Sub InitConnection()
Me._connection = New Global.System.Data.SqlClient.SqlConnection()
Me._connection.ConnectionString = Global.WindowsApp2.My.MySettings.Default.KenoConnectionString
End Sub
I have searched for windowapp2 the best I could (ctrl f) and cannot find it. Where can I look to find where windowsapp2 is created?
I swear that the last time I edited code in this project, it compiled and ran perfectly. I went to change it againg today and got this error.
I don't program, I beat code into submission!!!
-
Apr 21st, 2024, 09:37 AM
#2
Re: Error: Windowsapp2 is not a member of Global
To see that file in the Solution Explorer, you presumably need to click the Show All Files button.
What happens if you delete the 'Global.'? If that doesn't work, try deleting 'Global.WindowsApp2.'. If you make a change to the DataSet in the designer then that file may be regenerated, so the issue may or may not come back.
-
Apr 21st, 2024, 04:31 PM
#3
Thread Starter
Lively Member
Re: Error: Windowsapp2 is not a member of Global
 Originally Posted by jmcilhinney
To see that file in the Solution Explorer, you presumably need to click the Show All Files button.
What happens if you delete the 'Global.'? If that doesn't work, try deleting 'Global.WindowsApp2.'. If you make a change to the DataSet in the designer then that file may be regenerated, so the issue may or may not come back.
Thank you for your respose. I learned something today. Somehow (and don't ask me how), what I was looking for was in Data Services. I deleted what I could there and now it works again. s
So the quesion remains, why was I able to modify and run my project a few weeks ago, then yesterday, I got the error that I showed you. I promise that I didn't modify anything in Data Servies.
Thanks again.
I don't program, I beat code into submission!!!
-
Apr 21st, 2024, 08:06 PM
#4
Re: Error: Windowsapp2 is not a member of Global
If your issue is resolved, please use the Thread Tools menu to mark the thread Resolved, so we can see that you need no more help without opening the thread and reading it.
That said, can you be a bit more specific about exactly what you did to resolve it, just in case it might help someone else with a similar problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|