473,788 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
2,880
thread by: =?Utf-8?B?cm9uZSBtYXRpYXM=?= | last post Jun 27 '08 by: =?Utf-8?B?cm9uZSBtYXRpYXM=?=
I have the same task to do but everytime I tried to parse my code I get a null value returned after executing "dtMaterials.WriteXml(swMaterials);". I am using the following code: Hope you can hep me out with this. Thanks. DataTable dtMaterials = new DataTable(); StringWriter swMaterials = new StringWriter(); swMaterials = null; string...
2
3,274
thread by: Thom Little | last post Jun 27 '08 by: Thom Little
Using C# 3.5 ... How can I set the default page orientation to Landscape when using WebBrowser.Print( )? .... Thom ___________________________________________________ Thom Little - www.tlanet.net - Thom Little Associates, Ltd.
2
2,752
thread by: icanhelp33 | last post Jun 27 '08 by: icanhelp33
I would like to assign dynamic pagesize to a gridview called gridCustomer. The customer data is a List with a column called groupId . When a new groupid is encountered I would like to display data in a new page. The code doesn't seem to work. Can you please help. gridCustomer.DataSource = customer; int groupId,groupRowId,count; groupId...
0
856
thread by: =?Utf-8?B?UiBEb3JyaXM=?= | last post Jun 27 '08 by: =?Utf-8?B?UiBEb3JyaXM=?=
Been having a weird issue for the past few months -- might have started when I moved my asp.net application to framework 3.5 so I could start using Linq to Sql. When I open my application in VS2008 and click run, it ALWAYS returns back to me in about 30 seconds saying there was a timeout in the first bit of Linq that was executed. If I press...
0
1,557
thread by: =?Utf-8?B?UiBEb3JyaXM=?= | last post Jun 27 '08 by: =?Utf-8?B?UiBEb3JyaXM=?=
Been having a weird issue for the past few months -- might have started when I moved my asp.net application to framework 3.5 so I could start using Linq to Sql. When I open my application in VS2008 and click run, it ALWAYS returns back to me in about 30 seconds saying there was a timeout in the first bit of Linq that was executed. If I press...
4
5,104
thread by: =?Utf-8?B?U2VyZ2Vp?= | last post Jun 27 '08 by: Jeroen Mostert
Dear staff Can I get your assistance with \3GB (LARGEADDRESSAWARE) switch in mixed mode process built by VS 2008, please? I have a mixed mode application: C# GUI calling native C++ DLL through managed C++ wrapper. And I want to give the native C++ code access to large (>2G) addresses; but (if it’s possible) I do not want the managed code...
5
2,162
thread by: tshad | last post Jun 27 '08 by: =?Utf-8?B?UGV0ZXIgUml0Y2hpZSBbQyMgTVZQXQ==?=
I have a Windows Service that I am deploying by setting a Deployment project in my solution. The problem I am having is with the app.config file. This where we store our connection string and folder locations. My development app.config is different from my clients. When I send him an msi file, I have to either add the clients...
1
4,046
thread by: Boaz Ben-Porat | last post Jun 27 '08 by: Willy Denoyette [MVP]
This message is posted in the WMI group, but since the last answer in that group is one month old I post it in C# group too. We need to find the localized name of the LocalSystem account. Onenglish windows it is 'NT AUTHORITY\SYSTEM', but on other OSs it is something else. (e.g. In German it is 'NT AUTHORITÄT\SYSTEM ) The SID of the...
1
1,309
thread by: kmazaika | last post Jun 27 '08 by: Willy Denoyette [MVP]
Hi, I'm developing software for a USB device with an FTDI chip. The device is recognized through WMIC queries. When porting an application from Visual Studio 2003, to 2005 it seems to work perfectly on the machine I'm developing it on, however on some machines, it simply does not recognize the USB device. On these machines the 2003...
2
3,734
thread by: =?Utf-8?B?c3RlZW5idA==?= | last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Is there a way (using Reflection or anything else) to know what derived class caused a static contructor to be called?
0
725
thread by: probashi | last post Jun 27 '08 by: probashi
Hi, I have a Sequential Workflow running in my application at a regular interval. I have a set of NUnit tests that can validate the outcome of the above process. I would like to add one more activity at the end of the workflow that will run the NUnit tests and email the results in the case of failure.
1
1,405
thread by: No Name | last post Jun 27 '08 by: Alvin Bruney [ASP.NET MVP]
Hello, I have one BLL object X with method Y. Inside method Y (*) I call DAL object(s). Operation Y can include more then one DAL object (dalObj1.Write, dalObj2.Write) so I create some kind of "token" with sql connection reference and pass it to DAL object(s) involved in operation Y (**). At some point in time (ambient) transaction...
6
2,517
thread by: roman.muntyanu | last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hi All, I have a program that can be started as windows service or as an windows app. I need to avoid starting this program as an application if it is already started as a win service. In code when program starts as a win service I create named mutex. Then if user tries to start program as a win application I am checking if Mutex with...
1
1,473
thread by: =?Utf-8?B?Um9iZXJ0IFNtaXRo?= | last post Jun 27 '08 by: Artur Borecki MCP
Hi, I have a the following javascript code(see below) within my asp.net page, I would like to be able to set the value of UnSavedChanges within my c# behind code to indicate that changes have been made but not yet saved. For Example I have a gridview rowUpdating event as follows protected void gvwCommodity_RowUpdating(object sender,...
0
1,695
thread by: Marc Gravell | last post Jun 27 '08 by: Marc Gravell
Do you actually need HtmlDocument? Would this do? http://www.codeplex.com/htmlagilitypack Marc
1
2,877
thread by: samueltilden | last post Jun 27 '08 by: samueltilden
I have Infragistics 2007, Volume 3: I have a UltraStatusBar with two UltraStatusPanels: 1. Left Panel and 2. Right Panel I want the Right Panel to appear on the right and to have its text right justified. The RightPanel.SizingMode = Spring does not seem to work as the comparable option does with Microsoft's regular
2
1,057
thread by: Max2006 | last post Jun 27 '08 by: Steven Cheng [MSFT]
Hi, Which newsgroup should I post my questions related to Team Foundation Server 2008? Thank you, Max
2
1,571
thread by: K Viltersten | last post Jun 27 '08 by: K Viltersten
On WinXP, the directory where all the installed programs are stored, can go under different names, depending on the language of the OS. E.g. "c:\Program Files" on one system might be "d:\Program" on another. How dows one refer to the "right" path? I'm remembering something along "$Program" but i'd like to get an confirmation. -- Konrad...
0
847
thread by: anant | last post Jun 27 '08 by: anant
Hi, i want to devlope a new media player for CF in c#,but i m not getting how to start. Can anyone tell me how should i go for that..? Any suggestion............?
1
3,168
thread by: =?Utf-8?B?Sm9obg==?= | last post Jun 27 '08 by: Marc Gravell
Hi, I need to make the last column of my datagridview wide enough to contain a long string, and I can use the horizontal scrollbar to see all of the data. How can I do this? Currently the scrollbar does not show up. I wish that I can make the column fit the data automatically. Thanks.
2
1,058
thread by: icanhelp33 | last post Jun 27 '08 by: icanhelp33
I have writtten a utility in C# that works fine. I have to include it in ASP application in a page that uses frames. The application doesnt work inside the frame. Any ideas
30
2,706
thread by: Cramer | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
I've finally gotton board with TDD (test driven development) and wow is it effective! I went from sceptic to True Believer with my first effort. My question: According to the various books and articles I have read about TDD, a good unit test does not rely on the database or other such external/environmental conditions. More generally, a good...
10
4,903
thread by: =?Utf-8?B?Um95?= | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
What is the way to have best performance to copy a byte to a value such as long? I use BitConverter.ToInt64(binary, offset) But the performace is not good enough. I need to have the best performance in my case.
15
1,256
thread by: Bill Fuller | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
It appears that one of the latest hot buzzwords is SaaS (Software as a Service). From what I can tell, this looks like nothing more than rebranding of the old ASP model, which fell out of favor. Am I correct, or is there really something new and interesting here?
1
1,840
thread by: Bill Fuller | last post Jun 27 '08 by: Tim Jarvis
Is anyone familier with Amazon's Elastic compute cloud for hosting applications? It appears to be UNIX based. I am wondering if anyone is familier with something similar for utility computing for C#/Winforms (ClickOnce), SQL Server 2005 applications?

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.