Search:
Type: Posts; User: passel
Search:
Search took 0.06 seconds.
-
I think it may also come down to the fact that you have a validate event that has to occur before the value is changed, so to support that, the change can't officially take place, i.e. be a permanent...
-
Sorry to come in like this.
I knew the emergency room and the exams made beautiful pictures of a cancer of a hoop (I think I have a small chance to get out, at least).
In a few days. I wished ......
-
You wrote the Sub to accept the return value, so you have to call the Sub with that return value passed in.
CalcRatio(Destination(d).Activity(a).Total,...
-
I don't understand the requirements for your version of the game.
Do you want to display a random pair from your list of 57 images?
Then after user interaction, pick another random pair from your...
-
You shouldn't have Randomize in the loop.
Randomize should be only used once at the start of the program and never called again.
Since Randomize will seed the rnd function using the current clock...
-
So you're saying that that will work for you.
Basically, if you have the loop in the timer, then that makes the loop atomic, i.e. the loop will run in the timer event, and other events will be...
-
Your screenshot shows you are on the "For Each" Line.
There is probably nothing worth looking at there, the FD value hasn't been set yet.
If you take a step and are on the If Condition line, you...
-
So, when you stepped through the code, how did it not work? Which line(s) had values that you didn't expect? If you're not matching the tag, then do you have any tags that match. You could add an...
-
Did you put a breakpoint on the line "Dim Kafa As PictureBox = DirectCast(c, PictureBox)", and then step through the code to watch what it does and what values you are dealing with.
If you get...
-
You should probably just make the thing event driven and use a state machine to keep track of what you're doing.
I would set up a timer with an Interval of 1, so it will tick as fast as possible,...
-
The previous question did ask how to create three patterns.
This is only asking for the one. A slight difference, but.... I thought of reporting it to a moderator as a duplicate, but it is a...
-
Even processing, such as a button click or timer ticks, can't be processed while your code is running. They occur after you leave a sub. If you need to process events while looping in your code, you...
-
Well, then it will make it harder to choose one of the three points. You will have to convert the random number into selecting one of your set of variables, so you will either need to have a series...
-
https://www.freetutes.com/learn-vb6/lesson6.html
p.s. There could be better or simpler tutorials, this is just the first one I came across when I searched for "vb6 array tutorial". You could do a...
-
Sounds like an assignment, so you'll need to do the work.
But if I was doing this, I would make use of arrays, since you have to pick things randomly and use a specific color that is associated with...
-
Pretty much the bottom line is you would draw the image where you want it to create such games.
I would use a single picturebox as your drawing surface, and then use DrawImage for every object...
-
Windows 3.1 wasn't preemptive multi-tasking. It was a DOS program that you ran that provided a graphical environment and allowed cooperative multi-tasking between applications written to voluntarily...
-
I did fix that in my test code, but had already posted this and forgot to update the post.
But even if you fix the variable misspelling, it will then get the memory error when it executes.
If you...
-
I wouldn't say that it gave nothing. It was just a paradigm of the way to control the scale, i.e. coordinates for drawing. I used it all the time for drawing graphs and maps, e.g. If I had a list of...
-
I'm not a database person, so don't know the nifty way of slicing or dicing data, but based on the code you have, I would think you would just do something similar to what you have in the...
-
I would use a Sub instead of a function.
I don't think you have enough stack space to hold the string to be returned by the function.
If you use a Sub, you just pass the string to the sub and read...
-
Perhaps follow the Excel paradigm, where along with which columns to import and which to skip they can indicate whether the file has a header row at the top or not.
-
In the past you were saying you need an index for controls, which was related to porting the concept of Control arrays to vb.net. But since VB6 Forms don't have an Index property, you can't be trying...
-
I've only had a very poor education in French in High School, but looking at your Google Translation, I made my way through part of the list and think the following may be better interpretations of...
-
VB.Net only uses pixel location for control placement and pixels for the size as well, so there is no scalemode for the container any longer.
-
He showed the content of the file in post #9.
It seems he didn't understand jmc's post #11, and is still using an index parameter so is now reading the first character of each line, rather than the...
-
Basically Windows 1 and 2 were fairly unusable so not widely adopted.
It was the Apple approved version of a GUI for Microsoft's DOS Operating System.
If you don't remember Windows 1, then...
-
Probably wanted to write something in the registry, but couldn't. Once run as administrator, whatever needed to be in the registry was written, and when you rerun whatever needed to be in the...
-
When you step through the code with the debugger, at what point does it not do what you expect it to do?
For instance
stringReader = fileReader.ReadLine(0)
...
-
Perhaps you missed the current code he is using which is drawing a flat border in red, but he would want it to be 3d.
If showBorder Then DrawBorder(e.Graphics, TextBox1, Color.Red, 2)
-
As I mentioned it was around 16 million values before the sequence repeats, i.e. 2^24 values to be precise.
That is because rnd returns a Single between the value of 0 to 1.0, not including 1.0, and...
-
I'm not sure how the Othello game can work if you don't know how to count the pieces.
When someone places a piece on the board you have to examine the chain of pieces in several directions to look...
-
I don't know about choosing to build specifically Debug or Release from a script as the only time I used a script to build I always built with the current settings, which was for Debug, which is...
-
I've modified your project as a test.
Basically, kept two of the Image controls, one to hold the "Off" Image, and the other to hold the "On" image.
The two controls kept were basculeur_sh_off to...
-
I actually thought the example that dilettante gave back in post #5 addressed the finding of 3 match or 2 match fairly straight forward.
And then if you had to chose different rewards depending on...
-
Possible, but usually those thin clients boxes are used to interface to a Central Server running multiple virtual machines or these days interfacing to cloud based OS's.
-
Good points. Knowing how the code is structured and what it is doing and how implemented is really needed to understand what may be causing slow visual updates, i.e. why a separate control with its...
-
I think so...
From the description, I assumed he has two image controls with two different GIFs loaded, and the image control with the green indicator is located "on top" of the control with the...
-
You could try just hiding your two imageboxes (set .Visible to False) and instead draw the image you want into a picturebox (named Picture1 in the example code) that has AutoRedraw set to True.
...
-
Worked fine for me. I added an array of three image controls and put the following tests in a button.
Private Sub Command1_Click()
Dim i As Integer
For i = 1 To 2
If Image1(1).Tag...
|
Click Here to Expand Forum to Full Width
|