D DanG Feb 8, 2007 #2 How do assign a picture file to a command button Click to expand... I don't believe there is a button that will accept an image. Try just making a clickable image: <A onclick="PopupCalendar()"><IMG title="Click here to open calendar" src="images/calendar.gif"></A> hth Dan
How do assign a picture file to a command button Click to expand... I don't believe there is a button that will accept an image. Try just making a clickable image: <A onclick="PopupCalendar()"><IMG title="Click here to open calendar" src="images/calendar.gif"></A> hth Dan
M Martin H. Feb 8, 2007 #3 Hello Lou, How do assign a picture file to a command button? Click to expand... Use the "Image" property. (Was that so difficult? Nah...) Martin
Hello Lou, How do assign a picture file to a command button? Click to expand... Use the "Image" property. (Was that so difficult? Nah...) Martin
H Herfried K. Wagner [MVP] Feb 9, 2007 #4 DanG said: I don't believe there is a button that will accept an image. Try just making a clickable image: <A onclick="PopupCalendar()"><IMG title="Click here to open calendar" src="images/calendar.gif"></A> Click to expand... Well, note that the question has been posted to a VB.NET group ;-).
DanG said: I don't believe there is a button that will accept an image. Try just making a clickable image: <A onclick="PopupCalendar()"><IMG title="Click here to open calendar" src="images/calendar.gif"></A> Click to expand... Well, note that the question has been posted to a VB.NET group ;-).
L Lou Feb 9, 2007 #5 My first .NET project. ANd yes it was difficult! Like being in Japan and not speaking Japanese! ctrl.Image = Image.FromFile("D:\MyFole.bmp") I'm slowly getting there!
My first .NET project. ANd yes it was difficult! Like being in Japan and not speaking Japanese! ctrl.Image = Image.FromFile("D:\MyFole.bmp") I'm slowly getting there!
C Cor Ligthert [MVP] Feb 9, 2007 #6 Well, note that the question has been posted to a VB.NET group ;-). Click to expand... You could have given as well the answer in VB.Net. YourImage.src = "images/calendar.gif Although using an imagebutton is ofcourse easier Cor
Well, note that the question has been posted to a VB.NET group ;-). Click to expand... You could have given as well the answer in VB.Net. YourImage.src = "images/calendar.gif Although using an imagebutton is ofcourse easier Cor