Software Development Network Logo
  • Visual Studio
  • .NET Development
  • VS Team System
  • VS Express Editions
  • SQL Server
  • Visual FoxPro
  • Visual C#
  • Game Technologies
  • Windows Forms
  • Windows Vista
  • Microsoft ISV
  • Architecture
  • Smart Device
  • Visual C++
  • Windows Live

Software Development Network >> Roger Sutter's Q&A profile

Roger Sutter

Member List

grdanielson
Rekhender
JVP
David Portas
dannyR
tekvaio
William Davies
baharlou
DeKale
VasuHema
jeeber
Simon Dahlbacka
Lubo Birov - MSFT
kiran pavuluru
George Kremenliev
gwarnes
CHANTELOUP
Oleg_R
Mausi
SWMagic
Only Title

Roger Sutter's Q&A profile

  • Visual Studio Team System Past VSTS Web Webcasts not availible for "On-Demand playback"

    Hi! Why aren't all past VSTS Webcasts available in form of a recording I am especially interested in following Webcasts: Change Management With Visual Studio Team System Unit Testing, Code Coverage, and Policy with Visual Studio Team System Thanks, Ana This can happen for any number of reasons (recording quality, recording success, etc.), but I don't know why those two aren't available. I'll see what I can find out. However, you can catch the second one live on March 31st . ...Show All

  • Windows Forms Popup Menu - How to position and show?

    I need a popup menu similar to the ContextMenuStrip, where I can set the position and show it without right-clicking. For example, I've added a HelpButton to a Login Form. When the user clicks the help button, I want to display a popup menu (without the top-level item), which has two items to choose from. (I forgot my password. and Contact the system admin.) For some reason, my version of VS didn't come with a PopUpMenuStrip :) Thanks for any feedback! -Duke No problem.  You can show a ContextMenuStrip (and a ContextMenu for that matter) anywhere you want.  The following code, placed into ...Show All

  • Visual C++ Will VC8 play nicely with VC6?

    I am working on using VC8 to build a new version of dll that is used by a number of applications that were built with VC6. Rebuilding the VC6 applications is absolutely not an option . I need to know what problems to expect with this and how to address them. In particular, I am worried about .manifests and the linkage to msvcr80.dll (vs msvcrt.dll). What should I be watching for, and what can I do about it It will work, as long as you don't pass around pointers to memory between them (e.g. allocating memory in a VC6 based component and freeing in VC8, or vice versa). msvcr80.dll can coexist in the same p ...Show All

  • .NET Development Populating A Combobox

    Well, what should be a simple task is turning out to be a nightmare. I have a simple combobox on my form. I have a simple database with a table in it and some data. All I want to do is populate this combobox, but nothing works. I setup a dataset, the bindingsource, and tableadapter, in preview data comes back, but when the project is run the combo box is always empty. I've tried a bunch of other stuff, but the results are the same. I've searched and searched for a simple tutorial on this, but can't find anything specific to this problem. I'm using Visual Studio 2005 Beta 2. Any help would be greatly appreciated. ...Show All

  • Visual Studio 2008 (Pre-release) How to restore MainWindow to maximized on startup

    I tried to restore the MainWindow on application startup on the second screen. I saved some window position, Size and state on previous window shutdown. On startup i tried to restore the old state. window.Left = rectangleLocation.Location.X; window.Top = rectangleLocation.Location.Y; window.Width = rectangleLocation.Width; window.Height = rectangleLocation.Height; if (state == System.Windows.WindowState.Maximized) window.WindowState = state; Unfortunately the window comes up maximized on the first screen. Is the code above wrong or is there another way to do this. I might be incorrect on this but looks l ...Show All

  • Windows Forms Improve Drag and Drop ToolStrip

    Dear all,   My application can allow users drag and drop items (images) from Listview to Toolstrip, However, I only can add items in Toolstrip orderly. So I want to improve my application can be perform manipulation (same Microsoft office): 1.       Toolstrip allows drag and drop items from listview to Toolstrip any position. 2.       From Toolstrip user can be drag and drop ToolstripItems to delete those items.   My code:     public partial class Test : Form     {         #region F ...Show All

  • Visual Studio Critical bug in ItemGroup!! Show-Stopper!!

    The following MSBuild script demonstrates a bug in the ItemGroup behavior. The problem is that the ItemGroup file mask is evaluated at the START of script execution instead of when it is first referenced. This means that ItemGroup cannot be used to group files which are generated during the execution of the script... They are silently skipped! I tried using CreateItem but I still couldn't make it work. Anybody even have a workaround <Project InitialTargets="failbadly" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <BustedFiles Include="Foo\*.*" /> </Ite ...Show All

  • Visual Studio Express Editions MDI child and Parent.

    Hello, i am trying to learn vb by myself. and i am going good also. i have one form which i have converted in to MDI parent from the properties. but i have few more forms, which i want them to open inside the parent form. now i dont know how to make them child form. can u show me Say MD was the mdi parent window and frmtest was a form. dim n as new frmtest n.parent = md n.show That would make a new copy of frmtest show up in the mdi form. ...Show All

  • SQL Server sql 2000 installation on windows 2000 advance server

    I am trying to install microsoft sql server 2000 enterprise edition on a windows 2000 advance server. I keep getting error message A previous program installation created pending file operations on the installation machine. You must restart the computer before running . I have restarted machine and no change. What does error message mean and what is solution Try this. 1. Run command regedit, remove the key HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Pendingfilerenameoperations 2. Reboot the machine ...Show All

  • Visual Studio Team System Loading appsettings or custom settings from MSTest.exe

    I have a unit test (MyUnitTest.dll) that tests a class in another dll (MyClass.dll). My unit tests verify the code that loads the configuration settings. One test method looks like this, [ TestMethod ] [ DeploymentItem ( "MyUnitTest.dll.config" )] public void ReadFromConfig() { MyConfiguration configuration = MyConfiguration .Configuration; Assert .AreEqual("testvalue", configuration.CustomList[0]); } When I run this from VS IDE (I specify "MyUnitTest.dll.config" as a Deployment file in localtestrun.testrunconfig), the test runs successfully. When I run the same test from MST ...Show All

  • Visual FoxPro how to configure properties of treeview in run time?

    I have a problem to disable the treeview object when the program is running, please help. the command which I used is : thisform.mytreeview.enabled = .f. I can disable it manually when I right click on the object and in the treeview property window. Any advise is very appreciate. ...Show All

  • Windows Forms update dataset row by row i want efficient code

    i want to update the dataset row by row not all the table i write da.update(ds.tables(0).rows(i) and each time the i changed in a loop from the bindingsource it didn't update the dataset and don't give any errors!!!!! can any one help me in this thanks., I haven' t understood your question fully but well, It's not always more efficient to update row by row as you might think. It would actually take more time to update all the rows in the table in most cases because as you are "update()"ing modified row data back to database, the DataAdapter object instance should make a round trip to database to commit th ...Show All

  • .NET Development identity field crisis

    I'm using two parent-child table and a transaction. When parent hasn't errors but child has, transaction increments the identity field on sql server. So on next save i receive a foreign key exception because identity field on dataset remain different respect that on database although update rule on relation. If i use acceptchangesduringupdate=false i receive a dbconcurrencyviolation and if use continueupdateonerror the transaction doesn't work. Help please. I'm using system.transactions code: Using tran As New Transactions.TransactionScope Try Me .ClientiTableAdapter.Update( Me .FashionDataSet.clienti ...Show All

  • SQL Server cannot install integration services

    Hi! During the installation of integration services (SQL 05 Developer RTM) I get the following error: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ Failed to install and configure assemblies C:\Programme\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. Error: -2146233087 Error message: Unknown error 0x80131501 Error description: Failed to generate type library 'C:\Programme\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.tlb' for 'Microsoft.SqlServer.MSMQTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. I had CTPs of SQL05 and VS05 insta ...Show All

  • Windows Forms inheritance bindingsource

    I started with inheriting the Bindingsource and added some additional events and properties which i needed. Using inheritance seemed the right choice, so i started to inherit the Bindingsource. Below a summary of my extention to the BindingSource. public class BindingSource : System.Windows.Forms.BindingSource, ISupportInitialize { bool AutoSave { get; set; } bool DataDirty { get; set; } event DirtyEventHandler DirtyChanged; event SaveRequestEventHandler RequestSave; System.Data.DataTable GetDataTable(); } When the control is bound to a dataset (datasource) and datatable (as datamember), all works fine. However when ...Show All

©2008 Software Development Network