948 Posted Topics

Member Avatar for kamilacbe

HTML5 or DDL for phones, HTML5 or Flash for PC. [Modernizr](http://modernizr.com/) might help :)

Member Avatar for Ketsuekiame
0
141
Member Avatar for mesbahuk
Member Avatar for mesbahuk
0
266
Member Avatar for fhau013

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 …

Member Avatar for fhau013
0
237
Member Avatar for khiemkim.xuan

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 …

Member Avatar for ChrisHunter
0
131
Member Avatar for shadyreal

You need to use [WMI](http://msdn.microsoft.com/en-us/library/windows/desktop/aa394572(v=vs.85).aspx).

Member Avatar for shadyreal
0
272
Member Avatar for Ritesh_4
Member Avatar for Danja

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 …

Member Avatar for Danja
0
401
Member Avatar for ross.clare.5

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 …

Member Avatar for jwenting
0
1K
Member Avatar for oanahmed

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 …

Member Avatar for Ketsuekiame
0
463
Member Avatar for #include <lou>

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.

Member Avatar for Ketsuekiame
0
122
Member Avatar for SQLpower
Member Avatar for zalax

>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, …

Member Avatar for zalax
0
178
Member Avatar for Meir David

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)

Member Avatar for Ketsuekiame
0
104
Member Avatar for khiemkim.xuan

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 …

Member Avatar for Ketsuekiame
0
922
Member Avatar for khiemkim.xuan

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, …

Member Avatar for khiemkim.xuan
0
203
Member Avatar for JDoggieIII

Have you set the connection to use the MySQL provider? MariaDB may not be compatible with MSSQL Server commands.

Member Avatar for Ketsuekiame
0
1K
Member Avatar for abra_ka_dabra

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.

Member Avatar for sepp2k
0
629
Member Avatar for kevinyu

Not entirely sure what you're after... To find a diagonal, increase or decrease x and y by the same number...

Member Avatar for ddanbe
0
130
Member Avatar for iFrolox

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> …

Member Avatar for iFrolox
0
180
Member Avatar for inheaven

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 …

Member Avatar for Ketsuekiame
0
863
Member Avatar for visweswaran28

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.

Member Avatar for james6754
0
110
Member Avatar for bradly.spicer

What OS is your server? Windows? Linux? UNIX? Some hybrid love child of Bill Clinton, Angela Merkel and the CEO of Norton?

Member Avatar for Ketsuekiame
0
117
Member Avatar for Victoryy

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.

Member Avatar for Ketsuekiame
0
360
Member Avatar for jkvt

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. …

Member Avatar for jkvt
0
4K
Member Avatar for mesbahuk

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 …

Member Avatar for Ketsuekiame
0
271
Member Avatar for shadyreal

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)

Member Avatar for shadyreal
0
449
Member Avatar for mesbahuk

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 …

Member Avatar for Ketsuekiame
0
306
Member Avatar for ScatteredHell

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 …

Member Avatar for Ketsuekiame
0
150
Member Avatar for mshauny

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.

Member Avatar for Ketsuekiame
0
226
Member Avatar for aplh_ucsc

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 …

Member Avatar for itzcuinzin
0
477
Member Avatar for perrytje

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 …

Member Avatar for Ketsuekiame
0
630
Member Avatar for minitauros

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".

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

> 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 …

Member Avatar for Ketsuekiame
0
192
Member Avatar for IT_Techno

Did you set your table to accept nvarchar? Arabic text is unicode which is not supported by varchar.

Member Avatar for Ketsuekiame
0
869
Member Avatar for ManthanB

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 …

Member Avatar for ManthanB
0
272
Member Avatar for NEVETS22387

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.

Member Avatar for NEVETS22387
0
235
Member Avatar for Cameronsmith63

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 …

Member Avatar for Ketsuekiame
0
214
Member Avatar for VasquezPL

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.

Member Avatar for VasquezPL
0
259
Member Avatar for harinath_2007

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 …

Member Avatar for woooee
0
185
Member Avatar for sana.f.qureshi

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 …

Member Avatar for ddanbe
0
230
Member Avatar for qipi

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 …

Member Avatar for Ketsuekiame
0
166
Member Avatar for blackeyes85

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* …

Member Avatar for Ketsuekiame
0
143
Member Avatar for Anonymous3

Please provide the exact error message and the code that is highlighted when the error occurs.

Member Avatar for Anonymous3
0
228
Member Avatar for njleye

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.

Member Avatar for Ketsuekiame
0
178
Member Avatar for ddanbe

I think you need brackets around your arithmetic where you create your DELTA variables, just to clarify the formula. :)

Member Avatar for ddanbe
0
1K
Member Avatar for mattster

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 …

Member Avatar for Assembly Guy
0
857
Member Avatar for sonalivikram
Member Avatar for HumblePie

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.

Member Avatar for ddanbe
2
165
Member Avatar for Stuugie

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 …

Member Avatar for Reverend Jim
0
205
Member Avatar for Haquo

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 …

Member Avatar for Haquo
0
1K

The End.