Search:

Type: Posts; User: rory

Page 1 of 13 1 2 3 4

Search: Search took 0.43 seconds.

  1. Replies
    20
    Views
    3,935

    Re: implement licensing system

    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.
  2. Replies
    8
    Views
    2,140

    Re: [RESOLVED] Another C++ to VB question

    sent you an email with the link.
    basically it is on my website.

    Rory
  3. Re: [RESOLVED] Loading values from ini file does nothing

    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:...
  4. Re: Reading multiple values from a single key in an ini file

    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...
  5. Re: Anyone manage to get this firefox activex working?

    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...
  6. Re: Anyone manage to get this firefox activex working?

    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.
  7. Re: Anyone manage to get this firefox activex working?

    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...
  8. Replies
    2
    Views
    1,112

    Re: Need help on Classic ASP to solve error

    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
  9. Replies
    9
    Views
    8,483

    Re: How to protect VB6 Complied/Exe File?

    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...
  10. Re: Anyone manage to get this firefox activex working?

    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...
  11. Re: Anyone manage to get this firefox activex working?

    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...
  12. Replies
    8
    Views
    2,140

    Re: [RESOLVED] Another C++ to VB question

    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....
  13. Replies
    8
    Views
    2,140

    Re: [RESOLVED] Another C++ to VB question

    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...
  14. Replies
    8
    Views
    2,140

    Re: Another C++ to VB question

    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...
  15. Replies
    8
    Views
    2,140

    [RESOLVED] Another C++ to VB question

    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...
  16. Re: How to allocate 16*32 bytes buffer for string?

    After assigning another string to buf, setting buf = Space(0) seems to have fixed the crashing.
  17. Re: How to allocate 16*32 bytes buffer for string?

    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...
  18. [RESOLVED] How to allocate 16*32 bytes buffer for string?

    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...
  19. Replies
    16
    Views
    1,403

    Re: Help with a program im making

    60K as in 60,000?
    yes your best bet is Winsock though even then. ...
    60,000???? :D
  20. Re: HELP - Need help with command buttons

    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...
  21. Re: Writing More Efficient Code VB6, Multiple Private Subs

    create a control array


    Private Sub chkFer_Click(Index As Integer)
    Call modInfo.FerruleGet
    End Sub


    again arrays, and ..
  22. Replies
    16
    Views
    1,403

    Re: Help with a program im making

    difference with Winsock is it doesnt hang the app while it tries to connect to an offline site.
  23. Replies
    16
    Views
    1,403

    Re: Help with a program im making

    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
  24. Replies
    16
    Views
    1,403

    Re: Help with a program im making

    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.
  25. Replies
    16
    Views
    1,403

    Re: Help with a program im making

    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
  26. Replies
    16
    Views
    1,403

    Re: Help with a program im making

    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...
  27. Replies
    1
    Views
    716

    Re: Hotkeys for multiple keys

    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:
    ...
  28. Replies
    1
    Views
    716

    [RESOLVED] Hotkeys for multiple keys

    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...
  29. Re: New to C++ trying to get arguments received in program

    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...
  30. New to C++ trying to get arguments received in program

    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)....
  31. Re: How can know Manufacture Hardware ID (Serial Number) of Disk or MotherBord etc

    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...
  32. Replies
    5
    Views
    1,031

    Re: BitBlt for Mouse Over Image Button

    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...
  33. Replies
    5
    Views
    1,031

    Re: BitBlt for Mouse Over Image Button

    ok thanks i see, create then delete the hdc right away ... will read up more on that.
  34. Replies
    5
    Views
    1,031

    Re: BitBlt for Mouse Over Image Button

    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...
  35. Replies
    5
    Views
    1,031

    BitBlt for Mouse Over Image Button

    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...
  36. Re: Put a form's control inside a UserControl's control?

    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.
  37. Re: Put a form's control inside a UserControl's control?

    Yes, I need to put a control that is on the form, inside the Picturebox that is on the usercontrol.
  38. Re: Put a form's control inside a UserControl's control?

    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.
  39. Put a form's control inside a UserControl's control?

    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...
  40. Re: [RESOLVED] Class with Dynamic Controls Arrays and Events

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width