Srikanth_mr's Q&A profile
Visual Basic View/Text Size Menu item in WebBrowser
I am creating a browser and wish to include a "Text Size" option under the View item of the menustrip. This would be exactly like Internet Explorer where clicking "View/Text Size" produces a flyout menu ("Largest, Larger, Medium, Smaller, Smallest") that changes the size of the font in the web page. Creating the menu items in the menustrip is easy. I just don't know how to make them work. When I researched this topic in the MSDN library I found a potentially helpful article that is way over my head as a Newbie. The article is: " Reusing the WebBrowser Control" ( http://msdn.microsoft.com/l ...Show All
Visual Studio 2008 (Pre-release) xaml in IE6 only animates on startup screen on multimonitor
I'm wondering if this is just a problem with my setup or if others have this problem. If you have a multi-monitor setup Take a xaml file like this: < StackPanel xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " TextBlock.FontSize = " 18pt " > < UniformGrid Rows = " 3 " Columns = " 3 " Width = " 450 " > < Button Content = " Button 1234 " /> < Button Content = " Button 1234 " /> < Button ...Show All
SQL Server Properties affected by Expressions
Hi, is there any way to see which property is changed/affected by expressions If not that would make things really complicated because you look at a property and it seams to be OK but the task doesn't do what it's supposed to because "behind the scenes" the setting is changed by an expression... Thanks, Take a look at the updated UI for the File Watcher Task. I expose the expression instead of the property when set. Hope MS implement something similar, as I know I have spent way too much time cursing trying to get stuff to work, and it was all down to an expression I forgot about. Screen shot here- File Watcher Task ( http://www.sqlis ...Show All
Windows Forms Paint Event Problem
I have a Windows application that overrides the Paint method to change the presentation of the form. Basically, it paints a red border around the edge of the form. I also have a couple of panels that fill up the form. One is docked to the left and the other fills the remaining space. Each of these panels also has an override to the paint event. The overrides are in the Form1 class. The problem: The project solution compiles and runs just fine on my laptop. However, when I copy the entire solution to my desktop computer, the application will run, but the two panels do not update their display! I have placed breakpoints in the respect ...Show All
Smart Device Development CAB/INF, install directory out of control with user selected install volume
CAB/INF/CeAppMgr together with user selected installation volume. When users let the installation be done on device as suggested by CeAppMgr/Add-Rem-Prog the installation directory is set as described by Installdir in the .inf. When user choose to select another installation volym the suggested (and unchangeble) install directed is no longer the one set in the .inf Now it's generated by two variables in .inf, Provider under [Version] and AppName under [CEStrings] are merged together with a blankspace in between. Details ------- INF: [Version] Signature = "$Windows NT$" Provider = " MyComp " CESignature = "$Windows CE$" [CEStr ...Show All
.NET Development invalid operation exception
Hi, I'm very new to this and I would appreciate any help you might be able to give me. I am building a composite web service on my local machine. This web service is to be comprised of calls to two other web services, one on my local machine and one not. The web service I am trying to incorporate into the composite web service retrieves data from an SQLServer database. It tests fine; when I use a web application to test it, it also works fine. However, when I try to call it from the composite web service, it throws an invalid operation exception. I have set the credentials of the instance of the proxy c ...Show All
Visual Studio Team System Team Foundation Server installation problem ("SetupWarehouse.exe" and "...No mapping between account names...")
Hi all, I am trying to intall Visual Studio 2005 Team Foundation Server.At end of installation progress, i am getting that error ; Error 32000.The Commandline '"c:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\bin\SetupWarehouse.exe" -n -s "MSF" -d BisDWDB -c "c:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\bin\Consolidated.xml" -a "TESTMSF\TFSSERVICE" -ra "TESTMSF\TFSSERVICE" -v -l "c:\DOCUME~1\TFSSETUP\LOCALS~1\Temp\setupwarehouse.log"' returned non-zero value: 3. within setupwarehouse.log: ...The following system error occurred: No mapping betwee ...Show All
Visual C# Scrolling Textbox vs 2005
hi ppl. how can i scroll manually a textbox its a multiline with vertical scroll.. i want to can scroll it to the end of the text when ever i want... i didnt found a method or propertie to do that :s... thx mig16 The above solution is not efficient. Do the followings: using System.Runtime.InteropServices; public class XXX { private const int WM_VSCROLL = 277; // Vertical scroll private const int SB_BOTTOM = 7; // Declare Method [DllImport("user32.dll")] public static extern int SendMessage(IntPtr handle, int message, int wparam, int lparam); & ...Show All
.NET Development Need help with Drivers error '80004005'
I keep getting this error when trying to submit a form I created on Dreamweaver that is connected to an Access database: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /egs intranet/Connections/testpage.asp, line 76 My include page is: <% // FileName="Connection_odbc_conn_dsn.htm" // Type="ADO" // DesigntimeType="ADO" // HTTP="false" // Catalog="" // Schema="" var MM_Testing_STRING = "DSN=Testing" %> And the DSN=Testing is pointing to the ...Show All
.NET Development Class Library version questions
I would like to create a Class Library for work. I will be putting in data access, error handling, .... other generic classes Now how is the versioning handled Such as lets say I have a class library called Test.dll, and three programs call that Test.dll. Now I make a change to the Test.dlland recompile it, do all three of the programs referencing the Test.dll need to be recompiled to use this Test.dll Or what is the strategy on handling versioning Where does the Test.dll get put for each of the three programs to use it thanks, Dean Read this article on MS ...Show All
Windows Forms font drawstring
hey all, i want to use drawstring to write out a list of text onto a window. The first text will go x=0 y=0. How do i know where to put the second text if the height of the font is 100, then it should go in y=100+buffer. then I want to be able to do a hit test on each string. how do i know the bounding box of each s ...Show All
Windows Forms Progress bar in a status bar?
Can anyone point me to an example of how to get a progress bar placed within a specific panel of a status bar I thought it'd be really simple, but the more I dig, the more nebulous it is. Anyone Thanks! Well, there are a couple of ways to go about this. You could create a custom status bar and panels and do the ...Show All
Visual Studio MSBuild Observation - Unit testing extensions
Here's something I think the MSBuild team should consider for future versions..... Writing unit tests for custom loggers and tasks is a really serious pain. I'm writing a custom email logger that inherits from FileLogger. This will enable me to email off the contents of a build log. I've chosen to inherit from FileLogger because I don't want to write all the routines required to capture output and dump it to a file. I just want to read the log into an email body or attach it. Simple Simple Simple. Now write a bunch of unit tests to verify that everything works correctly. Not so simple. It's damn difficult and requires a lot of planning and l ...Show All
Visual C# AccessViolationException thrown now and then
Hello, I have an application which is stable for most of time but sometimes it unexpectedly crashes (usually after a few hours of running). I have never been able to reproduce it on my development machine. The exception is always the same: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at S ...Show All
Visual Basic Taking a screenshot
I am not very good with imaging and the like, so I have a question... How would I take a screenshot of a panel and save it to an image I need to take a screenshot of all the controls in it as well. Thanks, Tanner With the v2 framework, graphics.CopyFromScreen will bitblt an area of the screen to a surface: Dim screenSize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height) Dim screenGrab As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height) Dim g As Graphics = Graphics.FromImage(screenGrab) g.CopyFromScreen( New Point(0, 0), New Point(0, ...Show All
