Search:
Type: Posts; User: AshBrennan
Search:
Search took 0.18 seconds.
-
March 8th, 2010, 09:43 AM
Hey all
Well I've got the basis of using single threads to process a piece of logic within my code, however I'm not certain about the threadpool. Below is a pseudo style example of what I'd like...
-
February 19th, 2010, 02:00 PM
Hey all
Well I've started threading for the first time, and it has been pretty easy so far, however I've moved on to the threadpool and I'd really like some advice.
Basically I want to use...
-
February 13th, 2010, 01:24 PM
Hey all
Well I've written the following piece of code, essentially it finds a URI within a big string of tags and such, and next the domain name e.g. codeguru is grabbed, although both dots are...
-
January 31st, 2010, 10:10 AM
Hey all
Well I manage to get this working, although I think my solution is mostly likely not the best, and there is probably a better way to do this. Basically I was trying to pass paramaters...
-
January 31st, 2010, 09:52 AM
This easy |---------------|
In all serious, it will vary on if the person has had previous experience with programming, from a language and syntax perspective, I'd say moderately easy, however I...
-
January 28th, 2010, 05:52 PM
Hey all.
I'm really trying to get my head around delegate events, essentially I want to do some processing in a class, and I want a form control to subscribe to my delegate event to display the...
-
January 19th, 2010, 05:24 PM
Hey all
Basically I've almost finished writing a trivial backup application, and I'm planning to add it to windows boot list via the registry, startup folder etc. However I have no idea how I'm...
-
August 21st, 2009, 01:59 PM
Yeah definitely, and the time won't make much difference, I just wasn't sure how big on an impact it would have :).
-
August 21st, 2009, 01:07 PM
That's awesome, but I'm going to be doing this many many times over, wouldn't creating a new instance of the class over and over be bad performance wise?
-
August 21st, 2009, 12:11 PM
Hey everyone
Basically I'm going to be looping through several thousand URI's (URL's), and I only need to extract the domain name for example:
http://www.website.com/category/somepage.html...
-
August 20th, 2009, 09:45 AM
Well you you use the WebClient.DownloadString method to download all the source code, then simply display the content in a web browser control within your project.
If you just want to extract the...
-
August 17th, 2009, 11:55 AM
Okay basically I want to find out which control has called a method, so I use
private void Test(object sender)
{
string s = sender.ToString();
...
-
August 17th, 2009, 11:51 AM
const string htmlTag = @"<div>(.*?)</div>";
Make sure to include a reference to System.Text.RegularExpressions
-
August 16th, 2009, 04:56 PM
Thanks for the explanation & example Salbrismind. I've just spend about 15 minutes re-reading and reading up more on static decelerations and I understand what you're saying, cheers.
-
August 16th, 2009, 11:07 AM
Hey all
So another question I'd appreciate some info on. Basically lets say I have several class within my project, however one of my class needs to interact with another class via acessing a...
-
August 12th, 2009, 06:30 PM
Yeah my bad, when first trying this I used a breakpoint and saw 3 records in domainList, I didn't notice there all the same records.
-
August 12th, 2009, 05:32 PM
Hey thanks for the replies, okay here's kinda what I want to do, note this is a very simple example
public partial class Form1 : Form
{
MyDomain Domain = new MyDomain();
...
-
August 11th, 2009, 07:07 PM
-
August 11th, 2009, 07:05 PM
Hey
Sorry to ask such as newbie question, however despite my best efforts, I haven't been able to find examples on this. I use generic lists of <T> quite a lot, as I love the numerous benefits...
-
August 11th, 2009, 06:56 PM
Yeah Arjay that's exactly what I tried first time, I've even create a new project and yet HttpUtility isn't recognised, weird.
-
August 11th, 2009, 06:51 PM
Well you'll be wanting to use the WebClient class, although if I'm correct it's really just a wrapper for common objects for the http classes. Anyway look into using the NetworkCredential class which...
-
August 11th, 2009, 06:44 PM
Thanks for the tip, however I can't find any reference to the Server class, I've tried:
HttpContext.Current.Server.UrlEncode
System.Web.Server.UrlEncode
It seems it's only for ASP.NET and not...
-
August 11th, 2009, 03:09 PM
Thanks Arjay, that's the advice I was looking for.
-
August 11th, 2009, 02:48 PM
Hey all
Okay basically I have the following code
WebClient getPages = new WebClient();
try
-
August 11th, 2009, 02:09 PM
Woot that regex example it really what I needed, I'd already tried a few expression, due to using them for various other things, but I couldn't get this one correct, thanks!
|
Click Here to Expand Forum to Full Width
|