To explain a little more try this...
1) Open a new project and add a button and a picturebox to the form.
2) Draw a button directly onto the picturebox.
3) Make both button 'Top' properties '100'.
4) Change the scalemode of the picturebox to pixels.
The button on the picturebox 'Top' is now...
Try this...
Private Sub MSFlexGrid1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Debug.Print MSFlexGrid1.MouseRow ' < There's your row
Debug.Print MSFlexGrid1.MouseCol
End Sub
The grid is not getting focus with the MouseMove event, so using the LostFocus event won't work either.
Here's one work around leaving a small border of the form around the flexgrid
Note the use of Option Explicit (very good coding practise to get into)
Option Explicit
Private ChangedGrid...
Once the connection is established you can send and receive on the same port (like a two way street), there is no need to break the connection.
You can use for eg:
Winsock1.SendData "Whatever your data is"
from either client or server
Thanks very much works a treat.
The only problem I have now is sorting the list alphabetically, worked fine until I changed...
ListView1.View = lvwReport
any ideas?
I know this can be done I have seen it but am stumped and tired of searching for an answer.
I want to have more than one image in the listview control ie: add images to subitem(s), does anyone know?
Thankyou.
I'm not quite sure what your asking but this may help you... Here's two samples, the first reads the entire file in one go, the other reads the file line by line
Dim intFree As Integer
Dim sText As String
Dim File_1 As String
intFree = FreeFile
File_1 = "c:\file1.txt"
Open File_1 For...
I'm not creating a program specifically to do this, it will be a small amount of data from the program I want to write to the webserver. I don't want to use asp & vbscript but thanks for your input.
I'm not sure if this is the right forum for this topic, perhaps someone could suggest where I should post this thread instead...
I would like to write a small amount of data from my program to a webserver. I'm gathering I would use a winsock control and the POST method.
I can handle the...
Im tying to set the webbrowser control backcolor but can't figure it out.
I can achieve it if I write to a file...
"<body bgcolor=#00FF00>"
then navigate to it, but I want to do it on the fly without writing to a file something like...
WB1.Document.body.background = "beach.jpg"
but for the...
Im tying to set the webbrowser control backcolor but can't figure it out.
I can achieve it if I write to a file...
"<body bgcolor=#00FF00>"
then navigate to it, but I want to do it on the fly without writing to a file something like...
WB1.Document.body.background = "beach.jpg"
but for the...
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.