Ron_S_MWA's Q&A profile
Visual Studio Tools for Office Outlook 2003: catch right-click over a mail item in explorer view
Hi, the way to catch a click over a mail item in explorer view is using " Explorer_SelectionChange" event but I don't know how to catch right-click over a mail item in explorer view Thanks for your help, Mauricio. Hi, Try this code: void _explorer_SelectionChange() { if (_explorer.Selection.Count > 0) { object obj = _explorer.Selection[1]; Outlook. MailItem mi = obj as Outlook. MailItem ; if (obj is Outlook. MailItem ) { Outlook. Action myAction = mi.Actions[ "My action" ]; if (myAction == null ) ...Show All
Visual Studio 2008 (Pre-release) Invalid Operation Exception in simple method in httpbasicBinding
Hi I have a simple method defined in the following interface: [ ServiceContract (Namespace = "http://www.tid.es/ACS/Server/" )] public interface IAcsService { [ OperationContract ( /*IsOneWay=true*/ )] void ConfigurationPostBack( string url, string username, string password, string protocol); } exposed in the IIS with this simple web.config: < system.serviceModel > < services > < service name = " Telefonica.Mieres.AcsService.AcsServiceType " > < endpoint contract = " Telefonica.Mieres.AcsService.IAcsService " binding = " basicHtt ...Show All
Windows Forms Combobox_click event
I have a form with two comboboxes. The first is always visible. I want the second one to be invisible until the user chooses an item in the first box. The click event does not seem to work in VS2005 at least in a combobox. The Textchanged method fires when the form is opened so it is of no use. I'm stumped! Thanks in advance for the help! Unfortunately SelectedIndexChanged fires when the form is opened just like the textchanged. Isn't there a method like the old click that fires when an item the combobox is chosen ...Show All
Visual Studio Express Editions Help on getting started
I hope someone can help me. I am completely new to VB.net and worse than clueless. I wanted to try to just try to run something to get started but can't even get this to work. Could someone point out why the below will not work When I hold the mouse over the Excel.WorksheetFunction and logresult.ln, it gives shows a box indicating it recognizes it, but when I try to run this as a console application it says " An unhandled exception of type 'System.NullReferenceException' occurred in ConsoleApplication3.exe ". When I go to View and Object Browser it seems to indicate I correctly referred to the objects. I'm just trying to us ...Show All
Windows Forms DataGrid Big Red X error
hi , I have three different usercontols in a form , When i change a list box selection in one usercontrol , it runs a cdhart and displays it in another usercontrol , then it changes the datasource of the datagird and refreshes the datagrid in another user control. Sometimes I m getting this big Red X on my winform application with a crash. i ...Show All
SQL Server Parameter: Measure
Is it possible to create a “Measure” parameter I have tried the following: SOLUTION 1 select NON EMPTY { strtomember( @Measure )} ON COLUMNS .... The report builder recognize the parameter value but the dataset fix the standard value (TurnOver) in its fields. In this way the dataset will be invalid if the parameter has a different value because the report will search for the field “TurnOver” to fill the table. SOLUTION 2 with member [Measures].[Selected] as 'strtomember( @Measure )' NON EMPTY { [Measures].[Selected]} ON COLUMNS..... The report builder does n ...Show All
Visual Studio Team System Microsoft.TeamFoundation.Server assembly not installed with SDK?
I searched high and low, but this assembly doesn't seem to be installed with the SDK. If I wanted to write a client application that worked with IEventService, how am I supposed to do that I realize I could call the BisSubscribe utility, but it seems strange that I wouldn't be able to code against the API directly. Not to mention I've seen samples in this forums that use the server assembly, so... I must be missing something. TIA, Drew ...Show All
Visual Basic Catch Events On Datagrid
How can I catch the double-click, right-click, etc. events on the data part of a datagrid control. Not the title or the left border area Hi, this Cell * events are available for VisualStudio.Net 2003 Regards Mata ...Show All
Windows Forms Cannot call Close() while doing CreateHandle()
If I load the form below as an mdichild and try to close it again, say after a condition failed I get the error Cannot call Close() while doing CreateHandle(). I tried to pu then check condition that close the form in MyBase .Activated event by its still comes back with the error Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Try Dim f As New frmTranSetup If f.ShowDialog <> DialogResult.OK Then Me .Close() Catch ex As Exception End Try End Sub Load is fired as a form is in the process of being created. Decisions o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Create texture from internal bitmap
Using TextureLoader to create textures from external files is dead easy. But, in my actual application, I don't want the users to be able to screw around with external bitmaps, so I've created a class that encapsulates all of my graphics into one binary file. I have no trouble saving and loading a binary file, but once I've loaded the file and I have all these Bitmaps sitting around... how in the WORLD do I get textures out of them I've tried this, for example... (where "bmp" is of type Bitmap, and contains one of the bitmaps loaded from the binary file) texture = new Direct3D.Texture( graphics, bmp, 0, Microsoft.DirectX.Dire ...Show All
Visual C++ Error C2228;
I am trying to concatenate a first name and last name which are entered seperately. I have had luck with using integers, but not names :(. I want to enter first name, then last name (seperately) then output the names with a space between them (output the whole name). Here is what I have #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { String *firstName, *lastName; & ...Show All
Windows Forms MDI "popout" windows
Hi, I've seen a couple MDI applications with the ability of MDI client windows to "popout" out of the MDI server and being not bound anymore. Anyobdy has an idea how to do this thx Try setting the MDIParent property to null. You might just get lucky and this'll be all you need. I've never tried to separate MDI children fr ...Show All
Visual FoxPro newKey() method not found
I have visited this ng before with great success always getting comprehensive explanations. I started about 3 months ago and was active for about 2-3 weeks. I then switched to C#, C++ and SQL Server and I found the atmosphere in those groups much less hospitable than here. You guys are great. I got my infusion of knowledge at that time that allowed me a jump start. Now I am doing some FoxPro stuff again by necessity. I am trying to implement a Microsoft treeView OLE control v6.0. The MSDN help pages are atrocious on this subject and I cannot make head and tail out of them. Anyway, what I did was to try to copy as much code as I could from t ...Show All
Visual Studio Printing
Hi all, I face the problem on printing using report viewer. When i press print button in report viewer, it will pop up the print dialog to let user select the printer and after select the print then press print for printing. My expected is when i press print on report viewer, it will directly print without pop up the print dialog, is it can do it. Thanks You can implement this functionality on your own. There are samples at www.gotreportviewer.com that show custom printing. ...Show All
Visual Studio How to transfer a VSS db to another network share with different name?
Hi, Is there any article that explains how to move a VSS database from current network share to a new one And also how to redirect clients to new location. Any help would be appreciated, Alan One other thing: answering to other post ( http://forums.microsoft.com/MSDN/showpost.aspx postid=126599&siteid=1 ), it turned out that it's extremely hard to see remote access users showing in SSAdmin as logged in. If you're using Internet access to the database you can lock the database to prevent new connections from VSS web service. Also, if you've turned on LAN booster NT ser ...Show All
