mshsl's Q&A profile
.NET Development Web Form with XML
HI, I have 2 page form, on first page i have continue button and in second page once form is filled then i want to update the database, i want to use XML in this, how do this any examples Thanks Seshu ...Show All
Internet Explorer Development IE 7 - scrolling jumps
Is there a default setting I can change in IE7 that will stop the jumping when I try to scroll using a mouse wheel It's almost as bad as what I see when I'm connected remotely to another machine. Thanks, R. Hill Thanks for the reply. I found a solution from a google forum that solved the problem for me: Start. Control Panel. Mouse. Choose the Buttons tab. For "Scroller", set to the following: Check the box labeled "Use MS Office compatible scroll only." Also, check the box labeled "Scroll in active window only." Works fine after making those changes. ...Show All
Smart Device Development Parameter Select Question Problem
I understand that using parameter questions solves a lot of problems. So i tried using it on a select question. public ArrayList GetOrderRowsByOrderID(int orderid) { conn = new SqlCeConnection(connstring); cmd = conn.CreateCommand(); cmd.CommandType = System.Data.CommandType.Text; cmd.CommandText = "select @p-productid, @p-productname, @p-price, @orow-quantity, @orow-discount from orderrow as orow join product as p on @p-productid = @orow-productid where @orow-orderid = @orderid"; //cmd.CommandText = "select p.productid, p.productname,p.price, orow.quantity, orow.discount from orderrow as orow join product as p on p.productid = orow.productid where orow.orderid = @orderid"; ...Show All
Windows Forms Problem with application manifest
Hi, I have a problem building the setup project for my Outlook add-in. I have confirmed that my published add-in is updated when I manually add a reference to the deployment manifest within the application manifest. Unfortunately, whenever the stinking setup project is built it overrides my application manifest and the installed version no longer contains a reference to the deployment manifest. Ideally, I would like the application manifest to add a reference to the deployment manifest when it is built, but even if I could add the manually edited version into the installer that would be sufficient. Any ideas I think this automatic update feature is a pretty good idea, but getting it to work with the security policies, registry settings an ...Show All
Windows Forms how to capture screenshot of windows forms controls even if they are not visible?
Like in the subject, how can i save screenshots of windows forms controls, even if they are not visible For example if the control is in an application that is in the taskbar or if the form is hidden And what about if the control has a scroll bar and I want the screenshot fo the whole control area Thanks in advance for your help As counter-intuitive this sounds, it is actually possible. Put two buttons and a picturebox on the form, make the second button invisible. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim bmp As New Bitmap(Button2.Width, Button2.Height, Drawing.Imaging.PixelFormat.Format24bppRgb) Button2.DrawToBitma ...Show All
Visual Studio 2008 (Pre-release) How to solve this problem when we transform a picture?Help me
The formatter threw an exception while trying to deserialize the message: Error while trying to deserialize parameter http://tempuri.org/:GetUserPhotoResult . There was an error deserializing the object of type System.Drawing.Bitmap Thank you, Now, We solve it. transform Stream instead of the Bitmap is likely ok! but, i did not know why.. ...Show All
Windows Forms how to activate back and forward buttons in c# project
i have developed the project using c#. there i am having back & forward buttons. how to activate that buttons. like in asp.net i can get the options response.redirect(), but here how to do plz give me a example for activate the back & forward buttons. Thread moved to the appropriate forum well in winforms, to navigate on a webbrowser control: this.theWebBrowserControl.Navigate( urlHere ); there are also functions like goback, goforward etc... if those pages are stored in the history: this.theWebBrowserControl.GoBack(); this.theWebBrowserControl.GoForward(); does this help is that what you are after ...Show All
Visual Basic Auto Append and semi complete Form
I open a form with a Tableadapter to which I have created a query based on a field on the form which I populate from the previous opening form. This displays the results of a query which shows header records and a Datagrid view of the linked many transactions. (Like a simple Invoice Header and Transaction lines details tables) What I would like to happen, is that when no data is returned by the query, the form automatically appends a new record and fills in certain information (ie the Account) which is already known. This would be done in the onLoad event, but I do not seem to get the data to 'autofill' Any help or direction to look in would be appreciated. The MSDN help just seems to lead me round in circles (although I may ju ...Show All
Visual Studio Tools for Office No VSTO parts in prerequesities dialog - resolved!
Hi, does anyone know what's wrong if I can't choose VSTO runtime or Excel 2003 PIA among the prerequesities for my setup project I use Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) and Microsoft Visual Studio Tools for Office 77617-168-7076001-41212 This looks promising... After a loooong vsto repair setup on my dev machine I got an error message stating that "something" was wrong. Shouldn't have used the MSDN disc perhaps I'll try todownload it and see if that helps! /k ...Show All
Visual C# Any Book Recommendations
with regards to: UML Unit Testing Design Patterns Thanks in advance, Nick see if you can find anything here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=849534&SiteID=1 ...Show All
SQL Server restore from a differential backup
I create a full backup followed by daily differential backup, when I restore database from the fifth or later differential item, I get the following Error Message: System.Data.SqlClient.SqlError: This differential backup cannot be restored because the database has not been restored to the earlier state. (Microsoft.SqlServer.Smo) It seems that there is an error when the fifth differential backup occurred, It's a disaster, how can I do, help! My guess is that there was a full backup between the fourth and fifth differential backups. A differential backup can only be applied to the most recent full taken before that differential. ...Show All
Windows Forms Setting Application Theme/ColorTable
Hi all, In my project, I want to use WinXP theme with blue color schema whatever user's machine color schema ( if user enabled WinXP theme ). It is easy to setup blue color schema for menustrip, toolstrip, etc. with the helps of custom Professional ColorTable. I have used reflection to get values of AreteOutlookCustomColorTable properties. However I need that all controls' of application with blue schema colors. How can I do this ToolStripManager.Renderer = new ToolStripProfessionalRenderer(new AreteControls.OutlookStyleItems.AreteOutlookCustomColorTable()); using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Drawing; namespace AreteControls.OutlookStyleItems { /// <summary> ...Show All
Visual Basic Definitions of message for use with SendMessageA API.
Is there a listing of all the message values to use with SendMessageA. I know a few such as WM_GETTEXT = &HD WM_GETTEXTLENGTH = &HE Also maybe some MOUSEEVENTS Thanks. The best chance of finding the constants, is via this site: http://www.pinvoke.net/ ...Show All
Community Chat Developer Solutions team needs you! Well your ideas anyway...
Hi everyone, I'm a PM on the Developer Solutions team (I work with Joe), and I need some input from you all. I'm putting together a roadmap for some of our future Power Toys work, and we need some good ideas. I've posted about what I'm looking for over on my blog so if you're interested in helping us out, pop on over and check out my post. Thanks in advance for all the great ideas I know you'll send us. :) -Jeremy Kelley You should put the Snippet Designer http://blogs.msdn.com/joemorel/archive/2006/11/16/microsoft-code-snippet-designer-alpha-release.aspx on your Pack installer when the final release will be out. Also, we use special formating for our class and functions comments ( Surround w ...Show All
Visual Studio Team System Install TFS SP1 onto TFS SP1 Beta
Hi, I'm trying to install TFS SP1 on a TFS server that has previously had TFS SP1 beta installed. The update/patch package is VS80sp1-KB926738-X86-ENU.exe . The error dialog message is: "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch." The event log also indicates the error with the following description: "Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU - Update '{A212FEEC-14C4-460E-BE0E-F1DEBD14C324}' could not be installed. Error code 1642." ...Show All
