473,800 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,983
thread by: info | last post Jun 27 '08 by: info
Hi I would like to introduce Discrete-event simulation system Delsi 2.0 The system is implemented as a set of components for .NET 2.0 Framework. It is designed for simulation of queuing systems with complex logic and topology. Delsi 2.0 allows you to utilize all the power of C#, Microsoft .NET Framework 2.0 and its development...
18
1,319
thread by: Verde | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
I would appreciate your comments on the following two alternatives of a given method. This isn't a real method, as I'm not concerned about the "real work" it could be doing, but would like to instead focus our attention on the vs implemented in these two methods. Safe code that makes few assumptions about its runtime conditions is good,...
2
1,552
thread by: Cramer | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Using ASP.NET 3.5... As far as I know, any time we store a value in application or session state, it is stored as a humble 'object' type rather than it's "real" type. For example, if we want to store an integer value in Application state: Application = 93; Then to retrieve that value, we would use something like this:...
4
2,373
thread by: Mufasa | last post Jun 27 '08 by: Peter Bromberg [C# MVP]
I'm looking for a way to get a truly unique identifier for a machine for our client software. I'd like to have it so that there's little or no setup by the end user. (We set up the machines and then ship them out for most cases but some of our customers do provide their own machines.) Our concern is if somebody takes one of our machines and...
1
1,141
thread by: Kenneth Porter | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
If a C++ method takes a pointer to an int for output (for example), how should C# pass the int into which it wants the result returned? (I'll post some test code shortly. I'm writing the question from memory after a meeting yesterday with a C# developer and need to recreate his two test projects. I've got some C++ that he needs to invoke....
4
246
thread by: =?Utf-8?B?YW1pcg==?= | last post Jun 27 '08 by: Rene
Is there a way to write all the items of a Property Grid to a file without having to list every item one by one to be written to the file?
1
2,691
thread by: DaveL | last post Jun 27 '08 by: Peter Bromberg [C# MVP]
I have 2 rows in a datatable When i Adapter.Update(mytable) i get Update requires valid update command error When In Fact I am Inserting SqlAdapter ad = new SqlDataAdapter() ad.InsertCommand=new SqlCommand(); string sInsert="Insert into mytable (field1,field2) values(@field1,@field2) ..
3
1,961
thread by: Andy | last post Jun 27 '08 by: Andy
Hi, I use procs for my data access, instead of allowing direct inserts and updates to tables. How can I get SqlMetal to generate code that will use procs? I know the designer you can Configure Behavior to do this.. is there no equivolent in Sql Metal? Thanks
7
3,450
thread by: Steve K | last post Jun 27 '08 by: Steve K
First problem: I am specifying a format string for a Binding object like so: <code> Binding binding = new Binding("Text", item.EOBRemittance, "AmountAllowed", true, DataSourceUpdateMode.Never, 0, "{0} Selected Pages");
7
1,337
thread by: =?Utf-8?B?TXJOb2JvZHk=?= | last post Jun 27 '08 by: =?Utf-8?B?TXJOb2JvZHk=?=
I am used to using Java's Eclipse IDE where I can choose one or more fields and have the IDE automatically generate getter and setter methods for it. Is there something in the Visual Studio IDE where I can select a field like "string name;" and automatically generate a Property for it?
0
813
thread by: Ignacio Machin ( .NET/ C# MVP ) | last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
This is a C# NG, we do not code in VB.NET :-)
0
835
thread by: colin | last post Jun 27 '08 by: colin
Hi, I have a treeview, wich displays directories and files. when I double click on a directory node it calls the OnBefore/afterExpand and my function expands it, however this happens before the mouse button is released, but when the muse button is released it calls ondouble click for the node wich is now under the cursor and may wel be a...
0
804
thread by: =?Utf-8?B?Si4gUmF5bW9uZA==?= | last post Jun 27 '08 by: =?Utf-8?B?Si4gUmF5bW9uZA==?=
Hi, Is it possible to specify a configuration file other than the default «ABC.exe.config»? In others words, I would like the application logging block to use a customized configuration file (for example : XYZ.config) instead of the default configuration file name generated by VS2005 (app.config --> ABC.exe.config).
1
3,139
thread by: ata | last post Jun 27 '08 by: Peter Duniho
Hi, Consider a custom control, say, MyControl that's being derived from Control. 1. How am I supposed to set the initial size of MyControl? Am I supposed to override the DefaultSize property? 2. If so, the VisibleClipBounds of the control is not actually what I've asked in the DefaultSize property, if the BorderStyle of MyControl is set...
2
1,074
thread by: =?Utf-8?B?cm9kY2hhcg==?= | last post Jun 27 '08 by: =?Utf-8?B?cm9kY2hhcg==?=
hey all, is there a way to have my stored procedure generate an error message that i can catch in csharp? thanks, rodchar
2
1,613
thread by: Joe Cool | last post Jun 27 '08 by: Cor Ligthert[MVP]
I am trying to display several images on a standard Windows Form. Each image is displayed in a PictureBox control that is 180,130 in size. I get the Primary Screen size to determine how many images will on one line of images. I have a form boolean variable that I set to true in the ClientSizedChanged event handler. In the loop where I am...
8
1,786
thread by: Frank Rizzo | last post Jun 27 '08 by: Hals !
Hello, an assembly I want to reference is installed in the GAC and doesn't have a local copy (e.g. somewhere that is not c:\windows\assembly...). How do I reference it from VS2005?
8
3,865
thread by: =?Utf-8?B?U2hhd24=?= | last post Jun 27 '08 by: Mark Dykun
Hi; i just started research reflection and i'm wondering if i have an empty class file can i use reflection to add member variables and attributes dynamically and then instantiate the class? What i would like to be able to do is start with and empty class, then depending on the data provided to me by a config file, add the member variables...
2
3,491
thread by: parez | last post Jun 27 '08 by: parez
Hi all, Is there a windows explorer styled control in .net for win forms (3.0) or do i have to write my own? TIA
5
1,569
thread by: OHM \( One Handed Man \) | last post Jun 27 '08 by: Microsoft Newsserver
Is it possible to have visual studio add the stubs for you when you implement an interface or inherit from a an abstract class automatically. I know this was a feature in vb.net but I can seem to work out how to do it in C# Thanks
3
15,028
thread by: Mike P | last post Jun 27 '08 by: Duy Lam
How would I check a datetime variable is within the last 7 days? *** Sent via Developersdex http://www.developersdex.com ***
3
15,202
thread by: =?Utf-8?B?cmF1bGF2aQ==?= | last post Jun 27 '08 by: =?Utf-8?B?cmF1bGF2aQ==?=
VS2005 gets this error "The object invoked has disconnected from its clients" does anyone know about a fix for it?
1
1,067
thread by: cfps.Christian | last post Jun 27 '08 by: cfps.Christian
I'm currently working on an MMC snap-in that will contain 500+ items in the results pane. Once this happens the images I have set for each of the items turns into the default image for the mmc. The problem occurs, I believe, because of the way the mmc refreshes. The help I'm seeking is why this is happening, or even simple direction such...
3
1,288
thread by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post Jun 27 '08 by: parez
Hi, I have some business objects written in Visual Studio 2003. I have a web service written in VS2008 that references these .net 1.1 objects. The web service makes some calls on the 1.1 objects and the responses are not as I would expect. Is there any way I can debug whats happening in the 1.1 objects using VS
5
195
thread by: Looch | last post Jun 27 '08 by: Looch
All, Looking for a regex expression to split this comma delimted string ultimately into 51 fields. The fields in double quotes can have commas within the quotes (separating values within the quotes - the issue I'm having). 1208959596,Apr 23 2008 07:06:36,1208959607,Apr 23 2008...

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.