DougInGeorgia's Q&A profile
Visual Studio 2008 (Pre-release) How to get scroll events from a GridView?
I have a ListView control with a GridView as the view and I want to get scroll events when the scrollbar for the GridView is dragged or clicked. Is it possible to get a ScrollChanged event from the GridView I have searched the documentation, forum and web but not found a way to do this. Is there a way to access the ScrollViewer or ScrollBar for the GridView in code You can simple add a eventhandler in ListView like lv.AddHandler( ScrollViewer .ScrollChangedEvent, new ScrollChangedEventHandler (dealwithscroll)); Or <ListView Name='lv' ScrollViewer .ScrollChangedEvent="dealwithscroll ...Show All
Visual Basic Writing SQL to XML
I'm trying to convert some sql data to xml with some visual basic code-behind... but it's not working. When I fire off the page it just flashes and stays blank. It doesn't display at all my label I tell it to when the code is finished. Right now I'm firing it off whent he page loads just to simplify things, but I previously had a button that was used to initialize it. It failed with the same result, page flashes, no label displays. I even check up on my server where the xml doc is supposed to be saved to but it's not found. Here's my code behind: [CODE] Imports System.Data.SqlClient Imports System.Data Imports Sy ...Show All
Visual FoxPro How to upgrade a menu from FoxPro for DOS
I'm a very old, retired, CCOBOL and ASSEMBLY programmer with some experience with dBase and FoxPro from the command window. A charity has asked me to get an old FoxPro for DOS program working on a donated used computer which contains VFP6.0. I have gone over the data files and they seem to be OK. The indexes have been converted to CDX type and that works. The old DOS program worked by relying on append and browse commands which all work. The needed reports were all hard coded with space() to fill lines nicely and they work. The only thing that doesn't work is the old character screen menu. It had 10 @SAY and 10 @GET commands and a READ. The ...Show All
Visual Studio Team System Shortcut to "Go to Work Item"
I know this is "piddly" but is there a shortcut to the "Go to Work Item" command Thanks, ~slee CTRL+G will also work for GoToWorkItem if you have a work item node (or any child) selected in Team Explorer. So, you don't actually have to get a query up to make it work, just select Work Items and you're good to go. ...Show All
SQL Server Script Transformation
A new question ! When you use a script transformation you have input rows and output rows. Is it possible to have a different number of rows at input and output Thanks Coroebus wrote: I get an error with my script : PipelineBuffer has encountered an invalid row index value. Dim NbCode As Integer = 20 ' set the nb of code per row Dim liste As String = Nothing ' the string containing the output row ' We loop for NbCode times While Not Row.EndOfRowset For j As Integer = 0 To NbCode &n ...Show All
Visual C++ MFC project with WinXP style menus and toolbars?
Hi. I asked this in a previous reply already, but the subject changed, and I wanted more people to see it. In VS2005, is it possible to create an MFC application that uses the WinXP sytle menus and toolbars What I would like is the steps to create a new MFC project that when I build and run it, it displays with the same "look" as a VS2005 forms application. I've been directed to use the manifest through which I can make other MFC controls render in their new style (by using version 6 of ComCtl32.dll), but I can't get the menus or the toolbars to display in the WinXP style. Can someone point me to the the procedure for doin ...Show All
SQL Server Get list of all Databases in an SQL server
Hey all, I have a pretty simple question, how do i get a list of all databases on a given SQL server I just want a list of them, how is this done I know that you can use SMO, but I am acutally trying to do this without using SMO. Can it be done Thanks to anyone who helps the code I have used to get what I wanted was as follows: SqlConnection sqlConn = new SqlConnection("Server=theServer; Database=dbName; User Id=user; password=password"); sqlConn.Open(); DataTable tblDatabases = sqlConn.GetSchema("Databases"); sqlConn.Close(); foreach (DataRow row in tblDatabases ...Show All
SQL Server SQL Reporting Services - HTTP Error 403 - Forbidden When Viewing a Report
I have created a report using Visual Studio 2003 and deployed it to the Reporting Services site. Then in my browser I can see the new folder, and then the report. When I click on the report I get the following error: You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. Are you accessing the ReportServer or Reports site If it is the reports site, try the reportserver site and see if you can view the report there. Also, are you using RS 2000 or 2005 ...Show All
Windows Forms Image manip and canvas control
Hi I am currently evaluating 3rd party components for image manipulation. The requirements are that the user will be able to draw shapes, insert images, and write text to a canvas. The user will be able to manipulate the images on the canvas (rotation, crop, flip, resize etc). Does anyone know of such a component I would also appreciate any advice yo ...Show All
SQL Server Web Wizard
I used the web wizard to create a html file with specific information. It worked for while and now is giving me problems. I want to stop the process but can't seem to do this. I delete the procedure that the wizard created and still get errors. Can you tell me how to 'undo' what the web wizard did thanks David Ferguson ...Show All
Visual Studio Team System Work Item Customization - How do I create multiline textboxes on the Work Item Form?
I am trying to display 3 controls on the Description tab of the Bug Work Item. Instead of 1 "Description" field, I would like to show "Actions to reproduce," "Current outcome," and "Expected outcome." Here is an excerpt from my SampleBug.xml: (From field declaration area) < FIELD name = " Actions to Reproduce " refname = " MyCompany.ActionsToReproduce " type = " String " reportable = " dimension " >< REQUIRED /></ FIELD > < FIELD name = " Current Outcome " refname = " MyCompany.CurrentOutcome " type = " String " reportable = " dimension " >< REQUIRED /></ FIELD > < FI ...Show All
Visual C# Running external executables from C#.NET (2005)
Is there a way to run an external .exe from within a C#.NET app Obviously, the shell is a vb deal... Dwaine try { string applicationPath = @"c:\MyFolder\MyApp.exe"; Process.Start( applicationPath ); } catch ( Exception caught ) { MessageBox.Show( "Error while starting application.\r\n\t\nDetails:\r\n" + caught.Message ); } ...Show All
Visual C++ How can I include multiple configurations of a single project as a dependency?
New to this whole Visual Studio thing. Unix world is most of my background, so sorry if this is a simple question. We have a solution which builds a number of libraries and .exe's. Our product is a combination of the libraries for different configurations - i.e. liba 32 and 64 bit, libb 32 and 64, etc. We have the projects all setup to build w/ the different configurations. And I can use 'batch build' to select which projects from a long list. But I'd like to be able to say a solution build is building the solution for more than one selected configuration - all platforms, or all configurations. (or both I guess...) I know there' ...Show All
Visual Studio Team System Team Build Ignores Conditional Compilation Symbols
My individual projects build fine. My team build fails when including a project that requires a conditional compilation symbol. i see the symbol in the csproj that is in the build directory but it appears to be ignored. Is this a known bug Chris - Could you please post the project file that you were trying to build This will help us figure out why this failed in the first instance at all. Thanks, Anu ...Show All
Microsoft ISV Community Center Forums Can anyone download VS Team Edition?
We are a Certified Partner with the ISV Competency. The ISV Competency gives us a license for Visual Studio 2005 Team Edition for Developers but, we can't download that or the Team Server from MSDN. We can download the evaluation editions but not the real thing. Is this a problem for all partners with the ISV Competency or just us Can anyone download the real editions of Team Foundation server and/or VS for Developers Thanks, John Vottero I have encountered the same issue. We are also a Certified Partner w/ an ISV compentency. The download should be available (at least that's what MSDN sp ...Show All
