![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jun 2005
Location: Amittyville
Posts: 60
Rep Power: 4
![]() |
When I put this line in to change the super text on a window:
Me.ActiveForm.Text = "Word Fling - " & filename filename is a string with a value of a filename and it gives me this error: An unhandled exception of type 'System.NullReferenceException' occurred in Word Fling.exe Additional information: Object reference not set to an instance of an object. I'm using Visual Studioi .NET, thanx! |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2005
Location: Amittyville
Posts: 60
Rep Power: 4
![]() |
never mind I figured it out, I was setting a property of the ActiveForm in the form load sub thingy so the form had not loaded yet I needed to change it to:
Handles MyBase.Activated so that it sets the text when the form is active! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|