Search:
Type: Posts; User: jeroen79
Search:
Search took 0.05 seconds.
-
Multiline allows you to type more than one line of text in a textbox.
It will be read as one string and the lines are connected by vbCrLf.
You will have to process that to get the seperate fields....
-
In worms the map is a bitmap.
Part of the bitmap is made transparant, thus forming the the part that is not 'ground'.
Bombs then make the part of the map where they explode transparant in a...
-
I modified it a bit.
If the ball is above the barrier then it would first collide with it's top.
Therefore you would need to know if the ball is below or above the barrier to know against which...
-
If you use a round ball then all you need to do is check the distance between a barrier and the center of the ball.
If it is equal or less than the radius of the ball there is a collision.
If you...
-
'a led setup
Type t7Segment
Led(7) As Boolean
End Type
'stores the led setup for each number
Dim LedNumber(10) as t7Segment
'makes the specified led setup
Function New7Segment(S0 As...
-
You can put the pictureboxes and tags in arrays and then use one Long to cycle the index.
'make a control array of pictureboxes called imgtor
Dim tag() As String
'make as much tags as there...
-
Post your code and indicate which line the error occurs at.
-
What is load credit?
What are the capabilities of the phones?
Are they all of the same type?
What OS runs on the phone?
Can you upload your own software to it?
You would first have to read...
-
Your input is a matrix with zero to three ones per row and your output should be all possible matrixes with just one one per row obtained by removing ones from the input array.
ie:
11 > 11 > 01...
-
That would be the simplest.
FOr more advanced things:
http://www.vbaccelerator.com/home/VB/Tips/Working_with_Multiple_Monitors/article.asp
-
So how would I find out what the pointer to the DirectX/OpenGL surface is?
-
A bit late too, but why do people delete their question after they get an answer?
-
How can I draw an image made by my VB6 program on top of a running fullscreen game?
I tried bitblt but that is flickering too much.
-
To stick with the need to use subroutines:
Function ReverseNumber(Number As Long) As Long
'your code here
ReverseNumber = the_outcome_of_the_code
End FunctionYou can then call it like:Dim...
-
A bit more.
I tried the same with a class.
This gives no problems.
Also, if I send data to the same property of a usercontrol twice it also gives the error.
Putting the data into the...
-
I have a usercontrol into which I want to copy data.
The data is in the form of an array of singles.
The data is loaded using a property. (get/let)
The data is stored by the usercontrol in an...
-
Do you want to make something to playback flights?
Slider can be used, except that with the altimeter pictured by g33n13 the thing scrolls much more than the control's height.
It basically is a...
-
http://en.wikipedia.org/wiki/WordArt
-
It generally is better to explain what you want in detail than to have us guessing what to make of a picture.
My guess:
You work the string left to right, until you reach the middle of the...
-
Easy:Type TheType
A As Byte
End Type
Function ThatUsesTheType(TheArgument As TheType) As TheType
ThatUsesTheType.A = TheArgument.A
End Function
'use it like:
Dim X As TheType
-
Exit For will terminate the entire loop, including any iterations you did not yet do.
If you just want to skip to the next iteration then this will be too much.
-
Assuming that your controller will show up in windows as a regular DirectX controller:
http://www.google.nl/search?hl=nl&q=VB6+directx+controller&btnG=Google+zoeken&meta=
-
GoTo is bad.
Do you want to do something only if some condtion is not true?
And otherwise go straight to the end of the loop? For x = 0 to 10
If Not true Then
MsgBox "hey"
...
-
Or use recursion.Private Sub Form_Load()
GuessTheNumber RandLng(0, 10), 5
End Sub
Public Function GuessTheNumber(num As Long, tries As Long) As Boolean
Dim g As Long
If tries...
-
Dim f As long
Dim d() As Byte
Dim i As Long
Dim filein As String
Dim fileout As String
f = FreeFile
Open filein For Binary As #f
ReDim d(LOF(f) - 1)
Get #f, , d
-
For i = 0 to UBound(MyArray)
If MyArray(i) Then Exit For
Next i
AllAreFalse = Not MyArray(i)
For i = 0 to UBound(MyArray)
If Not MyArray(i) Then Exit For
Next i
AllAreTrue = MyArray(i)
-
And to add to that,if you want to let the value of a variable decide what action to take you shouldn't use a lot of consecutive If statements.
At least nest them so you can stop testing the rest...
-
Where is it supposed to get all the somethings?
-
Testing if two strings are not the same is easy.
Finding what the differences are is trickier.
In your example, would File2 be File1 & "1 Hello" or would it be "Hello1 "& File1?
What do you...
-
What is in RealMess? I don't see anything being put into it.
What exactly do you want to achieve with this code?
-
The & operator will append two strings together.
In this case it will add the value of the currently tested bit to the result already in Dec2Bin.
-
You can keep a list of all texts to be changed in a file and load it into memory in a module.
The module then has a function for other objects to query the list of texts.
'in each object that needs...
-
It all depends on context.
What is the meaning of this string?
Where does it come from?
What could it possibly contain?
Will it only contain "true" and "false" and nothing else?
In that case...
-
That's right.
You'll need a third point (or vector) to get an angle.
This gives the bearing from one point on a flat 2D plane to another point, relative to the plane's 'north'.Public Const Pi As...
-
The screen of the tablet would be a touchscreen so you can just make a regular mouse operated application.
Capturing the signature can be done with a control that records the mousecursor position...
-
The UDTs:Public Type tQuaternion
w As Double
x As Double
y As Double
z As Double
End Type
Public Type tVector
dx As Double
dy As Double
-
A rather weird thing.
Two versions of a function:Public Function quatRotateVector(q As tQuaternion, v As tVector) As tVector
Dim qv As tQuaternion
Dim qc As tQuaternion
Dim qt As tQuaternion
...
-
What is the value of root?
Make the first line of the inner loop a breakpoint. What values do ctr and ctr2 get?
-
You should load all your pictures into dc's and then use those dc's to build the final picture in another dc.
And you don't need a dc for each object in the game.
There may be a million bullets...
-
You could fill an array with your non random data and then randomly pick an element from it.
|
Click Here to Expand Forum to Full Width
|