Denis A.B.'s Q&A profile
Visual Basic Datagridview "HideSelection"
I'm using an unbound datagridview to display information, and I need to color-code certain cells to alert the user to status events. Is there a way to not have the selected row highlighted when the control does not have focus (similar to the VB6 .HideSelection property) I would explore using the DataGridViewx.SelectionChanged method to test your condition and if not met, set the Style.Backcolor to normal - else ...Show All
.NET Development Writing an report defintion file with XMLWriter
I want to be able to write the following XML during a run: < xml version = " 1.0 " encoding = " utf-8 " > < Report xmlns = " http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition " xmlns:rd = http://schemas.microsoft.com/SQLServer/reporting/reportdesigner > < Width > 6.5in </ Width > etc.... What I am doing is creating .rdlc (report definition) files during runtime so that ...Show All
SQL Server Stuck between "Failed to generate user instance" and "An attempt to attach...failed"
I wrote an application using Visual Studio 2005 beta 2 which uses a SQL Express .mdf file, included in the project, for the database. After installing Visual Studio 2005 RC and the SQL Express that comes with it (I followed all of the uninstall instructions first) I can no longer add a SQL Express database to any of my projects, nor can I open the SQL Express database in my original project. When I try either of these tasks, I get th ...Show All
Visual Studio Guidance Automation Toolkit for RTM?
Hi, When will there be a GAT for the RTM version of Visual Studio Or, is it already in the VS SDK I'm a little confused because it seems like some extensibility bits that were separate pre-RTM have been rolled into the SDK, but I'm not clear on where the GAT fits in. Thanks, PBR GAT is not currently in the VS SDK, nor is in in our near-term plans. You will have to go to other resources to get GAT-specific infor ...Show All
Windows Forms Read and view PDF files like adobe activeX
Hi, How to read and view PDF files like adobe activeX Thank's Alexei If you want to read PDF files, you must install Adobe Acrobat or Adobe Acrobat Reader on your computer, to get the ActiveX control which you must use : Acrobat 6.0 : Program Files\Adobe\Acrobat 6.0\Acrobat\ActiveX folder Adobe Reader 6.0 : Program Files\Adobe\Acrobat 6.0\Reader/ActiveX folder Acrobat 5.x: Program Files\Adobe\Acrobat 5.0\Acrobat\ActiveX folder Adobe ...Show All
Visual Basic multiple connections to a tcp listener
i am trying to write a tcp listener that can accpet multiple conections on a port -- basically converting some old vb6 winsock stuff over, index socket connections etc) i am running into some trouble understanding how to make multiple threads, etc -- been digging around and found some interesting code the following code listens and wait for a connection and then creates a child thread each time something connects where i am running into trouble ...Show All
.NET Development invalid schema messages in app.config
Hi, I have built a config file with the following section I recieve the following messages, which I want to get rid of. I must be doing something wrong if I get these messages every time I build. could not find schema information for element PluginConfiugration could not find schema information for element plugin could not find schema information for element class .. etc. < configSections >< section name = " PluginC ...Show All
Windows Forms Hide the properties of a parent class ?
Hi, I've got a class which inherit from TreeNode. In this derived class, I provide a few properties to show in a propertygrid. But it also displays the properties of TreeNode. And I'd like to avoid that. Is it possible And if so, how (any link to tutorial, documentation or help is welcomed ^^) Give a new implementation of the propery by using the new keyword and then say [Browsable(false)] ...Show All
SQL Server sql statement from webform with dynamic join, how?
In my application the user can enter form textfields and check checkboxes to dynamically generate the SQL SELECT. Most searched values com from one table but some come from other tables with a 1:n relation. So, if needed INNER JOIN them by writing the FROM statement in a variable, that I use in the query. Like this: " INNER JOIN tCmsElementCustomProdspecArtikelZusatzStoff ON tCmsElementCustomProdspecArtikel.artikel_ID = tCmsElementCustomProdspec ...Show All
Visual Basic VS 2005 IDE hard crash
I've just started using VS 2005 and I've migrated a fairly sizeable 5-project (all VB) solution over from 2003. The solution built and ran perfectly in 2003, but in 2005 I cannot even get it to start the build. As soon as I resolve all errors, it IMMEDIATELY crashes and doesn't even offer a chance to send the error report. I do have error reporting enabled in WinXP. The dialog box I get says " Microsoft Visual Studio 2005 has ...Show All
SQL Server Management Studio Express CTP update now available
There is a new Management Studio Express CTP download available at http://www.microsoft.com/downloads/details.aspx FamilyId=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en . This update fixes the defect where installing the full Books Online documentation prevented Management Studio Express from starting. With the update, Management Studio Express and Books Online no longer interfere with each other. To update Management Stu ...Show All
Windows Forms Bug? Datagrid not matching tablestyle at design time
Ok I got a standard MS datagrid, I set the datasource to the dataset. Then I set the datamember to the proper one. Datagrid1.datasource = DS datagrid1.datasource = "DT1.Relateionship1" Ok notice I'm using relationships here. Ok then go to tablestyles and&nbs ...Show All
Visual Studio Tools for Office Excel Sheet Switching/Hiding
I'm coding a custom excel sheet, and I'm having an issue with hiding/showing and changing focus from two different sheets. I have 2 relevant sheets in my application, the main one starts off visible and the helper worksheet starts out not visible. I want only one to ever be visible/selectable at a time(so the switching is only done through buttons on the sheets, not through tabs). I have added buttons to the main sheet that populate data ...Show All
Visual C# Web Application Problem
Hi, I would like to know how can I run a ".bat" file trough my web application, I tried using process but it doesn't get the argument... Here is the part of the code.. System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents= false ; proc.StartInfo.FileName="C:\\Inetpub\\wwwroot\\Webshell\create.bat"; proc.StartInfo.Arguments="Pasta1 Pasta2"; proc.Start(); But it does not work, if I paste the comm ...Show All
SQL Server Analysis services and traditional reporting
The idea of defining cubes directly on any relational database is very nice, especially with the possibility of giving "friendly names" to facts and dimensions. I've read in a few places that analysis services provides " ... a unified and integrated view of all your business data as the foundation for your traditional reporting, OLAP analysis and data mining. " I've tested the OLAP and the data mining aspects but I have ...Show All
