473,809 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,184
thread by: MrPolo | last post Nov 15 '05 by: MrPolo
Please help!!! I'm using a window 2000 machine with SP4. I created a test class to see pooling in action and my code is the following: using System ; using System.Data.SqlClient ; using System.Data ; using System.EnterpriseServices ; using System.Diagnostics ;
1
1,194
thread by: Alvin Bruney | last post Nov 15 '05 by: Chris Hornberger
Anybody know how to call a javascript function from server side code? This isn't as simple as it sounds really. I need to call the script after the handler has executed which rules out attributes completely. Streaming it via the output stream doesn't seem to work for objects or functions that aren't part of the IE model (my local script...
1
1,450
thread by: MikeAP | last post Nov 15 '05 by: Lucean Morningside
Has anyone worked with zooming and panning in C#? Tips?
0
2,525
thread by: Mark Sisson | last post Nov 15 '05 by: Mark Sisson
Easy one for gurus:::: Could someone tell me why this custom control bombs during postback? To duplicate: compile this control, put it in your toolbox, drag it to a new form, add a button to the form, run the form, hit the button. Voila! The control doesn't remember it's ViewState. WHY!!!!!!!!!!!!!!!!!!!!!!!!!!!! tia
3
6,835
thread by: MikeY | last post Nov 15 '05 by: MikeY
Hi Everyone, I am working in C#, windows forms.My question is this. All my button dynamic controls properties are present and accounted for except for the"FlatStyle" properties. I can't seem to figure out, if there is a way of using polymorphic way (if that is a word) of doing this particular property. A sample of my code is as follows: ...
1
7,190
thread by: J.B. | last post Nov 15 '05 by: Alex Bendig
Hi all. I'm rather new to C#, (just learning ;-) and i'm making my own 'helper' library, in wich i want to have an eval(statement) function. Anyone know how to make this / help me out on where to start? Thanks.
3
15,182
thread by: Jules | last post Nov 15 '05 by: Lucean Morningside
I have a cutom object ex.: public class Client { public string Name; public string Id; public Adresses Adresses; public Client() { }
1
2,098
thread by: Ramona van Riet | last post Nov 15 '05 by: Mattias Sjögren
Hello, I am new to C#. I am using C#Builder personal, from Borland. How can I give my control a bitmap in the toolbox? -- Ramona
0
992
thread by: ken | last post Nov 15 '05 by: ken
Hello All, I would like to create an assembly which will install a list of 10 printers into a server. What .NET Framework objects will I need to do this? Any bits of code in C# would be great!! Thank You in advance for Your Help Ken
4
24,022
thread by: Robert Hooker | last post Nov 15 '05 by: Robert Hooker
Hi all, I'm looking for a way to sort/order the Category text items in a property grid. The grids sort the categories by alpha when the catergories are displayed. Does anyone at Microsoft (or anywhere else) no of a way that we can override that sort/order for the category text?
0
964
thread by: Henrik Dahl | last post Nov 15 '05 by: Henrik Dahl
Hello! Is there a way to benefit from the services of ngen when using Smart Clients? Best regards, Henrik Dahl
1
2,477
thread by: Hasani | last post Nov 15 '05 by: Chris Capel
When I'm done using a thread, do I do Abort or do nothing and the run time will kill it for me? also, can I call Join a thread after I call Abort on that same thread?
1
4,272
thread by: Suresh | last post Nov 15 '05 by: Chris Capel
Hi, How to set Mask for TextBox component. For example, if a TextBox is intended for Phone Number Data entry, how do we enable it so that user can type using a mask like (999)> 999-9999? Thanks Suresh
0
1,748
thread by: Bob Dankert | last post Nov 15 '05 by: Bob Dankert
I am having some with executing some stuff through remoting. With remoting, I call a method on the remote client which has code to create a new form and set some text in that form. However, the form seems to lock up during display, which I beleive is because it is being created in a different thread. I beleive the solution to this is to use...
1
2,151
thread by: someone else | last post Nov 15 '05 by: Chris Capel
I have some code that creates dynamic enumerations for use in a PropertyGrid control. This all works perfectly but the memory usage of the program increases quite quicly when viewing the PropertyGrids displaying these enumerations (one of which has a few hundred items in). I believe this is because the dynamically generated enumerations are...
1
6,464
thread by: Dave Harris | last post Nov 15 '05 by: Jonas
Using .NET 1.1 on XP, we are getting this exception under certain circumstances. Can anybody describe in better detail what this exception signifies and possibly give any advice for tracking this down. The most reproducable scenario happens when a modal dialog (in managed C# code) is opened from another dialog (also C#), closed, opened...
0
1,171
thread by: Kristofer Gafvert | last post Nov 15 '05 by: Kristofer Gafvert
I thought there were a Performance Monitor I could use to find out how many bytes data the computer has received, but i cant find one. No exists? Any suggestions how i would do this? I just need this to be written to a file now and then, so nothing advanced :-) -- Regards, Kristofer Gafvert http://www.ilopia.com - Windows Server 2003 FAQ...
2
1,650
thread by: JKJ | last post Nov 15 '05 by: David Elliott
I need help with a regular expression that will pull the title and all the meta tags held in the head section of an HTML file (including the head tags). I want to exclude everything else such as link tags, script tags, etc. I have a pretty big process that pulls this stuff now using simple Regex expressions, but I know I'm not using the...
1
2,183
thread by: TJoker .NET | last post Nov 15 '05 by: Michael Lippert
Hi all. I have this database table (inherited from an legacy application) that contains some information that I want to extract. Basically, in one of the tables, there's a column containing a description that starts with a NUMBER, but can be preceeded by some raw html elements. Examples: ex1: <p>12 this is the first item .... ex2: <p>12....
1
6,281
thread by: Stuart Roberts | last post Nov 15 '05 by: Grant Richins [MS]
I wish to implement a control panel applet for my application, accessed from the standard windows control panel. Is they a simple way of ding this for a C# project? Am I right in thinking that i just need a dll file (renamed to cpl?) with some sort of standard interface? -- Regards, Stu.
7
16,883
thread by: Jon Davis | last post Nov 15 '05 by: Jon Davis
I'm managing "collections" / "lists" (??) of objects that are internally bound by an XML document, but I do NOT intend to offer an IEnumerator interface. For instance, with a root XML document, I might have: <employees> <employee><name>bob</name></employee> <employee><name>carl</name></employee> <employees>
3
35,108
thread by: Jon Davis | last post Nov 15 '05 by: Jon Davis
The date string: "Thu, 17 Jul 2003 12:35:18 PST" The problem: // this fails on PST DateTime myDate = DateTime.Parse("Thu, 17 Jul 2003 12:35:18 PST"); Help? Jon
3
9,920
thread by: gcl | last post Nov 15 '05 by: Jay B. Harlow [MVP - Outlook]
Hi, How to associate the dynamic controls array with its event? For example, creating a number of button, like 100, etc.. Button arrButton ..... In VB6, when u copy and paste a button
0
3,775
thread by: Mike Perrenoud | last post Nov 13 '05 by: Mike Perrenoud
Hey group, When using the Show method of an MDI child form we receive an error "Error creating window handle." It just started too because everything was working fine. Any ideas would be appreciated! TIA Mike
3
3,187
thread by: Andrew Mueller | last post Nov 13 '05 by: Chris Hornberger
Hello, I tried this question prior and got no response, so thought I would try to explain differently.. I am not sure which type of object to pass between a VB 6.0 ActiveX dll and C#. I am wrapping a COM object because I am having issues with the types that C# does not seem to understand. I need to be able to use a method from the VB...

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.