We help IT Professionals succeed at work.

vb.net process specification

lilbee asked
Last Modified: 2010-08-05
in my vb.net application i used the following in my design:
Labels, Textbox, Buttons, DatagridView, RichTextBox, ListBox

what i want to know is which of them are event or sub procedure so i can write the process specification for them
Watch Question

Ramesh SrinivasTechnical Consultant


I don't think you have clearly explained what it is you require.

All controls have EVENTS which are fired depending on the action performed on them/by them.

I dont know what you mean by "process specification". If you mean that you intend to alter their behaviours, then you can do this by creating custom controls. This usually involves inheriting the control in your new control and then overriding its base/standard events & functionaility.




Well here is an example of what im trying to do

Event/SubName :  searchBtn_Click
control Object: searchBtn
Calls : Nil
Description: Select all records from customer table where sub-string in searchTB matches <dbField:Surname>

and im told each event or sub procedure must have a process specification but im confused is it that all this Labels, Textbox, Buttons, DatagridView, RichTextBox, ListBox must have a process specification

usually buttons have Process Specifications.. Check something like
Handles searchBtn in code or from property window .. see the bold events..

that can give you a start to make process specifications

Basically you need to see what are all the events attached to the controls and what they do ..


usually buttons have process specifications ....ok
but does any of this Labels, Textbox, DatagridView, RichTextBox, ListBox usually have process specifications

I think you should write for Buttons,
and see if any events are attaches with any other objects..
e.g. DataGridView click event or any such thing ...

You can add there functionality as well..

In short, where ever user interacts with application, can be a added as Process Specs


I have written a process specification like this for a button named Go

Event/SubName  goBtn_Click
   Control Object    goBtn
    Calls                  Nil
   Description        Select all records from staffs table where sub-string in searchTB matches <dbField:staffLastName>

How can i write a process specification for a datagridview that shows staffs table in the staff database i can double click the datagridview to capture all the data in that selected row onto a richtextbox

would it be something like this

Event/SubName  datagridview1_DoubleClick
   Control Object    datagridview1
    Calls                  Nil
   Description       ???

i dont know how to word the description and im not sure about the nil either

im not very good at this

This one is on us!
(Get your first solution completely free - no credit card required)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.