948 Posted Topics

Member Avatar for gunnerone

I can't see anywhere in your solution where you project your 3d point to the 2d screen co-ordinates. My 3D mathematics is a little rusty, so I will assume your matrix mathematics work correctly. I don't really have time to re-learn matrix and vector mathematics whilst I'm at work ;) …

Member Avatar for Ketsuekiame
0
444
Member Avatar for thanhdcbk

Can the two networks communicate with each other internally? If so, simply send data between each machine. If not, then you will need a central server to relay the chat. This won't be peer-peer though like you asked. You can achieve both with `UdpClient`

Member Avatar for thanhdcbk
0
169
Member Avatar for RvSon
Member Avatar for Counterpartz

You have a method outside your class and it doesn't have a closing bracket. Fix those two issues and you should be okay.

Member Avatar for Counterpartz
0
310
Member Avatar for Echo89

I have seen this before as well. Just seems to be if you edit in quick succession without re-loading the page. Just reproduced it now. Using the latest version of CHROME. EDIT: There is a video showing the reproduction. Dani/Deceptikon can PM me for it if interested :)

Member Avatar for pritaeas
0
238
Member Avatar for vihrao

This isn't how WebGet UriTemplates work. You still need to call your method name: `http://localhost:1496/Service1.svc/service/GetConfig` You can edit your base config to change the port, it kind of depends how you're binding it though. If it's just through IIS, then you only need to set up the bindings in IIS …

Member Avatar for Ketsuekiame
0
218
Member Avatar for micheal.burns1

