dcsimg

Search:

Type: Posts; User: Resurrected

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    1,951

    Re: Copy parts from a byte array?

    Wuhh.. CopyMemory API. I know that one. It's a bit tricky. I am looking for something a little more stable. Something that's better than looping through the array and copy each element one by one ......
  2. Replies
    13
    Views
    1,951

    Copy parts from a byte array?

    Is there something like Mid$, which can copy parts from a string, for byte arrays?
  3. Need help with algorithm to obtain a complete html element

    For simple html text without nested elements, one can simply use regular expression, i.e.

    <ElementName[^>]*>[\s\S]*?</ElementName>

    But it will not work for more complex html, i.e.
    ...
  4. Re: vbRichclient-WebKit not able to receive any events

    Thank you, Olaf. We look forward to your FullTextSearch-Demo, and IIS-Debugging-Demo.
  5. Re: vbRichclient-WebKit not able to receive any events

    That thread is here .. And Olaf seems to have forgotten posting his demo, where he uses cwVList and its ownerdrawn methods, instead of a cwBrowser widget. Anyway, it's still much easier to format...
  6. Re: vbRichclient-WebKit not able to receive any events

    I know ... Actually I presume he suggested that in another thread of mine. :p The point is, I am not going to use a full featured browser. I am just trying to take advantage of its rendering power....
  7. Re: vbRichclient-WebKit not able to receive any events

    Yes, it's kind of a tool that helps me find English-Chinese sentence pairs. Those translations are very reliable since they are all from dictionaries. Unlike other dictionary programs, I can instead...
  8. vbRichclient-WebKit not able to receive any events

    150135

    I wish to receive the events when the user clicks on the texts in the middle area, which is a cwBrowser widget. However, when I browse through the object viewer for events fired by...
  9. Re: vbRichClient ImageList.AddImage script out of range

    Yes, I did. Not completely and in all detail though. I did it for several times. Some of the examples are quite "deep" at least to me. Now I refer to both your Cairo tutorial and those on the Cairo...
  10. Re: vbRichClient ImageList.AddImage script out of range

    Yes. This is the root of the "script out of range" problem.



    Now I already use a similar method, loading and processing one at a time. I didn't expect that several Camera JPGs would already...
  11. vbRichClient ImageList.AddImage script out of range

    I have an error in the red line. It seems that if I read too many images, this error will randomly occur. I guess it's because there is a limitation somewhere for the size of ImageList, but saying...
  12. Re: vbRichclient.Cairo quality loss in reading and saving to JPG file

    Thank you, Olaf. I will consider your advice. For now I will try to minimize JPG encoding operations, or simply switch to PNG file formats.

    By the way, .WriteContentToPDFFile and...
  13. Re: vbRichclient.Cairo quality loss in reading and saving to JPG file

    In my daily work, I deal with a lot of images. The majority the work is to resize and frame them. But sometimes, I need to "deframe" them, removing the frame. That is, to cover the areas around the...
  14. vbRichclient.Cairo quality loss in reading and saving to JPG file

    Original Image:


    148751



    After reading from file and writing to file, for around 10~20 times:
  15. Replies
    7
    Views
    1,028

    How to send files to an HTTP server?

    I have a number of image files on my local hard-drive, and I want to store them on my web server. I want to do it automatically, with a VB6 program sending them, and receiving response containing...
  16. Re: How to Run My Program Send Mail Automatically

    You might want to check out this thread.

    http://www.vbforums.com/showthread.php?845853-COM-Library-for-sending-mails-via-SMTP
  17. Replies
    20
    Views
    1,998

    Re: Need help with school project

    Here is what's shown on my computer:

    147051
  18. Re: vbRichClient Cairo - How to get a clipping like this

    That helps:p
  19. Re: vbRichClient Cairo - How to get a clipping like this

    There is a method Cairo objects:


    Sub ColorSplit(Color As Long, [R As Double], [G As Double], [B As Double], [Shade As Double = 1], [b_R As Byte], [b_G As Byte], [b_B As Byte])

    I can't get...
  20. Re: vbRichClient Cairo - How to get a clipping like this

    The following are two helper functions I use to determine match of a pixel:


    Public Function IsColorMatched(lColor As Long, R As Long, G As Long, B As Long, Optional Approx As Long = 0) As...
  21. Re: vbRichClient Cairo - How to get a clipping like this

    Olaf. You almost did the job for me ...again


    Private Sub FindBoundingRect(Srf As cCairoSurface, x1, y1, x2, y2, Optional ByVal Margin As Long)
    Dim PCmp As Long, Pxls() As Long, x As Long, y As...
  22. Re: vbRichClient Cairo - How to get a clipping like this

    Thank you so much for putting out the code. It isn't what I really meant, though ...




    Thanks for clearing things up. My bad English. :(
  23. vbRichClient Cairo - How to get a clipping like this

    146935

    Basically if I have the 4 coordinates marked in blue, the problem will just be solved, but I don't know how. I can't find much useful information in the object viewer...
  24. Replies
    11
    Views
    1,001

    Re: COM Library for sending mails via SMTP?

    Guys. Sorry for the late reply.



    Nope. Not in this case. But I'd like to learn about the RC5-(socket-based) Communication-Classes. :p
  25. Replies
    11
    Views
    1,001

    COM Library for sending mails via SMTP?

    Is there any utilities one can make use immediately to send emails via SMTP? Close source, or open source, doesn't matter.

    Any suggestions?
  26. Replies
    19
    Views
    1,486

    Re: Is Collection a COM class?

    Yes. It's just that we can write code as if all we are dealing with are classes. The dot(.) operator means differently when we apply it to, i.e., StandardModule.FunctionName, Class.MethodName, or...
  27. Replies
    19
    Views
    1,486

    Re: Is Collection a COM class?

    The COM-Object's lifespan is managed automatically by AddRef and Release. So when it goes out of scope (referrence count gets to 0), the self-destruction code is called. However one might argue the...
  28. Replies
    19
    Views
    1,486

    Re: Is Collection a COM class?

    I think Olaf has provided a good explanation why Collection is a COM-Class, since it can of course be late-bound, used in this way:


    Public Sub CollectionLateBound()
    Dim Col As Object
    ...
  29. Replies
    19
    Views
    1,486

    Re: Is Collection a COM class?

    Yeah I think I have read somewhere that every object in VB6 is a COM object. However someone argued that it was not. I couldn't prove him wrong.
  30. Re: vbRichClient: Error in using cArrayList of user defined type.

    Well in my class module I have:


    Private Type tpComponent
    Text As String
    Length As Long
    Position As Long
    Parent As Long
    End Type
  31. vbRichClient: Error in using cArrayList of user defined type.

    145071
  32. Replies
    19
    Views
    1,486

    Is Collection a COM class?

    Is the VBA.Collection a COM class? If it is, why?
  33. Re: looking to hire best vb6 coder on this forum

    I don't know how coders are paid in America or other countries. But in my country, the average pay, I presume, is around US$1200~1400 per month. That is, working 8 hours a day with occasional...
  34. Re: vbRichClient5 SQLite Database Definition & Creation Helper Classes

    Great work there. It will be very useful. I work with SQLite now every day.
  35. Re: vbRichclient library, cwTextbox not working properly after cwBrowser gets focus

    I am not familiar with those concepts such as Hwnd-based, ownerdraw, local-cross links, and VLists. Could you explain a little about that? Or just name any books or places so I can learn by myself.
  36. Re: vbRichclient library, cwTextbox not working properly after cwBrowser gets focus

    It will be very nice to have this demo in the code bank, and we'd like as much resource as possible regarding this topic as well. How many demos do you have in stock, by the way:D
  37. Re: vbRichclient library, cwTextbox not working properly after cwBrowser gets focus

    Although I now put the cwBrowser widget on a different panel, it still steals the focus away from my cwTextbox. I have solved the problem by supplying the following code:

    Disable it before...
  38. Re: vbRichclient library, cwTextbox not working properly after cwBrowser gets focus

    I managed to put a cwBrowser on a cWidgeForm already.

    144719

    Is there a way to limit the menu options to "copy" only?
  39. Re: vbRichclient library, cwTextbox not working properly after cwBrowser gets focus

    Thanks for the information.

    I thought it was probably "meant to be the single widget" as well. I will try panels later. Hope the tutorial already covers everything. :p

    Now I am doing this...
  40. vbRichclient library, cwTextbox not working properly after cwBrowser gets focus

    Just before this happened I used two cwTextboxes on a Widgetform. Things worked okay. Then I needed a little more formatting with the text shown, so I replaced one cwTextBox with cwBrowser. So I can...
Results 1 to 40 of 92
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width