Search:

Type: Posts; User: newman

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    4,484

    Re: Sending an AJAX post request with WebRequest

    Thanks! That was it! Working perfectly. Foolish of me for passing that string. Post rated!
    Regards,
  2. Replies
    2
    Views
    4,484

    Sending an AJAX post request with WebRequest

    Hello, I am trying to recrerate a AJAX POST request Vb. Now, I don't really know much about Ajax and so but I just want to send a simple post request and read back the response. I am used to sending...
  3. Replies
    20
    Views
    2,231

    Re: Issue with Foreign Languages & Textbox

    Have you tried setting the textbox font to a Unicode one? Give it a try with Arial Unicode MS (if it is not the default one).
  4. Thread: Click a button

    by newman
    Replies
    2
    Views
    4,581

    VS 2010 Re: Click a button

    Hi, have you tried searching by class name?
    Also would it be possible to share the site link? In case you do not mind so we can have a look at the source code.
  5. Replies
    13
    Views
    7,817

    Re: controlling wifi access from VB.Net

    1. It might work with the port listener idea however I am not sure how much you can achieve with that. IMO , I think you should keep searching for something more practical. Port 80 is used for HTTP....
  6. Replies
    13
    Views
    7,817

    Re: controlling wifi access from VB.Net

    This is really interesting. Let's hope you will not give up on this. Keep thinking and you will find something. Everything can be done. Meanwhile here are some ideas. I think that your best option...
  7. Replies
    11
    Views
    3,044

    VS 2010 Re: [RESOLVED] Getting the Unicode ID from HEX

    EDIT: The solution was quite simple.
    Replaced this:

    Dim encText As New System.Text.UTF8Encoding() with this:
    Dim encText As Encoding = Encoding.GetEncoding("shift_jis")

    And the line...
  8. Replies
    11
    Views
    3,044

    VS 2010 Re: [RESOLVED] Getting the Unicode ID from HEX

    Thank you so much, it works PERFECTLY!!! At last , it was solved, the fact that I had to work was a nightware for me. You might be getting old you are also getting better :D . On a side note, to...
  9. Replies
    11
    Views
    3,044

    VS 2010 Re: [RESOLVED] Getting the Unicode ID from HEX

    Ok, just tried that, and it does not work well. I also took the liberty of making a change:

    i +=4 to
    i+=3

    Some of the Japanese chars were displayed well, others weren't sadly. As for ASCII...
  10. Replies
    11
    Views
    3,044

    VS 2010 Re: [RESOLVED] Getting the Unicode ID from HEX

    Sorry, I meant the bytes size.


    Dim lbfile As String = TextBox1.Text
    ' Button2.Enabled = True

    Dim fileBytes As Byte() = IO.File.ReadAllBytes(lbfile)

    For i = 0 To...
  11. Replies
    11
    Views
    3,044

    VS 2010 Re: [RESOLVED] Getting the Unicode ID from HEX

    Yes you are correct, I am having quite some problems and losing some string there. Here is what I am doing:
    1. Open a file via FS ,
    2. Scan through the bytes to find a pattern and after that...
  12. Replies
    7
    Views
    1,237

    VS 2010 Re: [Resolved] String to byte array help

    Great, thank you , you solved some big problems for me, which for you are nothing :p
    Best Regards,
  13. Replies
    7
    Views
    1,237

    VS 2010 Re: String to byte array help

    Ah, I see. Thank you for this, was more simple than I though. Question, what happens if the line does not contain "|"? Will it be ignored and the string will be converted to an array with any...
  14. Replies
    11
    Views
    3,044

    VS 2010 Re: Getting the Unicode ID from HEX

    Thank you again!! And yes, it worked just fine, he was the code I used in a For loop.


    Dim test1 As Byte() = {fileBytes(i + lb), fileBytes(i + lb + 1)}
    Dim enc As Encoding =...
  15. Replies
    7
    Views
    1,237

    VS 2010 Re: String to byte array help

    Hi, thank you for your answer.
    So the full code would be something like:


    dim str as string = "Hello|There"
    Dim encText As New System.Text.UTF8Encoding()
    Dim btText() As Byte
    btText =...
  16. Replies
    7
    Views
    1,237

    VS 2010 [Resolved] String to byte array help

    Hello.
    I wonder if someone here can help me with a small function that I want to do but I can't find a way for it although for someone with more experience it should be easy.

    What I want to do...
  17. Replies
    11
    Views
    3,044

    VS 2010 [RESOLVED] Getting the Unicode ID from HEX

    Hi everyone, I am coding something that has to do with Japanese strings. I have managed to make it read the bytes in the file and getting the character value in Hex. I them use Chrw() to make it...
  18. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    One more, question, would it be able to display Japanese chars?
    Does Chr() work only with English/latin letters?
    Cheers.
  19. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    OMG!!!! Thank YOU SOO much. Finally some success.
    Here is a screenshot:
    I have an question. Some string are in Japanese, How can we change the encoding so that Japanese chars are displayed?
    How...
  20. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    Thanks, man I apprecite your help, can you please take a look at this and at the comments?


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  21. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    Yep, you are right. I know that you wanted some else to step in but I would like your opinion on this. I am give all the control codes details and all you need. In theory , here is what we need to...
  22. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    Thank you for your answer, but that is not the problem, I know very well the idea of how it should be done, but I do not know how to do it in VB. The length is not always 6 , in fact check a bit...
  23. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    I do not see why. Ask me what you want to know, and I will explain it in detail.
    Cheers, and thanks for the reply.
  24. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    Yep, I have to work with bytes, to get the text, becuase there is no other way to find it, and it is very confusing for me.
    Thanks for your help.
    Cheers.
  25. Replies
    20
    Views
    1,717

    VS 2010 Re: Help on something small.

    Thanks for the reply. Hope this image helps clarify a bit.

    116389
  26. Replies
    20
    Views
    1,717

    VS 2010 Help on something small.

    Hello everyone, I am trying to do something "simple" but I need someone help. So to begin , here is the situation. I am not a pro at VB.Net but I can catch somethings( or at least I think so).

    Now...
  27. Replies
    2
    Views
    896

    VS 2010 Re: IMAPI2 Adding file help.

    Hi thanks for the reply , it is ok , now the question is do you have any suggestion on how to unpack the iso add the file and then recreate it with the same info and description?
    Thanks again for...
  28. Replies
    2
    Views
    896

    VS 2010 IMAPI2 Adding file help.

    Hi folks new , memebr here. :)

    I have VS 2010 , i do not do much things with Vb and sometimes forget something.

    Anyways here is my problem, i want to add and file to an ISO or other images that...
Results 1 to 28 of 28



Click Here to Expand Forum to Full Width