Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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