kedst1's Q&A profile
Windows Forms format a specifc cell in datagridview
I want to format a specfic cell in a datagrid id dgv2.item(0,1).backcolor = color.red this is what i have but it does the who col i only want row 0 Col1 dgv2.Columns(1).DefaultCellStyle.BackColor = Color.Coral How about using DataGridView's CellPainting event Something like: private void dataGridView1_CellPainting( object sender, DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == 1 && e.RowIndex == 0) { if ((e.PaintParts & DataGridViewPaintParts .ContentBackground) == DataGridViewPaintParts .ContentBackground) { ...Show All
Visual C# Cannot create New Project -- Exception has been thrown by the target of an invocation
When I try to create a new project in Visual C# 2005, I get the error: "Exception has been thrown by the target of an invocation" Any ideas on how to fix this Thanks! ...Show All
Visual Studio Team System Error exporting reports from Reporting Services 2005 to Excel with a lot of rows
Hello, When I export to excel a report made in Reporting Services 2005, and it has a lot of rows in a table (in the detail section), I have to wait a lot of time, and when it finish the size of the file is bigger than the excel file exported from the old reports in crystal report 6. When I open this exported documents, I have to wait more time until I can see them. The document have 3 sheets, the first have the document map, the second has a report header, and the last one the page header and the body section (with the table). We thought that it could be the document map because it has hyperlinks to the third sheet, but I have tried to delete this sheet in the excel document and the size is more or less the same. I tried also expo ...Show All
Audio and Video Development style:border error
in the latest version of the simulator.... I am now gettign error messages about style:border: ERROR (E070000009): Invalid attribute value "2px solid rgba(255, 255, 255, 255)" (Element: div, Attribute: style:border, Line: 2220, Col: 10) did something change in the spec after supplemental 3 as far as I can tell that syntax seems to be correct. style:border="2px solid rgba(255, 255, 255, 255)" ...Show All
Visual C# Error handling
Hi, I'm developing a three tier application, and have some conceptual question about the right way for error handling. the tiers are : 1. Presentation Layers - PL 2. Businnes Logic Layer - BLL 3. Data Access Layer - DAL now lets tak a very simple example, Let say i have an aspx search page on "Users" table. Search fields are : UserName, FromDate (on BirthDate Column), ToDate(on BirthDate). The validation checks for the search are : 1.UserName - 2-10 charecters 2. FromDate/ToDate -Valid Date 3. ToDate is Bigger than FromDate My Questions Are : 1. Should i perform the validation checks on each Layer 2. Should I put the call from the PL to the BLL, and from the BLL to the DaL in try & ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Camera track bend
Perhaps a bit of a tricky math question here... My camera has a current position and target, and a destination position and target. I have a "process" method, which moves the position a little closer to the destination every time it's run. This produces a smooth camera movement from point a to b... However, I want to give the user more of the scenery - as sometimes it's just looking at a wall. I plan to do this by keeping the camera target path the same, but bending the camera position path outward. Sort of like zooming out, away from the target, then back in again once the destination is reached. I have had several attempts at this, which include adding delta values to the Z and X axis' up to 50% of the way, then subtra ...Show All
.NET Development App.Config File and My.Settings conflict.
I don't get it, I'm doing something wrong. I went to the properties window for my project and added some settings, which created an app.Config file for me and put those settings in it. Well, when I change the values directly in the app.Config file and run the project, it doesn't read anything from there, it only reads the values on the Settings tab of the project properties. I cannot seem to get the program to read the values (and their changes) from the app.Config file rather than the Settings tab on the Project Properties window. dude, I am having terrible trouble with this. You are right is seems that no matter what you do to your app.config, the settings.settings file seems to take priority. The issue I am having is I ...Show All
Visual C++ After installing Vista SDK, ConvertBSTRToString unresolved symbol linker errors
This post is being created for the benefit of the integrated Visual Studio 2005 help (as it searches these forums for solutions) To solve the problem of linker LNK2019 unresolved external symbol ConvertBSTRToString and/or ConvertStringToBSTR the best workaround is to immediately DELETE comdef.h from your C:\program files\microsoft sdks\Windows\v6.0\include folder after installing the Vista SDK and integrating with Visual C++ 2005. Another workaround (if you don't have permission or rights to remove comdef.h from your Vista SDK) is to add comsuppwd.lib in debug linker additional dependencies and comsuppw.lib in release linker additional dependencies. More info here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostI ...Show All
Windows Forms Combo Box Items Value
Hi Guys, I wanna have a combo box that returns a value other then its text to its data source. Basically, I have a textbox that has the values 'Male' and 'Female' and I have it bound to a datasource and I want it to return a value of just m or f. Any ideas Thanks in Advance That is what the combobox's ValueMember is for. ...Show All
SQL Server Setting up of Analysis services for http access on a Sharepoint Server
I am trying to setup the analysis services on the machine which hosts the SharePoint server. I have set it up as per the document from Microsoft http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx . I am able to configure and access it when I install it on a test machine without SharePoint ,So far so good. Now I configure the msmdpump on a machine with SharePoint (MOSS2007) and Analysis services,after configuration when I try to access the cubes using Excel 2007 I get the error " The Data Connection wizard cannot obtain a list of databases from the specified data source ". Any suggestions please Thanks and regards ...Show All
Visual Studio Team System How to export all work items from a TFS to another TFS
hi guys, i just set up a new TFS, and i need to copy all work items from old TFS to the new one, but i really don`t know how to export them. so can anybody tell me how to do it ,i appreciate~~ This tool should do what you want -- I used it and it works great. http://blogs.msdn.com/ericlee/archive/2006/11/20/work-item-moving-tool-is-back.aspx ...Show All
Visual Studio 2008 (Pre-release) FlowDocument Paragraph and Images
Thanks for taking the time to read this post. I might be completely lost here at the moment, but I ran into a very annyoing problem when inserting Inlines into a Paragraph in a FlowDocument. In C# I am trying to insert an Image object into a Figure, pass that Figure as an Inline to a Paragraph and then add the Paragraph to a FlowDocument. In XAML I do: <FlowDocument ColumnGap="5" ColumnWidth="150"> <Paragraph> <Figure> <Paragraph> <Image Source="koizumi.jpg"/> </Paragraph> </Figure> </Paragraph> </FlowDocument> But in C# when I do (short version): Image photo = new Image(); BitmapImag ...Show All
SQL Server How to sync local database with Network database
Hi Scenario: In general user will take database backup from database server to local system. User perform some changes to his local database based on his requirement. Again user connects to database server and click on update, local database should update to server database by informing each record status to the user. ex: record 1 updated / call closed do you want to update Here local database is going to be Pocket pc database and server database is on SQLDatabase. Can any one suggest best way to implement this feature in Windows Pocket pc, c#. I would appreciate your reply. Thanks, Replication could be used to keep the databases syncronized. However, with your desire for user interaction ...Show All
SQL Server Is there anyway to do Data Mining model test via SSIS package?
Hi, all here, I am wondering if there is any kind of ways for us to test data mining models via SSIS package That'll be quite helpful if there is such a way. Looking forward to hearing from your guidance and thanks a lot in advance. With best regards, Yours sincerely, Hi, Jamie, thanks a lot for your guidance. I was thinking about if there is any possible data flow component in SSIS for data mining models verification straightforward like what they got for 'data mining model training'. Best regards, Yours sincerely ...Show All
Smart Device Development [Help me!]How to develope a mail program on my own SDK?(MAPI, msgstore.lib or others)
I create a SDK through platform builder and I want to develope a mail programe on this SDK. First ,I interest in MAPI.But I didn't success! Because I can't initiallize it.Maybe MAPI only used on windows mobiles SDK I don't know. Then ,I try another method to implement it. It's msgstore.lib. When I custom my SDK, i add the SYSGEN_AS_MAIL module in platform builder.In my program I add the msgstore.h and msgstore.lib. I can create the mail in the folder interface which have been provided and use MailPut() function to send the mail . But I know it is not really send the mail ,just put the mail into the outbox folder. How can I really send the mail and How can i test it on the emulator Do you have any other method to implement se ...Show All
