Click here to Skip to main content
15,906,645 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How Change Registry permission? Pin
mrmastii5-May-06 4:12
mrmastii5-May-06 4:12 
GeneralRe: How Change Registry permission? Pin
Dave Kreskowiak5-May-06 4:46
mveDave Kreskowiak5-May-06 4:46 
GeneralRe: How Change Registry permission? Pin
mrmastii5-May-06 5:28
mrmastii5-May-06 5:28 
GeneralRe: How Change Registry permission? Pin
Dave Kreskowiak5-May-06 7:04
mveDave Kreskowiak5-May-06 7:04 
GeneralRe: How Change Registry permission? Pin
mrmastii5-May-06 8:40
mrmastii5-May-06 8:40 
QuestionCannot inherits Image class?????? Pin
svincoll44-May-06 15:01
svincoll44-May-06 15:01 
AnswerRe: Cannot inherits Image class?????? Pin
Mekong River4-May-06 15:43
Mekong River4-May-06 15:43 
GeneralRe: Cannot inherits Image class?????? Pin
svincoll44-May-06 18:53
svincoll44-May-06 18:53 
this is my code :
<br />
public class ImageData<br />
   inherits System.Drawing.Image<br />
<br />
end class<br />

when i write it, a error show : "Class 'ImageData' must declare a 'Sub New' because its base class 'Image' does not have an accessible 'Sub New' that can be called with no arguments."
so, i wrote it then :
<br />
public class ImageData<br />
   inherits System.Drawing.Image<br />
   Sub New()<br />
   end sub<br />
end class<br />

then, a error next: "First statement of this 'Sub New' must be a call to 'MyBase.New' or 'MyClass.New' because base class 'System.Drawing.Image' of 'ImageData' does not have an accessible 'Sub New' that can be called with no arguments."
then, i continue write :
<br />
public class ImageData<br />
   inherits System.Drawing.Image<br />
   Sub New()<br />
       MyBase.New()<br />
   end sub<br />
end class<br />

a error next again : "Overload resolution failed because no 'New' is accessible."
i don't understand it
AnswerRe: Cannot inherits Image class?????? Pin
Guffa4-May-06 19:00
Guffa4-May-06 19:00 
GeneralRe: Cannot inherits Image class?????? Pin
svincoll44-May-06 19:12
svincoll44-May-06 19:12 
GeneralRe: Cannot inherits Image class?????? Pin
Guffa5-May-06 4:53
Guffa5-May-06 4:53 
AnswerRe: Cannot inherits Image class?????? Pin
Dave Kreskowiak5-May-06 6:31
mveDave Kreskowiak5-May-06 6:31 
Question<b>Tranlation of New Event<b> Pin
eatwork4-May-06 12:16
eatwork4-May-06 12:16 
AnswerRe: Tranlation of New Event Pin
Dave Doknjas5-May-06 14:05
Dave Doknjas5-May-06 14:05 
GeneralRe: Tranlation of New Event Pin
eatwork8-May-06 5:37
eatwork8-May-06 5:37 
GeneralRe: Tranlation of New Event Pin
Dave Doknjas8-May-06 6:03
Dave Doknjas8-May-06 6:03 
QuestionNeed help getting info out of my sortedlist Pin
crash8934-May-06 10:32
crash8934-May-06 10:32 
AnswerRe: Need help getting info out of my sortedlist Pin
crash8934-May-06 10:36
crash8934-May-06 10:36 
QuestionRetriving Field schema using ADO Pin
Quecumber2564-May-06 9:44
Quecumber2564-May-06 9:44 
QuestionFile replace and backup Pin
erniebert4-May-06 7:16
erniebert4-May-06 7:16 
QuestionReport Problem...Please help Pin
airprince4-May-06 6:54
airprince4-May-06 6:54 
AnswerRe: Report Problem...Please help Pin
Mekong River4-May-06 15:51
Mekong River4-May-06 15:51 
QuestionPlease Help Me.... Pin
airprince4-May-06 6:42
airprince4-May-06 6:42 
AnswerRe: Please Help Me.... Pin
Guffa4-May-06 8:09
Guffa4-May-06 8:09 
QuestionDatagrid: how to detect uncommitted changes? Pin
Roger Harvest4-May-06 6:39
Roger Harvest4-May-06 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.