sam2005's Q&A profile
Windows Forms name of the event when a column-divider is clicked in header of DataGrid which resizes the column
All -- Please help. What is the name of the event when a column-divider is clicked in header of DataGrid which resizes the column That is... ...with the default formatting, in VS.NET 2003, there is a little, vertical line between columns in a bound DataGrid in a WindowsForms application.... ...when the mouse rolls over that line, the mouse changes from a pointer-style to a splitter-style... ...if one clicks that little vertical line, then the column to the left of the line is resized to autofit its widest element. I want to know what the name of that event is and how it can be triggered programmatically and/or captured programmatically. Do you know (I know that DataGrid_DoubleClick fires; but, that does not ...Show All
SQL Server what will be happening to the SSRS while DB mirroring?
hi there, can the SSRS works with DB mirroring If yes, how to do it I just tried to enble mirroring for reportserver and reportservertempDB, but it doesnt work after failover. Any idea Hi, How do you specifiy the connect string for the SSRS data source to support a mirrored source database I receive an error while running the report when the datasource includes Failover Partner in the connection string. Connection String: Data Source=<DB Server>;Failover Parter=<Failover DB Server>;Initial Catalog=<Database> Error running report: An error has occurred during report processing. Cannot create a connection to data source 'DefaultDataSource'. Keyword not supported: 'failover ...Show All
SQL Server How do I obtain the log file for a DTSX?
Hi everyone, I'm stuck with this silly thing but I haven't idea how to obtain the path for the log file specified in a SSIS package programatically. This snippet of code works fine: Dim pkg As New Microsoft.SqlServer.Dts.Runtime.Package Dim app As New Microsoft.SqlServer.Dts.Runtime.Application Dim pkgResults As DTSExecResult pkgLocation = "C:\Documents and Settings\40990880\Mis documentos\Visual Studio 2005\Projects\Proyecto de SSIS3\Proyecto de SSIS3\ProvaPrimera.dtsx" pkg = app.LoadPackage(pkgLocation, Nothing ) pkgResults = pkg.Execute() After execution I'd like to see the log file which is allocated in the same place than DTSX file. But how Using pkg.LogProviders.Item(0). ...Show All
Visual Studio Can the debugger be used to step through a guidance package?
I have a few random questions - any help is appreciated. Note the general sense of frustration. Is it possible to use the debugger to step through a Guidance Package while it creates a solution Is there documentation, other than the chm file (note: this should include a how-to) What is the sequence of how code is executed when a solution is created from a package How does one interpret the below Action < Action Name = " ExportSolutionTemplateRef " Type = " RefCreator " AssetName = " ExportSolutionTemplate " ReferenceType = " Microsoft.Practices.SoftwareFactories.ServiceFactory.References.SolutionPropertiesReference, Microsoft.Practices.SoftwareFactories.ServiceFactory & ...Show All
Visual Studio VSS 2005 install not installing VS 2005 plugin.
Hello, Not sure what's going on but has anybody successfully been able to get the VSS 2005 install to complete successfully and when finished, have the VSS plug-in available in Visual Studio 2005 I have enabled the IIS compatiblity. I right click and run the vss setup as administrator. I get no error messages but afterwards, if I click on file there is no source safe option. Also, when I try to open a website, source safe isn't an option. My database server is on a remote W2k3 server. I need the add-in for Visual Studio to open projects from databases on remote servers. Also, I have tried installing VS 2005 SP 1 beta. (Not that I could see how it would make a difference but tried none the less.) Any ideas of how to get this ...Show All
Visual C# For Loop
In the following snippet, I got nothing in "path": for ( int j=arrcolid.Count-1;j==0;j-- ) { path += arrcolid[j]; } But in the following snippet, path is "DogCatFox", Why for ( int j=0;j<arrcolid.Count;j++ ) { path+=arrcolid[j]; } gkantsidis , thks a lot! ...Show All
Microsoft ISV Community Center Forums I am unable to move down in excel cells by VB code
I need to move by two cells down in excel by writing a code in visual basic by the click of a cammand button Example: Now I am in cell A10 and I need to be moved by two cells down by pressing a cammand button. That is after clicking the cammand button My active cell should be cell A12. Sub Y() ActiveCell.Offset(2).Select End Sub - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ ...Show All
Smart Device Development Problem Running emulator with eVC++ 4.0 sp4
hi professionals i've installed embedded visual c++ 4.0 sp4 and i've written a sample application which shows a message box on the screen. i'm working under x86 with standard sdk 5. when i run the application, windows CE emulator pop ups and it started to connect to device. although i have no physical device, it kept trying to connect to device and after 90 seconds it shows me an error message "Timeout:failed to download files". why windows CE emulator doesnt run my application what should i do Sorry this forum is dedicated to discussions related to Device Emulator shipped with Visual Studio 2005, WinCE 6.0. eVC emulator is different for which you might want to send message at micrso ...Show All
Visual Studio Team System Extraction rule to grab Session ID (or anything really) from between JavaScript tags?
Hi, I am trying to pull a session id from between JavaScript tags. Will this require a custom extraction or should I be able to use one of the supplied extraction rules I am targetting the value for var intSessionNumber = '166212061'; I am unsure if it appears on every page in the same order shown below. <script language="javascript"> var fooURL = 'http://www.example.com/help/whatsnew.htm'; var strBooUrl = 'http://www.example.com/scripts/js.js'; var iSelectedTabIndex = '0'; var iCheckBoxCounter = '0'; var arrPTScroll = '0'; var intSessionNumber = '166212061'; var strAppName = 'application'; var strMediaServerDomain = 'http://www.example.com/'; var booDomain = 'http://www.example.com/'; var strSelectedTab = '0'; ...Show All
Software Development for Windows Vista Works with Vista logo requirement question
Your "Works with Windows Vista Software Logo Spec.doc" states " The application must be tested on both 32-bit and 64-bit versions of Windows Vista. " Our application is a 32-bit Windows application which works just fine on Windows Vista 32-bit OS. So if our application doesn't work "nicely" with 64-bit Vista does it mean that we will not qualify for the Works with Windows Vista Software Logo certification Thanks in advance, Bobby. That is correct. It must be nice and friendly on 64bit machines. There is no way to know what version your user intends on using. There are differences in 32bit and 64bit. For example 16bit drivers won't work on a 64bit but will on a 32bit. Divers are also requi ...Show All
SQL Server Rows are missing in pivot table
I have created cube and am able to browse the data through the aspx page in a pivot table. But the problem is if i move some dimensions to row area then the pivot table by default is not showing some records. But when ever I click on sort desending in the pivot table toolbar then I can see all the rows. Again if I switch to assending then those rows are getting dissapeared. why is it happening i am not able to understand. If I export the results to excel then i am getting all records. I am confused.... Please help!!! ...Show All
Visual Studio Express Editions FrameWork Question
Hi there. How do i know the version of may FrameWork that i have Installed in may machine Ricardo 8a Hi, you can check which subfolders you have in %windir%\Microsoft.Net\Framework. Those subfolder names could be v1.0.3705 for .Net 1.0; v1.1.4322 for .Net 1.1; v2.0.50727 for .Net 2.0 and v3.0 for .Net 3.0 %windir% is C:\windows by default but you could have specified a different drive and path upon installation of Wndows and WinNT4 and Win2000 used winnt as default folder name. -- SvenC ...Show All
.NET Development Problems with SMTP Mail on Port 25
This is a very strange problem... I have a Windows 2003 Server hosting a C# application, which is scheduled to run on a semi-frequent basis. I want the application to automatically send out emails, containing data collected by the C# application. So I set up the standard IIS SMTP server on the same machine. I use the System.Net.Mail namespace, and the following code to send an email: MailMessage message = new MailMessage(from, to, subject, body); SmptClient client = new SmtpClient("localhost"); client.Send(message); Only it doesn't work. An exception is thrown, with inner exception saying "Unable to connect to the remote server." To simplify matters, I deactivated Windows firewall - and have no other personal firewal ...Show All
Visual Studio 2008 (Pre-release) Does the .NET 3.0 July CTP include ADO.NET 3.0?
The .NET 3.0 July CTP can be downloaded from here: http://www.microsoft.com/downloads/details.aspx FamilyId=62057A6F-185F-41DB-ABE5-678F6FC388F0&displaylang=en Does this include ADO.NET 3.0 If not, when ADO.NET 3.0 is released, will it be part of a .NET 3.0 CTP ...or a standalone CTP Michael. Last I heard, there was going to be a ADO.NET 3.0 planned for August which would also have linq updates (I don't know if this would coresponds to Orcas Beta 1) ...Show All
Software Development for Windows Vista UAC elevation dialog minimized
Our application launches a separate executable that requires elevation. Everything works fine except that the UAC elevation dialog always comes up minimized, blinking in the taskbar (users tend to miss the blinking taskbar and think the operation failed). I believe this is a problem with Vista, as I have seen the same behavior in the Windows Explorer (Computer) when right-clicking on a hard drive and selecting "Format...". Is there a way to force this UAC dialog to gain focus immediately Or is this a bug that will be fixed in future Vista builds Running Vista build 5472 There's one key here though, as this page mentions: http://blogs.msdn.com/uac/ "UAC prompts will not ...Show All
