15,895,740 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by BiteForce (Top 25 by date)
BiteForce
20-Jul-13 6:45am
View
I´d recommend having a look at the google/facebook api.
BiteForce
20-Jul-13 6:04am
View
The difference is:
String s; /*in this case s isn´t already declared, so you can´t say like s.Replace(string, string); neither you can do any other kind of manipulation.
String s = new String(); /*in this case, the variable is already declared and you can work with s.
BiteForce
18-Jul-13 5:59am
View
more concrete pls, it´s not even a question.
BiteForce
17-Jul-13 17:40pm
View
You could do it like this:
List<Form> forms = new List<Form>();
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
forms.Add(new Form3());
forms.IndexOf(forms.Length-1).Show();
}
I hope I could help you.
BG
BiteForce
15-Jul-13 10:56am
View
You gotta declare the two String variables outside the method and append the value inside the method. You cannot access local variables from another class, that's why your code is invalid.
BiteForce
9-Jul-13 8:12am
View
I´d recommend writing an XML document.
BiteForce
9-Jul-13 8:09am
View
You could do it like this:
-Textbox.Text.Substring(Textbox.Text.IndexOf("/") + 1).Length;
BiteForce
9-Jul-13 8:02am
View
I think, this is impossible :/.
BiteForce
5-Jul-13 9:01am
View
I´d recommend to start learning Java or C++, Java is even more similar to C# I think, but it also depends on what you need at the moment.
Objective-C is quite strange, Ruby and PHP are also very different.
BiteForce
3-Jul-13 14:42pm
View
Uhm, I know, that it can be done much easier, I just wanted to mention another way of solving this problem...
I must admit, I also wanted to make some kind of joke, because there are still so many explanations for solving it, so I just came up with this idea...
BiteForce
3-Jul-13 10:24am
View
I think, it´s not that hard. You just gotta use all the necessary usings and then you can easily create instances of the UIElements and declare their properties.
for example:
Button button = new Button();
button.Text = "Hi";
button.Click += delegate{DoSomething();};
Therefore I think, you won´t urgently need a book or something. You might have to google sometimes or do research in the msdn-references, but all in all everything´s very understandable and simple.
BG
BiteForce
3-Jul-13 9:50am
View
I think it works best with a switch-statement:
create a "day-string", a "month-string" and a "year-string";
then you can define, how the different substrings will be printed out.
for example:
Date date = new Date();
string day = null;
string month = null;
string year = date.Year;
switch(date.Day) {
case 1: day = "01";
case 2: day = "02";
//...
}
switch(date.Month) {
case 1: month = "Jan";
case 2: month = "Feb";
//...
}
Label1.Text = day + " " + month + " " + year;
BiteForce
2-Jul-13 12:04pm
View
Of course it is. You can define the namespace on the top of the class file.
BiteForce
2-Jul-13 12:02pm
View
I think this is not possible, but you could create a static method, because static members don't belong to a certain class.
BiteForce
30-Jun-13 16:18pm
View
You´re welcome.
Actually, I don´t understand your second question? Could you explain your problem in more detail to me?
BiteForce
30-Jun-13 12:09pm
View
add another else if, where you check whether no field is empty, if this conditon is true, then the game results in a tie.
OR
you create an integer, which you increase after each round and if the integer is higher than the number of fields, it will be a dice.
BG
BiteForce
30-Jun-13 11:10am
View
System.IO.File.Copy([the file to copy], [the destination file]);
both parameters are strings.
BG
BiteForce
28-Jun-13 11:31am
View
I forgot, that this method also exists, sorry.
BiteForce
28-Jun-13 11:30am
View
System.IO.File.Copy(string, string);
BiteForce
25-May-13 4:32am
View
I'm gonna search the file at home tonight, because I'm currently using my iPad.
BiteForce
25-May-13 4:20am
View
But you could just say, that each time, the trigger fires at database, a function will be called? As far as I remember, it worked once for me.
BiteForce
25-May-13 3:45am
View
Then it might work with a trigger: http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html
BiteForce
25-May-13 3:26am
View
What have you tried so far? It might work with ajax.
BiteForce
21-May-13 7:13am
View
yeah, cuz </br> creates a new line, there´s no additional whitespace added.
nice regards
BiteForce
20-May-13 16:31pm
View
That is the definition provided by the author:
The feature vector is simply the collection of the features of every pixel sorted by the track i.e. check the position of each pixel and add its properties to the feature vector. E.g. if we have two pixels lie in sector 1 and track 1 with the same relation of 4 then in cell4 in the relations table the one in t1 and s1 will be incremented twice since there are TWO pixels having this property
Actually it´s a tutorial with a source code attachment, so you can just implement the code in your application I think.
Nice Regards
Show More