Earl Kurburski's Q&A profile
Software Development for Windows Vista xoml or xaml?
As I understand it Beta 1 uses ".xoml" for historical reasons, and Beta 2 will use ".xaml". But in Beta 2 currently all the wizards and samples etc creates .xoml. Does this matter at all Should we save our worfklows as .xaml or .xoml In case of Windows Workflow Foundation, when should I use .XOML (With doe seperation ) and with code files to create workflow Please reply. thanks, Vinod Sa. ...Show All
Visual Studio Tools for Office Reading Excel From C#
You can read data from Excel using the JET OLEDB provider. See the URL below for the necessary connection string, and a link to a KB article with further information ... http://www.carlprothman.net/Default.aspx tabid=87#OLEDBProviderForMicrosoftJetExcel -- Brendan Reynolds wrote in message news:9226766e-a1d5-400c-8d3c-8ffc566bec50@discussions.microsoft.com... > Hi > > Can anyone help me how to read values in Excel in C# . So that Once I > read I can send them to DataBase. My excel file Test.xls in ("C:\") > > Thanks > Doss > Hi Can anyone help me how to read values in Excel i ...Show All
Visual C# Type-safe Collections and Duplication
Is there any way to write type-safe collections for different types without repeating code The best way I know of is to just write separate classes deriving from CollectionBase and add the required methods but this leads to a lot of code duplication. In C++ there is no such problem because of templates. Is there some way to get the same functionality in C# It calls "Generics" and it's a feature of C# 2.0: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/csharp_generics.asp http://blogs.msdn.com/csharpfaq/archive/2004/03/12/88913.aspx ...Show All
SQL Server Using Select Into
Hello, I am trying to use the following statement, ALTER TABLE AuditAbatements ADD SELECT * INTO AuditAbatements FROM Abatements WHERE 1 = 2, but I am getting a syntax error. I am trying to copy the structure of another table into a table that is already created. Can this be done Thanks Not as far as I am aware, no. Why not just drop the table and then re-create it Select INTO is used to copy data into a table, not copy a schema over an existing schema. If you want to dynamically copy the schema of one table into another (i.e. you don't know what table to want to copy the schema of until ...Show All
Windows Forms C#.net Datagridview
How do i change the color of the text that I pull in from the dataset to fill the Datagridview I need to be able to change the color of the text on the fly. Hi, Have a look here How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control ...Show All
SQL Server SQL Server 2005 stdevp function
I am currently unable to get the stdevp function to work. The query is as follows: SELECT stdevp(Schedule_Weight) AS Expr1 FROM Order_Start_Steps_Weights WHERE (Schedule_Weight_Type = 1) When I try to execute the query (from either BIDS or SSMS) the query gets changed to: SELECT COUNT_BIG(Schedule_Weight) AS Expr1 FROM Order_Start_Steps_Weights WHERE (Schedule_Weight_Type = 1) I should mention that the stdev function works just fine if I substitute that for the stdevp function. Needless to say, there is a big difference between counting a population and finding the standard deviation of a population. Have I ...Show All
Visual C# Best C# book
Hi! I'm looking for the best C# book. I already know C++. Which is the best according to you Thanks. Luca Honestly, the 'best' book depends on what your goals are. Given that you already know C++, it is unlikely that a book focusing on the syntax of C# would be useful. Instead, I'd be trying to learn about the different classes in the Base Class Library and how they can be used to create various types of applications. If this sounds like what you're looking for, check out: Applied Microsoft .NET Framework Programming - Jeffrey Richter .NET Framework Standard Library Annotated Ref ...Show All
.NET Development Newbie question regarding WebServices
I'm building an application where I need periodic, automated, transfers from one server to another. All is .NET 2.0, C# I have a service running on one server which periodically extracts info from my various sources, constructs an XmlDocument, then tries invoke a web service on the target server. My windows service seem to be ok, my web services seem to work, but I don't know how to call the web service from an application, or more specifically, a service. The following code: CGIRemote1. UrWay_Remote_Listener remote = new CGIRemote1. UrWay_Remote_Listener (); string s = remote.HelloWorld(); gives an error Client ...Show All
Visual Basic Clipboard - How to determine file is cut or copied ?
Hi all, I encountered a serious problem while working with clipboard class in VB.NET. I want to simulate cut-copy-paste operation with my application and Windows Explorer. User can copy files from Explorer and paste it into my application & vice-a-versa. My question is- How can I determine if user has copied or cut the files from Windows Explorer I want to differentiate cut & copy. I am using >> My.Computer.Clipboard<<. Please help, Thanks in advance, Now if I recall correctly the user would need to code the difference between cut/copy. Something like the following. The only dif ...Show All
Visual Studio Express Editions Thank You Aaron Stebner! :)
...for your .Net 2.0 Beta 1 Manual cleanup instructions...solved all the problems I was having with EveryThing! Yaaaaaaayyyy!!!! Davey P.S.: You can find his blog instructions on .Net 2 Beta 1 at: http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx ...Show All
Windows Forms MySQLDataAdapter Insert Not Working...
Can anyone see why this insert command is not working It is not generating any error messages. It acts as if it has inserted the records, but when I check the database the row count is still 0. Here is my code... <hr> <color="Blue"> Public Sub UploadJournals() 'Import table structure. Dim mSQL As String = "SELECT * FROM salejnls" Dim conStr As String ...Show All
.NET Development WSE/DIME - WSE352: The size of the record uuid:{g-u-i-d} exceed its limit
I've gotten DIME attachments to work, but I'm running into the infamous 4096 limitation. How can I download a 20 meg file as a DIME attachment I've tried the maxRequestLength setting <messaging> <maxRequestLength>-1</maxRequestLength> </messaging> but this doesn't have any effect. Actually, looking at the docs indicates to me that this setting has an effect for uploads, rather than downloads since this is intended to prevent denial of service attackers from submitting large file uploads to the server. How do I download really large files via DIME attachments T ...Show All
Visual Studio Downgrading from 2.0 to 1.1
On our new website we decided to use CommunityServer's asp.net portal. We ran into a multitude of bugs and found out that it has issues with .net 2.0. So I went to downgrade to 1.1 but after the uninstall supposedly finished successfully and I rebooted. Nothing had changed, all files were still there and 1.1 now would not install, and IIS didn't think any .net revision was present. So after a botched uninstall and all scripts and attempts to manually uninstall fail how do you downgrade Thank you everyone that responds :) There is no dow ...Show All
Visual C# Application object model question
Hello, I'm trying to implement an application class like this: http://msdn.microsoft.com/VBasic/default.aspx pull=/library/en-us/dndotnet/html/automationmodel.asp But I can't get the Application object to work; the code is: private static readonly Application instance = new Application(); public static Application Instance { get { return instance; }   ...Show All
Visual Studio ReportViewer LocalReport Export File type limitation(VS.NET 2005 beta 2)
I need export the report to Excel,PDF,CVS,TXT format,but the LocalReport Export File type only one: Excel . I know the RemoteReport (SQL Server Reporting Services) support many export file types, but the ReportViewer need License , so I didn't try the RemoteReport. The following material come from VS.NET 2005 Beta 2 MSDN: ReportViewer Controls in Visual Studio 2005 ... Remote processing mode requires a licensed copy of Microsoft SQL Server 2005 Reporting Services. This requirement applies to all scenarios that involve a report server. Will the LocalReport Export File type limitation be overcome And how & w ...Show All
