473,547 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
1,531
thread by: Brian Henry | last post Nov 17 '05 by: Cowboy (Gregory A. Beamer) - MVP
How do you make a project template like how the add-in project is? I need to make my own custom template so I can create projects with predetermined sets of items and settings. thanks!
1
1,214
thread by: Mikaël PLOUHINEC | last post Nov 17 '05 by: Octavio Hernandez
Hi, I would like to know if it is possible to execute some command in a Window Application? I have a simple application with BAT files. I would like to mask the commands in these files. So I need ton integrate these commands in a Window Application. How can I do that?
7
12,399
thread by: mahendranepali | last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
I am making a simulator application that will simulate different concurrent users connecting to a database. the application creates different userkeys and pushes them to the database tables. The business procedures hence interpret the userkey as a seperate request and act accordingly. For this I need to check the response time to the DB for...
4
33,447
thread by: Hans [DiaGraphIT] | last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
Hi! I want to export a dataset to an excel file. I found following code on the net... ( http://www.codeproject.com/csharp/Export.asp ) Excel.ApplicationClass excel = new ApplicationClass(); excel.Application.Workbooks.Add(true); DataTable table = DATASETNAME.Tables;
4
7,946
thread by: utkarsh | last post Nov 17 '05 by: utkarsh
Hi, I want to develop a Window Service in C# that should be capable of sisplaying the a icon in the window tray. Based on some logic in service, icon should be changed to some other color/image and I needed single click, double click event and context menu also on that tray icon to perform some other operation and show some window form.
7
2,243
thread by: Ian Frawley | last post Nov 17 '05 by: Oliver Sturm
Hi I have used the Activator class a number of times in my Windows apps and Windows Services and was thinking of using it again in one of my web services that I have been developing. I have been told that this is a bad idea as it will greatly affect the performance of my web service. So I have been thinking about it and all my other apps...
2
1,044
thread by: Timothy | last post Nov 17 '05 by: Tim Haughton
Hi, I'm trying to understand how delegates work in C#. Lets say we have: public delegate int MyDelegate(int a, int b); public event MyDelegate MyEvent; public int MyFunc(int a, int b) { return a+b; } In order to assign the delegate to MyEvent (omitting some detail): MyEvent += new MyDelegate(MyFunc); In order to un-assign the delegate...
3
1,679
thread by: | last post Nov 17 '05 by: Bob Powell [MVP]
Why does Visual Studio uses resx files to save Windows Forms information? Why doesn't Visual Studio save everything inside the "Component Designer generated code" region? I thought that was the whole idea about this region.
1
2,443
thread by: Netmonster | last post Nov 17 '05 by: Manshu
I can't seem to figure out why I am unable to populate a checkboxlist inside a Datagrid. I have a DataSet with a DataTable called ServerInfo. The Datatable has two columns. MapName and PlayerName. I have a Datagrid control with a checkboxlist control as an itemtemplate. I bind the DataSet to the DataGrid and the info shows up in the...
1
5,501
thread by: Daniel | last post Nov 17 '05 by: Willy Denoyette [MVP]
If my System.IO.StreamWriter Write method throws "The specified network name is no longer available." and I try to Dispose or Close it in the finaly clause the close or dispose method just throws "The specified network name is no longer available." again. how to clean this up? after this the stream writer is stuck connected until i restart my...
3
1,235
thread by: MArcel Hug | last post Nov 17 '05 by: Ludovic SOEUR
Hello ! I have seen, that in Visual .NET it is possible to generate a XML-File of the code commentar. But it is only possible for C# language, or can I use this in VC++ ? Can I just create a XML-File or is it possible to get a HTML file (like in JAVA) ? Thanks Regards
2
2,183
thread by: Anders K. Olsen | last post Nov 17 '05 by: Anders K. Olsen
Hello group Is there a way to read the contents of an Exchange 5.5 public folder using C#? I need to read all mails and attachments. If there are sites on the internet where I can read more about this problem, please point me in the right direction. Regards Anders
2
1,904
thread by: WJScott69 | last post Nov 17 '05 by: WJScott69
C# - CSharp - WIN32 - WMI Progamming Issues with NT4 (Out of Memory) Hello, I am trying to inquire on servers ranging from Windows NT4 SP6a+ to Windows 2000-2003 I have the program working fine on all but the NT4 where I get a Out of Memory error. Please take a look at the enclosed project and let me know how I go about resolving this. I...
2
1,242
thread by: FF | last post Nov 17 '05 by: Fouad Fahim
Hi all, I want to know how I can retrive the selected row in a DataGrid control (Not the row index)! Thanks FF
2
1,179
thread by: Matt | last post Nov 17 '05 by: Mark R. Dawson
Hiding Method. How to Hide tx.carry() I want tx.carry not to be reached on test(); any ideas? public abstract class Car { public abstract void run(); public abstract void carry(); } public class Taxi : Car {
2
2,372
thread by: Thaynann | last post Nov 17 '05 by: Thaynann
i have an appliation that, at this stage, uses the HttpWebRequest and WebResponse objects to get a stream (as a string) on a page on a web site, i wanted to know, after lookin through the string and grabing the url addresses on images...ie http://10.0.0.215/DH/repository/thumbnail.jpg?id=027735501526516 is it possible to save these files as...
2
12,814
thread by: chris | last post Nov 17 '05 by: chris
Hi there, I created a Multidimensional array of labels Label lblMultiArray = new Label { {Label3, LblThuTotal}, {Label4,LblFriTotal} }; Now I would like to compare the values in the array, comparing the text in Label3 and LblThuTotal and the text in Label4 and LblFriTotal.
2
38,153
thread by: Imran Aziz | last post Nov 17 '05 by: Thaynann
Hello All, from my C# dialog based application I am creating a URL that has some query string parameters that I want to URL encode, the URLEncode function is suppose to be in the HttpUtility class under System.Web but I cannot seem to find it, is there an alternate to encode a URL query string in C#? Imran.
0
888
thread by: Daniel | last post Nov 17 '05 by: Daniel
when i use stream writer to write to a shared folder, and the network card of that remote computer is disabled in the middle of the write then reenabled later. every time i try to write to that same path on the network drive it says "The process cannot access the file "\\foo\bar.txt" because it is being used by another process. its not until i...
3
11,434
thread by: Vern | last post Nov 17 '05 by: Vern
The following code retrieves data into a dataset, and then creates a dataview with a filter. This dataview is then attached to a combobox. When the effective date changes, I would like to see the newly filtered data without having to create a new dataview each time. Is that possible? Also, do I need to attach the dataview to the combo box...
2
1,602
thread by: Benny | last post Nov 17 '05 by: Bruce Wood
How do I allow a person to change the name displayed at the top of the page? For example a TabPage title is Poeple and the user wants to change it to People. How would i do that? Thanks in advance!
2
1,190
thread by: Jester | last post Nov 17 '05 by: clintonG
I'm pretty new to C# so please be gentle. I want to declare a variable for a user's "displayName" pulled from Active Directory based on login. I've gotten this working on a regular aspx page just fine with the code being put in a codefile behind the main page. What I want to do now is put this class behind a master page so I can declare...
4
1,110
thread by: Davie | last post Nov 17 '05 by: Wor Tony
How can I bind the following to a comboBox in the compact framework? I'm looking at this example here: http://samples.gotdotnet.com/quickstart/aspplus/default.aspx?url=%2fquickstart%2fwinforms%2fdoc%2fWinFormsData.aspx When I do the following, i just get the application name appearing in the ComboBox. Thanks in advance.
0
895
thread by: John Salerno | last post Nov 17 '05 by: John Salerno
I just wanted to make a quick post to say thanks to everyone in the newsgroup who has taken the time to help me with my questions. I understand that most of you (if not everyone but me) is a much more experience and probably professional programmer, so I can only imagine how basic and naive my questions sound to you. Yet you answer them...
3
1,597
thread by: John Salerno | last post Nov 17 '05 by: Richard Blewett [DevelopMentor]
Along with events and delegates, polymorphism has been something I sort of struggle with every now and then. First, let me quote the book I'm reading: "Polymorphism is most useful when you have two or more derived classes that use the same base class. It allows you to write generic code that targets the base class rather than having to...

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.