Search:
Type: Posts; User: naitsabes85
Search:
Search took 0.05 seconds.
-
I sorted this by bigvalue - lowvalue, adding the difference.
Now the pixels are drawn from 0,0px!
Thanks for the help!
-
The coordinates value sometimes gets over 17000.
How big can you make a picturebox?
Im thinking about bitblt on a large scaled picturebox to a smaller one.
-
Yes but the issue is how to make sure x,y is within range of scalewidth/scaleheight.
-
Hello!
Im trying to paint pixels from a byte array containing coordinates, my problem is how to get the coordinate to fit inside a picturebox.
Since a byte is 255 max, the coordinates gets...
-
I figured it out my self, thank you google!
try {
ClassLoader classLoader = new URLClassLoader(new URL[] {new File(scriptPath).toURI().toURL()});
Class<?> testClass =...
-
Hello!
I have been googling for hours not finding a solution, hopefully someone can help me!
How do i start a new Thread from a Runnable class not located in the same folder?
Im choosing the...
-
Im currently coding a function looping through all areas and returning index of other areas touching current one. From there im planning on looping the touch areas and keep doing this until our...
-
My mind is a big mess right now :p wish i could explain better...
The goal is to get from one point to another by making some sort of walk path.
When i said areas to walk i ment area(i) = reachable...
-
Area(0) = "20080,5080,20090,5100"
with Area(0)
.x=20080'start coord.x
.y=5080'start coord.y
.width=20090'end coord.x
.height=5100'end coord.y
end with
Thanks for sharing your thoughts!
So...
-
My bad, i have changed area into:
Private Type Area
X As Long
Y As Long
Width As Long
Height As Long
End Type
This made it alot easier to work with :wave:
You have any hints on how to make...
-
All areas have walls, and if the distance from one area to another is less then 11 i can enter the other area.
With my code it gets stuck since the distance sometimes is more then 11.
In this...
-
Then make a loop.
dim s() as string,s1() as string
dim i as long
s=split(record,vbcrlf)'split the record by return
for i = lbound(s) to ubound(s)'loop tru all items
s1=split(s(i),"...
-
This is one way doing it.
Dim s As String, s1() As String
s = "CRYOTUBE,1.8ML,RND INTHD 50/PK"
s = Replace(s, "/PK", "")
s1 = Split(s, " ")
MsgBox s1(UBound(s1))
-
Made this code to see if my madeup x,y coordinates actually exists.
Need some ideas on how to do this :s
function isValidArea(byref areas(),byval x as long, byval y as long) as boolean
dim i as...
-
'example of Area() x,y,width,height
Area(0) = "20080,5080,20090,5100"
Area(1) = "20040,5080,20080,5100"
Area(2) = "20000,5080,20040,5100"
Area(3) = "20080,5040,20090,5080"
Area(4) =...
-
Hello!
Need some help figuring this out.
I need to go from point A to point B.
Problem is that i can't tavel in a straight line since there are "out of screen" areas.
The array Areas() is...
-
I google a bit and found answer.
CDbl()
Yours,
Sebastian
-
Hello!
Im trying to calculate the value of two textbox but it gives me wrong answer.
t1.value=12.2
t2.value=12.2
t3.value=24 and not 24.4?
sub sCalculate()
dim s(1),s1
-
-
It's not the "SetWindowLong api" who caused all the error's, its "PrintWindow api"...
I was trying to use PrintWindow with a child handle belonging to the transparent internet explorer window.
...
-
I have windows xp home and windows internet explorer 7.
:blush: Yes i should probly try remove "on error resume next", brb with update.
-
Hello,
Im trying to make Internet Explorer transparent but when im using this code xp crashes with follow error: PAGE_FAULT_IN_NONPAGED_AREA?
Private Declare Function GetWindowLong Lib...
-
use the function i first posted:
sendUDP "192.168.2.1", "28070", "This is a message"
a) to recieve ip's & port's you connect to server.
b) server gives you ip's & port's.
c) call function i...
-
Thank you coothead for saving my day, this work correctly! :wave:
-
Sorry, this uses server...
client(1) <-> server <-> client(3)'send:3:hello
sub sock_dataarrivial(bytestotal)
dim data as string,s() as string
sock(index).getdata data,vbstring...
-
Hi,
Since each client(x) is connected to the server you must parse data from server.
client(1) <-> server <-> client(3)...
Using UDP protocol you can send messages like:
sub sendUDP(byval host...
-
Hello!
I have created a php script and trying to use javascript to create a popup window.
<script language='javascript' type='text/javascript'>
<!--
function popup(id) {
var url;...
-
Thank you Xmas79!
value + 2 ^ 32 gives the correct value :)
-
Hi folks!
Im trying to use ReadProcessMemory to get a long value, but i get wrong value when doing this?
The address im looking at is the correct one, i used T-search to get it.
valbuffer...
-
Hello folks!
I been working on a memory scaner and i got a problem.
First as you can see below, im capturing the memory info into a string.
My problem is how to convert a long value eg "858585"...
-
Hello,
I need some help understanding bit shifting.
The word "sweden" got shifted to "00000000511DAEF2" i dont know how this was done and i didn't shift the bits.
I would like to make...
-
thanks milk, i forgot about the for next loop :wave:
-
hehe.. im trying to make this code work with bytes instead of a string:
(ChiefRedBull wrote)"http://www.xtremevbtalk.com/archive/index.php/t-29317.html"
i can use another loop to do this but i want...
-
Hey,
im new to bytes and im trying to get this code to work but im doing wrong??
MaxByte = 2000
Do
i = i + 1
ReDim Preserve Bytearr2(0 To i)
Bytearr2(i) = Mid$(Bytearr1, j, MaxByte)'add...
-
Hey,
Is this what you are looking for?
declares:
Private Declare Function GetPixel Lib "gdi32" (ByVal Hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Private Declare Function GetDC Lib...
-
Im trying to make a code that can tell if there is a circle 16X16 inside a picturebox :sick:
-
I made a simple function and this is what i need.
Anyways if there is another way please tell me!
Function findSquare(pic As PictureBox, FindColor As Long) As Boolean
Dim x As Long, y As Long
Dim...
-
Hi folks,
Is there a easier way doing this, or do i have to make this the slow way by counting pixels?
Big thanks
-
Hello folks!
I have been trying to generate a code to "readprocessmemory" with address scaning, since the pid(address) always changes each time i reload.
I need to scan "address(0 to end)" for the...
-
Thanks all! This helped me out, :wave:
|
Click Here to Expand Forum to Full Width
|