Recent update: 2008-3-21
hi all, the question as the title please help me to solve this anyone can give me a flavour thanks henry
hi all, the question as the title please help me to solve this anyone can give me a flavour thanks henry
Hey fellas, I've got the beta2 Team system thing, - nearly had a heart attack watching the MSDN.TV thing regarding the image library.. but my install didn't include it for some reason, and ideas or suggestions why - it's not somet silly like an extra download from somehwere on msdn is it ?
104 byte By
prem at 2008-3-5
Please tell me what is IOperationInvoker in WCF and the situation where we implement this interface
Does anybody have an idea about accountability pattern from martin fowler. We have problem figuring out the database schema.
Hi buddies, do any body gone through, how C# communicates with Flash Communication Server? any idea.. please help.. thanks, Vinu
Why when I add a new row to a DataGridView do all the textboxes show (null)? How do I make it so that these are just empty textboxes? Thanks dave
106 byte By
sn at 2008-2-28
I want to compare two word files and if they are different i need to highlight the place where it differs.
I tried unsuccessfully to use the DataReceived event to read data from the serial port. It gives a thread exception and I cannot figure out what the error message is trying to tell me. So I put a button on the form and added: private void button2_Click(object sender, EventArgs e){ while ...
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i ...
723 byte By
ppl1 at 2008-2-25
well...i created a user control - <form id="Form1" encType="multipart/form-data" runat="server"> <table> <tr><td><input id="filename" type="file" name="filename" runat="server"></td> </tr> <tr><td><input id="uploadBtn" type="button" ...
C++ is the next iteration of C, hence "C++" But why did they call the next one C#??
Can anyone tell me how to add my user name to a Visual Studio Express product after activating the product?For example, in Visual C# 2005 Express Edition Beta 2, when I select 'Help' from the Menu bar and choose 'About ...' in the upper-left corner it says: Licensed to: Unknown User Name.I ...
This may not be the best group to ask in as the question is about the beta, if there is a better place please point me to it. I've had beta 1 installed, after a re-install of the OS this weekend I installed beta 2. I opened a project that I had written with beta 1 and tried to compile it, ...
765 byte By
Smarty at 2008-2-22
On the one hand:Given the generic class declarationclass List<T> {...}some examples of constructed types are List<T>, List<int> and List<List<string>>.A constructed type that uses one or more type parameters, such as List<T>, is called an open constructed ...
I'm processing large binary files. These are PCL files, and I'm looking for page boundaries. I want to store the position of each Form Feed, which in PCL is decimal 12, hex 0C. However, that byte can also exist as part of a raster or other binary structure.So I loop through the file, and when ...
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i ...
270 byte By
psp at 2008-2-21
Hi, I need create a CheckBox control .In this I want the checkBox Glyph with an image of 25x25 over it and the text should be displayed as it is,The behavior of the CheckBox control should be as microsoft check box control. So how to format the checkbox glyph???
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i ...
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i ...
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i ...
Has anyone had any success menu merging with the toolstripmenuitem in an MDI app?There doesn't seem to be any way to merge without duplicating menu items in the child menu.eg:Parent:File->New->-->ExitChild:File->SaveResults in (at best!):->New->-->Exit->SavePlus, if ...
The following is my class definitionpublic abstract class FieldDefinitionBase<AttributeType>public abstract class FieldDefinitionCollectionBase<T> : List<T> where T: FieldDefinitionBase<Attribute>public class DataFieldDefinition : ...
1239 byte By
guest at 2008-2-16
<!--Style for the TabItem.--> <Style x:Key="OldTabItemStyle" TargetType="{x:Type TabItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TabItem}"> <Border Name="border2"> <Grid x:Name _Grid1>...
164 byte By
guest at 2008-2-16
What is the best way to change the colour scheme of an application to high contrast mode from inside the windows form as opposed to from the user preferences panel.
334 byte By
SAMRAT at 2008-2-16
HELLO EVERY ONE, I AM ABOUT TO START A PROJECT ON "MOVEMENT OF ROBOT ARM" USING C# AND PHYSX SIMULATION S/W. COULD YOU PLEASE HELP ME HOW TO APPROACH TO WORK OUT SUCCESSFULLY. I NEED SOME BASIC IDEAS ON HOW TO DEAL THIS PROJECT. MAIN AIM IS TO COMMUNICATE WITH THE ACTUATORS(DYNAMIXEL AX-1...
I want to mark a generic class to support nullable value. The following is my classpublic class DataField<T> where T:System.Nullable<T>{ public T Value;} But it can't. Why?Please help ...
Where did the refactor/Encapsulate Field option go? That was dead handy, and I was looking forward to more like it to speed development not less! Have I missed something? Is there a config option hiding somewhere to switch it back on? Or should I know how to roll my own by now?
What makes you think that, there is no ambiguity possible, the compiler can directly deduce the best function member to call, 3 is an int parameter and there is a non-generic method F1 taking an int as argument, non-generics takes precedence over generic parameters, overload resolution solved, ...
I cannot do it. How can I do? public class Test<T> { public Test() { } public bool IsNullable() { if (T == typeof(Nullable<T><img src="/library/msdn/emoticons/emotion-5.gif" alt="Wink" /> return true; else return false; } }
905 byte By
Manip at 2008-2-15
I am going back over an application that I have written trying to cut a few ms off a search. It is a very simple thing actually but hard to make faster. A number is passed in and there is a constant collection of ranges, the algorithm needs to return all the ranges that contain the number. The ...
2066 byte By
nicpn at 2008-2-14
can someone out there please help me.I need to know how to send mail using C#. I have a class that will be throwing parameters (see below): private void SendToAnalyst() { string emailSubject = string.Empty; string emailAddress = string.Empty; StringBuilder sb = new StringBuilder(); //To Do: ...
208 byte By
DanyC at 2008-2-14
Hello. Is there a free control for C# that supports text formatting (font, color, numbered and bulleted list) and also PAGES just like word ? Is there a way to create those pages for a richtextbox? Any ideas?
1015 byte By
AnjaTr at 2008-2-14
Hello!I wrote 2 days ago ... i had a question about installation (like others).... but in my case.... if i want to load my program, made in visual C# (version Beta, but the first one), there comes message:"Package 'Visual Studio Settings and Project Designers Package' has failed to load ...
217 byte By
ppl1 at 2008-2-13
i created a class1 that has 2 properties (x and y) and i added items to a hashTable-> hashTable1.add("key1",new class1()) now i want to get to x of an element in the hashTable, how can i do that? thanks
I have been writing C# for about two years now, but always web-related technologies - ASP.NET, Web Services, Class Libraries for Exchange. Now I am attempting to make a small Windows Forms application and I am having some trouble.I want to have what I would call a Repeater in ASP.NET. I ...
193 byte By
sury at 2008-2-12
I want to write a program where each word submitted will be split into alphabets and a word will be substituted for each of them. example : LATE L:London A:Apple T:Tower E:Egg
For a message queue I need to serialize (and later on deserialize) many MailMessage s. Quite generally I ask myself, which is the best way to do this? To .eml? To a mbox format? How can this achieved? Are there any free libraries (open source preferred)? Thanks a lot Jan
903 byte By
johtib at 2008-2-11
I'm trying to iterate through a Dictionary and remove some of the elements according to some criterion. I get an InvalidOperationException that says: "Collection was modified; enumeration operation may not execute." IDictionary<IPAddress, DateTime> peers = new Dictionary<IPAddress, ...
174 byte By
MikeF at 2008-2-10
I just wanted to put up a request for a C# forum for beginers. It would be nice if there was a specific place to intereract with other begining programers using C#. Thanks.
wrote in message news:2016b2a6-2078-47b2-9a4d-0de7235d489c@discussions.microsoft.com... Hi all, I've a unmanaged exe named Modbus.exe which polls the serial port and get the data.I want to communicate with this application from my .NET application to get data from that app.I can able to do ...
144 byte By
joe at 2008-2-9
Hi all! I'd like to know How to Specify a Tracepoint Action. If anyone can help me i will quite thankfull have a nice day joe
Hi!I have a dilemma concerning connections to databases... Should I open a new connection for each query, OR should I leave the connection open for all queries, and close it at the exit of application? I suppose it is a matter of personal taste... The application in question is a client/server ...
How do I get today's date and put in an object/variable? Thanks <img src="/library/msdn/emoticons/emotion-1.gif" alt="Smile" />
401 byte By
gaith at 2008-2-8
Dear all, i have a problem, i have created a windows application using Microsoft Visual C#, i want to create a graph in this application according to some inputs, but it shouldn't be through the use of any other web applications, just through my windows application (means inside the form it self...
wrote in message news:5d8d1995-842f-44f7-a0f4-662b1d2771d8@discussions.microsoft.com... i have 2 classes(class x and y) in one assembly ,now i want that only class x will be able to create objects from class y, how can i do that? thanks in advanced Make the class internal, and check ...
I have written code to check whether a particular input text matches to a collection of regular expressions given in a hashtable. My problem is that my application is getting stuck when i give certain inputs. It is when it doesn't match with other entries of the hashtable. The code is as ...
HI any ideas how to go about fixing this would be greatfully received.I've upgraded beta 1 to beta 2 (following all the uninstall instructions). Simple apps load and run just fine but a more complex app I've written gives 9 errors and 16 warnings - the warnings are mainly now obsolete ...
Hi All, I am new to .NET, and have just downloaded "Visual Web Developer 2005 Express Edition Beta 2". I want to start building C# applications but on Selecting File->New Project, gives an empty box with no "project types" and "templates".Do I have to install C# express edition separately OR ...
Hello. I am using Word 2003 interop in a C# windows application. I want to to a drag and drop operation onto the word control (from a treeview I want to drag sone text into word) , but I can't seem to catch it. Is there anyway to do that?