Author Topic: Error in my Settings.Designer.vb  (Read 3209 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Error in my Settings.Designer.vb
« on: July 24, 2014, 04:27:46 PM »
Code: [Select]
Namespace My
   
    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
    Friend Module MySettingsProperty
       
        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
        Friend ReadOnly Property Settings() As Global.PipeSample.My.MySettings
            Get
                Return Global.PipeSample.My.MySettings.Default
            End Get
        End Property
    End Module
End Namespace

I have 2 errors I can not figure out. Hopefully someone might go... Look its this! :) Any help would be great! Thanks!

1. Type 'PipeSample.My.MySettings' is not defined.
2. 'PipeSample' is not a member of '<Default>'.

I did just paste the Pipe Sample VB straight into the project folder.
Civil3D 2020

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: Error in my Settings.Designer.vb
« Reply #1 on: July 24, 2014, 10:39:13 PM »
In the project properties dialog try to open the settings page or create one named MySettings. You may need to look in the doc's for more detailed info on how to create it but it's basically a storage spot for app settings you want to persist over sessions such as your dialog location, file directory start folders etc.

You might not even need it but if you are copy/pasting some code from elsewhere it will no doubt be using these settings, you may be able to redirect or re-code it to look elsewhere for stored settings to suit your purposes.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien