473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

About Handles in visual basic 6.0

49
Hai

I have a form with a TextBox and a Button. When the Button is clicked the TextBox should display "This is sample Testing".Deploy. The code for the click event of the Button looks like this:

Private Sub Button1_Click(By Val sender as System.Object, By Val e_
as System.EventArgs)Handles Button1.Click
TextBox1.Text="This application is Deployed"
End Sub

After i wrote this code, when i click complie
it shows

Compiler Error:

Expected: list separator or )

and some times Handles will select and shows the error

Expected statement.

and one more thing is when i type By Val sender as ,
after as i con't see System in Auto list members.

so please help me.

Thanks for advance.

Nagesh.
Sep 1 '08 #1
3 2125
kadghar
1,295 Expert 1GB
well, yes, to change line you should write " _" (space and lower line)
you didnt write an space after the 'e'

You should also write an space before "handles" but it should be added by the editor.

HTH
Sep 1 '08 #2
nagmvs
49
well, yes, to change line you should write " _" (space and lower line)
you didnt write an space after the 'e'

You should also write an space before "handles" but it should be added by the editor.

HTH
Hello Sir,

Thanks for ur reply.when i type Handles for the above code it is not shown in Auto List Members.The editer is not added automatically.Why ? is there any reference to add to display Handles in Auto list members ? Please help me sir,
Suppose i type Handles means it shows

Compiler Error as
Expected Statement

So please help me.How i solve this problem.I am searcing in Internet also,but i can't find exact solution. so please help me.

thanks,

Nagesh.
Sep 4 '08 #3
kadghar
1,295 Expert 1GB
Hello Sir,

Thanks for ur reply.when i type Handles for the above code it is not shown in Auto List Members.The editer is not added automatically.Why ? is there any reference to add to display Handles in Auto list members ? Please help me sir,
Suppose i type Handles means it shows

Compiler Error as
Expected Statement

So please help me.How i solve this problem.I am searcing in Internet also,but i can't find exact solution. so please help me.

thanks,

Nagesh.
Hi Nagesh,

the problem has nothing to do with 'handles' ^.^
It's because you didnt write an space before the lower line " _" you use to change line. It's that simple, to change line you should write " _" instead of the "_" alone.
Sep 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Colin MacDougall | last post by:
Hi, I am just starting to learn Visual Basic 6 and was wondering if just going straight on to VB.NET would be a better bet. Is VB.NET just a newer version of Visual Basic 6 or does it differ...
8
by: Will | last post by:
I just discovered Python and looked briefly at one of the tutorials for beginners... It looks a lot like the old Command line Basic... I'm sure it does much more but... 1 - Can you create...
15
by: Sam Sungshik Kong | last post by:
Hello! A disposable object's Dispose() method can be called either explicitly by the programmer or implicitly during finalization. If you call Dispose, the unmanaged resources are released...
35
by: Cor | last post by:
Hallo, I have promised Jay B yesterday to do some tests. The subject was a string evaluation that Jon had send in. Jay B was in doubt what was better because there was a discussion in the C#...
2
by: Chris Dunaway | last post by:
I have a form with a textbox and numerous panels, buttons and other controls. I have handled the textbox Validating and Validated events. The textbox will hold a filename. In the validating...
2
by: Bert Szoghy | last post by:
Hello, I am missing something about Visual Basic .NET module variables and window close events. In the following code, after opening Form2 by clicking a button on Form1 and then closing...
13
by: usenet | last post by:
How and where can one find out about the basics of VB/Access2003 syntax? I am a died in the wool C/C++/Java Linux/Unix programmer and I am finding it difficult to understand the program format...
1
by: MikeB | last post by:
I'm at university and have a course on Visual Basic. I have two books: Visual Basic 2005 by Willis (WROX) Visual Basic 2005: The Language by Balena (Microsoft publishing) Yet in neither of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.