DeepeshMS's Q&A profile
Visual Studio class factory
HI, IM HAVING A PROBLEM PLAYING SOME VIDEO FILES DOWNLOADED FROM THE INTERNET WITH WMP9 ON WINDOWS XP PRO SP1.I GET THE MESSAGE"CLASS FACTORY CANNOT SUPPLY THE REQUESTED CLASS".IM NEW TO THIS AND WONDERED IF ANYONE CAN HELP ME WITH THIS PROBLEM. I think you're on the wrong forum, this is the forum for the "Domain-Specific Language Tools". ...Show All
Visual Basic FIleOpen Dialog - fileopendialog.showdialog() - Change default view from List to Details
In my app a user can mouse to File Menu - Open. The fileopendialog.showdialog() has default view of ListView. The user is alway going to have to sort the file list by Date in descending order in order to open the most recent file stored in the network location. How can I make the FileOpenDialog display in Detail View by default and not List View. Thanks, MIke Code Sample dlgOpenFile.InitialDirectory = sDefaultDir dlgOpenFile.FilterIndex = 0 dlgOpenFile.Filter = "All Files|*.*" dlgOpenFile.Title = "Open PO File" If dlgOpenFile.ShowDialog() = Windows.Forms.DialogResult.OK Then 'other ...Show All
Visual C++ Adding as a Reference changed some function definitions ??
Hello Everyone, I have an .exe which is a COM component, I used it in WIN 32 it worked fine as expected. I used the same exe as refrence in .NET and some function definitions got changes...For Example Originally in WIN 32 the function looked something like this virtual HRESULT __stdcall raw_OnChallenge ( long attemptsRemaining, unsigned char password[20]) IN .NET the object browser shows something like this.... System.Void OnChallenge( System.Int32 attemptsRemaining , System.Byte [] password ) To get the results correct, this function is suppose to return S_OK, which I can't do as (void).... Can someone please exp ...Show All
Smart Device Development bat files/ Shell script in windows mobile
How can I run a bat file in Windows Mobile 5.0 Actually ShellExecute does not exactly wok as a shell i.e. only exe,bat and cmd files can be run using ShellExecute. My aim is to import a vCard to outlook. to do this you have to just type the name of the vcard file at the run prompt. to do such an operation in win desktop i made a bat file and invoked shellexecute and my work was done. Can bat files or any shell script be run in Windows Mobile as it does not recognize bat file There are no batches/shell scripts in WM 5.0. You can create an EXE instead and start whatever application imports vCards (I bel ...Show All
.NET Development Container.DataItem()
I was messing around with the Repeater control and I went to add my item template tag into it's code and I noticed that Container.Dataitem wasn't appearing in the intellisense. I tried using it anyway and it says 'Container' does not exist. Any ideas Thanks! -Chad Hi! What version of ASP.NET are you using That way of doing things changed in ASP.NET 2.0, and while it's still supported, it's not the best practice to do it that way. The best place for asking ASP.NET questions is on the ASP.NET community site, and in the forums there. Check out http://www.asp.net/welcome.aspx tabindex=1&tabid=39 . HTH, PEte ...Show All
.NET Development WSDL and WS Security
Hi there, This is not really a .Net related questions, but I've searched far and wide for an answer to the following question and have not come across one. So I was hoping that I'd find it here. In a WSDL how do I indicate that I require that the WS Security element is passed through the SOAP headers for each request Thanks You can check http://www.w3.org/TR/wsdl#_soap:header allows describing the headers for each operation. Diego Gonzalez [C# MVP] Lagash Systems SA ...Show All
SQL Server Join Dates....help!
Hi group, I want to check if a date in table a exists in a holiday table. I need to match the [date] field of both tables. The problem is that table a has a datepart and a hourpart. Table b has only a datepart (the hour part is always 00:00:00.000). How do I join them so that the hour part is not taken into account PLEASE HELP! Regards, Sander Here is the layout: #PeriodDates Column DataType [Date] DateTime Values: 2006-01-01 00:00:00.000 2006-01-01 01:00:00.000 2006-01-01 02:00:00.000 tbl_Holidays Column DataType MarketID Int [Date] DateTime Values: 1 2000-01-01 00:00:00.000 1 2000-04-13 00:00:00.000 This is my query: ...Show All
Visual Studio Team System FxCop Stack Overflow Exception
The following code causes a stack overflow exception in my FxCop 1.35. Can anyone else confirm using System; namespace FxCopTest { public interface IObject<T> { } } using System; namespace FxCopTest { public class Result<T> { } } using System; namespace FxCopTest { public interface IProxy { Result<T> SomeMethod<T>() where T : IObject<T>; } } using System; namespace FxCopTest { public class Proxy : IProxy { public Result<T> SomeMethod<T>() where T : IObject<T> { return new Result<T>(); ...Show All
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I was told by two different Microsoft employees that Visual Studio 2005 Express Edition was the right version of Visual Studio 2005 for me to use for all of my needs including access to ODBC and MySQL data. They emailed me a link with a comparison of all of the different variations and features of the different versions of Visual Studio 2005. I am trying to remember now, but I think it included a chart with bullets or check marks and comment ...Show All
Windows Forms Name Property
Hi I have a custom control that is inherited from System.Windows.Forms.Control. I want to do some custom processing when the Name of the control is set. But inside the constructor,a reference to the Name yields a blank value i.e. "". Can u tell me when is the name of the Control actually set. Also whenever the user changes the Name of the control ...Show All
Architecture finding design patterns from Model or P.E file
Hi, Are there any tools or APIs that take a model (as XMI probably) or a P.E file (so in effect, source code won't be available) and give the design patterns that were used in the model Which classes participate in which patterns and related info It could probably be one of the stages in reverse engineering, isn't Thank you. I don't think such a tool would be feasable (atleast not in a reasonable way) as many of the patterns differ only in intent. As an example imagine you are writing such a tool and you come accross a structure suc ...Show All
Visual Studio SourceSafe Internet Plugin and IIS on W2K Server
I have setup a VSS database on a file server and installed VSS 2005 on our web server. I followed the directions in the MSDN "How to: Set Up Database Access via Visual SourceSafe (Internet) Plug-In" (http://msdn2.microsoft.com/en-us/library/ms230206.aspx) When I reached "To enable Internet Access for an Existing database on a different computer than the web service" step #7 things got weird. First the VSS Web Service is running on a Domain Controller so it did not appear in the "Computers" list (sub-step 2) rather it appeared inthe "Domain Controllers" list. So I opened it's properties (sub-step 3). Th ...Show All
Windows Search Technologies How to calculate the mailbox hash to construct URL path
Hello, It seems WDS is using some hash number in MAPI url to locate items. For example, the text in red : mapi://LocalHost/default/Mailbox - Wang, George ( $d3f5 )/ Is it possible to expose the hashing routine so that we can construct the URL from mailbox ENTRYID Here is a doc about something similiar, http://blogs.msdn.com/stephen_griffin/archive/2006/05/10/594641.aspx , search for "ComputeStoreHash", not sure if they are related somehow Thanks! Hello George, You can find out how to decode the entryid for 2.6.5 here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=3688 ...Show All
Visual Studio problem with SS utility
Hello I have ssexp.exe version 6.0c build 9447, and ss.exe 6.0c build 9350. In Dos prompt I type: ss Checkout $\sv201\db\dbcmd.cpp -IC -c- The file is checked out (I can see it when I hit F5 (refrash) at the UI VSS) The problem is that the attrib of the file stays read only. I type again ss Checkout $\sv201\db\dbcmd.cpp -IC -c- I get "You currently have file $/sv201/db/DBCMD.CPP checked out." But I can't edit the file cause it is still read only!!! Any hints Thanks OM The location where ss.exe checks out a file depends on Force_Dir variable defined ...Show All
Software Development for Windows Vista Single TV Tuner, Multiple TV Channel recordings.
Hi, I am new to DirectShow Programming and am using DirectShowNet to create a managed application that captures video+sound and stores it to a file. Pretty simple. I was playing around with the software that came with the tuner and it supports Picutre in Picture. It triggered curiosity and it lead me to the following question. Is it possible with only 1 TV capture card to record more than one TV channel simultaneously If so I would be greatful if someone could explain the general concept. Many thanks. Kris Jones This depends a lot on the TV card and whether it has the ability to direct both sources off ...Show All
