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 3343528
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:57:54+00:00 2026-05-18T00:57:54+00:00

Possible Duplicate: VB.NET := Operator Yesterday I was browsing through Microsoft® Agent code snippets

  • 0

Possible Duplicate:
VB.NET := Operator

Yesterday I was browsing through Microsoft® Agent code snippets and I saw := used while calling a function.

I tried searching it in Google but I could not find anything related to it.

Is := used because we are calling a function of COM Library ?

Code :

Public Class Form1

    Dim agent As AgentObjects.Agent
    Dim merlin As AgentObjects.IAgentCtlCharacter

    Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        agent.Characters.Unload("merlin")
        merlin = Nothing
        agent = Nothing
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        agent = New AgentObjects.Agent
        agent.Connected = True
        agent.Characters.Load(CharacterID:="Merlin", LoadKey:="merlin.acs")
        merlin = agent.Characters(CharacterID:="Merlin")
        agent.PropertySheet.Visible = True
    End Sub

    Public Sub IntroMerlin()
        Dim strName As String
        With merlin
            'Display character.
            .Show()
            'Make the character play an animation.
            .Play(Animation:="Greet")
            .Play(Animation:="Restpose")
            .Speak(Text:="Hello!")
            .Play(Animation:="Announce")
            .Speak(Text:="I am Merlin.")
            .Play(Animation:="Pleased")
            .Speak(Text:="It is nice to meet you.")
        End With
    End Sub
End Class

Thanks.

  • 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-18T00:57:55+00:00Added an answer on May 18, 2026 at 12:57 am

    Those are named parameters. It can be especially handy if a function has a long list of parameters with defaults. You just name the ones you want to provide values for, and you don’t have to deal with positional requirements.

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

Sidebar

Related Questions

Possible Duplicate: Modifying .NET Dictionary while Enumerating through it I have a dictionary object
Possible Duplicate: Protect .NET code from reverse engineering? we just develop a application with
Possible Duplicate: Is there a VB.NET equivalent for C#'s ?? operator? Is there an
Possible Duplicate: Is there a conditional ternary operator in VB.NET? Is there a version
Possible Duplicate: Is there a way to define an implicit conversion operator in VB.NET?
Possible Duplicate: .NET code to send ZPL to Zebra printers My company has a
Possible Duplicate: .NET Enumeration allows comma in the last field i noticed while i
Possible Duplicate: Protect .NET code from reverse engineering? I want to make my software
Possible Duplicate: Solution for overloaded operator constraint in .NET generics I have a problem
Possible Duplicate: ASP.NET MVC3 how to excute action method of controller using timer with

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.