Search:
Type: Posts; User: Mallard8
Search:
Search took 0.04 seconds.
-
Thanks Paul,
After all that it turned out to be simples !:D
I was nearly there with what I had.
-
John,
First an apology (But still did not work) pointless statement, a trap I don't normally fall in to.
Second, forgot to follow the advice on a previous thread take a break, Frequently and...
-
Imports System.IO
Did that
ImageList1.Images.Add(Path.GetFileNameWithoutExtension(Singlefile), Image.FromFile(Singlefile))
And That
But still did not work
|Followed the example in the...
-
Still didn't work for me? clearly I'm missing something which is obvious to yourself.
ImageList1.Images.Add(GetFileNameWithoutExtension(Singlefile), Image.FromFile(Singlefile))
-
Thanks John but can't get either of those suggestions to work Path has a squiggle and not sure how to declare the path even though it is in the singlefile and adding a key value just couldn't figure...
-
Load Images into ImageList
Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
ImageList1.Images.Clear()
oFD1.InitialDirectory =...
-
How do I get the image name from an ImageList after using OpenFileDialog to load the images in to the image list.
The images are loaded in to the image list and from the ImageList to the...
-
Thanks to you both, another step on the learning ladder.
-
Thanks John,
I did do a step through but thought I had just misread the tutorial at (Home and Learn) so much for that tutorial.
It's clear now you've highlighted it (counter = 0 so i = 0 to 0 - 1....
-
In my project I would like the user to be able to select their own images, I looked at the Home and Learn example to load images in to an ImageList and Listview. I copied the example but it is not...
-
This is the start of a match two game. Zip attached so you can down load and run it, all code below.
I placed it in the code bank as beginners may find bit’s they can use in their own projects....
-
Thanks Si
Read on the docs, Application.Restart so will give that a go as my game is not played over a network and there is no score or game number to follow through.
It's just play, End, have...
-
What is the best way to restart the game from scratch?
I have looked and there are various ways but as I always ask here before doing anything else I thought I'd wait.
-
Had to change Remove to RemoveAt and Range(1, 32) for it to work but that's it all working.
Thanks again for the help.
-
Delaney,
I did read that article at stack overflow but it seemed such a long winded way of doing what I wanted and I thought there must be a better way than that, if not I'll look at lists.
Which...
-
John thank you for a brilliant explanation.
Hope it helps other who may read this thread.
I read about arrays in the docs and you can split, join, add to and redim.
I thought you must be able to...
-
In my declarations at start I have
Dim numbers(32) As Integer
In form load event I have
numbers = Enumerable.Range(1, 33).OrderBy(Function(x) r.NextDouble).ToArray
-
John thanks for all that, I guess it's back to the drawing board. :)
-
I create a set of 16 picture boxes in form load, I give each a tag and name property. but when I come to use the name property I get a squiggly line (pbxFrame is not declared) is not declared when I...
-
Thanks passel for further advice and ideas
Thanks John for link yours is similar to the tutorial I was following.
Why I can't keep things simple is a mystery?
-
Thanks Passel, it's quite funny actually I was just thinking how do I know which picture is in which picture box.
You're right I am messing about with a matching pair game my grid is 4 x 4 so 8...
-
Very good mark the thread as solved and you are finished
-
not sure but should it be Imagej.autosize = true
-
Thanks for that, I did notice when looking at my code that there were 3 dots under the N of New Picturebox, so I hovered the mouse over and it suggested using With {} which is much better and easier...
-
Hi Paul,
Thanks for that, I did change Picturebox to pbxFrame but it still didn't work, I know now that it was because I had given my PB 0 -15 so it was getting Null.
The thing is I've always...
-
Goodness this made me smile. He had the answer all along just needed a push.
-
Thanks to both , I have copied and pasted each example in to Notepad++ so that I can read through them both to figure out what is doing what.
When both codes are copied in to my project I get the...
-
Thanks Paul,
Got to admit that sure looks a better way than what I came up with. Not tried it yet will do it later.
One question, was there anything fundamentally wrong with my method? after all it...
-
The code below is working it places 16 images from an Image list into 16 Picture boxes (created at runtime)
But as I look at it I feel there must be a better way than the way I have achieved it.
...
-
And there you go many ways to solve the same problem.
I was thinking of boolean but that was all I was thinking, now I have other indicators that will achieve the same thing so I'll give them all a...
-
John,
Thanks for a detailed explanation, I had to read through it a couple of times.
As you probably already know there is a flaw, if a user clicks one Label and then clicks another the first one...
-
I have a load form event that places 16 picture boxes and 16 Labels on to the form.
When one of the Labels is clicked a text box shows which label I clicked on in the timer event the label moves up...
-
John,
Your replies, no matter how caustic but always helpful, never fail to put a smile on a face.
Thank you
-
Thanks Si,
Your reply was clear and not at all condescending.
John,
As helpful as ever, I did read the documentation in the docs but clearly I was seeing one thing and interpreting another.
I...
-
I am appending a date to the end of a folder, all works fine apart from the fact the date shows
correct day, wrong month, correct year not sure why?
21/54/2020
Dim localDate =...
-
Well this has been an interesting read, in my project I have some addhandlers but no removehandlers.
Will go and remedy that now.
Thanks John
-
Thanks Passel,
It works exactly as I want, although I doubt I would have got anywhere near by myself.
Still going through the explanation I hope it will help others by reading the explanation and...
-
Hi Passel,
Thanks for the very detailed explanation and example I'll sit down later and read through it properly no good just doing copy and paste. I was working on positioning labels in place of...
-
Hi Passel
The attachment shows for me but then it is on my computer, I guess it must be another glitch like the posting twice.
I want the user to click on the intersection or to with in a few...
-
Finished the last project, well not quite I need the form dialog to do but thought I'd take a break and move on to another project.
Image and code below.
My question is how can I check, when you...
|
Click Here to Expand Forum to Full Width
|