David _ M's Q&A profile
Audio and Video Development RTM version of Windows Media Player 11 is incompatible with HDiSim
Just a quick note that the final release version of WMP 11 causes video playback to stop working in the HDiSim Beta. If you have already downloaded the beta of WMP 11, avoid upgrading to the RTM version if you also want to run HDiSim. Obviously you should upgrade to the RTM version on all your mission-critical machines that don't have HDiSim on them, but nobody is running beta software on their production machines, are they :-) I have two machines (one laptop, one desktop) which are both working with WMP 11 RTM. My third laptop does not work with any version of WMP. My research indicates that it is the lack of hardware T&L support on my third laptop. So, you may want to give the RTM a shot if you have hardware T&L. Otherwi ...Show All
Visual C# Mouse Wheel Scroll Setting
Hello, Visual Studio 2005 editor screen scrolls a mere 10 (8pt) lines from end to end movement on the "wheel" bar of my Synaptec touchpad while all other apps scroll many more lines. Is there a way increase the scroll sensitivity in Visual Studio Regards, Vinay Agarwal ...Show All
Visual Studio Express Editions Making a working form out of Visual Basic Express
Hi, I was wondering if there was someone who knows how to make a simple application using the checkboxes in Visual Basic Express what is the code to store the info on those and what is the codes to go with two buttons, one to clear the info / cancel and the other to send the checkbox marking info in an automatic text email. I just got through with lesson 2: Getting Started: Beginners Guide to Visual Basic Express. Thanks! thanks for your help, I use Visual Web Developer too so I guess I should go there to find out how to make it, and use that program instead. thanks for your patience too! Somehow I thought I could run a program in the browser lol. ...Show All
Visual C++ Do I still need .LIB files with mixed assemblies?
Hi*, I have a self-contained project written (almost) entirely in ANSI C++ that consists of several DLLs referencing each other. I want to compile these libraries into mixed assemblies using the VS 2005 compiler with the /clr option. I managed to compile the first two libraries but I get tons of LNK2028 linker errors. I thought that I could simply use the #using directive to reference the objects defined in other CLR DLLs. Unfortunately, this only seems to work with managed classes. Does that mean that I still have to export the unmanaged classes / native types to a .LIB file (using __declspec(dllexport)) I have attached a simple snippet of code to illustrate the problem. Any help is appreciated. Dietmar -------------- ...Show All
Visual Studio 2008 (Pre-release) Error Message
Hi, I'm using the latest version (RC1) with the ListBasedPublishSubscribe sample and from time to time I get the following error: "HTTP could not register URL http://+:9000/myClient/. Another application has already registered this URL with HTTP.SYS." Can anyone advise me regarding the problem Thanks a lot, Bernie The error message seems to indicate that there is already another app using the same URL. 1.Can you change the port (other than 9000) and see if that helps. 2.Check if there are other instances running. If the clients are hosting their own service then make sure each client has a unique URL. 3. Do an iisreset and see if it solves the problem. ...Show All
Visual C++ StgopenstorageEx
hr1 = ::StgOpenStorageEx(s.AllocSysString() , STGM_READ | STGM_SHARE_EXCLUSIVE , STGFMT_STORAGE, 0,0,0, IID_IPropertySetStorage , ( void **) &pPropSetStg); it gives result correct as S_OK but again i am trying to open that storage it gives share violation as useal but i want to open that storage again in read only mode .. can anyone help me how to write following code (Eg .correction in flags etc so that i will get S_OK) hr1 = ::StgOpenStorageEx(s.AllocSysString() , STGM_READ | STGM_SHARE_EXCLUSIVE |STGM_TRANSACTED , STGFMT_STORAGE, 0,0,0, IID_IPropertySetStorage , ( void **) &pPropSetStg); Here's a code sample that might be useful... ...Show All
Smart Device Development Determining Request Source
Hi all, I’ve got a web-based application that I want to make available to mobile devices as well. How do I determine the source of the request (either desktop browser or mobile browser) and redirect to the appropriate web pages Regards, Raphael. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. H ...Show All
SQL Server Dynamic Security Stored Procedure Repeatedly Called
I have implemented an SSAS stored procedure for dynamic security and I call this stored procedure to obtain the allowed set filter. To my supprise, the stored procedure is being called repeatedly many times (more than 10) upon establishing the user session. Why is this happening > Would you mind eleborating more about the table idea Do you mean a new dimension table that will slice the fact table or do you refer to a many-to-many dimension Since it seems that the information about which users can see which members is already stored in the table, you could build an aux measure group with User dimension and your dimension included, and then use something like Exists(MyDimension.MyAttribute.MyAttri ...Show All
.NET Development Problems with IndexOf
I have problems with IndexOf in C#. It doesn't work properly. This is the code: string i = " public MceaString getCHORA()"; int a = i.IndexOf("getC"); The value of int a after executing the code is -1. Anybody knows why this happen Could you help me I get 22 from the last sentence, when I'm looking for IndexOf("getCH"). Notice there are four blank spaces at the start of string "i". Have you tried the first sentence Does it work correctly ...Show All
Visual Studio Express Editions need help displaying array values
i have 150 values in an array and i want to display them in order of the highest first and the lowest last. i have no idea how to do this. Help will be appreciated. thanking in advance oli Two things to look at: 1. Your code should display the results in ascending order. You need to run the loop from inAns to 1 Step -1 to show them in descending order. 2. Make sure you haven't got the listbox sort property set. ...Show All
Visual Studio Team System rolling back a changeset?
Is it possible to delete a changeset once it's been checked in Or can we "rollback" to an earlier changeset I could not find mention of this in the documentation but it would be very handy... Thanks If you want to rollback changeset on the server you can use our powertool - tfpt rollback. What Kevin descibes will affect only you workspace so as soon as you do get latest you will get this changeset again. ...Show All
Visual Basic prevent tabpage from changing while input is validated
Greetings: I've got a tabControl with several pages, and the first page presents a summary of the stuff on the other pages. It is set up so that the user input on the back pages is validated on the textbox leave event. A problem occurs when the user goes from entering some invalid text in one of the back page text boxes directly to selecting another tabpage. The validation error messages get shown along with the summary page error messages, and it is not a pretty sight. I tried using a boolean flag in the tabcontrol.selectionChanged event to try to stop the selection change, but that doesn't work. I'm guessing that the selection change event gets fired before the textbox leave event. I've also tried using boolean flags to stop the ...Show All
Windows Forms MenuCommandsChanged not firing for all commands
I am adding an instance of the MenuCommandService to my DesignSurface and attaching a delegate to its MenuCommandsChanged event. I would expect that when I select two or more controls in the designer, the event should be fired for commands such as AlignLeft, AlignRight, AlignToGrid, etc. since they should then be enabled. However, I only receive events for a small fraction of these (AlignLeft, CenterHorizontally). Using the MenuCommandsChangedEventArgs. ChangeType property, I ensured that all of the above commands are being added to the MenuCommandService. They just aren't notifying the service of their change. Does anyone have any suggestions to get the event fired for all relevant commands Could I be missing a service or adding the MCS ...Show All
.NET Development Remoting timeout issues
Are there any known workarounds for the really annoying lengthy remoting timeouts on down servers This is particularly a problem when using .Net remoting and the server isn't available, it can take up to 2-3 minutes for the line of code to timeout when accessing a remote object. I have tried implementing a Ping class before I access the object, but sometimes this just doesn't work if the server is in the process of shutting down... Obviously having an application hang for that long is unacceptable.. I am threading everything however my application will not cleanly close if the thread is hung waiting for a socket timeout. A sample for you.. correct, if the machine is in the process of booting then a ping solution could gi ...Show All
SQL Server problem in linked server to access with secure system.mdw
windows xp pro iis 5.0 office 2002 sql server express 2005 linked server: lkdb Provider: Microsoft.Jet.OLEDB.4.0 product: Jet 4.0 data source: d:\db\test.mdb provider string: Provider='Microsoft.Jet.OLEDB.4.0'; Jet OLEDB:System database='d:\db\Secured.MDW';Data Source='d:\db\test.mdb';user id=rep; password=1234;; got error message: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "lkdb" returned message "Could not find installable ISAM.". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "lkdb". EXEC sp_addlinkedserver 'AccessSource', 'Jet 4.0', 'Microsoft.Jet.OLEDB.4.0', ...Show All
