Search:
Type: Posts; User: PlaystationMasterBoy
Search:
Search took 0.03 seconds.
-
Thanks.
I'll give it a whirl!
-
Hi,
Is there an easier, or cleaner, way to count the number of object in a list than:
For Each bk As Book In bookList
If TypeOf bk Is ChildrensBook Then
...
-
Hi Guys,
I'm having trouble converting a collection class into a word table. The problem is, I have a class called "Book" which has to properties "Title", "ISBN" and "Author" - and I want to copy...
-
Yes, it's Access.
The Session variable works fine on other pages.
And they all have values as I displayed each in a messagebox to verify :/
-
I get the error "No value given for one or more required parameters."
-
Heyy,
I am trying to update the row where [UserID] = Session.Item("UserID") and I get error each time.. This is my code.
Dim conn As New...
-
Apologies for the slow understanding but I am not an avid user of VB.NET or Visual Studio 2010 - this task is an assignment at College.
I have located the 100 pictureboxes to the panel also -...
-
I've successfully managed to randomize the cards, using this code:
Dim Cards() As Integer
Private Sub shuffle()
Dim numberOfCards = 52
Cards = Enumerable.Repeat(0,...
-
Solved. I implemented a panel, and then used the following code.
panel1.controls.clear()
-
Thanks for the reply, I'll give that a go.
Cheers.
-
apologies, when I researched it I didn't take note that it was for VB6, on this site: http://msdn.microsoft.com/en-us/library/aa261332(v=vs.60).aspx
-
The last, I don't close the form. Simply click "New Game" in a menu at the top.
It's a setting whereby the user can alter the amount of pictureboxes - either 8x8, 10x10, 12x12 or 16x16. It's a...
-
OK. What I am trying to say is that I have declared a 2D array of pictureboxes. I've managed to get them located on the form, in a 10x10 grid.
Now, when I reset the game the first 100 boxes stay...
-
Using a for loop, for rows and columns then placing them on the form.
I tried the "unload" with no success.
-
Hello, I have added controls to the form using a control array.. However, when I re-run it they stay and more appear. How do I get rid of the first set?
Thanks
PMB
-
Thanks for your reply.
Will this method allow me to somehow shuffle the cards, randomly, so that they're not in the same lcoation each time a New Game is selected?
I need to have a deck of 52...
-
Hello,
I am required to make a game of concentration, whereby cards are shown for x amount of seconds and then truned over. The user then needs to remember where the cards were and pick two at a...
-
Thanks a lot!
Both explanations are very good.
-
Hi, please can some explain to me in plain English what this piece of code is doing? I can't work it out.
Randomize()
Dim bingo1 As Integer = Int((49 * Rnd()) + 1)
Thanks
-
Thanks. That's a lifesaver. :D
-
How would I then set the forecolor of a different control to equal that that I have written to the varialble. For example, I have written:
ColorDialog1.ShowDialog()
label1.ForeColor =...
-
Fabulous. A*
Thanks a lot.
-
Hey,
I've set the colour of a label using the ColorDialog and I want to read the chosen colour value into a string, using the following code:
ColorDialog1.ShowDialog()
label1.ForeColor =...
-
Private Sub lstView_Mousedown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
If e.Button = Keys.RButton Then
'code here to GetItemAt. I am...
-
Thank-you for your reply, but is there any chance you could break that down into a little more detail as I am new to VB and haven't quite grasped it yet.
Thanks again,
PlaystationMasterBoy
-
Hi,
Is it possible to be present a context menu when an item, any item, is right clicked in the ListView control? - If so, how?
Thanks in advance,
PlaystationMasterBoy
-
Thank-you. Worked very well.
-
How would I go about disabling a button while the ListView is empty?
-
Thanks. Works a treat, also got it printing and then closing automatically.
Thanks again. (:
-
How would I go about outputting a listview control with 4 columns and x amount of rows to a text file so that it can be printed?
Or how would I go about adding it to a database and printing it?
...
|
Click Here to Expand Forum to Full Width
|