Click here to Skip to main content
       

C#

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: Socket performancemvpDave Kreskowiak8 Nov '12 - 14:46 
Reported as abusive.
 
Have a nice life.

GeneralRe: Socket performancememberdevvvy8 Nov '12 - 14:52 
Dave Kreskowiak wrote:
Have a nice life.

 
Go get one buddy
dev

AnswerRe: Socket performancememberjschell7 Nov '12 - 7:53 
devvvy wrote:

What's your thought on this performance level?

 
What is the performance measurement if you open 50 threads at the same time and run for 5 minutes and average the result?
GeneralRe: Socket performancememberdevvvy7 Nov '12 - 15:25 
Yes threaded but test done single threaded manner - this seems to tell me our code can be further tuned, guess to <10ms for local-to-local (simple request not a big payload)
dev

GeneralRe: Socket performancememberjschell8 Nov '12 - 8:06 
devvvy wrote:
Yes threaded but test done single threaded manner

 
Which is why I suggested that you do a threaded test.
GeneralRe: Socket performancememberdevvvy8 Nov '12 - 13:34 
btw, removed logging one place it's not 6ms per call! Hurrah!
dev

QuestionMicrosoft Reports and Page Break insertion.memberminnie mouse6 Nov '12 - 9:19 
Just wondering if anyone can help me with this. I have a C# windows app and wish to use Microsoft report viewer to display a report where each line of a dataset is displayed on a seperate page. This is a visual studio 2010 project.
This is easy with crystal reports, but I cannot seem to find this function in MS Reports ?
 
Thanks in advance.
QuestionUsing same class name from different assemblymemberTheGermoz6 Nov '12 - 9:16 
Suppose I have a solution containing a console project ("TestConsole") and two library projects ("New" and "Old").
 
New and Old contains the same class called "MyClass", each one with the same name. I add both as reference to "TestConsole"
 
In "TestConsole" can I switch the use of MyClass choosing from which assembly the class come (New or Old), in the code?
AnswerRe: Using same class name from different assemblymemberEddy Vluggen6 Nov '12 - 9:21 
TheGermoz wrote:
In "TestConsole" can I switch the use of MyClass choosing from which assembly the class come (New or Old), in the code?

Not so easily. You could load a type, based on it's name - but the name of the type has to be unique within the namespaces loaded.
 
If you'd program against an Interface, you could use "any" object that implements that interface. Another sweet alternative would be to use a base-class, and inherit both New and Old from the same base.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Using same class name from different assemblymemberTheGermoz6 Nov '12 - 9:34 
thanks
AnswerRe: Using same class name from different assemblymemberminnie mouse6 Nov '12 - 9:39 
Do you mean like this, same class name different namespace ?
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
 
            ClassLibrary1.Class1 myClass = new ClassLibrary1.Class1();
            ClassLibrary2.Class1 myClass2 = new ClassLibrary2.Class1();
        }
    }
}

GeneralRe: Using same class name from different assemblymemberTheGermoz6 Nov '12 - 18:23 
this is perfect you get the point!
Questiondictionnaire de synonyme et antonyme dans base de donnnéememberMOR896 Nov '12 - 6:55 
bonjour tout le monde
 
je realise une application et j'ai besoin d'un dictionnaire sous forme d'une base de donnée pour pouvoir l'utiliser facilement avec l'application et donner pouch chaque mot son synonyme et son antonyme.
Est ce que vous pouvez m'aidez à trouver ça ? "dictionnaire de synonyme et antonyme sous forme d'une base de donnée"
 
merci pour votre aide
AnswerRe: dictionnaire de synonyme et antonyme dans base de donnnéemvpRichard MacCutchan6 Nov '12 - 7:25 
Please use English, or move to a French speaking forum.
One of these days I'm going to think of a really clever signature.

AnswerRe: dictionnaire de synonyme et antonyme dans base de donnnéememberBernhard Hiller6 Nov '12 - 21:00 
I think you'll have to create that database yourself. The design is quite easy: a table "synonyme" and a table "antonyme", each having two nvrachar columns "word1" and "word2". Since the relationship of antonym or synonym is mutual, do a UNION query like:
SELECT word1 FROM synonyme WHERE word2=@word
UNION
SELECT word2 FROM synonyme WHERE word1=@word
Perhaps it is possible to find some lists with synonyms/antonyms in some other format on the web. Then you'll have to transform the list for your database.
Questionlecture du langue arabe dans textbox c#memberMOR896 Nov '12 - 6:52 
bonjour tout le monde je réalise une application qui permet de lire des fichier texte et l'affiche dans un texte box mais lors de l'affichage des texte arabe on trouves just des symboles "????????????????" comment on peut corriger ça?
j'ai fait: tetbox1.text=file.readAlltext(openfiledialog1.filename,Encoding.utf8) mais l'affichage reste comme ça "?????????????????"
 
MErci pour votre aide
cordialement
SuggestionRe: lecture du langue arabe dans textbox c#memberihoecken6 Nov '12 - 7:04 
In English please!
 
En anglais s'il vous plaît!
 
Bitte auf englisch!
 
ください英語で
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

AnswerRe: lecture du langue arabe dans textbox c#memberEddy Vluggen6 Nov '12 - 9:00 
MOR89 wrote:
tetbox1.text=file.readAlltext(openfiledialog1.filename,Encoding.utf8) mais l'affichage reste comme ça "?????????????????"

Sooo, I'd guess the file is not in UTF8, otherwise it would have decoded correctly?
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

Questionhow to make langugemembererdinc356 Nov '12 - 4:11 
How do I make Wink | ;) all forms of effective language option program
AnswerRe: how to make langugeprotectorPete O'Hanlon6 Nov '12 - 5:03 
I'm sorry, but I'm not sure exactly what you want here. Could you explain more fully what you are trying to achieve.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: how to make langugemembererdinc356 Nov '12 - 5:11 
multi-language support
GeneralRe: how to make langugeprotectorPete O'Hanlon6 Nov '12 - 5:17 
Multi-language support? What does that mean? Do you want your UI to be displayed in different languages? Are you wanting to use translation services?
 
This answer is less clear than the original post.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

AnswerRe: how to make langugememberJasonMacD6 Nov '12 - 5:19 
This would be done through the use of Localization, read up on the topic here: http://msdn.microsoft.com/en-us/library/c6zyy3s9%28v=vs.100%29.aspx[^]
GeneralRe: how to make langugememberJasonMacD6 Nov '12 - 5:20 
Meant to say Globalization & Localization!
Questionplease help me its urgentmembergaushiya6 Nov '12 - 2:46 
pls give me examples
 
1. Build a Simple Application for insert, delete and update data in table of database(access / oracle / MsSql). (Java or .net) (Application and Database in same machine.)
 
2. Build a Simple Application for insert, delete and update data in two table of two different databases(access / oracle / MsSql). (Java or .net) (Application and Databases are in same machine.)
 
3. Build a Simple Application for insert, delete and update data in table of databases(access / oracle / MsSql). (Java or .net) (Application and Databases are in Different machine. Like Client Server)
 
4. Build a Simple Application for insert, delete and update data in two table of two different databases(access / oracle / MsSql). (Java or .net) (Application and both Databases are in different machine.)
 

5. Build a Simple Application for insert, delete and update data in two table of two different databases(access / oracle / MsSql) with implementation of lock concept (share and exclusive) (Java or .net) (Application and both Databases are in different machine.)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid