Search:

Type: Posts; User: stephenpark

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    5,757

    Add event handler for outside DLL?

    Hi, I got many helps from here however I could not provide many help to others 'cause I'm very newbie.
    Here is the problem. I know how can I set custom event handler from local form and others.

    I...
  2. VS 2013 InvalidOperationException with GetHdc method when resize image

    Hi everyone,

    I'm confused and frustrate with this exception error.
    I made a function which resize original image and to copy new image.
    This function called from thread, and there is exception...
  3. VS 2013 Re: Image from HttpWebResponse makes Argument exception error

    You can use this url:

    http://commaxmall.iptime.org:9080/cgi-bin/fwcamimg.cgi?FwModId=0&PortId=1&FwCgiVer=0x0001

    You can use this exact url on the code. With internet explorer, you can see...
  4. VS 2013 Re: Image from HttpWebResponse makes Argument exception error

    Thanks for your interest, Frek.
    However, another two arguments from FromStream(response.GetResponsStream, True, True) does not
    do anything. I've tried it already.
    Even I make FileStream, using...
  5. VS 2013 Image from HttpWebResponse makes Argument exception error

    Hi, I'm trying to get single image stream from IP camera, and it works with other cameras
    and using web browser, image displayed correctly but not with my code.
    This is my code:



    Private Sub...
  6. VS 2013 Multi TCP connection thread via single function, only work last connected TCP

    Hi everyone,

    I'm trying to control 2 different device which normaly control via serial port, but instead I use TCP-serial
    converter because device is installed at far point. TCP-serial converter...
  7. VS 2012 Re: DocumentText property of WebBrowser control not change

    Thanks for your reply TnTinMN,
    However it doesn't change situation.
    The thing is, WebBrowser control which created at design time on main form, it doesn't need
    to set url or anything. Just put...
  8. VS 2012 DocumentText property of WebBrowser control not change

    Hi, every experts!

    I have an issue that my program's WebBrowser Control doesn't accept DocumentText property change
    to what I set to.
    Actually, WebBrowser control which I put on main UI from...
  9. VS 2012 Re: PrintableArea does not set proper size according to paper orientation

    It looks like nobody has interest, or nobody knows what exact solution is.

    Ok, I got solution from MSDN forum.

    DefaultPageSettings.PrintableArea.Width and .Height always show the paper's...
  10. VS 2012 [RESOLVED] PrintableArea does not set proper size according to paper orientation

    Hi, good to see you guys again. I have weird issue concerning PrintPreViewControl.

    I'm trying to make document preview form by using PrintPreviewContol and PrintDocument.
    I don't like using...
  11. VS 2012 Re: Transparent color become black after rebuild image from array.. help!

    Thanks for your reply passel. You've answered my questions a lot!
    I understand that your point of send strem and receive stream directly will not lost anything.
    However, my code, I've converted...
  12. VS 2012 Re: Transparent color become black after rebuild image from array.. help!

    Thanks for your reply!
    I just use convert image to byte array by using memorystrem.
    Can you tell me just simple example for encoding and decoding?
    And if I don't use any graphic image with alpha...
  13. VS 2012 Transparent color become black after rebuild image from array.. help!

    Hi all,

    Now I got weird problem which makes me headache.
    I have image on the PictureBox, and I've converted to memory stream and byte array as usual.
    And send this to the other end via TCP, and...
  14. VS 2012 Re: String Array to Byte Array conversion

    Thanks for all great answers and stuff, always learn something more from here.
    I stick with for..next loop converting Hex string to byte array, it is most simple and speed efective, can not find...
  15. VS 2012 Re: String Array to Byte Array conversion

    Because I have to decice which one get more advantage.

    As you know, if I leave - (between bytes), it is same as "," delimiter, so it will doubled network burden.
    I have to compare both side -...
  16. VS 2012 Re: String Array to Byte Array conversion

    I found how can I convert stream byte array to hexcode string;



    Dim ms = New MemoryStream()
    img.Save(ms, Imaging.ImageFormat.Jpeg) ' Use appropriate format here
    Dim...
  17. VS 2012 Re: String Array to Byte Array conversion

    Thank you for your reply, passel.
    I finally success how to rebuild byte array from comma delimited string which came from originally byte array.


    Dim msg as String = ""
    Dim bts as Byte =...
  18. VS 2012 Re: String Array to Byte Array conversion

    Thanks for your suggestion.
    I know that it is not text, but I want explain that my protocol is based on "string" and sure it is all send and receive as "byte".
    Yes it is true that I don't want...
  19. VS 2012 Re: String Array to Byte Array conversion

    Ok, Thanks for all the reply.

    I have to explain that why I have to use text base image send and receive.

    This is basically what I have to do for my project.

    119165

    So, All clients can...
  20. VS 2012 [RESOLVED] String Array to Byte Array conversion

    Hi, I have array converting problem which is in use of Image processing unit.

    I got a PictureBox image convert to byte array.


    Dim img as image = Picturebox1.Image
    Dim ms = New MemoryStream()...
  21. Replies
    1
    Views
    2,638

    VS 2012 RTF format string with FireBird, for TIP

    Hi,

    I'm always got a help from this forum, and I had a problem with by Firebird DB with
    RichtextBox's RTF text which include formatting attributes such as font, size, colours.
    I'd serached all...
  22. VS 2012 Re: How to Synchronize Listbox and Trackbar?

    Yeah, you are definately right, peter.
    I also couldn't find any event for up/down button of listbox.
    So, there is no way to synchronize data from listbox to trackbar in case of only use up/down...
  23. VS 2012 Re: How to Synchronize Listbox and Trackbar?

    It was just simple question.
    There is 2 controls on the form, TrackBar and ListBox.

    Trackbar has minimum value 1 to maximum value 5.
    Listbox has 1,2,3,4,5 index items.

    When use trackbar to...
  24. VS 2012 [RESOLVED] How to Synchronize Listbox and Trackbar?

    Hi, today I have very simple question, I couldn't done it by myself though.
    I couldn't find a way to synchronize listbox and trackbar value.

    I did success synchronize trackbar to listbox, it is...
  25. VS 2012 Re: TCP server side diconnected by accident, how reconnect that after server run agai

    Yeah you are right. After digging around, I finally change parts of my code like these;

    This is connection procedure.
    I strike out all Thread.Sleep because it will do at main thread by...
  26. VS 2012 Re: Multi TCPClient in same PC to multi servers in same PC

    Maybe you think that I use only one server instance...
    Main server thread is always open with clients for only protocol base communication, and they
    communicate all the time.
    My base idea is,...
  27. VS 2012 Re: TCP server side diconnected by accident, how reconnect that after server run agai

    Ah, there is many things that I've striked out because no reason to show every detailed codes
    in RunClient()...
    Anyway thanks for your comment. I've been very busy all day for figure it out, and...
  28. VS 2012 TCP server side diconnected by accident, how reconnect that after server run again?

    Hi,

    Last couple of days I had real headache for client reconnection method after server disconnected
    and connected again.
    Thing is that server does not just close, it disconnected phsycally by...
  29. VS 2012 Re: Multi TCPClient in same PC to multi servers in same PC

    Ah, I haven't check that dynamic way to do it.
    If I use this method, I think that I can use this way;

    1. Server run main server thread.
    2. Clients run main clients thread.
    3. When Client need...
  30. VS 2012 Re: Multi TCPClient in same PC to multi servers in same PC

    It means that I have to do with first way which I explained in my question..?
    But easy way to do is make all connecton with predefined port number before start.
    i.e. iD 101 client only use port...
  31. VS 2012 [RESOLVED] Multi TCPClient in same PC to multi servers in same PC

    Hi, now I'm developing multi-image processing server-client program.

    Base is, one pc has TCP/UDP connection clients, each has uinque ID by property tag, and all these
    clients running by...
  32. VS 2012 Re: How to add controls from thread to main form?

    to TnTinMN : Thanks for your reply and Invoke method.
    I finaly put all pictureboexs to main from and call by delegate to change it's image and all other stuff from thread.

    to...
  33. VS 2012 [RESOLVED] How to add controls from thread to main form?

    Hi, I'm really newbie here.
    Now I'm trying to develop multiple video control program, which contains couple of pictureboxs which
    show the IP video stream, and buttons which capture the pictures...
Results 1 to 33 of 33



Click Here to Expand Forum to Full Width