Just figured it out.
I am posting below. It's still a touch messy, but works.
Any suggestions are greatly appreciated :)
Private Sub sckMachine_DataArrival(ByVal bytesTotal As Long)
Dim ThisPacket As String
sckMachine.GetData ThisPacket, vbString
temp2 = temp2 & ThisPacket...
I know there are a few other posts regarding this. But so far I havn't been able to get it to work.
I am using a Vision System camera that when triggered sends out the image data via tcp (winsock) connection.
The first bunch of characters state info about the image.
maybe 120 characters into the...
Fortunately for me I am using a touch screen mostley with a mouse only as backup to the touch screen, and to change the colours of the buttons.
For the most part the mouse will be tucked neatly behind the screen. ;-)
Focus problem is solved with mousemove.
I check which button I'm over, and setfocus.
Works great.
Not sure if I will have problems down the road using mousemove, but I'll jump them when I get there.
Thanks for your help
Here is a chunk of what I used to get it to work.
DrJavaJoe, you got me thinking about setfocus.
I'm not sure if this is what you meant, but it works.
My next question is, the mousemove event, do you figure it eats the system resources up?
Thanks
Private Sub Command1_MouseDown(Index As...
Before I started with the post.
I have a form with 40 command buttons on it.
The buttons come from the MS Forms library.
They cover the whole form on load based on screen size.
I wanted to spice it up with having the user being able to change the button colours. So I thought right click the...
I created a form that is full of command buttons. I want to bring a menu up on right click. Got the menu working, right click working. The problem is the button needs focus in order for the right click to work. I've tried differnet things, mousedown, mouseup, click. Just can't seem to get it to...
I figure for the trouble and ease of troubleshooting to got with 15 outputs. The cost far outways the amount of needlessly wasted time.
Thanks for your input.
I have an application I'm thinking about and wanted to see if someone had an idea.
I have a bank of 15 lights, of which only one will be on at any one time. I don't want to use up 15 outputs.
What else could I use?
Actually, found some other info pertaining to the specific ftp site. After a successful download the site is looking for another command to say I received. So what I did was send a PWD command after each download and everything was ok.
In case anyone else has the same problem the sites are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.