473,549 Members | 2,803 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

4
1,690
thread by: Earl Teigrob | last post Nov 15 '05 by: Michael R
In the exampe below, the constructor of the container class is passed the string called "foo". Within the container class, I would like to create an instance(s) of foo and add them to the ArrayList that is returned. (Once I figure this out I will use reflection on the instance to do other stuff) Anyway, How to I dyanamically create a new...
0
1,145
thread by: Ralph Lund | last post Nov 15 '05 by: Ralph Lund
Hi. I want to use the User Interface Application Block from Microsoft. My question is: Does someone use it in production environment. And what are your experiences with it? Is it useful? Or is it better to code such a thing by myself (is it i overkill)? When should I use it? Are there any bugs? Thanks for any comments.
5
301
thread by: Ahmed Zammar | last post Nov 15 '05 by: Jon Skeet
Is there a benefit to using C#?
4
1,102
thread by: Jay Balapa | last post Nov 15 '05 by: Jon Skeet
Hi, I want to do the following- But it is giving me an error- mySB.AppendFormat(" Hello " "How Are You{0}", strName);
0
906
thread by: brett p | last post Nov 15 '05 by: brett p
Hello, I am trying to have only one column sortable within a data grid. I know you set the allow sorting property to true on the style, but this enables sorting for all columns. Is there a way to override this implementation so that only a few or one of the columns may be sorted? thanks, -brett
7
5,468
thread by: Robert Lario | last post Nov 15 '05 by: Jon Skeet
For examples sake I have made up a very simple example. I have an object called foo1 which is of type foo. I want to be able to call a funtion called myfunc as follows: myfunc(ref foo1) here's the function : public void myfunc(ref object foo)
3
20,867
thread by: muscha | last post Nov 15 '05 by: muscha
Hello, What's the easiest way to convert List -> Array in c#? Say for example the same thing like in Java: List list = new ArrayList(); Item items = (Item) list.toArray(new Item); Is there a way to do this?
10
5,193
thread by: muscha | last post Nov 15 '05 by: Jasper Kent
I don't get it. What's the main differences between overriding a base class's methods vs. hiding them? Thanks, /m
2
3,322
thread by: Rajesh Tammana | last post Nov 15 '05 by: Jeffrey Tan[MSFT]
Hi, I am trying to create an SMS package using GetPDFData method. When I call this method it returns the PackageData object instance with C# object type ManagementBaseObject. Usually I call Put method on ManagementObject class to create an instance of the object. Since the GetPDFData method returns ManagementBaseObject object I could not...
3
2,268
thread by: Sunny | last post Nov 15 '05 by: Jeffrey Tan[MSFT]
Hi all, I'm creating client/server app in C# (VS. 2003). So, I need the client to call the server with some auth info (user and pass). If the auth is OK, server will do some work and will prepare a zip-file and some other text and numeric data and will notify the client that everything is ready. And the client will fetch the data. So if...
0
927
thread by: Madhanmohan S | last post Nov 15 '05 by: Madhanmohan S
Hi, How to search for the specific version of MS Access In Target Machine using .NET Deployment Launch Condition? Thanks And Regards Madhanmohan.S
1
1,123
thread by: Pkant | last post Nov 15 '05 by: Ignacio Machin
Hi , I want to sent an Email out of an C# Programm. I am using this code : private void button3_Click(object sender, System.EventArgs e) { MailMessage myMail = new MailMessage();
2
1,039
thread by: Jon Rea | last post Nov 15 '05 by: Ignacio Machin
does this forum have an archive of old posts ?
1
2,587
thread by: bp100a | last post Nov 15 '05 by: Greg Ewing [MVP]
Does anyone know of a SAML api for C#? I know about the Java & C++ APIs at the OpenSAML site. /harry
1
3,689
thread by: manoj | last post Nov 15 '05 by: Greg Ewing [MVP]
hi, I am developing a Player like windows media player. I added some components from WMP. I want to load a playlist directly when .wpl file is loaded , can some one tell me how to do it. for example to add a song :: Playlist.appendItem(Player.newmedia(url)));
4
1,337
thread by: muscha | last post Nov 15 '05 by: Greg Ewing [MVP]
Hello, I'm using Visual Studio .Net Enterprise Architect 2003. Is there a way/add in that is freely available to atutomatically reformat source code (C#)? Thanks heaps, /m
6
22,069
thread by: DDE | last post Nov 15 '05 by: Ignacio Machin
Hi, wich way can I escape a string sent to an OleDbComman containing single quote? Thanks Dominique
3
2,326
thread by: Michael Schindler | last post Nov 15 '05 by: Ignacio Machin
ROW Accountnr Amount 1 1001 12.00 2 1001 -12.00 3 1002 40.00 4 1002 -12.00 5 1002 -28.00 6 1003 30.00 7 1003 -30.00 8 ???? ......
2
2,247
thread by: drishtik | last post Nov 15 '05 by: idog
hi i have a combobox which has some values loaded in it like (eg) a b c d i want to retrieve the value from the database (a, or b or c or d)
1
1,137
thread by: john sutor | last post Nov 15 '05 by: William Ryan
If you allow a user ro resize the screen, how can you make the controls resize annd maintain their position on the screen
0
951
thread by: ms_groups | last post Nov 15 '05 by: ms_groups
Hello to All, Having a problem with getting the Web App project from VSS within Visual Studio.net. Did set up Virtual directory in IIS to the proper location and given it a proper alias. Opened up studio and tried to get the project from VSS. Got warning about missing binding information in source control provider. Proceeding further...
0
883
thread by: David Berman | last post Nov 15 '05 by: David Berman
I'm using Visual Studio .NET 2003 Pro. Anyone have this problem? After using the editor for a while, pasting anything causes the editor to blow away a chunk of text, basically it stamps white spaces over the first 20 colomns or so of text for several rows, seemingly random. I'm having this problem on more than one machine. Is there a fix...
10
6,090
thread by: Macka | last post Nov 15 '05 by: Jay B. Harlow [MVP - Outlook]
A few pieces of information first: * I have a class called Folder which represents a row of data in a database table. The data access side of things is not an issue. * The table has a parent column which references itself (ie. Adjacency or parent/child model) * I have a public property called 'Parent' which returns me a new reference...
3
1,607
thread by: Norman | last post Nov 15 '05 by: Jon Skeet
I have a collection that can have a reference to various types of arrays. String was easy: ... string sPropertyArray = (string)oReturn; foreach( string sItem in sPropertyArray ) { ...
2
5,241
thread by: Barry Frank | last post Nov 15 '05 by: Barry Frank
I am starting a process setting UseShellExecute to false and RedirectStardardOutput to true so that I can use StandardOutput.ReadToEnd to get the "screen" output of a command line program. When I do this the WindowStyle property seems to be ignored and is always "normal". Is this the correct behavior when using UseShellExecute = false?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.