Did you try setting the custom paper size [here](http://msdn.microsoft.com/en-us/library/system.drawing.printing.papersize.rawkind.aspx)? If not you could always try OPOS.

Member Avatar for Ketsuekiame
0
79
Member Avatar for ManthanB

Well the error is pretty straightforward. You're missing an assembly in your build folder, or one of that assembly's dependencies is missing. Unfortunately I don't know anything about Crystal Reports so I can't be of any more use. It's probably just that you're missing the DLL from your application folder.

Member Avatar for ManthanB
0
240
Member Avatar for KushMishra

Could you clarify your question a little please? I'm not entirely sure what you're asking. What bit do you want to drag and resize? What do you mean by quarter sized? Resizable to any *angle*?? Do you mean rotated?

Member Avatar for KushMishra
1
223
Member Avatar for robgeek

**For debug purposes only** I would hookup to the `AppDomain.UnhandleException` and `Application.ThreadException` events. In those events, print out the error message and then exit. This should at least tell you why your app is failing to load. However, I didn't think .net 4.5 was compatible with WES 7, unless you …

Member Avatar for Ketsuekiame
0
222
Member Avatar for <M/>
Re: Pain

When I broke my arm in 8 places jumping off a climbing frame (I was in Year 5; which is about 9-10 years old) I was dismounting from an overhead bar which was about as high as a two storey building. As I let go, I was on the back …

Member Avatar for GrimJack
0
308
Member Avatar for primzon

You return as soon as you find your element. You need to keep searching... Declare a new variable local to your bisection method and store in there the last index you scanned. Iterate until the values are greater than your element, each time you find your element, replace the last …

Member Avatar for primzon
0
201
Member Avatar for filxy

You can't do this. You will need to check if the array contains your string. It might be better to put your syntax into a structure so that you can mark particular items as puntuation or keywords. public enum TokenType { Keyword, Punctuation } public class Token { public String …

Member Avatar for Ketsuekiame
0
154
Member Avatar for mayuri.koul

There's no need to pass in the connection when the command used to retrieve data stores the connection. Mikey is on the right lines I think. You definitely need to debug your method and make sure it's being filled. If no exceptions are being thrown then it seems like there …

Member Avatar for TnTinMN
0
1K
Member Avatar for stultuske

Would it be possible to implement a system that requires a sensibly sized comment to be entered before a down-vote is actioned whilst remaining anonymous? Lets take an example from my account: http://www.daniweb.com/software-development/csharp/threads/289586/here-we-are-problem-with-arabic-letters#post1248925 Downvoted...Why? There's nothing wrong with what I said, if there is, I don't know of it and …

Member Avatar for stultuske
0
374
Member Avatar for ScarWars9

Is the competition sectioned into languages? So was there a first, second and third in each language or was it all combined? By moving around, do you mean inside the array? So that movement in the listbox order was reflected in the array order?

Member Avatar for ScarWars9
6
341
Member Avatar for blaze007

No, there is no visible console window for WPF applications. You would need to define a control on your display window and place the output there. Is there any particular reason you're using WPF for something this simple? It's not really appropriate to the task.

Member Avatar for ddanbe
0
382
Member Avatar for NoCodeMonkey

Completely agree with Mike, however, I think Mike missed something that, although I picked up from the general post, I thought I'd make it blatantly clear. Until I got half-way through your cover letter I had no idea who you were applying for. Mike is correct in that, most cover …

Member Avatar for Ketsuekiame
0
350
Member Avatar for CrazyMisho

I presume you're trying to log into a webpage, in which case you will need to send everything that form asks for. See what variables are available on the web form itself and fill each of those in. Make sure you match the variable names EXACTLY. Correct case is probably …

Member Avatar for JOSheaIV
0
249
Member Avatar for while(!success)

Have you heard of the TPL (Task Parallel Library)? It means you can do things like: `Parallel.ForEach(dt_blah.Rows, dataRows => { /* for loop logic or pass dataRow to a method of your choice */ });` This will execute as many iterations of the loop in parallel as it can. This …

Member Avatar for AleMonteiro
0
1K
Member Avatar for danimischiu

You should never really join two threads like that, the possibility of deadlock in those kinds of scenarios tends to become huge very quickly. Events would be a better way to go.

Member Avatar for danimischiu
0
1K
Member Avatar for pritaeas

To confirm, at the time of writing this isn't currently possible. My alternative ended up building an entire framework around Embedded Resources so that I could do such filtering at run time, effectively performing LINQ on a set of objects which returned the keys of all the items in a …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for sundog1

Are you just putting the text into your combo box? It might be worth creating a special data item that you populate it with. When you select the item, it pulls this data object out that contains your data. Alternatively, do a look up on your table for *Company 1* …

Member Avatar for sundog1
0
156
Member Avatar for Ketsuekiame

Is there any chance that a set of rules could be implemented to prevent abuse of the endorsement system? It seems that currently, anyone can endorse anyone and there is no restriction. I can provide an example of what appears to be abuse of the system, however, I am against …

Member Avatar for Reverend Jim
2
997
Member Avatar for evilguyme
Member Avatar for diafol

Working fine here on GoogleMail. Possibly something to do with the LiveFilter that Microsoft uses?

Member Avatar for Dani
0
330
Member Avatar for rsewak

They say that The only thing to fear, is fear itself. Well, I say they've probably never been face to face with a bear!

Member Avatar for TonyG_cyprus
0
740
Member Avatar for sundog1
Member Avatar for sundog1
0
362
Member Avatar for gamers18

Not sure if you typo'd your above code but you're adding a type to the dictionary not an object. Unless you made it some kind of static I'm not even sure how that would compile. Also we do need to see how you're recording the fact that it's an edge …

Member Avatar for Ketsuekiame
0
132
Member Avatar for gamers18

`dic[key]` will give you your `List<String>` back. However, I would question why you're adding the strings to this dictionary, rather than creating a list of items. Additionally, the way you're currently doing it, you have no idea of knowing which string corresponds to the manufacturer or the description.

Member Avatar for tinstaafl
0
5K
Member Avatar for prateek29chandra

You're using a variable that doesn't exist on the type. The errors are relavent to `Student.Student` though, not the code you posted, which is `Student.Form2`

Member Avatar for Ketsuekiame
0
146
Member Avatar for ryan311

You could bring back only files that don't match your current version. String currentVersion = "v12.2"; var dvxpressFiles = Directory.GetFiles(Application.StartupPath, "*.dll") .Where(fileName => !fileName.Contains(currentVersion)) .ToList(); This will return every dll file that does not contain the string "v12.2". You may want to adjust your search string to bring back only …

Member Avatar for Ketsuekiame
0
228
Member Avatar for dualzNZ

If the HTML is well formed, you can put it into an `XDocument` and use XPath to look up your data points. This will probably be easier, however, you need to rely on the HTML being well formed, which I find a lot of places don't bother with. :(

Member Avatar for Ketsuekiame
0
217
Member Avatar for Wattsits

Hiya, could you please post your Draw method, any classes that build up your vertex list and your main loop? The slowdown sounds like it might be switching to software rendering mode for some reason, but that doesn't make sense really. Either that or he's using a different type of …

Member Avatar for Ketsuekiame
0
147
Member Avatar for JOSheaIV

You're doing a stop run and pause run; are your threads triggered by some other process? If they are, you should look into events. With events, you can subscribe to them and they will be called as and when required. This means you won't need any complex thread control code. …

Member Avatar for JOSheaIV
0
214
Member Avatar for <M/>

1. Should have made more of an effort at University. 2. A decision I made back in school about where I'd study. At the time I had no idea how that decision would come to affect the other people in my life at the time. 3. Climbing up the side …

Member Avatar for <M/>
0
431
Member Avatar for ChrisHunter

Seems odd that Reporting Services would add blank worksheets, wonder the reasoning behind it... Do you have access to the MS Office library for .NET? That will be quite powerful for doing what you need.

Member Avatar for ChrisHunter
0
1K
Member Avatar for javanoob101

I joined because I had a very specific query relating to something quite far "out there" in WCF, which an article on DaniWeb had already addressed. I decided to stick around for a while. I mostly just answer questions in the C# forums and promote the twitter feed when I …

Member Avatar for javanoob101
1
371
Member Avatar for NidhiSree

You can do this by reflecting the cached `SystemParameters` information. Add the PresentationFramework reference to your project, then look up `System.Windows.SystemParameters`. Pull back the field that has the name "MouseVanish" and use reflection to set that property to `false`. You have to be aware though that this will affect your …

Member Avatar for NidhiSree
0
1K
Member Avatar for IT_Techno
Member Avatar for Ketsuekiame
0
214
Member Avatar for hitman007

Same. At least 8 hours at work (usually around 10) then whatever time is left until 1am at home. I have activity days though where I will not go home but instead play Badminton or go Ice Skating or just visit friends. As much as I love what I do, …

Member Avatar for Chickzer
0
249
Member Avatar for harshi414

As the others have stated, you will need to understand the microcontroller code that operates your robot. There will be specific commands you can use that will make it perform functions. I suggest you talk to your lecturer about this if you're way too out of your depth.

Member Avatar for Ancient Dragon
0
272
Member Avatar for aVar++

Tea snobs ho! o/ I drink imported dried Jasmine tea or green tea.

Member Avatar for <M/>
0
186
Member Avatar for ScarWars9

@scarwars; don't try and do something very complicated. Look at the task and think of something simple. Unless it's something like an obfuscation competition in which case make sure no one ever understands it, not even you :) Always ensure you design something within your ability to do within the …

