|
There is an article about this here [^] on Code Project. Do a search before asking for homework help.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that." - Tommy Boy "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)
|
|
|
|
|
You have three questions posted and they are all obviously homework. Work on it and if you get stuck then ask your question.
_________________________________________
You can't fix stupid, but you can medicate crazy.
|
|
|
|
|
Wow I give him a link from CP and he reposts 2 days later. *Throws hands up in despair*
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that." - Tommy Boy "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)
|
|
|
|
|
With VisualStudio.Net, i'm using an installer class with a custom action
on my setup project to ask the user a serial number. A "Textboxes"
dialog on the "user interface" provides the serial number string to an
overrided version of then install procedure, inside my installer class.
My problem is that the install sub is able to verify the serial number
entered, but then i can't stop/cancel the installation procedure.
|
|
|
|
|
can anyone please tell me how i can input data into 3 seperate textboxes on a form, then press a button and for that data to be placed in 3 fields on a database.
thanks
|
|
|
|
|
See MSDN for ADO.NET .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
i set the backcolor of label to Transparent and it's parent to picturebox but nothing appear in runtime ??? (picturebox exist under the label)
|
|
|
|
|
Why are you putting a label OVER the picturebox? Are you sure that the picturebox is actually linked to an image and showing it?
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that." - Tommy Boy "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)
|
|
|
|
|
Because i wanna make an image button user control component. Yes picture box linked to an image and i'm working with VB.Net 2005 platform.
-- modified at 13:32 Tuesday 13th March, 2007
|
|
|
|
|
With .Net I have not found a way to use transparency with labels and show the background like you can do with VB6. I have had to resort to keeping the label hidden and using it's text,location, etc. in the picture box's OnPaint event using a graphics object to draw the text on the picture box.
Hope that helps
|
|
|
|
|
I was able to add a label to a picturebox and it's transparency worked fine. How are you creating the label. Is it done at runtime or design time. Remember that the location of a control is relative to it's parent. So if the label exists at design time and is located 100 from the left and 200 from the top it will be in that same relative position when you set it's parent to the picturebox. What may be happening is when you set the parent to the picturbox the label is positioned where you can't see it. Try setting it's position to (0,0) and see if it shows up. As proof of concept try creating a new project. Add a label and a picturbox to your form as well as a button. To prove the transparency works give the picturbox an image. Then add this code.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Set the parent
Label1.Parent = PictureBox1
'Position the label so we can see it
Label1.Location = New Point(0, 0)
'Give it a transparent background
Label1.BackColor = Color.Transparent
End Sub
|
|
|
|
|
Hi.
I'm making a Button user control and it consist of three parts.
Left,center and right Picture boxes. Why when i change picture box width which is set to StrechImage mode, it's image in runtime will take gradient?
|
|
|
|
|
It only streches the image. Therefore, you won't be able to apply percise gradient.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Excuse me. My pic was a png that has an inner gradient. :b
|
|
|
|
|
i'm want to connect to a MS Access database which is stored in the same location as the application. i need to read feilds from the database and display in a listbox on the form.
does anyone know how i would go about doing this?
|
|
|
|
|
Then read related documentation, for instance, see the following example [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi All
I Want To Know Wath Is HOOK.
And Wath Is Usage Of This.
Tanks All.
Mogtabam
|
|
|
|
|
Mogtabam wrote: I Want To Know Wath Is HOOK.
And Wath Is Usage Of This.
...Then read the documentation [^]
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi,i need one more help,
i have 2 drop down list box, in that one i am display year
another one display month,
when i am selecting the year and month,
i want to know how many days on that month like,
plz anyone can help me.........,
i need that code........
Regards,
Magi
|
|
|
|
|
you can use DateTime.DaysInMonth
|
|
|
|
|
hello everyone
i want to convert a string which contain a date value into the date (my string value came from a msflexgrid) and i want to show in the datetimepicker in dd/mm/yyyy format
does any one help me
i need answer immediately
plz help me
|
|
|
|
|
i think same problem has been asked two days ago......
and solutions were given
go to 66th message of this forum only..
|
|
|
|
|
hi manni
this solutions not work properly.
|
|
|
|
|
gust pass ur flexgrid value beore the given string
(msflexgrid ).ToString("dd/MM/yyyy")
|
|
|
|
|
I need to have a column that should display a combobox. However the contents of the combobox are not always the same, they depend on the value of another cell. So I want is that when the cellEnter event of the column in question fires, the combobox appears on the current cell and its contents depend on the cell to the left. When the cellLeave event of the same column fires, the combobox disappears and the cell now is just a text cell with the contents of the selected item from the combobox. When the cellEnter event in the Column in question fires and the cell is not empty, the combobox should appear and the text selected from the items list
Thanking You
somasundaram G
|
|
|
|