948 Posted Topics
Re: 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 ;) … | |
Re: 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` | |
Re: Are you using WPF or Winforms? Only ever succeeded doing this in the former. | |
Re: You have a method outside your class and it doesn't have a closing bracket. Fix those two issues and you should be okay. | |
Re: 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 :) | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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? | |
Re: **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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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* … | |
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 … | |
![]() | Re: Working fine here on GoogleMail. Possibly something to do with the LiveFilter that Microsoft uses? |
Re: 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! | |
Re: Shouldn't you open the connection *before* you try and fill the dataset? | |
Re: 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 … | |
Re: `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. | |
Re: 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` | |
Re: 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 … | |
Re: 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. :( | |
Re: 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 … | |
Re: 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. … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: Ensure that you're using at least .net 3.0 and add a reference to System.Windows and System.Web | |
Re: 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, … | |
Re: 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. | |
| |
Re: @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 … | |
Re: 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 … | |
Re: 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... | |
Re: 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 … | |
Re: I've been in front of a computer since 1989 :D | |
Re: 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) | |
Re: In my comment I said inheriting, but meant to type implementing. Sorry bout that! |
The End.