473,750 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
4,332
thread by: Andrus | last post Jun 27 '08 by: Andrus
I need to create assembly at runtime from multiple pre-compiled obj and cs files embedded into resource file. I have found only samples which create assembly from single file like Microsoft.CSharp.CSharpCodeProvider provider = new Microsoft.CSharp.CSharpCodeProvider (new Dictionary<string, string>() { { "CompilerVersion", "v3.5" } });
2
966
thread by: zacks | last post Jun 27 '08 by: zacks
A couple of the engineers I work with are seeing a strange problem with an application I developed in .NET 2.0. I am suspecting this is being caused by the environment since so far it only happens on one of our customer's servers. The server is a Microsoft Cluster Server that has a primary server and one mirrored server. The cluster has a...
0
951
thread by: Andy B | last post Jun 27 '08 by: Andy B
I have a stored proc that selects all from a database table. I drug it from the server explorer onto the o/r designer to make it part of the dataContext. Now I can't figure out how to use it. I don't think I know how to use the ISingleResult type since that is what it returns from what I can see. Any examples of how to do this? any examples I...
3
1,390
thread by: }{ | last post Jun 27 '08 by: Gilles Kohl [MVP]
I have an app that reads a character string on com 1, waits for a signal (any ascii char) on com 2, then outputs the string on com 2. I seem to have a problem with the timing. It just so happens that the signal from com2 arrives at the same time as the next string for com1. Do the com ports run in sepaerate threads by default, or should I...
2
1,356
thread by: Chris Freeman | last post Jun 27 '08 by: Chris F
I'm sure I am missing something stupid. When I debug my VS2008 Asp.Net project the .c file is locked and I can not edit it. I use to do this in VS2005. Anyone have an idea what changed? Chris
1
1,135
thread by: Robert Bravery | last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hi all, Can the express editions of VS 2008 and the Full Professional versions exist together on the same PC. I have installed VS Pro 2008, But want to install C# express, VWD Express etc on the same PC. I am trying to help some folks lear VS, they have the Express editions, and I am dinding some small differences between the two. It would...
2
2,674
thread by: Ronald S. Cook | last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
In my solution, I have a client (Windows app) and a class library. The class library project has a connection string setting that I would like to be able to change (from the client project ultimately). However, when I try to change the setting programmatically, it says it can't because it's read-only. This is not the case when I want to...
5
3,682
thread by: aagarwal8 | last post Jun 27 '08 by: Peter Duniho
Hi, I have a windows applicationm which can open seversal forms from a main form. All the forms that are opened, from main form (as well the main form) have a link to the help (.chm) file. I am using System.Diagnostics.Process.Start(<help_file_path>) to display the help file. But the problem is, there are as many help files opened, as...
3
961
thread by: parez | last post Jun 27 '08 by: parez
is there anyone else having trouble replying tot his group
1
820
thread by: Marc Gravell | last post Jun 27 '08 by: WATYF
For the record - ClickOnce is a better technology for this; you don't need to make config changes at the client. Marc
2
1,995
thread by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post Jun 27 '08 by: Peter Duniho
Hi, I am using Visual Studio C# windows. Every time I want to use some of the methods in System.Windows.Form such as Clear(), it gives me error message and saying "System.Windows.Forms.TextBox does not contain a definition for 'Clear'". Could someone help me with that. This happen for other methods that are used in many places of the sources I...
0
801
thread by: parez | last post Jun 27 '08 by: parez
On Apr 17, 3:50 pm, "sloan" <sl...@ipass.netwrote: I have posted this at 12.37pm EST Friday 18th april 08
1
1,182
thread by: Tony | last post Jun 27 '08 by: christery
Hello! This is the scenario that we want to implement. Assume we have three computers called client1, client2 and client3 that must be able to register itself on server A. Meaning telling server A about its existence so other computers can ask server A for the identification for client2 for example so a computer x can establish...
5
1,362
thread by: Marko | last post Jun 27 '08 by: Cowboy \(Gregory A. Beamer\)
When I write new record with INSERT INTO i need to get ID (Autonumber, key of this table) from this, just written record. How to do that in ASP.NET (VB or C#) and SQL Server? Thanks
1
928
thread by: Tony | last post Jun 27 '08 by: parez
Hello! We have a Windows form application that use remoting to communicate with a server running some additional software that the windows form application is using. Note the Windows form application is most certain running on its own computer(client). We call the server that the Windows form application is communication with for "app...
0
877
thread by: Analizer1 | last post Jun 27 '08 by: Analizer1
Hello, c#2 , sqlserver 2005 I am parsing a Text File into 2 Datatables Parent we'll say invoice child well say Invoice Items parent rows 10,000, child rows 30,000 the 2 Tables start out Empty, i get the table structures from the Database "select top 0 from parenttable")
4
10,415
thread by: Nighthawk | last post Jun 27 '08 by: Nighthawk
Hi, I do have some experience in programming in C# but mainly with database. Now I am trying to learn some systems programming. I am trying to do some project on WiFi radar to begin with. I found the APIs at http://msdn2.microsoft.com/en-us/library/ms706783.aspx But I am not sure how to use them. Do I need to install additional header...
5
125
thread by: Jeff Louie | last post Jun 27 '08 by: Jon Skeet [C# MVP]
Owen... The singleton pattern does allow subclassing. Regards, Jeff *** Sent via Developersdex http://www.developersdex.com ***
2
2,340
thread by: Andy B | last post Jun 27 '08 by: Andy B
Hi... I have an sql server 2005 database that has a table called TestXml in it. The table has the columns ID (identity, int) and MyXml(xml). I created a stored proc on the server to insert a row into the table. It looks like this: create procedure InsertRow(@xmlDocument xml) as insert into TestXml values(@xmlDocument);
1
2,297
thread by: Ang | last post Jun 27 '08 by: Michael Justin
Hi, How can I save two richtextbox contents into a file? if simply join two richtextboxes like joining two string, the output file will not show the value of second richtextbox. Thanks for reply. *** Sent via Developersdex http://www.developersdex.com ***
2
8,708
thread by: Mathias Weyel | last post Jun 27 '08 by: Chris Shepherd
Hi there, I have time-of-day spans presented as strings and want to check, if, at a given time, I am within such a time span. Example: Timespan-string is given as follows: "09:00 , 16:00" A function should now return true if the current time of day is between 9:00 and 16:00 and false otherwise.
0
1,379
thread by: Andrus | last post Jun 27 '08 by: Andrus
I need to make dropdown list wider than column width. I tried code below but dropdown width is not increased when I open dropdown. How to increase it ? using System; using System.Windows.Forms; class Form1 : Form {
9
5,169
thread by: dylan.miller | last post Jun 27 '08 by: Rudy Velthuis
I'm having trouble understanding the internal access modifier. There are many classes in my assembly that should not be accessible outside of the assembly. I've used the internal access modifier for these classes. I have public classes that use the internal classes, but I get a CS0051 error if I use an internal class as a parameter to a...
3
3,431
thread by: Oleg Subachev | last post Jun 27 '08 by: Oleg Subachev
I have played with Parallel Extensions and noticed to my surprise that executable compiled for x64 runs slower than compiled for x86: private static double HeavyMath( int I ) { double D1 = Math.Sqrt( I ) * Math.Pow( I, Math.PI ) * Math.Pow( I, 1 / Math.E ); double D2 = Math.Sqrt( I ) / Math.Pow( I, Math.PI ) / Math.Pow( I, 1 / Math.E );...
0
754
thread by: Jason Huang | last post Jun 27 '08 by: Jason Huang
Hi, In the C# 2.0 Web form, I have a form which uses the Content and MasterPageFile. But now I would like to remove them from that web form, what do I need to do? Thnaks for help. Jason

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.