Recent content by digitaldrew

  1. D

    Question Adding Items From 1 RichTextBox into Different Arrays

    Thanks for the replies everyone! I'm trying to setup and use a queue like jmcilhinney recommended. Will update how it goes!
  2. D

    Question Adding Items From 1 RichTextBox into Different Arrays

    I've been struggling to figure out how to do this and hope someone can help. Here is my scenario... I have a RichTextBox with multiple items inside and the number of items may vary from one day to the next. I also have the option to run my program on either 1, 2 or 3 different threads (each...
  3. D

    Question Issue with JSON POST using WebClient

    Thanks for your reply John! The API I'm working with doesn't specify the type of encoding to use. I tried setting the encoding to UTF8 as you suggested, but still the same issue (500 Internal Server Error).. Think I might have to contact them and see if they have any suggestions.
  4. D

    Question Issue with JSON POST using WebClient

    I don't know if this will be much help, but they put a small example on this page which uses the same endpoint as my initial GET (/authenticated) and they include a few other things in their header (although they never specify it's required)..Here is what theirs looks like: X-Auth-Reseller...
  5. D

    Question Issue with JSON POST using WebClient

    I'm messing around with an API that uses JSON, but can't seem to make it POST properly. This particular API authenticates my account using three pieces of information which must be passed in the header. The service offers a basic endpoint you can GET to make sure your information is being passed...
  6. D

    Resolved Strange Characters in POST WebRequest Response

    Thanks JohnH. The postdata worked both ways once I changed the StreamReader like you suggested. This is resolved now
  7. D

    Resolved Strange Characters in POST WebRequest Response

    Thanks for your reply John! Do I only need to specify the enocding in the streamreader, or in the bytearray as well? Should I change both of these: Dim byteArray As Byte() = Encoding.GetEncoding("gb2312").GetBytes(postData) Dim reader As New StreamReader(dataStream1...
  8. D

    Resolved Strange Characters in POST WebRequest Response

    I'm posting a JSON web request and the everything seems to go through properly, but part of the response contains strange characters. I've tried a few different things, like changing the ContentType, but it hasn't fixed the issue. For what it's worth, the host I'm connecting to states "The...
  9. D

    Question Sorting a List in a RichTextBox by the Date Inside

    I'm wanting to do something, but not really sure if this can be done or how it can be done... I have a list like this: example0 2010 example1 1999 example2 2006 example3 1989 example4 2014 and I would like to arrange the list using the date at the end. So, it should be like this: example3...
  10. D

    Question Passing a Certificate with SSLstream

    Still been messing with this. After speaking to one of their support guys and doing a bit more research online, I think I've made some more progress. However, the response I get is still blank.. I previously mentioned the CRT and KEY files needed to be together. I was taking these and trying to...
  11. D

    Question Passing a Certificate with SSLstream

    Just an update..It appears I can get to the exact same spot with the exact same error even when trying a CER file I know will not match the one I have uploaded to the server. So, I'm either still not getting connected, or doing something else wrong. But, it doesn't appear the spot I'm at now has...
  12. D

    Question Passing a Certificate with SSLstream

    Thanks for taking the time to reply JohnH! I've been messing with this more over the last few hours and have gradually made it further and further. Here's an update to where I'm at now.. First, it appears their firewall had not updated with my whitelisted IP address which was the cause behind...
  13. D

    Question Passing a Certificate with SSLstream

    Thanks for your reply jmcilhinney! I've done some more searching and made some additional changes.. First, I found that the CRT file needed to be CER and needed to be converted to DER. I converted my certificate over to DER using a website online and then renamed it from .der to .cer in DOS. I...
  14. D

    Question Passing a Certificate with SSLstream

    Just an update, I've also tried changing the location to "C:\\Test\\FIcert.crt" but still receive the same error..
  15. D

    Question Passing a Certificate with SSLstream

    Hey everyone, I'm trying to connect with a service through their EPP server on port 700. The service required me to go out and purchase a certificate. They told me I then had to upload the "public" certificate into my user account (which I did) and then pass the "private" key when making a...
Top Bottom