948 Posted Topics

Member Avatar for deceptikon

The actual approach would be fairly easy (although long-winded) if it weren't for the following case: *112014* *11***20***14* 20th Nov 2014 or; *1***1***2014* 1st Jan 2014 or; *1***12***014* 12th Jan 2014 All three are valid according to your interpretation rules, the code can make no distinction between any of them. …

Member Avatar for ddanbe
1
581
Member Avatar for JOSheaIV

Hi AoD, I think it's because you're disposing of something that's being passed to your method. This is pretty much a big no-no. You don't know what happens to that object outside of the method you've written, disposing of it could present problems. Whilst I understand that calling dispose is …

Member Avatar for Ketsuekiame
0
216
Member Avatar for blackmiau

Here's a few of my photos :) http://puu.sh/8TOCA <--- So relaxed. When I picked my camera up she was on her back, but she rolled onto her side as I got the camera in place. http://puu.sh/8TPZa <--- Food coma time! They've just eaten and now it's time for a nap …

Member Avatar for blackmiau
2
692
Member Avatar for anonymous0318

It looks like you're using a high dpi setting for your fonts and the DirectX layer migh be trying to anti-alias it (this can give the experience of blurred lines as that's pretty much its job ;) ) Check that you don't have some kind of AA switch set and …

Member Avatar for Ketsuekiame
0
177
Member Avatar for iAssistant
Member Avatar for NewbInProg

You need to use the `OnSelectedIndexChanged` event. This will allow you to grab the current selection from the combo box as it changes. You would then put this value into your data container so that when you "Submit" your component to the database, it will contain the correct value.

Member Avatar for ShadyG
0
264
Member Avatar for Wiebren

These things are called Command Line Arguments (for your reference). You can retrieve them in a WinForms app by calling `Environment.GetCommandLineArgs()` Command line arguments are space delimited, so if you entered `/f:myfile.txt` you would get "/f:myfile.txt" as a single argument in your application. When you drag and drop, it simply …

Member Avatar for Ancient Dragon
0
156
Member Avatar for Ketsuekiame

I don't know if it's just me, but I find the fact that the rooms re-order their position slightly irritating. The active room always makes itself the first in the list (after the room list). When you select another room, the room you were just in is then pushed to …

Member Avatar for Ketsuekiame
1
424
Member Avatar for ceelos1974

I think you should clarify what you want. As in, do you want to connect to *any* website regardless of whether or not it's controlled by you, or, would this website be yours and provided for the purpose/support of your chat application?

Member Avatar for Bandarigoda123
0
242
Member Avatar for castajiz_2

Any particular reason you can't use the async keyword? If so, just take it off. An async method returns a Task, the result of the Task is your data type. So it might say `Task<string>` which means you can call the webservice from your application (synchronously) by called `webService.GetMyString().Result;` If …

Member Avatar for Ketsuekiame
0
455
Member Avatar for Que336

Well, I know this is a little late, just like your request for help ;) but here's a couple of things you can do in future (if you don't get the position) 1. Prepare a portfolio of applications. Not only does this show you know the language, but you also …

Member Avatar for deceptikon
-1
311
Member Avatar for maxpaine69

Well, your two options are (to achieve what you want); 1. Decode the PDF server side and parse into HTML format. Insert that between your div 2. Run some kind of Java Applet that requests the file from your database. That file would still need to download to the client …

Member Avatar for LaxLoafer
0
2K
Member Avatar for castajiz_2

Random number generators, in a lot of cases, need to be deterministic and you often need more than one in order for it to remain deterministic. If the RNG were static, you would be limited to one. Due to threading, this means that the RNG *may not* be deterministic. For …

Member Avatar for Ketsuekiame
0
367
Member Avatar for castajiz_2

Probably better asking on Business Exchange. You're essentially asking us to pitch business ideas at you. ;)

Member Avatar for castajiz_2
0
202
Member Avatar for pritaeas

I would do a little re-design there. Whilst `const` ought to be flagged by Obsolete, I would redesign and make a public property that returns your const. Mark the property as obsolete and it should flag it.

Member Avatar for pritaeas
0
264
Member Avatar for Ketsuekiame

