I am trying to add an icon to a system tray item.
when i type in the sample code im working from i get an error at this line.
VB Code:
Me.NotifyIcon1.Icon = CType([B][U]Resources.getObject[/U][/B]("NotifyIcon1.Icon"), System.Drawing.Icon)
The bold undeline tells me GetObject not a member of resources. THe code is exactly as it appears in my book. Im unsure what im missing..
The over all project is a form witha button, click button and make a system tray icon while hiding form.
Any help would be apreciated.




Reply With Quote