948 Posted Topics
Re: HTML5 or DDL for phones, HTML5 or Flash for PC. [Modernizr](http://modernizr.com/) might help :) | |
Re: Make sure you get the encoding right otherwise you might end up with garbage. | |
Re: C# is a Microsoft specific language and relies on the Microsoft compiler, so your options are very limited. I believe there are only *three* different IDEs; 1. Visual Studio (You can use the Express editions for free) 2. SharpDevelop 3. MonoDevelop If you are dead against using Visual Studio (which … | |
Re: Not that I'm aware of. You should note in the comment and in your documentation that the method is obsolete and will be removed after X date. After that date, simply remove the method from your libraries and documentation. If you wish to retain true backwards compatibility, then retain the … | |
Re: You need to use [WMI](http://msdn.microsoft.com/en-us/library/windows/desktop/aa394572(v=vs.85).aspx). | |
Re: Have you tried loading it in safe mode? | |
Re: Are you moving the files anywhere after they are built. You might have to change the `ProcessStartInfo`'s current working directory so that it can correctly identify the cygwin dll. Or, you could copy the dll file to the directory you're working in. Or, change the current working directory to the … | |
Re: When you work with reference types (classes) when you say `MyClass newClass = oldClass` what you are doing is copying the reference. This means that `newClass` and `oldClass` actually point to the same memory. What you would need to do in this case is instantiate a `new` object and copy … | |
Re: As far as Google Adsense is concerned there are some rules to follow. From what I can make out, what you intend to do is; 1. Write the review for Site X 2. Post the review on Site X 3. Link back to your site 4. Link your site to … | |
Re: Your use of the timer control is incorrect. The principle is the same; set a callback for your timer (I think it's called `Tick` or similar) in that callback, you need to collapse your label and stop the timer. | |
Re: Are you using the built in WebBrowser control? | |
Re: >Please tell us more about your Router then. Is it capable of POE? (Power Over Ethernet) We need to know the make and model of your Router. Good suggestion, but as the OP repeated the test with a Wireless NIC, POE wouldn't affect it. I'm inclined to agree with rubberman, … | |
Re: Apart from faulty driver installs, this is also a symptom of your graphics card overheating or otherwise failing. Order to try things: 1. **Clean Install** new video card drivers 2. Reinstall Windows 3. Start budgeting for a new graphics card/PC (if it's integrated) | |
Re: You can store the required information anywhere you want really. I use XML Configuration files because it's just a lot easier. It looks a bit like this: <OuterTag> <Assembly>Namespace.Library.Utility,Version=1.0,Culture=neutral</Assembly> <Type>Namespace.Library.Utility.Calculator</Type> </OuterTag> You can pass these arguments into the appropriate reflection libraries to load the required assembly. NOTE: You **cannot** unload … | |
Re: It would be better to use pure reflection and late-binding (don't include it as part of your references) It will make your program much more difficult to write (unless you use the *exact* same interfaces between all the versions). Switching versions on the fly is going to be more difficult, … | |
Re: Have you set the connection to use the MySQL provider? MariaDB may not be compatible with MSSQL Server commands. | |
Re: You'd be better asking this in the Java section. Java has no easy way of replicating delegates from C#. At best, a delegate is a single method interface. I believe that there is a "Delegator" pattern for Java, but I don't know much about it. | |
Re: Not entirely sure what you're after... To find a diagonal, increase or decrease x and y by the same number... | |
Re: Fist you need to decide on your data structure. This is entirely up to you, but personally, XML makes things readable and organised. `System.Xml` and `System.Xml.XPath` will be your friend ;) An example structure for you might be; <?xml version="1.0" standalone="yes" ?> <DataItems> <Item> <Age>20</Age> <Sex>M</Sex> <TextComment>Likes stuff</TextComment> </Item> </DataItems> … | |
Re: You could be getting the error at run time because of the way dynamic compilation works in ASP.NET. The only two things I can think of is that either you have two declarations of it in two different extension classes in the same namespace, or, an old library is being … | |
Re: Reduce how many rows you save in a single call and call save repeatedly. Although this won't really change anything, you're still not going to be able to do anything while the rows get saved and this might take longer. It is impossible to do without threading. | |
Re: What OS is your server? Windows? Linux? UNIX? Some hybrid love child of Bill Clinton, Angela Merkel and the CEO of Norton? | |
Re: I would write some debug code that allows you to see the exception details. Trying to guess the problem with no code and no specific error will be nigh on impossible. | |
Re: tinstaafl is correct, you need to make sure the compiler understands these are result sets and not queries. Surround your LINQ in brackets and use `.AsEnumerable()` (This is still only a query but a different type of one) Once you convert to IEnumerable, you should be able to use Union. … | |
Re: The syntax for calling base is `public constructor() : base()`. It will call the matching base class constructor based on the parameters given to it. So; `public MyClass() : base() {}` will match it up to the constructor that takes no parameters. `public MyClass(String param) : base(param)` will match it … | |
Re: You can use a class in C# called `SqlDependency` (it's part of ADO.NET). This uses the server's change notification service. It's a bit cumbersome if you want to watch a lot of changes but it will do exactly what you want it to. [MSDN Link (SQL Dependency)](http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldependency.aspx) | |
Re: You will need a plugin or addon to add this functionality to Visual Studio. Try [Resharper](http://www.jetbrains.com/resharper/). As a programmer, you really should be aware of what code can throw an exception already. Most documentation will tell you and (especially in possible NullReference cases) you should be checking for null before … | |
Re: You can't run C# on Android. You will need to use Java. The languages are similar syntactically (but not the same) You will need to use Sockets to be able to transmit and receive data. Google for some tutorials on how to use Sockets. If you want to do it … | |
Re: Private members aren't XML serialisable, unless you use the `DataMember` attribute with the name of a public accessor for it. If you want to serialise private members, use the `BinarySerializer` and convert to a Base64 string. | |
Re: ProductId is an int but you're passing it a string. Also, you should list the columns you're inserting for: `insert into products (ProductId, Name) values(12, 'Product 12')` Additionally, you should use parameters. Not doing so can lead to SQL injection attacks. (Don't fall for the "it's only used internally" argument … | |
Re: 1. This thread is 3 years old and the op only made 3 posts so probably isn't here anymore 2. Your question basically asked the OP for the entire solution. The first two parts of your questions are that easy any .net programmer can do it. So chalk one up … | |
Re: Either is fine, "transportation" is used in more formal writings, but can be a bit of a "mouthful" if you mention it a lot, so I would suggest falling back to "transport". | |
Re: > The PS4 with DDR5 RAM It's important to distinguish that this is **G**DDR RAM not plain DDR. Although nowadays they're pretty interchangable, GDDR is built with Graphics chips in mind and will operate better in a graphics context. Whereas DDR is more adaptable and can qork quickly in a … | |
Re: Did you set your table to accept nvarchar? Arabic text is unicode which is not supported by varchar. | |
Re: You can, by creating a process that runs the executable, very straightforwarding. However, you may run into issues because it will not run on the logged in terminal. Services don't run in any terminal window (your desktop) and so you will never see your app window. There is a way … | |
Re: Your control has the wrong ID. Your dropdown in code is called: `lbproibidotp` but on the page it's called `Content_lbproibidotp`. They have to match. | |
Re: Your try/catch block is outside the loop so the loop won't continue. As to why it's working on your machine I don't know, the setup must be different. Check the service recovery modes on the machine you've installed it to. Most will shut the service down after a number of … | |
Re: Do you get an exception? If so use a try catch block to catch that specific exception and in the catch clause, use a `continue;` statement to process the next iteration of the loop. | |
Re: Actually the distance between A & B is irrelevant. If you take note of the question "A car travelled 28Km from A to B in 30 minutes *snip* What is the speed of the car in kmph" you have all the information you need from the first part of the … | |
Re: Create a panel that will contain your checkboxes. When you add a checkbox, add it to the panel's control list. Make sure you set the correct form co-ordinates (they are *relative* to the parent so (0,0) would be the top left of the panel) The name of your checkbox can … | |
Re: Rather than looking for a programming book, just look for a maths book. In the UK this would be around A-Level or College. They're bound to have exercises in that you can try out for yourself. Ideally, before you write coded mathematics, you should have a good grip of them … | |
Re: For what purpose? Offline installation? They should all be available from the Microsoft Website. If you're just creating a vsd project, then you should be able to just link the dependency and it will download the .net framework for you during the installation. I don't see why you'd need *all* … | |
Re: Please provide the exact error message and the code that is highlighted when the error occurs. | |
Re: Without giving us context of right and wrong we don't know what it's supposed to be returning. Please clarify the result you expect, vs the result you receive and *where* this is happening. | |
Re: I think you need brackets around your arithmetic where you create your DELTA variables, just to clarify the formula. :) | |
Re: For your typical every day user, Windows is by and large the best when it comes to ease of use and available software. That is who the desktop OS is tailored to. General Desktop and Business. Linux shot itself in the foot by trying to make everything open source and … | |
Re: Did you try opening the port first? | |
Re: The only error is that you've used `int[loop]` rather than your actual array, so your code won't work. Otherwise it looks like you meet the requirements of the work given. It doesn't specifically say you have to store the new numbers, just display them. | |
Re: In an effort to reduce [the amount of] documentation, I try as best possible to make all methods perform as little as *reasonable*. So if you had a `CreateAccount` method on a `Registration` class, the method could be split down into the following logic. 1. Check if the user exists … | |
Re: Users is a special table you need to wrap it in brackets to tell SQL you have defined your own version. `insert into [Users] (FirstName, La....)` Additionally, you should look into using Parameters. Not doing so will lead to an SQL Injection Attack which could destroy your database or reveal … |
The End.