Would it be possible for you to mark this as read and retry? My mail server went down for a while and bounced some of the DW emails. Now everytime the website attempts to send one I get a PM saying that the address previously bounced and I should edit …

Member Avatar for Dani
0
210
Member Avatar for ManthanB

Is there any particular reason you want to write it yourself? There are many applications out there that perform the same task. Morally speaking, as I don't know you, I'd be rather reluctant to help you here. Something like this could be built, deployed and used in a malicious fashion. …

Member Avatar for aliasgar.babat.1
0
270
Member Avatar for dennis254

Nothing really, they both have the same outcome. The second way is the preferred method if you know the contents before hand. It boils down to; `Guy[] guys = new Guy[3];` -- You're reserving space for 3 "Guy" objects in this array. You don't yet know what object is going …

Member Avatar for ddanbe
0
183
Member Avatar for GrantB

If you simply want uniqueness, take the highest number you already have and add 1. Simple yet effective. You said that you don't want to have to iterate through all previous codes, yet, you have to anyway to check that the number you have is unique. There are ways to …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for Reverend Jim

Maybe it was a cache/refresh thing, but to me it looks the same as you've typed it... ![d5f3daab889e7e5b28e890cac5f0f315](/attachments/large/3/d5f3daab889e7e5b28e890cac5f0f315.PNG "d5f3daab889e7e5b28e890cac5f0f315")

Member Avatar for Dani
0
174
Member Avatar for Amanpreet_1

You won't be able to do this entirely in C# unless you utilise something like SharpDX. You will need to call out to a C++ library in all liklihood. Once you have the stream, you can display it on a form. A picture box might not be the best control …

Member Avatar for Ketsuekiame
0
159
Member Avatar for Gaurav_14
Member Avatar for help distressed

Unless someone reverse engineers the proprietary protocol I doubt third party manufacturers will be able to. There is no real standard for how accessories communicate with their host hardware. Also, if they're using a direct electrical link rather than a software interface (with standard hardware such as a USB type …

Member Avatar for Ketsuekiame
0
131
Member Avatar for NardCake

@jwenting Have you considered hosting your own Mercurial server?

Member Avatar for NardCake
0
848
Member Avatar for humorousone

If you don't add it to source control it will still exist on disk. Part of the build process, though, will be to copy your localdb to the correct location. If you add your local db as a file in your project, then set it as "Copy to Output path" …

Member Avatar for humorousone
0
233
Member Avatar for masterinex
Member Avatar for Dani
Member Avatar for Amanpreet_1
Member Avatar for Amanpreet_1
0
580
Member Avatar for Reverend Jim
Member Avatar for fliponymous

Take the value, mod by 10 add to result, divide original result by 10 (ignore decimal place) iterate in loop until original value is 0. For those of you who are interested in my on going "One Line Challenge", this can be done on a single line.

Member Avatar for ddanbe
0
378
Member Avatar for Geekitygeek

According to specification, a TCP/IP connection has no requirement to idle timeout. You're now essentially saying "I'm expecting data to be received within 20 seconds, otherwise, something went wrong." The OS or network card itself will handle the underlying connection when this happens and in some cases could take this …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for GrantB

Probably means the join is failing. Check that your User table contains SiteIDs that are contained in your Sites able where the firstname is equal to what you're searching for. Also, when you execute this look at what LINQ to SQL is generated using SQL Profiler. You can execute this …

Member Avatar for GrantB
0
189
Member Avatar for Cameronsmith63

You could try installing the VB6 runtime. It's a long shot but it might be a corrupt/missing library issue: [Click Here](http://www.microsoft.com/en-us/download/details.aspx?id=24417)

Member Avatar for Cameronsmith63
0
844
Member Avatar for Mike Askew

I believe it would be fairly easy to host your own Mercurial server.

Member Avatar for Ketsuekiame
0
165
Member Avatar for Surfing49

Sounds like the LVDS board is dying/dead. If you can take it back, do so. If not, you could probably buy a replacement board from HP, but it might be cheaper to buy a new monitor.

Member Avatar for Ketsuekiame
-1
3K
Member Avatar for Ancient Dragon

Your stuttering and speeding up issue, is more than likely the connection between you and the server. That's probably not something you can fix unless it's a problem with your router. As for the freezing up issue, I also use 8.1 and have had no issues. What I have found, …

