Search:
Type: Posts; User: rory
Search:
Search took 0.43 seconds.
-
I guess you missed this part:
Imagine my surprise when I received this annoying email telling me some clown posted on this old thread.
Shame on YOU, boy.
-
sent you an email with the link.
basically it is on my website.
Rory
-
Almost all my programs use INI files now for settings.
If I don't have multiple sections then its normally just a single section like settings or general.
This is what I use to read the values:...
-
i'd do it a little more like this..
name the vars however you like
Private Sub Command2_Click()
Dim strTxt As String, strArr() As String
Dim intU As Integer, intI As Integer, strTmp...
-
I think that was from 1999, so likely it wont work in XP, Vista, or Win7?
Also might have to install the version of firefox that is supposed to come with it, incase anything else is missing that...
-
Probably not, at least not easily, as I can only get the main sections of the browser, nothing inside it. Using chrome instead of FF you can also get the location box.
-
It puts firefox into your form.
that class is the main top level FF class.
use Spy++ to find what levels you need.
that is just a very basic example, you would need to also start FF hidden then...
-
Does your server have those objects installed?
What is the exact error?
Try before the code
On Error Resume Next
Then after the code
response.write Err.Code & vbCrLf & Err.Description
-
Here is code that gets info from hardware, its old now so you may need to do some work to it for newer OS like win7. I stopped using activation as it was a pain - so much time spent working on...
-
here is another option, I will just give you the idea ... although I tested this and it actually works (see the attached screenshot). I just grabbed the whole browser but you could work your way down...
-
More info on this outdated control
http://nick.typepad.com/blog/2008/03/can-mozilla-be.html
Particularly:
the ActiveX control doesn't embed the version of Mozilla/Firefox that's installed on...
-
Got that to work .. not sure if it looks right but it works.
I had to create a separate function as alias and set the length of the type string to 1, since I only need true or false for those....
-
If you get a chance can you look at this function also please ...
last one i promise .. thanks
This uses a structure instead of the 16 bytes like in the previous one
There are more like this, so...
-
That is again perfect :)
thanks ...
So I will make all the ints long from now on
Ended up with this so I can pass it out as a string
Im not sure about the buf = Space(0) but in the other...
-
Hi .. Ive been fighting with this to no prevail, other than it doesnt crash. :D
I have it set to string but it returns something I cant read, which is basically upside down versions of the letter...
-
After assigning another string to buf, setting buf = Space(0) seems to have fixed the crashing.
-
Perfect thanks, that did the job :)
although now I can read out the result in debug and even write it to a text file, but i cant assign it to a string or a text box .. anyway the hard part is done...
-
I have an API im working with and no examples in VB6 for one particular function.
I have the C++ code but cant figure out this part.
the login ID I have already from logging in.
This is the...
-
60K as in 60,000?
yes your best bet is Winsock though even then. ...
60,000???? :D
-
something like this .. where Ans Control Array Index is from 0-3
but your pot will be -25 on the first click ... so need to adjust that.
Private Cash(3) As Integer
Private IsClicked(3) As...
-
create a control array
Private Sub chkFer_Click(Index As Integer)
Call modInfo.FerruleGet
End Sub
again arrays, and ..
-
difference with Winsock is it doesnt hang the app while it tries to connect to an offline site.
-
here is a Winsock version:
add new Form
add Winsock Component to Form
add 2 Text Boxes and 1 Command button
basic error handling included
Text1 = IP and Text2 = Port
-
just use the IP, eg.
http://192.168.1.1
or with a port:
http://192.168.1.1:8080
I like Winsock better but the code is a little more complicated than this more simpler API.
-
its just using debug and arrays as an example.
the main function is called like this
it returns the status and the speed it takes to respond.
Dim sText As String
Dim lSpeed As Single
-
another way is to use wininet API
example:
Create New Form, add Command button.
Option Explicit
Private Const FLAG_ICC_FORCE_CONNECTION = &H1
Private Declare Function...
-
Never mind ... :D
I decided to go about it differently.
Dont know if this is the best way, uses more code, but seems to work fine.
For others that might be looking for something like this:
...
-
Hi,
I would like to register something like VK_F01 and VK_KEY_1 (F1 and Number 1 keys pressed together at the same time)
Basically I have an app with numbers 1-32.
Even if I can get VK_KEY_1...
-
Hi, thats the while file there, I dont know enough about C++ though .. is there somewhere to find what the project loads first like in VB6? There is a header file as well though if that matters. I...
-
Hi, Im a VB programmer, specifically old school VB6 and still its not my day job.
Anyway i have the source for a C++ program for some work im doing (source is part of an SDK from a manufacturer)....
-
It will still work for IDE drives with SMART enabled as I was using an old 6 or 7 year old IDE hard drive when i first tested this code, and the second harddrive serial code included in the project...
-
Got it thanks .. I prefer to use PaintPicture just couldnt figure out if or how .. this works:
LoadSkin btn(1), 0, 25, App.Path & "\1.bmp" 'Normal Button | load image
LoadSkin btn(1), 25, 25...
-
ok thanks i see, create then delete the hdc right away ... will read up more on that.
-
Yeah but as far as I can tell, Paintpicture wont work for what I need to do.
See my image, I am only taking a piece of it, each one is a button, and placing that part in the picturebox.
Also, I...
-
hi, i wanted to use a single image for all events of a button, and cannot be a command button as the images dont look right on those. The events are normal, mouseover, mousedown, disabled. So I...
-
Thanks guys, it can be done in run time.
Only issue is the controls I use dont have hwnd so I would need to use findwindow and findwindowex to get the handle. I will check it out, thanks.
-
Yes, I need to put a control that is on the form, inside the Picturebox that is on the usercontrol.
-
Hi, yes you can put it inside the UserControl, but the problem arises when you try to put it inside another control on that UserControl.
-
Hi, is there anyway this can be done?
Basically I have a UserControl, and I have a PictureBox in that.
On the main form where the UserControl is placed, I have another control, could be...
-
Yeah that was what Merri's code does. But I cant see how I can then use that control, since its still created as something like Cmd1, Cmd2, etc. If I need to move it or change its backcolor? I can...
|
Click Here to Expand Forum to Full Width
|