You are viewing our Forum Archives. To view or take place in current topics click here.
VB doesn't recognize my code?
Posted:

VB doesn't recognize my code?Posted:

StupidSpawn
  • Resident Elite
Status: Offline
Joined: Apr 15, 201212Year Member
Posts: 265
Reputation Power: 10
Status: Offline
Joined: Apr 15, 201212Year Member
Posts: 265
Reputation Power: 10
I have the right code and it worked before it's just that it wont read it now and my program just sits there. Help?
#2. Posted:
EnforcementLive
  • Junior Member
Status: Offline
Joined: Jun 04, 201212Year Member
Posts: 60
Reputation Power: 7
Status: Offline
Joined: Jun 04, 201212Year Member
Posts: 60
Reputation Power: 7
Your going to have to explain a bit more.
#3. Posted:
StupidSpawn
  • Resident Elite
Status: Offline
Joined: Apr 15, 201212Year Member
Posts: 265
Reputation Power: 10
Status: Offline
Joined: Apr 15, 201212Year Member
Posts: 265
Reputation Power: 10
I tried to load a skin or template or whatever for my program and it didn't work so I removed it. I ran my program and the startup form loaded but wouldn't do any other functions.
#4. Posted:
PHP_Pro
  • Ladder Climber
Status: Offline
Joined: Oct 12, 201113Year Member
Posts: 349
Reputation Power: 20
Status: Offline
Joined: Oct 12, 201113Year Member
Posts: 349
Reputation Power: 20
Do you mean that you deleted the old controls in the form, and added new ones?
if so, copy the old code, and re - paste it into the corresponding events in the new controls.

that should work, if that is your problem.
if that is not the problem, please explain more.
#5. Posted:
StupidSpawn
  • Resident Elite
Status: Offline
Joined: Apr 15, 201212Year Member
Posts: 265
Reputation Power: 10
Status: Offline
Joined: Apr 15, 201212Year Member
Posts: 265
Reputation Power: 10
Can someone just teamview to help?
#6. Posted:
Imp
  • Retired Staff
Status: Offline
Joined: Jan 01, 201114Year Member
Posts: 1,957
Reputation Power: 401
Status: Offline
Joined: Jan 01, 201114Year Member
Posts: 1,957
Reputation Power: 401
StupidSpawn wrote Can someone just teamview to help?


Shouldn't need to,

It sounds like your Click events are not associated with your objects on your form.

You first line of each Click should be something like this

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

The last bit says what object triggers the event.

If your object is not named correctly then it will not be triggered.

Check through you object names, and the first line of each event to check they match up.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.