"Accepting an input parameter, which needs to be accepted from the user, so the next important Activity is Accepting it from the user and storing it in the string type variable Declared earlier."
Am following a Book instructions and it this is an Example of the Book.
strAuID = Trim(InputBox("Enter Authour ID.:"))
i have Few Questions Based on this Statement.
1)Does the Function Trim ,only works for string Vaiables?
2)Am Accepting User input From a Textbox and here was my code
.After i have done this it give me an Error and highlight the above lines, when i comment the first one it highlight the second one and so on.
i need to know what is wrong with my above code compering it with the Example of the Book. Note, all the variables are Well declared,textboxes well named.
in VB2005, how can I asssign the whole object attributes to another object of the same type. For example, if through the code I've assigned the attributes of a DataGridView object (AllowUserToddrows, ...), is there any way to copy them to another Datagridview object?
Thanks in advance,
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
I've never had the need to do this, so a litte research is in order...
There's no way to copy a DGV in one line of code, no.
The most correct way to do this would be to put the code that setups up your grid properties into a shared method, then just pass the datagrid object you want setup by refrence. Done. No need to copy the object.
Other than that, you'd have to create a method that takes a DGV ByRef as a parameter, then code it to create a new DGV object, copy all the properties you want from the supplied DGV to the new one, then return the new object as a return value.
You could probably do this with Reflection though.
I want to develop little application for Audio /Video Conferencing System. Presently i have no idea from which point i start.
i require address of some article through which i can learn step by step .
There is nothing that will tell you how to do this step-by-step. Applications are built up by putting together smaller parts that support very specific pieces of functionality. Break the problem down into interfacing with a web cam, recording audio, socket communications, and so on. Break each of those down into smaller parts and tackle them.
You can get samples of all these little pieces, just by Googling[^].
This depends on the datatype of the "Sex" column and what data is in it. What you have will work, so long as the column is one of the character types and only contains F or M. If there are spaces in the data or other garbage that shouldn't be there, your query is going to have a difficult time picking out the correct rows.
Provided the table was setup correctly and the data was validated before it was written to the table, something like this should work: