dcsimg

Search:

Type: Posts; User: adamm83

Page 1 of 5 1 2 3 4

Search: Search took 0.34 seconds.

  1. Replies
    5
    Views
    1,417

    Re: [RESOLVED] Forbidden

    I know this thread is old, but I came across it from a google search after I encountered the same problem on my HostGator hosting account.

    It is apparently a Mod_security error acording to the...
  2. Re: loop through multiple directories and find all zip files

    thanks rhino... very useful. I added a sub routine to loop through the results and use them with the 7-zip command line tool.

    Simple and effective. It worked surprisingly well actually! See the...
  3. [RESOLVED] loop through multiple directories and find all zip files

    I know this has probably already been done in some way or another which is why I'm posting here. I've searched the net and forums and haven't come up with much. Basically what I want to do is loop...
  4. Re: trim any non-alphanumeric characters from beginnning/end of string

    i can't try it out yet, but this will trim any non alphanumerical characters from the beginning and end of a string, and leave anything within?

    So, basically if I have a string like this:
    ...
  5. Re: VB6 - RegOpen - open specified paths in the registry editor

    I've recently created a Firefox and IE extension for this application. So you can right-click a path in either browser and open it directly in Regedit from the browser. I'm just putting some...
  6. trim any non-alphanumeric characters from beginnning/end of string

    the titles says it all. Can this be done easily?? :) maybe with RegExp ? I dunno..
  7. Re: IE context menu used to pass parameter to vb app

    nevermind, I did a bit more research and figured it out.

    This page helped me do exactly what I needed:
    http://blogs.msdn.com/oldnewthing/archive/2004/05/24/140283.aspx
  8. [RESOLVED] IE context menu used to pass parameter to vb app

    I created a VB app that accepts parameters. So lets say I do this:

    myapp.exe whatever

    It will accept teh string "whatever" and do whatever it needs to do with that string.

    I would like to...
  9. Replies
    28
    Views
    3,937

    Re: capture and compare images

    good idea. I will try that.


    it SHOULD be, but it passes a 0 into the ComparePic function. I'm not sure exactly what it should pass into that function. What would "Pic2 as Picture" pass into the...
  10. Replies
    28
    Views
    3,937

    Re: capture and compare images

    this is pretty much the code I am using to get and compare the images:

    *NOTE: Made a change to the code


    'MODULE DECLARATIONS
    Option Explicit
    Public cW As Single, cH As Single 'capture...
  11. Replies
    28
    Views
    3,937

    Re: capture and compare images

    That's a smart idea. That would significantly speed things up if the image is different. But I also run a different loop where it keeps looping if the image is the same. In that case, exiting the...
  12. Re: random coordinates without duplicates

    Hey, Thanks lord orwell! I do feel special! :) I appreciate the time you spent.
  13. Replies
    28
    Views
    3,937

    Re: capture and compare images

    ok i got the image capture and comparing using pixel-by-pixel comparison, working the way I want it to (minus the dual monitor support). Here is the code I'm using:


    Private Sub Form_Load()
    Dim...
  14. Replies
    28
    Views
    3,937

    Re: capture and compare images

    next question... how do I use "GetDC(GetDesktopWindow)" to capture a dual monitor. It only seems to capture the first monitor, but what if I want to capture something on the second monitor
  15. Replies
    28
    Views
    3,937

    Re: capture and compare images

    Thank you so much!!! :) THis will probably help clear up some of my above questions. After looking at the (new) code. I noticed 2 lines of code:


    'Capture whole screen to a device context
    ret =...
  16. Replies
    28
    Views
    3,937

    Re: capture and compare images

    Thanks for the AllApi guide link. I didn't know it existed. This is a great resource! Ok, the only thing I'm a little confused about is the source and destination params. After playing with the...
  17. Replies
    9
    Views
    762

    Re: add a lot of items to listview *quickly*

    I am using a multidimensional array. It's 700 by 765, so the max is 535500, but it can be lower. I haven't run into any overflows yet, but i know it's close.

    the scrollbar idea is a good one. I'll...
  18. Replies
    28
    Views
    3,937

    Re: capture and compare images

    ok Im looking through the mouseUp event. Why do you divide the x and y value by Tx and Ty (which is Screen.TwipsPerPixelX & Screen.TwipsPerPixelY respectively)
    ...
  19. Replies
    9
    Views
    762

    Re: add a lot of items to listview *quickly*

    ok wow :eek2: just adding this line of code increased the speed a crazy amount!!

    If i Mod 10000 = 0 Then DoEvents
    THANKS! Unfortunately, it was only quick when I wasn't adding the items to the...
  20. Replies
    9
    Views
    762

    Re: add a lot of items to listview *quickly*

    this program not something that any user will be using other than myself. A bit of a personal project/challenge. And aside from that, I won't need to to browse the list very much. It will first list...
  21. Re: Autocomplete from within an unbound grid in VB6?

    well here is some code to add autocomplete to a textbox or combobox, so maybe you can try to manipulate it to fit into the flexgrid.

    http://www.vbforums.com/showthread.php?t=303055

    EDIT:
    You...
  22. Replies
    9
    Views
    762

    add a lot of items to listview *quickly*

    I am running a loop through about 500,000+ items and add the items to an array. I would like to add the items to a ListView at the same time, but the problem is it takes WAY too long. It also takes...
  23. Replies
    2
    Views
    417

    Re: hotkey for vb program when not active

    thanks triggernum, I'll try this out
  24. Replies
    28
    Views
    3,937

    Re: capture and compare images

    sorry didn't see the above post until after I posted
  25. Replies
    7
    Views
    1,089

    Re: Read/Write MYSQL database?

    it IS possible to connect to a MySQL server thru vb. BUT you should REALLY search the forums as this has to be probably one of the most discussed topics here.

    THere MAY only be one setback for...
  26. Replies
    3
    Views
    3,266

    Re: "Connection is forcefully rejected"

    it seems like this is a Winsock error. it could be either a firewall issue. Maybe you can get some ideas from this thread:

    http://vbforums.com/showthread.php?t=307113
  27. Replies
    6
    Views
    482

    Re: Adding Records And Code To The ListBox

    well do you just want to add the Car + Model to the listbox? How will you store the other values (miles, number, reg no., price)?
  28. Thread: E-Mail

    by adamm83
    Replies
    1
    Views
    368

    Re: E-Mail

    Check out the code in this link:
    http://www.example-code.com/vb/vbSimpleSend.asp

    ALTERNATIVELY Since the smtp address could be different depending on which computer you are on (if you are...
  29. Replies
    2
    Views
    417

    hotkey for vb program when not active

    Ok, I've done a bit of research, but haven't been able to find much. I need to be able to create a hotkey for my program that will run a function when pressed.

    Basically, the program minimizes and...
  30. Replies
    6
    Views
    482

    Re: Adding Records And Code To The ListBox

    I would suggest you use a ListView object instead of Listbox? Just add the Microsoft Windows Common Control 6.0 (SP6) component to your project. THis way you can store all the values into your...
  31. Replies
    28
    Views
    3,937

    Re: capture and compare images

    I've found a couple other example apps (here and here) that do the same as yours, but I'm just looking for a simple solution that will output a section that I specify. I don't need the ability to...
  32. Replies
    28
    Views
    3,937

    capture and compare images

    is there a way to grab a screen capture of a specific section of the screen and compare it to another image. And if the image is identical, it would prompt something.
  33. Re: random coordinates without duplicates

    leinad31,
    I have a question about your code. You have no check to see if the index was already chosen. So in theory, couldn't it just continuously swap index 1 and 2 until it reaches 100? (obviously...
  34. Re: random coordinates without duplicates

    This makes a lot of sense! I used orwell's code and it takes about 6 seconds to randomly generate approx 380,000 coordinates, but I DO notice that at the very end about 98-100% it takes slightly...
  35. Re: random coordinates without duplicates

    any idea how to get the length of a multidimensional array?
  36. Re: random coordinates without duplicates

    I figured out the problem. I could not use variables in the original declaration of the array. I had to redim the array within the sub-routine.

    I had another question. Since the array is dynamic...
  37. Re: random coordinates without duplicates

    I declared the array like this:

    Dim Coord(xStart To xEnd, yStart To yEnd) As Boolean

    and i this error:
    "Constant expression required"

    Any ideas? The xStart, xEnd, yStart, yEnd variables are...
  38. Re: random coordinates without duplicates

    is there a 999 limit or did you just use 999 as an example?
  39. Re: random coordinates without duplicates

    What about the multidimensional array?


    no, otherwise I wouldn't need it to be random. I'm just fooling around, trying to make something for myself
  40. Re: random coordinates without duplicates

    Hey thanks. That's a good idea!!


    I did specify how many coordinates. I said "all the possible coordinates". SO I would assume all the possibilities would be 100 * 100, correct?

    Also, how...
Results 1 to 40 of 183
Page 1 of 5 1 2 3 4



Featured


Click Here to Expand Forum to Full Width