Alnilam's Q&A profile
Windows Forms Find the calculated field in the datagridview
Hi In the Footer Section of datagridview i want to show th sum of particulars columns data How ca do this in with th datagridview Thanks in advance thanks for the direction But will u please write some code to understand wat u r suggesting How to find fileds to be calculated Wherre this total textbox will be placed. Thanks in advance ...Show All
Visual C++ Strange C2664 in Visual Studio 2005 C++ release candidate (v8.0.50727.26)
I'm converting a project from VS 6.0 SP5 to VS 2005 rc. I'm getting this really odd C2664 error. Unfortunately, the project is very complex and I have not yet been able to reproduce this behavior with a simple example. I can, however, offer proof of its strangeness: DBString dbx = m_scCal. operator const DBString(); DBString dby = m_scCal; DBString dbz = ( const DBString )m_scCal; Of the three example statements above, only the first one compiles. I have no idea how it is that an explicit invocation of a converstion operator via the "." syntax can wo ...Show All
Visual Studio 2008 (Pre-release) About the STS pattern and interoperability (WS-Trust)
Greetings, I am proposing a STS in a solution. The prototype i did is based on the STS implementation available in the "Federation sample" and it works very well when i a am using WCF to both ends. However, i have strong interoperability requirements as the services clients are gonna use heterogeneous platforms. This STS sample's contract is pretty simple. It only has one operation to issue a security token. I have looked at the STS implementation found in the "Microsoft Federated Identity and Access Resource Kit - Sept 2005" and what confuses me is that this one has a contract (named IWSTrustContract) which (as ...Show All
Windows Forms MDI Maximized children forms without controlbox?
MDI Maximized children forms without controlbox I have been searching the web and everywhere I asked the question, the answer is that it is a Microsoft Bug. Well instead of telling me that it is a bug, how do I fix this My situation: I have a parent form (frmMain), a welcome/startup (or background) form (frmWelcome) and other child forms for data capturing. The idea is that when the program runs, the welcome form is displayed and stays displayed as a type of "background page", displaying outstanding jobs and other system info. All forms, when opened, must be maximized, thus eliminating the need for the minimize box or maximize box but s ...Show All
Visual C# Bound and unbound calculated columns
I have a datagridview control bound to a .XSD dataset object. Of course, it automatically added all of the columns from the dataset. I edited the columns and set the Visible property of the columns I wanted to hide to false. How can I create a calculate column and add it to the datagridview. Example, my dataset has LAST_NAME and FIRST_NAME columns. I want a single column in my dataviewgrid called name that is the format of last name, first name. I tried adding an unbound column in the designer, but I am not sure how to set its values from the other columns. In code I created a new datacolumn using a ...Show All
Windows Forms AppUpdater Component Error Messages
I have an application and I'm using the MS AppUpdater component on it, and one of the users that is located in China keeps getting an AppUpdater related error message upon opening the application. The message reads: "Unable to auto-download the missing parts of the application from: http://serverhost.com/AppUpdater/1.0.0.0/System.resources.dll Make sure your connected to the network.&n ...Show All
Software Development for Windows Vista Various comments on Default application projects
I've been playing a bit with beta 1 and beta 1.2 and there are a few things I'm not very comfortable with in the default code generated when you create a new Workflow project (C#). For example, the default exe projects (e.g. sequential workflow console application) have absolutely no error handling at all. Now, I'm assuming that many people might just fail to notice this and either use the generated code in Program.Main as is or with little modification, in which case their workflow projects will simply hang in case of an unhandled exception inside one of the workflow tasks, with no indication of anything that might have happened. This is b ...Show All
Windows Forms Other connection method
Any one have a quick way to make TaskVision work with (COM+ and .Net Remoting) instead of WebService Any idea would help. Thanks in advance. According to the C. Vasters, who spoke about indigo (the next generation of the .net platform) , you'd better stick to web services and leave .net remoting alone. ...Show All
Windows Forms Thumbnail an html page directly from IE programmatically?
I would like to grab an HTML page from a WebBrowser control and thumbnail it to a picturebox control. Anyone out there know how to do this The only way I can see to do this is to use shareware or a commercial product to convert an html page to a bmp, external to the program, save it on disk and then use GetThumbnailIm ...Show All
Visual Studio Problem building Managed C++ project with Msbuild that has multiple assembly references
I have a VS2005 solution that includes a Managed C++ project as well as several C# projects. The C++ project references several of the C# projects. All projects in the solution reference log4net.dll (as an AssemblyReference). My C++ project builds without any warnings using the VS2005 IDE. However, when I build the solution using MSBuild, I get zillions of warning messages such as: log4net.dll : warning C4945: 'LogicalThreadContextProperties' : cannot import symbol from '<some path>\log4net.dll': as 'log4net::Util::LogicalThreadContextProperties' has already been imported from another assembly 'log4net' For my managed C++ proj ...Show All
Windows Forms Novice Question: How do I retrieve Control.Value from the Setting Panel and allow User edit it and save it back to the program?
Yes I know, this is a novice question, However I went though lot of textbook and I found nothing, so hope the experts in the form can give me a hand Any learning resources would be very welcome Thanks so much~ ...Show All
SQL Server OLE DB Destination - table name variable
Hello, In my Data Flow I have a OLE DB Destination that needs to get the table name to write the data to dynamicaly from a variable I created. So I select "table name or view name variable" from the Data access mode and select my variable below. So far so good, but when I click "ok" I get the following error message : Error at Data Flow Task [OLE DB Destination [45]]: A destination table name has not been provided. Exception from HRESULT: 0xC0202042 (Microsoft.SqlServer.DTSPipelineWrap) Am I doing something wrong or is there another way to set a variable table name for the OLE DB Destination Using a ...Show All
.NET Development DownloadFileAsync Threading
Hi All, Trying to encapsulate the WebClient class and DwonloadFileAsync method in a separate class/assembly (business object), so that I can download and keep track of multiple downloading files. Is there any way to marshall the data (progress, completed) info, back to a WinForms assuring that my WinForm controls will be updated on the thread upon which they are created as to avoid CrossThreading issues. I have been beating my head for 4 days and tried almost everything under sun, but to no avail. I'd like to specify an indicator control per class instance so that each file's progress indicator is updated accordingly and safely. I a ...Show All
Visual Studio Team System Source Control Explorer
I find the new way of dealing with Source Control in the Source Control Explorer very frustrating. It seems like another case of the tool dictating how I work, rather then letting me work the way I need to. I want organize and include other files in Source Control in a "Non-Solution" way. I have Word Documents, Images, Text Documents, Help Files, etc.. that do not belong to a VS Solution, but I want to keep them under version control. In VSS6, it was a simple matter of dragging the files/folders I wanted to keep under version control onto the Tree. I cannot do that with the SCE. I may want to exclude certain things. I ...Show All
SQL Server Aggregating time stamp data for a time series plot
I have an application that records data points using timestamps. For example: START FINISH VALUE 01/01/2005 02/25/2005 5 02/25/2005 04/16/2005 3 04/16/2005 06/03/2005 7 I need to be able to plot the data as a time series prorated across the time "buckets" (think of a stock ticker). I have done it successfully in T-SQL but was looking for a faster way. Is this something analysis services could do without having write a complex procedure to "bucketize" the data I am new to analysis services so am no ...Show All