Member Avatar for jwenting
0
200
Member Avatar for RLS0812

Because people don't want to pay for anything. You go on a mobile store, want to find a game. Oh this costs 20p??? I'm not paying for it! People will download a game for free, get drawn in and then *need* to spend money on it. This is the driving …

Member Avatar for jwenting
0
225
Member Avatar for hqt

If you want to use a single DbConext, then you must do just that all the way through the application. It sounds like the DbContext has cached the previous version of the model and you've updated the model but bypassed the DbContext (so the cache hasn't updated)

Member Avatar for Ketsuekiame
0
472
Member Avatar for pritaeas

I can't reproduce your first (screenshot) issue, but I agree with the second one. Does the same for me too. The URI Id is different by 1 between each post.

Member Avatar for Ancient Dragon
0
197
Member Avatar for xednycrex

Depends what you mean by interactive! Technically an accounting program is interactive, but often that's not what people mean :) But a simple yet fun project...How about creating a multiplayer (keyboard sharing) game of Battleship? The rules are simple, it's sufficiently easy to design and implement, yet complex enough to …

Member Avatar for Lucaci Andrew
0
191
Member Avatar for alex-i

You can use WPF with the inbuilt designer to put the controls on there. LINQ to SQL you can use by defining your entities in C# and then creating a DataContext to your database. You would then query it using LINQ. I suggest you read [Here](http://msdn.microsoft.com/en-us/library/bb425822.aspx#linqtosql_topic1)

Member Avatar for Ketsuekiame
0
187
Member Avatar for riahc3

You should probably copyright from the first registered date to the current date, especially as Dani has made changes to both the UI and the API this year. I'm not sure how it works in the US but in the UK and EU typically you would include the start and …

Member Avatar for mike_2000_17
0
171
Member Avatar for star.bravo

At the moment C# is probably the easiest language to write in for both desktop *and* web applications simultaneously.

Member Avatar for JobPencil
0
193
Member Avatar for </scorpion>

Set your combobox `Text` property to the default value you want to display. If the selected index doesn't exist in the DB, set your `SelectedIndex` on the combo box to -1. This will revert it to your default text.

Member Avatar for </scorpion>
0
2K
Member Avatar for ddanbe

Well first, you can't declare a `List<List<string>>` as a `List<List<double>>` as the types aren't implicitly compatible :) List initialisation by constructor is different to arrays. You have to remember that when declaring a List you're using a generic type; `List<T>()` In this case your `T` is `List<string>` a declared *type* …

Member Avatar for ddanbe
0
189
Member Avatar for ryan.jay.ong

![3a4cfdad26601b03d45a25637a401a3a](/attachments/small/3/3a4cfdad26601b03d45a25637a401a3a.png "align-right") 1. Click on the attached image. 2. Press the keyboard key combination CONTROL P at the same time. 3. Click OK. 4. ???? 5. Profit (and/or admire your square).

Member Avatar for ryan.jay.ong
0
172
Member Avatar for Ketsuekiame

Hello, I got a message this morning from a mod that had deleted a duplicate post. Which is all fair enough....Except I never saw the duplicate post in question. When I went to check the thread this morning, sure enough my original post was still there so sat bemused that …

Member Avatar for Ketsuekiame
0
306
Member Avatar for Patrik_2

1. Instantiate a Player object per player. 2. On each player's turn. Use a random number generator between 0 -> 60 (there's an example of an RNG call in the picture) 3. Save each indidual score as an arrow in the Arrows class (You have three; arrowOne, arrowTwo, arrowThree) 4. …

Member Avatar for Ketsuekiame
0
298
Member Avatar for Andrew_9

IIS tends to ignore those settings. Why? Who knows... However, it will pull them from the AppConfig if you set them. <add key="loginUrl" value="~/login/" /> <add key="defaultUrl" value="~/unauthorized/" /> If you add those into your config, it should work.

Member Avatar for Andrew_9
0
314
Member Avatar for ManthanB

Do you really mean multicast? Multicast is to send a single packet to multiple destinations in a single transmit. If this is really what you want, try something like [NORM](http://www.nrl.navy.mil/itd/ncs/products/norm)

Member Avatar for Ketsuekiame
0
373

The End.