Search results

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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)...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. D

    Question Exporting Sorted ListView to CSV

    Hello everyone.. I have a listview with a variety of columns in it along with the option to export everything to CSV. The list fills up just fine and exporting it to CSV previously worked fine, until I added the ability to Sort the colums. Now, anytime a column is clicked (displaying a "<" or...
  18. D

    Question Abort/Kill Thread (While Connected to Proxy)

    Hey everyone, hope I can get some ideas here! I've tried a few different things with this but haven't had much luck thus far....Here's what I'm trying to do. I've got multiple threads which goes through a list of proxy servers and tests them. Anytime I press the Stop button it seams to abort...
  19. D

    Question Weird Null Exception

    Hey everyone. I have a program which does some basic proxy testing using multiple threads. Each proxy is put into the queue and then pulled to be tested. For some reason I occasionally get a "NullReference Exception" was unhandled error. I've tried doing a number of things with the code (IsNot...
  20. D

    Question Surpressing Script Errors in WebBrowser - Not Working

    Hey everyone..I know this is a common problem within the web browser. I'm having a problem getting the javascript windows from appearing within a program I'm writing. You can see in the image below. I've tried setting webbrowser.scripterrorssuppressed to True, but it still comes up. Any other...
Top Bottom