Problem fixed!
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim asm = System.Reflection.Assembly.GetExecutingAssembly
Dim myTypes As Type() = asm.GetTypes()
Dim frm As Form
For Each t As Type In myTypes
If...
Is this possible at runtime?
People ask me why you want to search in forms which aren't opened.
Simple... Each control, in my case 'buttons' are pointing out a detail of some kind. The detail is written in every button tag.
I want to be able to write the detail i'm looking for in a textbox...
Doesn't make any sense ?
changed this:
For Each ctrl As Control In Controls
If (TypeOf ctrl Is Button) And ctrl.Tag = TextBox3.Text Then
ctrl.Tag = TextBox2.Text
End If
Next ctrl
to this:
Dim thisButtonName As String =...
Thanks for the reply.
For the moment i'm coding like this:
----------------------------
In the load event:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
For Each formprop In My.Forms.GetType.GetProperties 'percorre todos os forms
Dim node =...
Actually what I need is the following:
I have a treeview from all forms and the buttons on these forms.
When i click a particular button name on that treeview i have the buttonname clicked projected in a textbox.
I want to put a new tag description for that particular button, weather it is on...
Hi JuggaloBrotha,
Yes indeed, this is the way. But i'm having difficulties with how i'm about to tell the program that the selection that is made needs to change that particular button on that particular form.
Hi everyone,
I face some issues on how i'm about to change a button.text and *.tag info.
I have over 5000 buttons(in total) on over 100 forms.
I created a Treeview on a form which i can enter only, that shows all my forms with buttons & tag names.
For example:
a textbox has the name of the...
Hey People,
New question.
I have a verification screen where all the buttons pressed-information is stored in text-boxes.
Once pressed the "save to database" button, he's looking up on a server in a folder if a particular excel file with current year and week-number exist.
2 options:
The file...
I have been able to view the cad drawing in 3d PDF with the acrobat plugin pdf viewer. This gives the the possibility of adding 3D comments on the joining's as labels. Now just trying to figure out if i can protect the file so no-one after me can erase the labels. This is my temporary solution...
It seems that my code doesn't seem to work very much.
(The code to get the tag data from buttons into a textbox), nothing really happens when I press a button...
Here's the code I use in a class module:
Public Class clsbuttons
Public WithEvents Btn As Button
Private Sub...
Hello everyone,
I'm new to VB.NET and come straight forward with 1 particular question.
I have created a program within excel, which allows users to select particular joinings on images, which are labeled by a button.
To explain a joiningtype this could be an for example an arcweld. Once a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.