|
thanks for your advise I will remember your words and appreciate your suggestion !
|
|
|
|
|
Write a web crawler that crawls the internet looking for student project ideas.
Speed of sound - 1100 ft/sec
Speed of light - 186,000 mi/sec
Speed of stupid - instantaneous.
|
|
|
|
|
how it is possible like web crawler in C#? I think it can be possible in ASP.NET not in the C#
|
|
|
|
|
What do you think ASP.NET uses? It's either using C# or VB.NET.
This space for rent
|
|
|
|
|
Message Closed
modified 1-Feb-17 8:43am.
|
|
|
|
|
ASP.NET is just a web framework. Underneath, any of the .NET languages can be used with it - this means that these languages have access to the framework features that ASP.NET uses. For instance, you can use the HttpClient class to make a HTTP request directly from C#.
This space for rent
|
|
|
|
|
Do you want to do that in Java again? If so, this is wrong forum, if not then you can rebuild the same and explain how Java and C# APIs differ in networking programming. Pretty simple?
In case, you want to do the project in Java, try adding a bit of security. End-to-end encryption is a new feature in almost every chat application, you can show you to implement that in the project you built last time. There is no harm in this in academics, I say.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Thanks for you suggestion, I want to try some new ideas instead adding feature in old one. I'm quite interested in Jarvis AI. I have read some where that It's possible and Already done in Arduino Projects by using the EMBEDDED COMPUTER ?.
modified 2-Feb-17 8:28am.
|
|
|
|
|
What are you interested in; what are your future job-market goals ?
Where do see yourself as needing to improve your skills and understanding: data-structures and databases ? algorithms and problem analysis ? visual user interaction ? web/cloud ?
To help you find what you need is possible; but, you need to find who you are.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
Actually I'm not here to be convince who am I !
Just need suggestion, I don't expect anything from the future I believe in the present, so just suggest me your ideas instead of motivational comments, Well I'm quite interested to build the Jarvis Like Mark build it for his home automation.
|
|
|
|
|
TEProjects wrote: just suggest me your ideas instead of motivational comments Unless you take the initiative to develop your own ideas, you will learn nothing.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
A poker-game.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I want to get the Record in Web form by clicking on select button on each Row
I mean i want to select the data from grid view from each row and other thing i want that is the form of that perticlur grid filled automatically so that i can edit it and update the data . hope u got me all of u Please help me
i know grid view has a select button so that each row is selected i want selected data in form not in grid view
|
|
|
|
|
You can get the controls of grid on button click event.
GridViewRow gvr = ((Button)sender).NamingContainer as GridViewRow; will get the row for you..
All you need to do is to get the values of controls in grid and pass their values to your form controls.
like .... Label lbl = gvr.FindControl("lbl") as Label.... and you will get the value of your row selected ..
Hope this helps
|
|
|
|
|
I want convert Dictionary Net 4.0 to Net 2.0.
Dictionary<string, Action<IWin32Window>> ItemHandlers = new Dictionary<string, Action<IWin32Window>>() {
{ "A", o => MessageBox.Show(o, "The command A is executed", "Dx Sample", MessageBoxButtons.OK, MessageBoxIcon.Information) },
{ "B", o => MessageBox.Show(o, "The command B is executed", "Dx Sample", MessageBoxButtons.OK, MessageBoxIcon.Information) }
};
|
|
|
|
|
The problem with this code is that it's using a collection initializer which wasn't introduced until Visual Studio 2008. Fortunately, this is a simple enough fix, you just move the initialization out and use Add instead.
Dictionary<string, Action<IWin32Window>> ItemHandlers = new Dictionary<string, Action<IWin32Window>>();
ItemHandlers.Add("A", o => MessageBox.Show(o, "The command A is executed", "Dx Sample", MessageBoxButtons.OK, MessageBoxIcon.Information));
ItemHandlers.Add("B", o => MessageBox.Show(o, "The command B is executed", "Dx Sample", MessageBoxButtons.OK, MessageBoxIcon.Information));
This space for rent
|
|
|
|
|
Nobody for sure is going to write such a c# code:
public class omg
{
public omg()
{
do_criminal_switch();
}
public void do_criminal_switch()
{
switch (0)
{
case 0:
break;
}
}
}
do you think that the C# parser should notice and whip the programmer for this shining piece of code or should continue as nothing happened with a const as switch argument?
|
|
|
|
|
Why should the compiler punish someone for doing this? Suppose they had just put that code in as a placeholder while they wrote some tests, why should the compiler cause them issues.
This space for rent
|
|
|
|
|
If you'd want that, install FxCop and activate the rule. If there is none, feel free to write it.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
It is not the compiler's job to comment on your code. The compiler is supposed to take well-defined code (under the rules of the language), and compile it. As this code is well-defined, the compiler should simply compile it.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
That's not quite true: it does comment on really dumb code such as:
while (x > 0);
{
...
x--;
} It'll (thankfully) tell you "Possible mistaken empty statement" because of the spurious semicolon. And we've all done that one!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I stand corrected.
However, I believe that there is a big difference between "micro-errors" such as your example (a single character in the wrong place) and criticizing the utility of a whole block of code. At some stage, the compiler must assume that what the programmer wrote is what he/she/it meant.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
If you look at the C# l;anguage specification (it's included with most versions of VS: %Program Files (x86)%\Microsoft Visual Studio x.y\VC#\Specifications\1033 ) the switch is defined as:
switch-statement:
switch ( expression ) switch-block
switch-block:
{ switch-sectionsopt }
switch-sections:
switch-section
switch-sections switch-section
switch-section:
switch-labels statement-list
switch-labels:
switch-label
switch-labels switch-label
switch-label:
case constant-expression :
default : So there is no explicit requirement that the switch expression be variable probably because it would be limiting: you couldn't then use "length - offset", a delegate, or a method instead of the variable because neither of them is a "variable reference" (or in C and C++ an "lvalue"). And what about Properties where the Setter is private or omitted? They are "constants" as well...
Why should that not be a constant? I don't have a problem with that myself - and this from someone whose default project settings are always "Warning Level 4" and "Treat warnings as errors" because the only time it could be confusing is if the value is 0 or 1 and could be mistaken for a single character variable name - which is a bigger crime in my book outside a for-loop control variable!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Hi,
I have a i5 HDD 2.5ghz 6gb of ram ..
* Visual Studio 08 / 2015 Sql Server Express
* Office
* A few other tools etc ..
My computer can take up to 10mins to boot. I just did a re-install of Win 7 but the updates have me to a crawl again.
I was wondering if anyone has an i7 w/ SSD ??? If so how long does it take for your computer to boot up and get VS 15 running with Sql Express Service etc..
Thinking of getting another computer and trying to figure out how much difference it will make with 256 SSD w/ 6 or 8GB ram ..
Thanks in advance !
|
|
|
|
|
You would have been better asking this in the lounge. This has nothing to do with C#.
This space for rent
|
|
|
|