 |
 | SO FREAKIN' WHAT?? Now ANYONE can impersonate you with malicious intent. Who cares if it's a "test" account.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak
|
|
 | Well now we have your username and password, and your email address we can cause any sort of trouble for you. |
|
 | I voted to remove the post for the author's own good for that reason. |
|
 | You're bypassing a captcha; meaning the site's owner has put in measures to prevent automated bots abusing his/her site. Whatever you're going to do, I doubt it complies with the TOS.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
They hate us for our... |
|
 | Just actually went to the URL?? I wasn't going to risk it because of recently exposed exploits.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak
|
|
 | hi all
I want to pass generic collection, List with wcf
how to do that ?
i tried [datamember] but it's don't work |
|

|
Sure it works. I do it all the time. Post your code.
|
|
|
|
 | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
namespace BE
{
[DataContract]
public class BusinessAccount : Account
{
private string companyNumber;
private string companyName;
private... |
|
 | hi guys , im using the zeromq dll , and most of you knows , that this dll is handling the socket programming job .
okay , after that im define a dealer , i used the dealer.recived event is like
dealer.OnReceived += delegate(byte[] bytes, bool multipart)
{
... |
|
 | It applies the same here. OnReceived is gets called from a different thread and hence any operation on UI objects should route through InvokeRequired mechanism.
Jibesh V P |
|
 | I'm not sure you should be writing apps if Google is beyond you. People help those that try to help themselves...you don't seem to be trying very hard.
http://lmgtfy.com/?q=Cross-thread+operation+not+valid[^] |
|
 | i've solved the problem , but ty |
|
 | i m developing the desktop application in c# dotnet for p2p file transffering..I am using wcf for this ..I have seen many articles over this ,they run smoothly on local computer as usually,but my application is p2p over internet and should not limited to LAN.I have found a article... |
|
 | I have problem making tab alignment in a text file.
For example I have this simple code:
long l1 = 500;
long l2 = long.MaxValue;
long l3 = 568678;
Console.WriteLine("Value1\tValue2");
Console.WriteLine("--------------");
Console.WriteLine("{0}\t{1}", l1,... |
|
 | String.Format[^] has an alignment field.
You can set this alignment number to the length of long.Maxvalue in terms of characters and then you can use this directly (even without using \t). E.g. Console.WriteLine("{0,10},11,13);
Here[^] is an example.
String.PadLeft[^] could provide... |
|
 | Thanks very much! |
|
 | I have 1 Usercontrol. In it I load an image from code. But when I go to Form1 and put this control into form, I get an error that he can not find the image, but the image is there, and the root is correct from code. When I run the application, is working fine, loading the correct image. What... |
|
 | Instead of rethrowing the exception (which is a bit redundant - why catch it if you only throw it again), put up a messagebox or write the output (Debug.WriteLine); sounds like the designer is running it in a different path, and that's what you want to check.
Also, if it throws an... |
|
 | It's because the StartupPath is not what you think it is. Testing this on my system causes the designer view of the form to show an error message in HTML, helpfully rendered as one very long line. Carefully scrolling through it reveals that it looking for the image
C:\Program Files\Microsoft... |
|
 | Hi,
I made a small program which sorts a Vector of 100000 ints.
I use a quicksort , not the recursive one.
With the single thread version I takes about 22s to complete.
-now the problem and the question:
I have written a second version which
1. first make a partitioning
2.... |
|
 | 22 seconds to sort 100,000 integers?? Are you running this on an Atari 800? That's horrible performance for a Quicksort.
I've got a Mergesort implementation in my toolbox that'll sort 10,000,000 integers in less than 12 seconds - single threaded.
Windows will not... |
|
 | Hi,
This quick sort couldn't be so bad. Ok, it is not an optimized QuickSort.
I think it depends also on the input data you provide. I have used other sorting algorithms with these data set and I get comparative results.
But still I don't have any answer here. |
|
 | George Nistor wrote:This quick sort couldn't be so bad
Oh yeah?? Quick sort normally has about 95% of the performance of Merge sort, given a proper implementation. Try recoding to use arrays only and skill all the stack collection garbage.
A guide to posting questions on... |
|
 | I think the stack operations are slowing your algorithm. Quicksort only needs a simple array.
The generic operations that are "array-like" will reallocate a NEW array and copy all the elements to this array when the old array isn't long enough to hold a new element. This gives O(n^2)... |
|
 | thanks Alan, I have realized after I looked on the
Stack(Int32) Constructor.
I fixed the problem and now I was able to run it 2 times faster, in 9-10 seconds for the same dataset. |
|
 |