Click here to Skip to main content
16,005,697 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: problem with the souce code of paypal by Alexandr Golovanov Pin
Paul Conrad7-Aug-08 7:14
professionalPaul Conrad7-Aug-08 7:14 
QuestionSend mail from Default mail Client Pin
Sun Rays7-Aug-08 2:02
Sun Rays7-Aug-08 2:02 
AnswerRe: Send mail from Default mail Client Pin
jzonthemtn7-Aug-08 2:43
jzonthemtn7-Aug-08 2:43 
GeneralRe: Send mail from Default mail Client Pin
Sun Rays7-Aug-08 18:24
Sun Rays7-Aug-08 18:24 
GeneralRe: Send mail from Default mail Client Pin
jzonthemtn8-Aug-08 2:07
jzonthemtn8-Aug-08 2:07 
GeneralRe: Send mail from Default mail Client Pin
Sun Rays8-Aug-08 18:50
Sun Rays8-Aug-08 18:50 
QuestionUserdefined control containing form ctrls: How to set the properties of the form ctrls in the designer? Pin
mp00017-Aug-08 1:19
mp00017-Aug-08 1:19 
AnswerRe: Userdefined control containing form ctrls: How to set the properties of the form ctrls in the designer? Pin
mp00018-Aug-08 12:09
mp00018-Aug-08 12:09 
Finilly I have found a solution which seems to work. I've had a look into the source code of the .net framework for the SplitContainer mentioned above. It shows

/// <include file="doc\SplitContainer.uex" path="docs/doc[@for="SplitContainer.Panel1"]/*" />
/// <devdoc>
/// The Left or Top panel in the SplitContainer.
/// </devdoc>
[
SRCategory(SR.CatAppearance),
SRDescription(SR.SplitContainerPanel1Descr),
Localizable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)
]
public SplitterPanel Panel1 {
    get {
        return this.panel1;
    }
}

If I use this in my case the problem is solved:

< _
System.ComponentModel.Localizable(False), _
System.ComponentModel.DesignerSerializationVisibility( _
        System.ComponentModel.DesignerSerializationVisibility.Content) _
> _
Public ReadOnly Property Label() As Label
    Get
        Return Me.Label1
    End Get
End Property

Michael

Some infos from the VS 2008 docu:

' HINT from VS docu for "SRCategory"
' (no entry available)

' HINT from VS2008 docu for "SRDescriptionAttribute Class"
' Provides an attribute for use in upgrading Visual Basic 6.0 applications to Visual Basic 2008.

' HINT from VS2008 docu for "DesignerSerializationVisibilityAttribute Class"
' When a serializer persists the persistable state of a design mode document, it often adds
' code to the initialization method of components to persist values of properties that have
' been set at design time. This happens by default for most basic types, if no attribute has
' been set to direct other behavior.
' With the DesignerSerializationVisibilityAttribute, you can indicate whether the value for a
' property is Visible, and should be persisted in initialization code, Hidden, and should not
' be persisted in initialization code, or consists of Content, which should have initialization
' code generated for each public, not hidden property of the object assigned to the property.

' HINT from VS2008 docu for "LocalizableAttribute class":
' When code is generated for a component, members that are marked with the LocalizableAttribute
' set to true have their property values saved in resource files. You can localize these resource
' files without modifying the code.
' By default, members that have no localizable attribute or are marked with the LocalizableAttribute
' set to false will have their property values persisted to code, if the data type allows.
QuestionFiltering Problem Pin
vidhish7-Aug-08 0:54
vidhish7-Aug-08 0:54 
AnswerRe: Filtering Problem Pin
jzonthemtn7-Aug-08 2:34
jzonthemtn7-Aug-08 2:34 
Questionreal time data, sql server, vb.net remote server Pin
sthiru45job6-Aug-08 23:59
sthiru45job6-Aug-08 23:59 
AnswerRe: real time data, sql server, vb.net remote server Pin
jzonthemtn7-Aug-08 2:41
jzonthemtn7-Aug-08 2:41 
QuestionNetflow V5 Pin
Wiekus6-Aug-08 21:50
Wiekus6-Aug-08 21:50 
AnswerRe: Netflow V5 Pin
jzonthemtn7-Aug-08 2:39
jzonthemtn7-Aug-08 2:39 
GeneralRe: Netflow V5 Pin
Wiekus7-Aug-08 3:23
Wiekus7-Aug-08 3:23 
QuestionUnable to kill the process Pin
member276-Aug-08 20:49
member276-Aug-08 20:49 
AnswerRe: Unable to kill the process Pin
Ashfield6-Aug-08 21:02
Ashfield6-Aug-08 21:02 
GeneralRe: Unable to kill the process Pin
member276-Aug-08 23:44
member276-Aug-08 23:44 
QuestionFace Recognize SDK for vb.net Pin
~Khatri Mitesh~6-Aug-08 20:40
~Khatri Mitesh~6-Aug-08 20:40 
RantRe: Face Recognize SDK for vb.net Pin
Smithers-Jones6-Aug-08 21:26
Smithers-Jones6-Aug-08 21:26 
AnswerRe: Face Recognize SDK for vb.net Pin
Manas Bhardwaj7-Aug-08 5:06
professionalManas Bhardwaj7-Aug-08 5:06 
AnswerRe: Face Recognize SDK for vb.net Pin
LloydA1119-Aug-08 16:23
LloydA1119-Aug-08 16:23 
Questionradio buttos in datagrid source using vb.net2.0 Pin
asifullahkhan6-Aug-08 20:29
asifullahkhan6-Aug-08 20:29 
AnswerRe: radio buttos in datagrid source using vb.net2.0 Pin
mghiassi7-Aug-08 8:10
mghiassi7-Aug-08 8:10 
Question[Message Deleted] Pin
morn20066-Aug-08 18:48
morn20066-Aug-08 18:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.