Search results for query: *

  1. D

    Question CURL request in VB.net

    I'm trying to send a CURL request, but appear to be having some issues with my header and hope someone can help... curl -u 'myusername-test:1815dff0d321430378567bc84963ecd06f71d10f' 'https://api.dev.thewebsite.com/v4/domains' -X POST -H 'Content-Type: application/json' --data...
  2. D

    Resolved Question About While/Do While Loop

    I want my program to start as close to 13:00:00.000 as possible. To achieve this, I setup a basic while loop.. Dim time As DateTime = DateTime.Now While time.ToString("HH:mm:ss.fff") <= txtStartTime.Text.Trim time = DateTime.Now...
  3. D

    Question Issue Getting XML Element With Namespaces

    Hey everyone, I'm trying get the "<reason>" InnerText from the XML below, but have not been having any luck. The XML has multiple namespaces in it... <?xml version="1.0" encoding="UTF-8"?> <epp xmlns:fury="urn:ietf:params:xml:ns:fury-2.0" xmlns:fury-rgp="urn:ietf:params:xml:ns:fury-rgp-1.0"...
  4. D

    Question Issue with SSLStream Responses

    I'm having a strange issue with SSLstream which I haven't experienced before... I connect to this server by sending a greeting request first, getting the greeting response, then sending my login request with credentials, and finally reading my login request to make sure I have logged in...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. D

    Question Threading Provides Duplicates in ListView

    Hey everyone, I really hope someone can help me since I've been struggling to get this. Here's what I'm trying to do.. I have a list of items that I want to put into a queue and then process using either multiple threads or actions. Once I've processed the item I then want to add it along with...
  11. D

    Question Having problems with RegEx

    I have a page I'm trying to go through and get a bunch of URL's from. There are about 50 URLs that match my regex code and my regex seams to work properly, but for some reason does not get every URL inside the content. Out of the entire page it only pulls 2 (the first one from each section)...
  12. D

    Question Display Date & Time Issue

    I have a scheduler in my program which can be enabled to kick off the series of events at a later time. When the scheduler is enabled and the program is started I'd like to post 2 things into the log, the amount of time its scheduled to run and the amount of time before the software kicks off...
  13. D

    Question Problem with Reading XML

    Hey everyone. I hope I can get some help here since I'm not really sure if I am doing this the right way. I am sending a request that includes 4 domains which I would like to check the availability of. The response I receive (below) contains each domain with different responses that may be...
  14. D

    Question Connect to EPP Server using x.509 Certificate?

    Hey everyone. I need to connect to an EPP server using TCP/SSL, and also pass an x.509 certificate which is required to establish an authenticated and encrypted communications channel between my software and the registry. I've got no problems connecting with TCPStream and SSLStream as you can...
  15. D

    Question Increment or Rename Each Instance of my Program

    Is it possible for me to automatically increment (or completely rename) each instance of my program which is opened and shown in the taskbar? For example...A user wants to open 3 separate instances of my program. If he does right now all three instances will just show "Widget Program" when...
  16. D

    Question Help with x.509 Certificate and TCPClient/SSLstream

    I started a project not too long ago which I thought would be fairly simple to do since I had done others just like it in the past. However, this one has turned out to be a little bit more complicated. Still, I'd love to figure it out in case I'm ever presented with it again in the future. I...
  17. D

    Question Question Regarding SSLstream and Certificate Error

    Hopefully someone can explain this to me a little further.. I'm trying to establish a TCP connection using SSLstream, but constantly receive a certificate error: Authentication failed because the remote party has closed the transport stream I know the server uses SSL, but I've never really...
  18. D

    Question Client/SSLstream - Waiting for the Response

    Hey everyone.. I'm having a bit of an issue with my TCP Client/SSLstream where on occasion I will get a "reference is not set to an instance of an object" error. I've looked over my request and it doesn't seam to be missing anything, so I've come to believe this issue is coming from the response...
  19. D

    Question Issue With Looping Through an Array

    I've got a richtextbox which will have different amounts of items in it. Sometime it may have 6, sometimes it may have 12..etc. I've taken all those items and put them into one array which we'll call Array1. What I want to do now is take 10 items from that array and put them into a separate...
  20. D

    Question Root element is missing

    I'm having some troubles passing XML through TCP/IP. I've tried doing this two ways and both times I get "Root element is missing" Here is the XML I am trying to pass: At first I thought I would try building the XML and then passing it..so I just created each of the elements and attributes...
Back
Top