CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Arthropod

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,014

    Re: Trying to use string for object

    Thanks DataMiser - as you can see, I am still at a very early level.
    It is all starting to make sense though, and I am booting ahead with my project.

    I personally learn best by using stuff, and...
  2. Replies
    3
    Views
    3,014

    Re: Trying to use string for object

    FWIW,
    Think I have solved it using Me.Controls, as in:

    Public Class Form1
    Dim but As String = "Button1"

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    ...
  3. Replies
    3
    Views
    3,014

    Trying to use string for object

    Hi again,

    I still have the same problem, but I think I can now state it more clearly:

    The key aspects of the program I am concerned about are

    Dim Neuron(3, 3) As Integer
    Dim...
  4. Re: Newbie problem - can I use a string to set a parameter?

    Thanks Craig,

    Unfortunately, I realise I am WAYYYYY out of my depth and need to do some basic study here.

    Many thanks though

    Arthropod
  5. Re: Newbie problem - can I use a string to set a parameter?

    Bit more background information:

    The final program will start off with three rows of three 'neurons' (white circles). Each of these will be joined to two of the neurons below.

    A user will first...
  6. Re: Newbie problem - can I use a string to set a parameter?

    Hi Craig,

    Thanks for the rapid reply.

    I am using that code - as you say, to handle a click event on the 'neuron' (an oval shape).

    What I want to do is to set the colour by using the...
  7. Newbie problem - can I use a string to set a parameter?

    Private Sub Neuron1x2_Click_1(sender As Object, e As EventArgs) Handles Neuron1x2.Click
    If NEURON(1, 2) = 1 Then NEURON(1, 2) = 0 Else NEURON(1, 2) = 1
    If NEURON(1, 2) = 1 Then...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured