EZgoin6's Q&A profile
Windows Forms What is the best way to Load/Store Form Location and Size?
Hello, What is the best way to Load/Store Form Location and Size Also what it the best method for Load/Store of other elements on a form such as a MenuStrip and ToolStrip when that are placed in a ToolStripContainer Thank you for your help, Your options are the registry, and a config file ( but the Microsoft config file stuff does not support writing ). I think it depends on how much there is, officially, you should use a config file. ...Show All
Visual C++ (MFC Dialog box application )how to add a bitmap(.bmp) image on dialog box
Could you plz tell me how to add a bitmap(.bmp) image on a dialog box. Place a static on your control with the SS_BITMAP style. AFAIK it is called picture control in the toolbar. Assign the bitmap to it or use CStatic::SetBitmap. ...Show All
.NET Development XslCompiledTransform.Transform throws private Exception (XslTransformExeption)
I have come accross a problem (design bug ) in the XslCompiledTransform. If an exception occurs in the transformation it is of type XslTranformException. This exception is declared in Assembly System.Data.SqlXml and it is declared as private. Now: I have a unit test (Microsoft.VisualStudio.QualityTools.UnitTestFramework) that intentionally feeds the XslCompiledTransform false input to provoke an exception, but I can not declare the testmethod to expect this exception. I consider it a design flaw to propagate exceptions that are private. I will crosspost this to the group of the unit test framework. At least the unit test framework ...Show All
Visual Basic Adding an ocx component to vb2005 project
can somebody help me on how to add an ocx component on a vb2005 project such as shockwave ocx Dominic tanx for the reply. Ive already register it and it was succeeded but it still doesnt work. its still replying an error message " activeX control is unregistered" tanx.. ...Show All
Visual C# An Event Handler in a static object
Background: I have a ComboBox designed as a simple color picker with a short finite list of choices. To show a color bar in each choice, I handle the DrawItem event. As I would like to use the Combo box across a number of dialog forms, I declare it as a static, as follows: public class G { public static ComboBox ColorList = new ComboBox(); static G() { // Copied from a standard VS visual design ColorList.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; ColorList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; ...Show All
SQL Server Help with permissions issues in Sql 05 standard
I spent 3 weeks trying to solve this problem and I’m in over my head. Can someone direct me to a resource for this. I am looking for a professional MCDBA Sql Server 2005 and that can configure my server remotely, am having a problem with aspx pages that access the db. They error. It has to be some sql permissions issue, the login false but i can connect local and form the command prompt (to the server and db) but not in a page. Thanks for help. Whats the error message, normally some errors are very common, so they can be soved via the forums thread. HTH, Jens Suessmeyer. --- http://ww ...Show All
Visual Basic System.ArgumentException was unhandled - WebBrowser object
Hello, I got this message "System.ArgumentException was unhandled Message="Navigation to a relative URL unsuccessful." Source="System.Windows.Forms" Well, that's not the whold message but it's like fifty lines of code so.... Well, the question is for the WebBrowser object. I placed a WebBrowser object on my form then in properties, how do you put the URL in do you put in like: C:\myform\index.htm or something else What if you put in like C:\myform\index.htm, and you have the "index.htm" but the user doesn't have that will VB take care of that, will it copy and put in into the release bin then change ...Show All
Smart Device Development Save cemail.vol... how? (WM 5.0)
Hello Is it possible to backup cemail.vol on WM 5.0 I cannot access it :-( Thanks Sven Rename cemail1.vol, and restart mobilephone. You will see new cemail.vol and now you can cut or copy cemail1.vol. When you want to restore it you can rename again. ...Show All
Visual C# How to create a new mail message window?
Hello, I am using VS 2003. What I am trying to do I hope is just a simple task, but I cannot seem to find anything on the Internet about it. I have a simple form that has a label and a text box. The label says "Email: " and its a link label actually, so what I want to do is, when the user clicks on it, it opens up a "New Mail Message" window. I want it to work whether they use Outlook, Outlook Express, Thunderbird..etc... just whatever their default mail client is. Does anyone know how to just pop open this window Thanks, ~zero System.Diagnostics. Process .Start( "mailto:anyone@test.com" ); ...Show All
Visual Studio Team System Create TFS Bug Entry in IE
Hello, is it possible to enter a new bug directly through the Internet Explorer (e.g. on the project site pages), or does one need to install and license on each machine at least VS2005 TFS client If not, does anyone know a project that is implementing this (e.g. GotDotNet) Or are there licensing issues I was wondering if it is possible to use TFS like "Bugzilla": I would give to all my users the possibility to report a bug or a new feature request. Thanks Martin The web client was cut from V1.0. We are still planning and prototyping - we will have one post V1.0. We are hopeful to deliver one o ...Show All
Visual Basic VB .NET closing forms and setting focus
Hi Everybody, I have not been able to figure out how to close one form when I send the user to another form with VB .NET. In VB 6, this was no problem. Anyway, I have a logon form (frmLogon) and it's btnEnter code will send the user to frmMain if they type in a good user name and password. From frmMain, the user can select any number of forms to go to via a main menu. The problem is that I don't want the users to have five or six forms open on top of one another. I have no problem coding the application to go to the db to verify the authenticity of the user and populating his/her information from form to form...BUT I want to close the ...Show All
Software Development for Windows Vista Long run business process
My question is re: how to resume the flow after a queued step. In a simple case, user goto web to create a PO request, since the transaction also need to sent to a legacy system for processing which is queued thru MSMQ. after this is done, then we need to resume back to next step ,say for shipping or mail a invoice to user. How to implement this using WWF. Appreciate any inspiriting thought. In WF the key piece you would need to implement is to write a couple of activties that send and receive MSMQ messages. The receive activity would block the workflow until the correlated MSMQ message is ...Show All
Visual Basic Microsoft Word Blank page deletion
Hi, I need help in Microsoft Word in Visual Basic... I am having an word document and in there are some blank pages available (not in order).. I need to find out which are all blank pages and I need to delete those pages from the document... Word document will have header and footer (we should not consider header and footer as contents). Thanks, Satheesh Kumar C If your trying to do this all withing word within word you may find some more assistance in following which specifcially deals with MS Office develepment · Office Automation : office.developer.automation newsgroup http://msdn.microsoft.com/ ...Show All
Visual Studio Error "Operation is not valid due to the current state of the object"
I'm trying to use the ReportViewer control (in remote mode) in a winform app. Everything works great until I try and change the ReportPath of the control (in response to a TreevIew after select event ) when the currently visible report is a report that has been drilled into from the original report specified in ReportPath e.g. ReportViewer rv = new ReportViewer(); /* other code */ rv.ServerReport.ReportPath = "/Report1"; rv.RefreshReport(); User then clicks on a link in Report 1 that jumps to Report 2 (still within the same control). Now if you try and set the ReportPath to anything you get an "Operation is not valid ...Show All
Visual Studio Express Editions Error Message
Hello, Whenever I try to build an application and compile and run it, I always get the same error message. "The application failed to initialize correctly. (0xc0000005)" This also occurs on other Visual Studio 2005 Express Editions. I re-installed windows and that did not fix the problem. Does anyone have any ideas that could help Thank you. Hello again, thank you all for your help. Turns out it was my Windows installation that was causing the problem. ...Show All