Member Avatar for Ketsuekiame
0
345
Member Avatar for kozer

Open the file and create a `StreamReader`. Use `ReadLine` to pull each line from the file. On each line use `Split` and pass it `\t` as the delimiter argument. Add each result to a `List<String>` and then process the next line. Alternatively, use `ReadToEnd` and try and split the entire …

Member Avatar for Ketsuekiame
0
858
Member Avatar for n1csaf3

Did you make managed C++ code or unmanaged C++ code? If you made unmanaged code, you will probably need to wrap that in managed code. [A little article on the MSDN about it](http://msdn.microsoft.com/en-us/library/ms235281(v=vs.80).aspx) Otherwise, just linking it like you have should be enough...

Member Avatar for Ketsuekiame
0
2K
Member Avatar for peymankop

Your button control will have a `Left` and `Top` property along with a `Width` and `Height` property. When you type in your co-ordinates, ensure that the X position is inside the leftmost position plus the width and that the Y position is inside the topmost position plus its height. You …

Member Avatar for ChrisHunter
0
237
Member Avatar for harinath_2007
Member Avatar for sundog1

I'm guessing you're using ODBC? 1) Manually check the registry for the appropriate key. You will need to check System wide keys and Account keys [HKLM/HKCU]/Software/ODBC/ODBC.INI/<ConnectionKey> 2) Try/Catch the `adoConn.Open` for and see what exception you get back when the connection doesn't exist (Should be OdbcException)

Member Avatar for sundog1
0
383
Member Avatar for vkvkvk
Member Avatar for vkvkvk
0
283

The End.