15,891,828 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 willempipi (Top 89 by date)
willempipi
11-Jan-13 5:19am
View
Did a google search for you with the text: 'Signalr chat example'
First result: http://geekswithblogs.net/jeroenb/archive/2011/12/14/signalr-starter-application.aspx
Bottom of the page: http://www.2shared.com/file/SAiy5Jo-/SignalRSimpleChat.html
@lazy....?
willempipi
10-Jan-13 7:20am
View
Sorry typo: Environment.NewLine
willempipi
10-Jan-13 7:07am
View
Sorry for my sort answer, I thought you'd connect the dots ;)
The problem is that there is no HTML styling in the data that you get from you multiline textbox, it uses a /r/n code as a pagebreak, which is not shown on a website. Therefore you can replace all pagebreaks with HTML-pagebreak by using the Replace(Envirement.NewLine, "<br />") code.
willempipi
10-Jan-13 7:02am
View
This is a framework that you can add to your solution to enable realtime server-client communication (needed for example in a Chat Application). Also, you can download a sample chat application using SignalR on the website.
willempipi
10-Jan-13 6:51am
View
Deleted
Anyone?
willempipi
10-Jan-13 6:38am
View
Do my work, NOW!
willempipi
10-Jan-13 6:35am
View
If you'd post the code we can take a look.
willempipi
10-Jan-13 6:31am
View
Can't you just start the file like it's a executeble using the Process.Start function?
willempipi
10-Jan-13 6:19am
View
Why would you want to use a webservice in android? Copy and pasting some code as a question is to little information about your question.
willempipi
10-Jan-13 6:17am
View
what do you mean with "the first user" and "the second user"? There's only 1 user logged in.
willempipi
10-Jan-13 6:14am
View
Rai, why not post it as an answer?
Anyways Gilbertinino, this code will allow sql injection, use parameters to specify the email and password.
willempipi
9-Jan-13 11:14am
View
I'm really curious about the correct answer to this question. My solution (if it would be required to be in SQL) would be to first query the maximum amount of children per parent, than create a temporary table with the amount of columns, than use a cursor to fill the temporary table.
willempipi
9-Jan-13 11:01am
View
Thanks, I'm already doing research in creating my own custom MembershipProvider, hopefully by overriding the MembershipProvider with my own custom MembershipProvider I can still use the smart MVC Security solutions... Thanks, and have nice day!
willempipi
9-Jan-13 10:39am
View
Sorry, it will be crazy to change everything, the current architecture is really powerfull in terms of expansion and the solution that you suggested is to throw that all away because you think it's complicated.
Think about it: 1 set of commen Controllers and Models, used by different Views.
I can always create my own security system without the smart MVC security solutions.
willempipi
9-Jan-13 10:11am
View
SA, learn some people skills please...
willempipi
9-Jan-13 9:59am
View
Deleted
So your telling me it simply isn't possible? So just change everything? Sorry, but that's not accepteble answer.
willempipi
6-Nov-12 7:18am
View
I don't know what your looking for, but I guess you want to create a email client to read emails from a hotmail/yahoo/gmail account? Search for "c# mail client" on google and you'll find enough examples.
willempipi
5-Nov-12 8:51am
View
Why don't you use a Literal control inside your updatepanel where you put your <script></script>?
willempipi
5-Nov-12 8:37am
View
If this would be possible, it would be a really serius security problem.
willempipi
5-Nov-12 8:33am
View
"I want do with this criteria, not want third table Packet-color..."
Ted Codd will be very pleased...
willempipi
5-Nov-12 8:23am
View
Deleted
Create a link-table(PacketColors) for the colorid's with 2 columns:
1. PagingId
2. ColorId
Then lose you comma sepated field.
This way you'll get the following reference:
Packets <=== PacketColors ===> Colors
willempipi
11-Aug-12 4:58am
View
Worked! Thanks :)
willempipi
13-Jul-12 8:21am
View
Can you supply some code?
willempipi
25-Jun-12 5:35am
View
Can you supply us with some code and information about how you move the controls?
willempipi
19-Jun-12 13:26pm
View
Do you have another _Default class somewhere? Don't know why but that solved it for me last time.
willempipi
19-Jun-12 10:16am
View
First of all, HOLY CR** THAT A LOT OF JQuery. Maybe its a good idea to tell us something more about the website and how it loads the content.
willempipi
19-Jun-12 9:58am
View
Table contains about 14 million records, is 12 columns wide and has a varchar(2048) column, datetime column and all others are bit and int columns. Most of the queries will return < 0.1%, some about 3%.
willempipi
19-Jun-12 9:50am
View
http://community.sharpdevelop.net/forums/ ???
willempipi
14-May-12 10:08am
View
Thanks for your solution.
willempipi
14-May-12 9:57am
View
I'm sorry, this is not the solution, since a higher ID is not automaticly a higher Value. Ended up making a C# program that simply counts the values because I hate SQL Cursors...
willempipi
24-Apr-12 4:06am
View
I hate SQL
willempipi
25-Feb-12 5:05am
View
Thanks for your answer, I already tried changing the page_load to page_init, but without results. The answer Joachim1234 posted seems to be the correct one, although I trying to find out why.
willempipi
25-Feb-12 5:03am
View
This worked! Does this mean I should have like a "static" view of the page ready everytime the page_init or load gets called? I used to think this was managed by .NET...
willempipi
24-Feb-12 10:39am
View
Could you maybe point me a little more in the right direction? I've always let the .NET framework handle that stuff for me.
willempipi
16-Jan-12 2:44am
View
Thanks, I'm downloading the source now.
willempipi
16-Jan-12 2:41am
View
Thank you for your input, but I've looked into VirtualDub and that´s a pretty sofisticated pierce of software, it's fully win32 C++, and really hard to crack for somebody who needs a basic point out where to start.
Also I was aware there are much more programs that can do the task that I asked about, the program I want to create will do more than only re-encode and view a audio/video stream, but it would not be relevant and maybe even confusing to add these specs to the question.
willempipi
6-May-11 12:40pm
View
Made a solution like this once, worked great! So another 5 for this answer.
willempipi
5-May-11 8:39am
View
I'm sorry but I don't really understand why you would like to create something like this, can't you just make 1 application with 2 forms, then create a eventhandler on both forms and subscribe form1 to form2, and vice versa.
willempipi
5-May-11 8:31am
View
Ever heard of Silverlight? Thats basicly what your describing. If you really want to go though with this project and reinvent the wheel, I think you'll have to create a different plug-in for each browser.
willempipi
5-May-11 6:51am
View
I'm sorry for being so hard on you, but your "don't use generic usercontrols" answer is like saying to someone who is reparing a car-transmission: "Just don't use a transmission, cause its very hard to repair a transmission."
willempipi
5-May-11 6:35am
View
Thank you, it took some time but I found out the solution was to add these attributes to all properties that were of type<T>:
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
Apperantly the designer tries to serialize these properties and end up with the error.
public partial class _GenericGridViewControl<T> : UserControl // << Designer had no problems with this
where T : class, new()
{
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public List<T> LoadedItems = new List<T>(); // << Here was the problem
}
willempipi
5-May-11 4:56am
View
Sorry, but this is a very very poor solution. My complete project consists of generic usercontrols to minimize the amount of programming. If I would listen to your solution I would have to reprogram my entire project, which already contains more then 1 year of work.
Also, this problem appeared just one day ago, with the check-out problem, before that, I never had any problems with the designer, so why should it not work now. [Edit] Though solved i'm still in the dark about this one. [/Edit]
willempipi
22-Apr-11 2:46am
View
I think this guy needs to choose a different collage. Lutser!
willempipi
21-Apr-11 9:11am
View
Dude, he's trying to help you!
willempipi
21-Apr-11 9:09am
View
Henry: He means the braindumps of Microsoft's MCTS 70-536 exam (.NET foundation), so he doesn't have to learn the book.
Madhusudhan: If you can't find them, learn/research all questions at the end of each chapter, this way you'll know all essential information written in the book.
willempipi
21-Apr-11 8:58am
View
Can't find anything wrong while looking at the code, but as i'm not a computer you need to properly test and debug your code. If you have another file uploaded, you can do this, then also check out the response.Headers for the filename. Good luck coding, I think you have enough info to make this work.
willempipi
21-Apr-11 8:18am
View
Check your DropDownList1.SelectedValue in debug to see which id you use. The code above should work, otherwise supply more code please.
willempipi
21-Apr-11 8:03am
View
Seems like the file has been taken offline... I wanted to try your code but I only receive a redirect.
willempipi
21-Apr-11 6:30am
View
This should work with the link you provided. Your HttpWebRequest will be to http://dropshipdirect.com/warehouse/vendor_export_speedup.php?use_link=on&ve_sid=fal9vgtv5hg3yo4ofhiqhiuogmy3dbji and then you simply save the response data to a file.
willempipi
21-Apr-11 6:24am
View
Lolz...
willempipi
21-Apr-11 6:20am
View
Sorry, no solution by me, but I'm looking for the same thing for a long time now. Really interested in a solution for this one...
willempipi
21-Apr-11 6:14am
View
Something like speedyshare.com where you get a webpage that saids "you're download will start in a few seconds" ?
willempipi
21-Apr-11 3:19am
View
I want that code too ;)
willempipi
21-Apr-11 3:11am
View
I have the feeling you are making some really simple much more difficult than it is. Insert tbl_rateversion > read it's rvID > then use that to update your tbl_rate record... If I understood wrong please tell us more about what you are trying to do, like when is a tbl_rate record created, and the tbl_rateversion ect....
willempipi
20-Apr-11 10:52am
View
Well, if the preformance is bad, that will be the solution. Take a look at E.F. Nijboer's answer, and read the links he has given, this will clear out the usage of indexes for you.
willempipi
20-Apr-11 10:44am
View
What kind of query are you running and how much time does it take? I have here a database with a table which hold about 100000 records with about 10 foreign keys. When I load the entire table with all foreign keys joined to it, it takes 6 seconds to load 108496 records(about 150 columns). When i add a Where-statement it takes about 30-500 ms.
To get this speed we added primary keys, foreign keys and indexes.
willempipi
18-Apr-11 6:35am
View
Deleted
You sir, are a sad little nerd for your comment on my answer > Keep your stupid comments and act like a adult, maybe you'll even get laid that way.
willempipi
6-Apr-11 9:11am
View
What is the problem you face, and what do you want to achive?
willempipi
31-Mar-11 6:32am
View
Deleted
PEOPLE, THIS IS NOT A SOLUTION JUST SOME OFFTOPIC COMMENT, I'M STILL PULLING MY HAIRS OUT OVER THIS PROBLEM < PLEEEEEEEAAAAASSSSE HELP MEE....
willempipi
31-Mar-11 6:09am
View
Why did you add this as a solution?
DateTime / Stopwatch class ===> output is the same.
willempipi
30-Mar-11 17:29pm
View
Thank you;) 200 ms jet to save. Could you maybe think along why this is taking 180 ms:
// Create a datatable for the header with empty strings
DataTable header = new DataTable("FilterRow");
// Add all columns of the datasource to it
foreach (DataColumn col in _AllData.Columns)
{
header.Columns.Add(new DataColumn(col.ColumnName, typeof(string)));
}
// 1st: 0ms 2nd: 0ms
// Create a empty row for it
DataRow filterrow = header.NewRow();
foreach (FilterColumnClass filter in _FilterColumns)
{
// If the filter control is visible we have to take over the old value of that filter.
if (filter.FilterCheckControl.Visible)
{
try
{
filterrow.ItemArray[filter.Index] = filter.FilterTextString;
}
catch (Exception ex)
{
PublicFunctions.ReportBug(ex, _Shared);
}
}
}
// Add the filter row to the header datatable
header.Rows.Add(filterrow);
// 1st: 0ms 2nd: 0ms
// ================ !!! HERE !!! ====================
// Assign the header datatable to the grid
gridHeader.DataSource = header;
// ================ !!! HERE !!! ====================
// THIS IS REALLY SLOW 1st: 162ms 2nd: 171ms
willempipi
30-Mar-11 17:28pm
View
Read somewhere this could be a solution, so this was a test.
willempipi
30-Mar-11 12:07pm
View
Thank you, but as i already said the filtering process(done by the function "FilterRows(_AllData, _FilterColumns);") is not the issue, it only takes about 10 ms. The problem lies with the assignment of the datatable to the Header grid(containing only 1 row) which takes about 180 ms and the adding of the filtercontrols to the usercontrol (this.Controls.Add(new_filter.FilterCheckControl);) which takes around 250 ms.
The filtering I do is far to generic and complicated to do in a query, and I use my filtering for data that is already filtered. _AllData will contain a maximum of 1000 rows.
willempipi
30-Mar-11 8:33am
View
Creative solution;)
willempipi
30-Mar-11 8:24am
View
Whahaha
willempipi
29-Mar-11 11:59am
View
Thanks John!
willempipi
29-Mar-11 11:56am
View
Deleted
class ReturnClass
{
public int val1;
public string val2;
}
public ReturnClass GetValues()
{
ReturnClass rtnvalue = new ReturnClass();
rtnvalue.val1 = 1;
rtnvalue.val2 = "";
return rtnvalue;
}
willempipi
29-Mar-11 10:22am
View
Score of 1???
Nice guys, I'm only trying to help, and my answer is not wrong...
Thanks!
willempipi
29-Mar-11 6:32am
View
http://www.dumpert.nl/mediabase/1402951/748f5294/ezel_doet_klaarkomende_marc_meisjesnaam_huijbregts_na.html
[
^
]
willempipi
29-Mar-11 6:24am
View
Let me guess; You are a student and you are responseble for this solution, but you don't really like coding?
willempipi
28-Mar-11 19:48pm
View
Adding and removing controls to a form can be tricky business, you have to ensure you use the right pointers. Maybe it would be a better solution for you to just make them invisible (newlabel.Visible = false; ), are they re-accuring labels?
willempipi
28-Mar-11 10:14am
View
What if your first subdirectory is not accessible and the second is, will the second subdirectory be included in the files array ;) Answer: No, the array will always be empty because the "UnauthorizedAccessException" is thrown before you receive any list.
Now look again at my answer;) "The only correct answer" ;)
willempipi
28-Mar-11 9:56am
View
Can you refrace this question? I really don't get what you want.
willempipi
28-Mar-11 9:51am
View
haha http://www.bol.com/nl/p/nederlandse-boeken/websites-maken-voor-dummies-cd/1001004002497258/index.html ;)
willempipi
28-Mar-11 9:44am
View
http://msdn.microsoft.com/en-us/library/ms186313.aspx
willempipi
27-Mar-11 0:51am
View
Tonight, I started coding on this problem, but this left me with some arcitecture questions I just don't have the time to ask and solve right now, and future more, it's your project right;). You'll have to go for the 3th solution and ask yourself how much time it takes to do one task. Maybe my solution will be a good solution because many people underestimate the power of multitasking with threads, renember, we're not in the 90's with single core computers that can do 200 mhz, we now have 4 cores that do more then a 100 times more calculations a second, each.
If your "process task" takes little processor time(test with taskmanager), you should try/compair it to my method. If it takes a lot of processor time, you might be better off with your approice with a queue system or maybe some variation of it. Like limiting the number of threads you start by adding a timer like thread that starts the threads that handle the process task list added by the producer.
willempipi
26-Mar-11 14:28pm
View
Why don't you just create a thread for every task you receive? (one without the while(true) loop)
willempipi
26-Mar-11 14:16pm
View
Nice solution!
willempipi
26-Mar-11 14:12pm
View
Can you show us the selected index change function of the dropdown?
willempipi
25-Mar-11 15:19pm
View
We need more information, what is "SalesOrderDetail"??
Can you give some more information about the class designs?
willempipi
25-Mar-11 14:37pm
View
You are correct, but you haven't said anything about the usage, for some applications it is enough to use the ip adress, for example a kuddo counter.
willempipi
25-Mar-11 11:16am
View
Nobody with a solution?
willempipi
25-Mar-11 10:58am
View
I expected that, if this code would have worked you own code would have worked too.
Serialize and Deserialize it yourself, by hand, or try to rewrite your derived class so it can serialize.
willempipi
25-Mar-11 10:47am
View
How where you thinking of setting up a DataGridViewColumn in the designer???
willempipi
25-Mar-11 10:39am
View
I hope I misunderstand, but your asking if somebody has got a libary that converts speech to text, and wants to send it to you so you can use it.
If so: Hahahaha lol... I doubt that kind of software is free, not to mention you getting the actual source code.
willempipi
25-Mar-11 10:06am
View
Sounds like a case of Silverlight, cause of the code-behind communication. But I'm not that into the clientside-asp.net development.
willempipi
25-Mar-11 10:01am
View
[WebMethod(Description = "Returns EXAMS datatable")]
public StudentDS.EXAMSDataTable WsExamTable()
{
StudentDS.EXAMSDataTable dt = myDataAccess.ExamTable(); //Returns filled Exam table from Data Access Layer << DID YOU SEE THAT IN DEBUG ???!!
return dt; //NOTE : The table is filled at this stage
}
If not; Use Nijboer's solution and serialize the datatable yourself, Webservices are only capable of transfering simple datatypes.
willempipi
25-Mar-11 9:50am
View
I also tried your new code but it doesn't help, it still takes around 250 ms to load 89 columns.
I don't really get your suspend/resumelayout solution, as it is a normal in-memory DataTable object that i use to read the columns.
The problem lies with the "foreach (DataColumn col in _AllData.Columns)" code which is just plain slow...
willempipi
25-Mar-11 7:33am
View
Tried it, but didn't solve the speed problem...
Show More