113 Posted Topics

Member Avatar for bojomojo

I would recommend using a list of greyhound, however you can do the following (assuming you are on a form) [CODE] Regex regex = new Regex(@"pictureBox(?<num>\d+)"); foreach( PictureBox pic in this.Controls.OfType<PictureBox>() ) { int pictureNumber = 0; int.TryParse( regex.Match( pic.Name ).Groups[ "num" ].Value , out pictureNumber ); Greyhound[ pictureNumber ] …

Member Avatar for PierlucSS
0
113
Member Avatar for octavia
Member Avatar for PierlucSS
0
292
Member Avatar for jellybeannn

the easier solution would be to use a WebBrowser and use it's documenttext property. You can then use the ie's print preview and print functionnalities. If you one to have a nice html formatting. You could use xml + xslt or HtmlAgilityPack ([url]http://htmlagilitypack.codeplex.com/[/url])

Member Avatar for PierlucSS
0
132
Member Avatar for buster2209

[QUOTE=buster2209;1311390]How can this be done? What about the Application.Exit() function? I am looking to execute some code when the user presses the 'x' at the top right of the screen[/QUOTE] [CODE] private void form1_FormClosing( object sender , FormClosingEventArgs e ) { //code }[/CODE] Dont forget to attach the event handler. …

Member Avatar for buster2209
0
100
Member Avatar for NH1

You forgot the '=' part after your left join on. You didn't not specify the key you want the field you want to join on both table. [code] SELECT Customers.FirstName, Customers.LastName, SUM(Sales.SaleAmount) AS SalesPerCustomer FROM Customers JOIN Sales ON Customers.CustomerID = Sales.CustomerID GROUP BY Customers.FirstName, Customers.LastName [/code]

Member Avatar for Geekitygeek
0
268
Member Avatar for Usmaan

I have to admit, that sometimes tutorials can be painful, because as you read it, there might by some other stuff you dont know, however, reading a C# book such as "Pro C# and the .NET 4.0 platform" would help you considerably. (Amazon are selling them cheap ^_^)

Member Avatar for Geekitygeek
0
130
Member Avatar for sam1

[QUOTE=sam1;1310184]Thanks for your reply. but if I store it in a database what happens when it comes to installation of the dictionary. how would i deploy the database part of it in another words[/QUOTE] An MSAccess database which have a .mkv file extensions, wouldn't need any special installation on the …

Member Avatar for PierlucSS
0
92
Member Avatar for mohankumar554

Each phone provider have an "email" address which goes like this: "xxxxxxxxxx@txt.bell.ca" for example. So you can simply send an email anonymously or with a response address.

Member Avatar for mohankumar554
-1
70
Member Avatar for valter
Member Avatar for PierlucSS
0
72
Member Avatar for robinettmw

[QUOTE=Ionelul;1297339]in the "Array" there is no field called "sortedByPrice" [code] var filteredByPrice = from b in Array where [B]b.sortedByPrice[/B] >= 10 orderby b.priceValue <= 20 //also, I'm not sure if this will work select new { b.PartNumber, b.quantityPrice, b.priceValue }; [/code] Ionut[/QUOTE] That's a valid point and is there any …

Member Avatar for alc6379
0
120
Member Avatar for GAME

You could simply create an xml that looks like this: [CODE] <cars> <car number="76705F6E736E5F736B796C696E" name="Skyline" /> [...] </cars>[/CODE] And then simply iterate over your car elements and break if found. [CODE]XDocument xdoc = XDocument.Load("cars.xml"); foreach(XElement x in xdoc.Descendants("car")) { if(x.Attribute("number").Value = Text) { txtType.Text = x.Attribute("name").Value; break; } } [/CODE]

Member Avatar for PierlucSS
0
108
Member Avatar for azfarhus

Have you tried to cast (WebServices.svcServerAdmin.MessageCountResult) in front of your response or did you look at the properties of the returned value.

Member Avatar for PierlucSS
0
150
Member Avatar for Nfurman

Create a custom events with custom eventargs. After each attempt to connect raise an event with a bool, representating failed/success. And the method bound to this event will do the appropriate action depending on the bool.

Member Avatar for Nfurman
0
941
Member Avatar for judithSampathwa

They way it works in .NET you can only use one folder at once and it will always exclude sub folders. You have to import each namespace ("folder") as you would import System.Xml and System.Xml.Linq. The difference between this and java (I guess this is what your referring to for …

Member Avatar for PierlucSS
0
587
Member Avatar for gidireich

I loved Expert's Voice Pro C# and the .NET 4.0 platform [url]http://www.amazon.ca/gp/product/1430225491/ref=s9_simvh_gw_p14_i2?pf_rd_m=A3DWYIK6Y9EEQB&pf_rd_s=center-2&pf_rd_r=0N802DZ95ANBD4JGHX8T&pf_rd_t=101&pf_rd_p=463383511&pf_rd_i=915398[/url] free shipping :)

Member Avatar for Zinderin
0
160
Member Avatar for prajaktaran

Well, if sql server cannot be installed on every machine in a company, it will most likely go to a server, and the software will connect to that server for information instead of on the local machine. Kind of the same way that when you browse a forum, you dont …

Member Avatar for arunkumars
0
113
Member Avatar for rajdey1

this might help you as well. [url]http://alt.pluralsight.com/wiki/default.aspx/Keith.GuideBook/HowToGetATokenForAUser.html[/url]

Member Avatar for PierlucSS
0
163
Member Avatar for trivedimca
Member Avatar for PierlucSS
0
224
Member Avatar for shankbond

Thank you for the article nick, really interesting, i didnt know these "must match but do not capture" operator, pretty awesome.

Member Avatar for shankbond
0
165
Member Avatar for PierlucSS

For the solution, I cannot use any postback methods, because this is all working through ajax. The solution need to be implemented in the asp.net code. I have a `List<WebPage>` that contains a list of Links `(List<Link>)` and I need for all the links to bind repetitive information such as …

Member Avatar for kad1r
0
217
Member Avatar for galrave

You will need to start with node of the C: drive and then call a recursive function that would receive in parameter a TreeNode (that will keep building after each recursive calls) and a DirectoryInfo. If the item in the directory is not a folder simply add it (supposing that …

Member Avatar for galrave
0
87
Member Avatar for Feanorith

What you need is double buffering. What happens is that each time you minimizer or drag something over your panel its automaticly repaint from the original state. What you have to do is, before designing it in your canvas, you need to save it a separate object that is not …

Member Avatar for Feanorith
0
145
Member Avatar for judithSampathwa

you could validate on ValueChanged of DateTimePicker. Simply go to your designer and add an event ValueChanged in the datetimepicker.

Member Avatar for pabloh007
0
730
Member Avatar for judithSampathwa

You can simply go into the event properties of the designer (little lightning) and map it to same method in the dropdownlist. or add something similar to designer code view: [code] this.lbReports.SelectedIndexChanged += new System.EventHandler( this.lbReports_DoubleClick ); this.lbReports.BindingContextChanged += new System.EventHandler( this.lbReports_DoubleClick ); [/code]

Member Avatar for judithSampathwa
0
276
Member Avatar for ajwei810192

All depends on what you want to search in the xml file, could your provide a short sample of what your xml looks like?

Member Avatar for ajwei810192
0
542
Member Avatar for kdcorp87
Member Avatar for kdcorp87
0
108
Member Avatar for madhan

if you want to see designer.cs and all the backend stuff click "Show All Files" toggle button at the top of solution explorer.

Member Avatar for PierlucSS
0
103
Member Avatar for MillStrike
Member Avatar for KathySbeat

Try this, it worked for me. [url]http://www.dotnetspider.com/forum/173555-doc-txt-c-asp-net.aspx[/url]

Member Avatar for sashaa
0
92
Member Avatar for PierlucSS

'm working a on a link checker/broken link finder and I am getting many false positives, after double checking I noticed that many error codes were returning webexceptions but they were actually downloadable, but in some other cases the statuscode is 404 and i can access the page from the …

0
57

The End.