EvanBlack's Q&A profile
Windows Forms caption bar design
Hi! i wanna know how can i change the design of the window form (caption bar) i don't know if u heard about trillian (www.trillian.cc) it's a little I.M software, with a very nice look. :) if u have a piece of code, a link to a  ...Show All
Visual Studio Express Editions Problems Installing .Net Framework 2.0
Hello, I am a PC repair technician that loves to try lots of new things. I wanted to install and use the Windows Vista Upgrade Advisory Tool and it told me I needed to install Microsoft.Net Framework 2.0 first. I have tried twice so far and it keeps stopping at the point of "executing Regsvcs.exe\bootstrapi". I had a devil of a time trying to uninstall the first attempt to install this the first time until I realized that if I w ...Show All
Visual Studio 2008 (Pre-release) XamlReader and {StaticResource }
Hi, I'm trying to dynamically create a DataTemplate from an XAML string using XamlReader, but I cannot reference a value converter static resource. If I omit staticresource references it compiles and loads correctly. What is the correct way of linking the resources of the application into the xaml being loaded I have tried ParserContext with Parent set to the ListBox that the dataTemplate will be assigned to. I was trying xaml similar t ...Show All
Visual Basic Table within table
Hi, I am sure this has been asked many times before but I have tried to find something that suits my need for a number of days now but without much luck. I am new to VB and databases so forgive me if the question is a little basic. I have built a simple application that has a datagridview. This datagrid view is bound to a database that has been created in the project. The database displays in the datagrid correctly except for two columns: My tab ...Show All
SQL Server SQL 2005 RTM - SQLDMO "Backward compatibility Redist"
I have downloaded the SQL 2005 RTM Developer Edition. Can someone point me to the file name and location of "'backward compatibility redist'" Thanks Scott FAQ at http://blogs.msdn.com/mwories/articles/dmofaq.aspx " Q: Is SQL-DMO still supported with SQL Server 2005 A: Yes, SQL-DMO will be fully supported (albeit officially deprecated), however it will not be able to make use of any new SQL Server 2005 features. SQL-DMO will be available ...Show All
.NET Development Readbyte Timeout...
I am trying to collect information from a serial device, but sometimes that device might not be connected. When it is not connected, the serialport.ReadByte line of code will just hang forever it seems. Is there a way I can set a timeout value to this Below is my code.... serialPort.DiscardInBuffer() serialPort.Write("1" & Chr(gage.MuxPort - 1) & Chr(Asc("1") Xor (gage.MuxPort - 1))) Di ...Show All
Visual Basic Strip Excel file of bad rows and leave detailrows then import columns into table
Environment: ------------------ Running this code on my PC via VS 2005 .Net version 2.0.50727 on the server (shown in IIS) Code is in ASP.NET 2.0 and is a VB.NET Console application Problem & Info: --------------------- I am bringing in an Excel file. I need to first strip out any non-detail rows such as the breaks you see with totals and what not. I should in the end have only detail rows. The incoming Excel file is here: http: / / www. we ...Show All
Visual Studio Team System 'tfs.AuthenticatedUserName' threw exception "Error: The server name seabug01 is not valid." to access workItems using code
Hi there, I'm trying to access VSTS bug server , using code but code is failing while running Console .WriteLine( "Connecting to {0}..." , server); TeamFoundationServer tfs = new TeamFoundationServer (server); WorkItemStore store = ( WorkItemStore )tfs.GetService( typeof ( WorkItemStore )); with tfs having one of it's field 'tfs.AuthenticatedUserName' throwing exception of - AuthenticatedUserName 't ...Show All
SQL Server CREATE ASSEMBLY failed because method 'get_Count'...
Hi All, I am trying to create and assembly which saves the results of a XML query. The dll, when called from a exe, works and saves the results to file as expected. However, when trying to create the assembly I get the error: " Msg 6215, Level 16, State 1, Line 2 CREATE ASSEMBLY failed because method 'get_Count' on type 'ADODB._Collection' in external_access assembly 'Interop.ADODB' has invalid attribute 0x1003." ...Show All
Visual Studio Team System FXCop 1.35 installation folder
Hi, The installer of version 1.35 doesn't allow me to chose the installation disk/folder. If I remember well, this was possible with earlier versions. Cheers ...Show All
Smart Device Development Follow up flag
A feature that is missing when syncing with Exchange server on Windows Mobile devices is the ability to mark an email "For followup". I want to make a context menu dll that makes this possible in the messaging application. The plugin is working and I can set the "Read" flag with M SGFLAG_READ but I can't find the "Follow up flag". Does anyone know how to do this Best regards Oystein ...Show All
Visual C++ Deploying my .NET app (started as MFC program)... HELP!!!
I've started to use /clr in my old MFC app using VS 2005 How do I distribute my application in an easy way It only works on computers having visual studio 2005. I have run Dependency Walker an error is shown: Error: The Side-by-Side configuration information in "MyApp.exe"contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem ...Show All
Windows Forms How can I set ToolTipText for a DataGridView cell when the form loads?
I tried creating a string and setting the ToolTipText property for the cell when the form loads, but the text shows as "N" on mouse over. This apparently has no relation to the underlying data or to the field name. How can I set the string programmatically You can set the ToolTipText property for a Column Header Cell, Row Header Cell and Data Cell of a DataGridView. The code belows shows you ...Show All
Visual Studio Drag-and-drop from Server Explorer
Hi folks, I'm trying to drag and drop a table from Server Explorer onto a another toolwindow (managed). The DataObject I get from the drag contains a format called CF_DSREF, which returns a MemoryStream. Anybody know how to read the data in this stream Is it a serialized object (COM or .NET) Is the structure published John OK, that's a little embarrasing. I'm pulling my hair out searching documentation, MSDN &am ...Show All
Visual C# How do you import multiple files?
I am writing a web application, and am looking for a way to allow a user to select multiple files from their machine that will be uploaded to the server. I have noticed most people just use multiple instances of the File Field Control , and make the user select each file individually. However, in my application I don't want the user to have to do that, because they are probably going to be uploading an average of 50 at a time. Is the ...Show All
