Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Help with VB6 Programming


  • Please log in to reply

#1
Web-Frenzy

Web-Frenzy

    New Member

  • Member
  • Pip
  • 1 posts
Please excuse me, this is a hard situation to describe.

I am currently trying to make a program where i can type something into a text box and hit a command button to send it. And that text gets displayed in AOL Instant Messenger chats by using a module i have. But it dosent work, i tried almost everything. Here is my code. (the name of the module is chatsend)

---------------------------

Private Sub Command1_Click()
Dim strName As String
Me.Text1.Text = strName
chatsend (strName)
End Sub

Sub Form_Load()

End Sub

---------------------------


Does anyone know how i can make this work, or what i am doing wrong? Thanks.

, Chris

Edited by Web-Frenzy, 05 July 2005 - 02:30 AM.

  • 0

Advertisements


#2
kool808

kool808

    Visiting Staff

  • Member
  • PipPipPipPip
  • 1,690 posts
try to invert

from:
Me.Text1.Text = strName

to:
strName = Me.Text1.Text

also play with your variable try changing it to As Variant
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP