Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 98219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:09:15+00:00 2026-05-11T00:09:15+00:00

I have inherited a class in vb.net and when I create the object, I

  • 0

I have inherited a class in vb.net and when I create the object, I am only seeing one of the inherited public properties in intellisense. Any solution to this problem?

print('Public Class CompanyMailMessage     Inherits MailMessage       Private AdobeDisclaimer As String = 'You will need Adobe Acrobat to read this file. If it is not installed on your computer go to http://www.adobe.com/support/downloads/main.html to download. Thank You'     Private _Body As String     Private _IncludeAdobeDisclaimer As Boolean = False       ''' <summary>     ''' Gets or sets the body of the message     ''' </summary>     ''' <returns>A System.String that contains the body content.</returns>     Public Property Body() As String         Get             If _IncludeAdobeDisclaimer Then                 _Body = _Body + AdobeDisclaimer             End If              Return _Body          End Get         Set(ByVal value As String)             _Body = value         End Set     End Property     ''' <summary>     ''' Gets or sets a value that determines if a message that states that Adobe Acrobat must be used to open the attached files is included in the body of the message      ''' </summary>     ''' <value></value>     ''' <returns>True if ;otherwise, false</returns>     ''' <remarks></remarks>     Public Property IncludeAdobeDisclaimer() As Boolean         Get             Return _IncludeAdobeDisclaimer         End Get         Set(ByVal value As Boolean)             _IncludeAdobeDisclaimer = value         End Set     End Property     ''' <summary>     ''' Initializes an instance of the CompanyMailMessageclass     ''' </summary>     ''' <remarks></remarks>     Public Sub New()      End Sub     ''' <summary>     ''' Initializes an instance of the CompanyMailMessageclass with plain text in the body     ''' </summary>     ''' <param name='from'>The email address of the sender</param>       ''' <param name='fromName'>The name of the sender</param>                   ''' <param name='to'></param>     ''' <param name='subject'></param>     ''' <param name='body'></param>     ''' <remarks></remarks>     Public Sub New(from as String,fromName As String,[to] as String,subject As String,body As String)          MyBase.FromAddress = New EmailAddress(from,fromName)         MyBase.ToAddresses.Add([to])         MyBase.Subject = subject         _Body = body         MyBase.Items.Add(New MessageContent(MimeType.MessageRfc822,body))         End Sub'); 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:09:16+00:00Added an answer on May 11, 2026 at 12:09 am

    I would suggest opening Reflector and opening the 3rd party dll. I’m guessing the properties will be internal (friend in vb.net, I think) and that’s the reason.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 69k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer For instance, one might declare a variable using int_fast16_t, but… May 11, 2026 at 12:36 pm
  • added an answer The problem is that your dataset is open when you… May 11, 2026 at 12:36 pm
  • added an answer The DataContext class has two query methods, ExecuteCommand, and ExecuteQuery.… May 11, 2026 at 12:36 pm

Related Questions

I have inherited a project that has class libraries written in VB.NET, some of
I used to have a class in 1.1 for the Datagrid that inherited from
In C#, if I have an inherited class with a default constructor, do I
In my project I have a class that is inherited by many other classes.
Background I am trying to create a copy of a business object I have
How much code documentation in your .NET source is too much? Some background: I
I normally store all my configs in the registry. Even though I have started

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.