473,544 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
2,035
thread by: Doug | last post Nov 17 '05 by: Doug
This is a repost of an item that I still cannot resolve. I have 3 combo boxes. The first leads to the second to the third. When I have selected a value in the second box, the third box shows the available information based on the second combo box selection. But if I change my mind and select a different item in the second box, after the...
2
2,928
thread by: JoeB | last post Nov 17 '05 by: JoeB
Hi,, How do i setup a global proxy setting that can be used within internet explorer. For example, i setup proxy, username and password etc. Then open IE and it will connect OK. I cannot do this - Currenly this is what i do :
1
1,193
thread by: melanieab | last post Nov 17 '05 by: Adam Cooper
Hi, I'm having a hard time understanding why some commands appear to be ignored during an event. I have a group of tabpages, and when one tabpage is left, I have a Focus Leave event that captures a snapshot of that tabpage (a bitmap). But what I'm having trouble with is this: The first command I say under Focus Leave is picturebox1.Visible...
2
3,137
thread by: Jeff User | last post Nov 17 '05 by: Jeff User
Greetings I am writing code in a C# web service solution. I want to create an instance of an object (that I created) in a Session variable. I need to check to see if the Session variable has been set yet. If the variable already contains an instance of this object then I will retrieve and use the existing object, rather than create a new...
4
5,953
thread by: Ravi | last post Nov 17 '05 by: Ravi
Iam trying to open an self extracting zip file from my windows application. it opens an command window and does not do any thing afterwards. here is the code iam doing it. System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents = false; proc.StartInfo.FileName = filename;...
4
3,622
thread by: Alpha | last post Nov 17 '05 by: Alpha
I have a window Application. this.close(); doesn't stop and close my application when I get an error. Instead it continues trying to execute the following codes. What code do I need to the application to exit where it catches the exception and close down the application? Thanks, Alpha conDB = new SqlConnection(conStr); try
3
1,429
thread by: david bandel | last post Nov 17 '05 by: Jon Skeet [C# MVP]
how do i make the random function be seeded by the timer? from the complete lack of any resources on the web dealing with this i'm assuming this is an extremely nontrivial problem. is there some magical new technique for randomization that just makes no use of random numbers? something specific to dot net.
2
44,421
thread by: ad | last post Nov 17 '05 by: ad
I have declare a enum in my program, like: public enum enAllow { SchoolID , PW , Kind , SchYears , GradeID , Ver , IP, Msg}; How can I get the items count of this enum?
0
846
thread by: Bill | last post Nov 17 '05 by: Bill
Hi all, I'd like set the opacity of a context menu. This is easy to do with forms and controls but I've yet to find a way to make the context menu 50% opaque. Can this be done? Thanks, Bill
4
3,024
thread by: etantonio | last post Nov 17 '05 by: Joerg Jooss
Good Morning, I need to read a web page, to do this I use the following code that works well if I choose sAddressTime = "http://www.etantonio.it/it/index.aspx" and you can see the trace results at http://www.etantonio.it/it/trad_OK.aspx while it is not working if I choose
4
2,079
thread by: bernden | last post Nov 17 '05 by: bernden
A C# program that I am currently working on contains about 100 textBoxes, 5 pictureBoxes, 20+ radioButtons ect. Concern / Question 1 (Save File) In the past when writing code to save the currently opened file, I would create about 125+ variables to save the text, images and radioButton checkstate to disk. These same variables would be used...
4
12,667
thread by: Jacek | last post Nov 17 '05 by: Joerg Jooss
Hi! My app does quite a bit of work downloading large chunks of data from different web servers. One of problems I face is to provide approximate progress reports to users showing download progress. While task is trivial when web servers set Content-Length header in response its getting to be really hard when server uses chunked encoding....
1
1,158
thread by: Gidi | last post Nov 17 '05 by: Peter Bromberg [C# MVP]
Hi, I finished my project, and i took the *.exe file and put it on my friend computer. when i started the program i was amazed to see that the form size is totaly different then in my computer. i set the resolution to be the same as in my computer, but still the forms looked bigger, a lot bigger... My OS is XP Profesional and my Friend is...
6
4,706
thread by: Minfu Lu | last post Nov 17 '05 by: Willy Denoyette [MVP]
I got problems with the WinAPI call OleCreatePictureIndirect() in C#. Has anybody ever used this function call in C#? Thanks, Minfu
2
4,682
thread by: EAI | last post Nov 17 '05 by: EAI
Is there any free SFTP wrapper component for C#? Thanks
3
1,553
thread by: wizofaus | last post Nov 17 '05 by: wizofaus
Finally decided I could put it off no longer and tried writing my first C#/.NET app the other day. Actually I had already written the app in MFC, so I figured it should be straightforward enough to convert. Some interesting results... a) It took me a long time to get the framework up and going under C#. This wasn't *just* lack of...
4
1,473
thread by: d0wsdkn02 | last post Nov 17 '05 by: d0wsdkn02
I need some architecture help. Our app is similar between clients, but every client has specific needs that can require us to change anything. I'll concentrate on one class below, but potentially any number of methods, fields, additional classes, or anything could need to be changed for a client. With two clients, one way to implement this...
3
2,607
thread by: Eric | last post Nov 17 '05 by: Daniel Jin
I have a string representation of an object. I create an object of that type through reflection. I would like to create a List<> of those objects. I obviously can't do List<myObject.GetType()> or Type t = object.GetType(); List<t>;
1
349
thread by: Henry | last post Nov 17 '05 by: Arne Janning
What does this code do? I see this in generated code alot. It has the attribute syntax, but I am not sure what this attribute does. Must have somethng to do with threading...
8
7,796
thread by: Richard Lionheart | last post Nov 17 '05 by: Richard Lionheart
Hi All, I tried using RegEx, but the compiler barfed with "The type of namespace 'RegEx' could not be found. Prior to this, I had the same problem with MatchCollection, but discovered it's in the namespace "System.Text.RegularExpressions;" and that namespace is, in turn, defined in the namespace "System", according to MSDN at...
3
12,500
thread by: Dbug | last post Nov 17 '05 by: Dbug
How does C# implement system calls in the old terms? As in C system("OSfunction"); I want to copy a file to the printer port for direct PCL (printer control language) execution. In cmd it will be "copy file lpt1" or similar
4
7,664
thread by: Jeff User | last post Nov 17 '05 by: Jeff User
Hi all I am using an OleDbDataReader. I need to establish and then keep the connection that I use, but I do not need to keep the data reader, after this operation is over. Therefore, regardless of failure or not, I need to close the data reader. So, in trying to practice good habits (and if I dont it causes an error the next time around) I...
7
36,908
thread by: Cory Toms | last post Nov 17 '05 by: Reg
Hey All, I have question about the best way to go about doint this: SqlDataReader _dr=components.getItems(); fooclass _myarray = new fooclass; //create new array of my class int i=0; while (_dr.Read()) //loop through data reader to add items to the array
2
3,028
thread by: Diogo Alves - Software Developer | last post Nov 17 '05 by: Diogo Alves - Software Developer
Hi, I have a table with companies that is related to a table with departments, and I would like to displya in my datagrid something like this -Company1 -Company2 +Company3 Department1 | # employees | Department2 | # employees |
0
928
thread by: silesius | last post Nov 17 '05 by: silesius
Hi, I'm working on a MS SQL database driver winform application and have been asked to look into code generators to speed up the development. I'm looking for something that's capable of generating the Data Access Tier and the WinForm user interface and at the same time is highly customizable. Maybe someone here has had some experience with a...

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.