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

  • SEARCH
  • Home
  • 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 4002068
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:58:52+00:00 2026-05-20T07:58:52+00:00

using VB.Net2010 I need to call a C# DLL The problem I have is

  • 0

using VB.Net2010 I need to call a C# DLL

The problem I have is accessing the procedures inside the class
The dll is referenced OK.

MYDLL is the namespace

which contains a public class Myclass

within MyClass are public procedures

sub New(MyString1 as string, MySTring2 as string)
   sub ProgramStart(myString as string)

All I can see is MYDLL.Myclass
I can’t see the procedures New and ProgramStart.

Viewing the references in the Object Browser I can see these procedures.

Any help appreciated.

Thanks
Ben

  • 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. Editorial Team
    Editorial Team
    2026-05-20T07:58:53+00:00Added an answer on May 20, 2026 at 7:58 am

    You need to create an instance of the object before being able to call instance methods:

    Dim instance as MyClass = New MyClass("foo", "bar")
    instance.ProgramStart("my string")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to send an email via SMTP, I have my SMTP in a
Breaking down the MS RBTree (an internal .Net abstract class), I have discovered that
I'm using vb.net 2010. I have a DataSet with a Table and data. MyDataSet1
I am using asp.net 2010, and I would like to know how can I
I am using VB.NET 2010 (Visual Basic 2010 Express) on a WPF-based project. I
I am deploying a VB.net 2010 winforms application, and when I install it on
I Opened my .net 2.0 ASMX webservice in VS2010 and migrated to .net4.0. If
Hello This is a general question.I want to create a simple report just some
I've read in several place, include here http://blogs.msdn.com/b/jaimer/archive/2010/04/30/windows-phone-capabilities-security-model.aspx that if a Windows Phone app
hope someone of you can help me. I'm new to mac and qt, so

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.