happy man's Q&A profile
Windows Search Technologies IFilter Preview
What interface and registry settings do I use to supply the picture for the Preview box in the Windows Desktop Search window I tried adding an IViewObject2 to my IFilter DLL but it never gets called. We do not have an official way of doing previews at this time...as our preview architecture will be changing in the future. There is an rather in-depth unofficial description of previewers and other things here http://spaces.msn.com/members/WDSTech/ -Tom ...Show All
Windows Forms deployment provider problem
I have a problem deploying my ClickOnce application. I have built my Clickonce application with visual studio 2005 Beta 2 and signed the Manifests with a Verisign Code signing certificate. I publish it to my IIS server and then run it from my development pc and it installs and runs ok. I then go to another pc and try to install it (over ClickOnce) and I get the error "the deployment identity at the deployment provider is not the same as the original identity". Can anyone tell me what is happening I was hoping that if I used a Verisign certificate (Verisign being a well known publisher) that I would be able to i ...Show All
Windows Forms Count messages in MSMQ
Hello, I'm writing a monitoring software that shows how many messages are in the monitored message queues. The message queue runs on a server, the monitoring software on the client. The problem is: If there are many messages (>=100) in a particular queue, my program takes very long count them. Since I couldn't find a better way, I'm "downloading" al ...Show All
Windows Forms DataSet generator missing..
Hi, I´ve just installed Beta2 and some things are missing from Beta1.. For instance I tried to make a new dataset by defining a new xml-shema. In Beta1 there was a menuitem called generate dataset that is not there in Beta2. After adding it to the toolbar it´s grey and disabled. Does anyone know why this very nice feature is missing/not  ...Show All
Windows Forms Windows Forms autotab
In Windows Forms is there an autotab capability It existed in MFC where when typing into an Edit control (textBox), once the max number of characters for the control was exceeded, the focus went to the next control and the characters were entered there. I often see the feature while typing Microsoft serial numbers during software installations. ...Show All
Visual C++ checking menu items
How do you check a menu item in Visual Studio.Net 2003 using MFC Lookup SetMenuItemInfo, MENUITEMINFO, and MFS_CHECKED on MSDN. Nathan87 wrote: How do you check a menu item in Visual Studio.Net 2003 using MFC ...Show All
.NET Development How to call a web service without adding a web reference...
Hi Guys, Hopefully this is a fairly simple one... I need to call a web service from a c# class without actually added a web reference to the project. Obviously I need to handcraft some HttpRequests and interpret the responses manually, just want to know the best way to achieve this. Is there any base class in the framework that'll have a URL property and a method such as CallWebMethod(methodName, param object[] parameters) Did do a search, but couldn't find anything that was quite what I wanted to achieve. Thanks in advance, Simon. Ok, I've got the base class I was talking about! I have this ...Show All
Windows Forms Alter GridSize for DesignSurface
I am attempting to modify the GridSize for a DesignSurface that I have created. Essentially I create the DesignSurface like so: //Create the design surface designSurface = new DesignSurface(typeof(DesignPanel)); Where DesignPanel inherits from a UserControl. So far I have tried getting a reference to the designerHost and adding an implementation (which didn't work): host = designSurface.GetService(typeof(IDesignerHost)) as IDesignerHost; host.AddService(typeof(DesignerOptionService), new WindowsDesignerOptionService()); The WindowsDesignerOptionService simply used the following code to try to get the desired effect: /// <summary> ...Show All
Software Development for Windows Vista Error in VS2005 Workflow Designer after fresh install of Beta 1.2
I am using VS2005 Pro RTM. I have installed WinFX SDK and Workflow Beta 1.2 (everything is the current, latest version). When I try to create a new project, or open an existing sample, I get the error listed below: Warning 1 Method 'ElementRemoved' in type 'TypeProviderHost' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. This is the error shown on the designer surface: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while ot ...Show All
Smart Device Development command line arguments
hi frnds, how can i pass command line arguments to pocket pc are there any settings in the project properties If you mean command line arguments of the project been debugged, you can set that as follows: 1. Right click on the project in solution explored, choose "properties". 2. Select "Debug" tab. 3. Type in command line into "command line arguments" field. ...Show All
Visual J# ResourceBundle problem
Hi; If I call ResourceBundle.getBundle("resources", locale) where locale is for a locale I don't have a resource for (I used "zz_XX") - it throws the ArgumentOutOfRange exception. In this case it should work and just use resources.properties. I also tried "en_XX" which should fall back to resources_en.properties - but again I got the exception. - dave Hi; Please ask the concerned person to email me. I can send them a program and they can just run it and it will cause this problem. I can also give them the source to the place where the problem happens. I just spent another hour trying to make a test program to do this - but it works. And ...Show All
Visual Studio Team System Error Installing TFS RC
Hello Everyone, I have problems installing TFS RC. The installation details are.. Windows 2003 SP1 Server SQL Server 2005 STD Edition Single Server Deployment. TFS (Setup, Service, Reports) are domain accounts. SQL Server 2005 is installed succesfuly. Windows Sharepoint Services is installed succesfully When installing TFS, it passes through the pre-requisites, prompts for the TFS Service and Reports user accounts and then errors out. If I look in the event viewer, 3 things are strikingly straightforward 1. Login failed for user 'CORP\tfssetup'. [CLIENT: 127.0.0.1] Event ID 18456 (Application Log) 2. Logon ...Show All
Windows Forms Is it possible to show a form inside a tab control or others(excpet MDI parent)?
Since i would like to show the form inside a new tab page when user click an button, i find it is no method to display a windows form inside a tab page. I have tried to add the form into the Controls of the Tab Page but it does not allow to add a top level control(Form). Therefore, i want to know that it is possible to allow me to show a form inside a tab page If yes, how can i do it Thanks Thank you for that answer! I have been looking for how to add a form to a tab for 5 hours. You have saved my project, without question. For people searching google i will rephrase the question: How can I add a form to a tab Conve ...Show All
Windows Forms How to use Win32API.NetMessageBufferSend in C#
System.Text.ASCIIEncoding ae = new System.Text.ASCIIEncoding(); byte[] msg = ae.GetBytes("hello"); NetMessageBufferSend(null,"192.168.2.227",null,msg,msg.Length) ; ...Show All
Visual Basic Movie collection...Can't get a new field to be made available.
Hi and thanks for visiting my request. I recently downloaded VB express and SQL Express and I am working my way through the Movie collection starter kit, but now I am stuck. (Blushes with shame!) I am adding a field to the database as per the instructions, so as I can record the media type of the movies within the database. I have added the field 'media' to my DVDs table and saved DVDs (all this from the database explorer). When I return to the form designer, select my new textbox and click on the databindings property-advanced, opening up the formatting and bindings window. I then under binding, select my dvdbindingsource node hoping ...Show All
