FergusLogic's Q&A profile
Windows Forms combo box requirement
Hi, My requirement with combo box is like this. When focus comes to the combo box then only it should display drop button, when the focus looses It should just display like text box. Thanks for the advanced help. Regards pavan kumar Hi Omerkamal , The solution which you have given is working fine. But I am using Enter event rather than GotFocus event, because when I click the combo box using mouse, the Gotfocus event is not firing. And in the textbox enter event after removing the control from the combo box I am removing the Event handler. Here is the modified code. private void comboBox1_Leave( ...Show All
Visual Basic File System Object(FOS)
hi all, I am Ankur Gupta. I am new to File System Object(FSO) , and I need help regarding this. I want to open a MsWord document at runtime & get it saved as " .doc " (word)Document, in a Visual Basic6.0 project. How I can achive this functionality. Please Help. Thanks Hi, You don't have to use FSO in that case. Here's a sample code. http://support.microsoft.com/default.aspx scid=kb;en-us;313193 cheers, Paul June A. Domag ...Show All
Visual Basic Writing plugins for Internet Explorer (IE)
Since I'm programming ASP.NET a lot, I always have to test my websites at several resolutions. I wanted to write a plugin for internet explorer with which I can set the window-size of ie to a number of pixels width and height. The height and width when viewing in 800x600, 1024x786, etc. so I dont have to change my screenresolution all the time for testing. I cant find any info on writing plugins for IE on MSDN, but I see that several programs (like google-searchbar) have a ie-explorer plugin/toolbars. Is what I want possible and does anyone know any samples or tutorials on this topic. Hi, You can write BHO (Browser Help ...Show All
Windows Forms Anyone have a list of objects that should be .disposed?
Hi, I'm not too good on killing my objects after I use them. I was wondering if anyone has a good reference on what type of objects need to be destroyed or disposed after use. thx. Did you uninstall any add-ins If the error is just unspecified, then this isn't good, can you post after msoft gets back to you I real ...Show All
Visual FoxPro Grid objects problems/questions
Hi everyone. I've just started using Grids in VFP9. I am trying to setup a grid which will collect info about an order. The record source of the grid changes depending on the user. I use the temporary table in the users 'home' folder in order not to conflict with other users. Here are my questions: - First, what is the best way to have a temporary file used in my form: Do I add the table to the dataenvironment at runtime Do I issue 'USE' command at form's init Basically I need to open a file which its name is not static but a variable. - How do I implement something like "Calculated fields" in old browse When the user enters an item #, I ...Show All
Windows Forms data bind with link
anyone has any idea why the data i bind , won't turn out to few individual link actually i am trying to make a menu out of this, but i want to use data bind here <%@ Register TagPrefix="Mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"%> <%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" %> <%@ Import Namespace="System.Data" %& ...Show All
Visual Studio Common Settings for all the projects in a Solution
Hi, I have an issue, if you could find time then can you please suggest some opinion Issue: I have a dotnet solution and under that a no. of projects are existing. I want to control project settings(like buid type, Enable/Disable Framepointer etc..) for each project from one common place (may be xml file or anything else). When ask to build solution it should read settings from that file and apply to each project and then it should build. One way is that writing perl script and change each and every project's settings before building after check-in and check-outs that is very time taking. I want to know is there any facility in vs.net by us ...Show All
Windows Forms Creating a Bindable Control
I've been searching and can't find anything on the subject. I'd like to make a control that has a DataSource, ValueMember & DisplayMember just like all the regular WindowsForms Controls. Is there a standard way of doing this Any links to anything would really be great. Seems like everything I find that might be useful is for ASP.NET ...Show All
Visual Basic COM visible DLLs: are they only legends?
Can anybody provide a direct, straightforward method of creating a DLL with properties and methods exposed to other programs I followed the instructions that I found on the MSDN websites as well as suggestions from forum participants. The DLL should be available both for COM and .NET programs. So far, nothing has worked. There are numerous variations listed on the MSDN site. No doubt there are reasons for the differing instructions. However, I have not had sufficient success with any of them. Sometimes, just building the project makes the class visible to COM compatible programs. Other times, only after running regasm. Still other times, I h ...Show All
Windows Forms How to setup ArrayList properties
When I set up the property of a user component, I use -> public ArrayList Source { get {return rsource;} set {rsource = value;} } But the source has two properties - Name and ID. How can I set this up such that the Source property Object Collection Editor conatins the Name and ID Properties in the right pane when I add a new source. Than ...Show All
Microsoft ISV Community Center Forums Can not generate Proxy class for web service from Excel 2003
When I have used web services references in Excel 2003 to generate Proxy class for web service, some web services have been generated proxy classes successfully. However, I got a problem with some other web services, the web services toolkit does generate all the proxy classes. but it throw me the error at the end as "You must open a document or load a project before you can create Web service proxy classes, and you must have full permissions to create classes in the project." And then all the generated proxy classes have been deleted automatically. I have a document open and I have successfully created proxy class for other web ...Show All
SQL Server Extending Management Studio
In SQL Server 2005 Enterprise Manager was rewritten and renamed to Management Studio. If ISVs (independent software vendors) could plug their SQL Server tool(s) into Management Studio – creating a single environment for you to work in – which tools do you use that you’d like to see surfaced in Management Studio. Dan DBGhost by Innovartis. It would be extremely nice to be able to compile, check in, and check out changes on the fly from within SQLMS. Also, IntelliSense would be very nice. Apex SQL Edit has their own, however I like the VS / SQLMS interface better. ...Show All
.NET Development change internet explorer proxy settins
Hello everybody I would like change the internet explorer default connection proxy setting. How can I do this in .NET 2.0 Is there a possibillity to safe the current setting and restoring when my application close Thanks Best Regards Karsten By default .Net 2.0 web requests will read your IE proxy settings. If you want to override those settings you have a few options: 1. Set you proxy settings via an application configuration file as specified here: http://msdn2.microsoft.com/kd3cf2ex(en-US,VS.80).aspx 2. Set the proxy per request, by using the Proxy property on the W ...Show All
Visual Studio 2008 (Pre-release) HOW TO: turn off WS-Policy generation in ?wsdl from WCF service to enable Java service interop over TCP
I have created a simple WCF service that has a custom binding. The custom binding only has a TextMessageEncoding and a TcpTransport. I am trying to get an Axis2 Java service client to call my simple service over TCP. The generated WSDL contains the following WS-Policy assertions - even with my simple CustomBinding. The Axis2 RC1 framework has limited support for any WS-Policy assertions. As a result, I am getting an error on the WCF side of things when calling service from the java proxy code. QUESTION: Is there a way to modify my service contract [or other contract] so the service and generated WSDL doesn't expect this WS-Policy stuff ...Show All
Windows Forms Begin Invoke C# WinForms
I have written an application which uses begin invoke to update the controls like grid etc. This slows my application as i need to do some other processing while this is happening. I want a thread to do some work and also begin invoke to do some other work. along with i need to have my UI respond. It there any way to do it. Thanks Vinay Chopra You might want to check the Patterns and Practices topic on performance: http://msdn.microsoft.com/practices/Topics/perfscale/default.aspx pull=/library/en-us/dnpag/html/scalenetchapt15.asp http://msdn.microsoft.com/practices/Topics/perfscale/default.aspx pull=/libr ...Show All
