10kap's Q&A profile
Smart Device Development Smartphone emulator and Windows Media Player 10 - adding songs to the library
Hi. I am currently developing a media player for smartphone, in C#, using Visual Studio 2005, Windows Media Player 10 SDK, and Windows Mobile 5 Smartphone SDK. For trying my application I use Smartphone emulator for Windows Mobile 5. I have the following problem. I emulate a storage card using folder sharing. But when I use "update library" in Windows Media Player 10, it doesn't collect the music files in the shared folder. ...Show All
Visual Studio Express Editions Snap to Grid and Show Grid do nothing
I've set SnapToGrid and ShowGrid both to True in the options for Windows Form Designer, yet I dont see a grid and no snap is activated. I've played with the grid size and this has no effect. I've checked to be sure that the LayoutMode is SnapToGrid also - no help. Any ideas OK - it seems I had to close ythe form and re-open it for the changes to take effect. Please ignore this question. ...Show All
SQL Server convert int to money without decimal and cents
I am doing the following to change an int into money (I want the commas) but it is adding a decimal and 2 zeroes at the end: convert(varchar,convert(money,m.[FirstTier]),1) as 'First Tier', m.firsttier = '1583456' after conversion = '1,583,456.00' Is there any easy way to not have the '.00' Thanks. Note that PARSENAME returns unicode string so you need to be careful when using that expression in WHERE clause for ...Show All
Visual Studio Team System can VS2005 Team Suite and VS2002/2003.NET co-exist?
We are in the process of evaluating VSTS Beta2. May I ask all developers to install VS2005 without uninstalling VS2002/2003.NET without conflicts Disclaimer: This is my personal perspective, hopefully others will speak up as well. You should be able to *install* both. I actually ran into some weirdness when I installed 2003 *after* 2005, but as far as being able to use both, you should be fine. Remember that bo ...Show All
Visual C++ _CRT_SECURE_NO_DEPRECATE doens't eliminate warning related "strnicmp"
Defined _CRT_SECURE_NO_DEPRECATE in project properties, it did eliminate most warnig related to using C function such lik sprintf. But I still got deprcation warning of "strnicmp". Is there any other macro I should use Thanks a lot! Also on release of VS2005 it is going to say exactly why a function is declared deprecated in the message itself and recommend which function to use instead. Nikola VC++ ...Show All
.NET Development OutOfMemoryException when reading Xml large files with XmlTextReader
Hi I have a 450 Mb xml file from a client. I use .Net Framework 1.1 on a Win2000 computer with 512 Mb RAM. I'm trying to parse it using the following code: XmlTextReader tr = new XmlTextReader("large_file.xml"); while (tr.Read()) { //code should go here... } However, after a few seconds, I get an OutOfMemoryException. I get it even if no processing is done in the while above. The memor ...Show All
Visual Studio Tools for Office Excel wrapper missing members/functions
I find that some of the commands (members) for the Excel 2003 wrapper are missing, specifically CWorkbooks::Open(). I’ve created the Excel 2003 wrapper per Microsoft’s web site for: _Application, _Workbook, _Worksheet, Range, Workbooks and Worksheets. Has anyone else run in to this problem and what/is the solution, or am I that much of a nub that I over looked something. Below is the #import that I had to use to remove the compile err ...Show All
.NET Development Unable to use FTPWebRequest over SSL
Hi I have been trying to connect to a FTP server using SSL. I have followed the example on MSDN - ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref10/html/P_System_Net_FtpWebRequest_EnableSsl.htm However I keep getting an exceptions when then “ request.GetResponse ” method is called. The exceptions is “WebException” and message is “The underlying connection was closed: The server committed a protocol violation” &nb ...Show All
Visual Studio Team System How to import TFS Users as Project Resources
I have a new TFS project which has a number of our Active Directory users assigned with permissions. Our AD Friendly names are in the form "lastname, firstname". When I Get All Tasks from TFS in Projects, each name appears as two people. (E.G. Doe, John in AD appears as users Doe and John in the Project Resource Sheet.) Is there a way to get the TFS users into Project without having to change our AD I am too small a fish to force a co ...Show All
Windows Forms multiColumn Combobox
I am looking for a way to have more than one column in a combobox. I also need a hidden value property to be the "SelectedValue". If anyone knows how to do this it would be great. Kevin hrm...my information must've bee ...Show All
Visual Studio 2008 (Pre-release) my pet project: AnimationBehaviors
I’ve been working on a project in my spare time called “AnimationBehaviors”. Now that I’ve got it working reasonably well I’d like to share it with the world. The animation system in WPF is really powerful, however it’s not always easy to create certain effects in XAML without falling down to code. Even when code is not required, it’s not always easy to create reusable animation effects. Enter AnimationBehaviors. AnimationBehaviors is a lib ...Show All
Visual Studio Express Editions VC++
Why I can not add a function or a variable in class. I recommend reading the sticky post on how to ask questions. You should choose a subject that means something. I can't imagine why you can't add functions or variables. Given that you do this via the text editor, perhaps you need to read a book on C++ ...Show All
Software Development for Windows Vista a questions with SqlWorkflowPersistenceService and SqlTrackingService
Hi all, I'm developping a host program(web server) with WF Beta2.2 version.I want to stop workflowRuntime when the web server is stopped.I used SqlWorkflowPersistenceService.The running workflowInstance can be normally unloaded if i'm not use SqlTrackingService,otherwise it can't be unloaded and system event log will be marked event id 1013 which means that a process serving application pool 'gh' exceeded time limits during shut down, the p ...Show All
.NET Development HashTable Help
Hi All, I have to use HashTable instead of Arraylist, I have tried few options but failed to get the output with HashTable. With the below code as help by Spike(Guru) I can able to get the src & tgt Ids and then the comparision of both src and tgt. But failed to get the filename if there is differences in src & tgt id's. As suggested, I have to use or try with HashTable. So, that i can get the output as: Output: Filename: SrcID: TgtID ...Show All
Microsoft ISV Community Center Forums Excel edit mode
How can i detect "edit mode" in excel macros Thank's for idea(s) Hi, The support engineer needs some additional information before he can research this for you. *** After reviewing the post, I understand that you want to write VBA code to detect if an Excel cell is in "edit mode". We cannot find related property in Excel object model. The Excel object model reference is in the following link ...Show All
