Yuval124's Q&A profile
Smart Device Development How to play .wmv/.wma file on a smartphone 5.0 Emulator using .net 2005
Dear All, i am executing System.diagnostics.Process.Start("xxx.wmv","") statement to run .wmv file on my smartphone emulator in visual studio.net 2005. I am getting Exception, "UnHandled System.ComponentModel.Win32Exception in System.dll". Help me please, how to handle the above exception. Amarender. Check out post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=64695 David ...Show All
Visual Studio 2008 (Pre-release) InfoCard sample configuration problem (WinFx Dec CTP)
Hello, I have the following certificate configuration: < clientCertificate findValue = " client.com " storeLocation = " CurrentUser " storeName = " My " x509FindType = " FindBySubjectName " /> < serviceCertificate findValue = " localhost " storeLocation = " CurrentUser " storeName = " TrustedPeople " x509FindType = " FindBySubjectName " /> On the service side I have the following configuration: <configuration xmlns=" http://schemas.microsoft.com/.NetConfiguration/v2.0 "> <system.serviceModel> <servic ...Show All
SQL Server cant access report manager page
Hi friends suddenly today i cant access my report manager page. i get error "request timed out". it worked nicely yesterday. any ideas on how to troubleshoot this one. am running sql server 2005 on xp professional machine. Thanks Make sure IIS is running and security hasn't change. Has anything changed on machine since last working (e.g. new software, service packs) ...Show All
SQL Server Cannot create a connection to data source !!!! SSRS 2005
I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through I'm pulling my hair out at this point: Screen Shots: http://www.webfound.net/datasource_connection.jpg http://www.webfound.net/datasource_connection2.jpg http://www.webfound.net/datasource_connection3.jpg Also As far as I know, I've ...Show All
Visual Studio MSBuild support of custom project system
Hi, We have a VSPackage with our own project system (and our compiler tool, supported by this PS). And say our project files have .myproj extension. Now we build our project from command line using devenv /build. Is it possible for our integration to be supported by MSBuild What do we need to implement for this Thanks in advance, Vadim. ...Show All
.NET Development Remotely accessing system certificate stores
I am developing a C application to use SSL/TLS. Using the samples provided by MS, I have been generally successful. I am using a stand-alone CA at this time. I have been able to run my server and client with a SSL connection on the same machine as well as 2 separate machines. However, to get this to work I have had to install the certificates on the machine on which the program is running. The issue that continues to "dog" me is how to get "remote system store access" to work. When I open the certificate store I am constructing \\<machine name>\My, but the opening of the certificate store only works ...Show All
Microsoft ISV Community Center Forums VB Script Crashes Access When Exporting to Excel
I am trying to solve a minor problem for a small school running Access 2000 on a network. The program runs well with several forms and reports. The problem is that one of the reports is exported to Excel. This works fine except when the database is moved off the network, the export process either produces an error message or crashes Access. The database filename is AA92603.MDB. When it is copied to the C: drive on a computer off the network, the export process produces a message box stating: Run-Time Error ‘-2147467259(80004005) ‘H:\Applications\AA92603.MDB’ is not a valid path. Make sure that the path name is sp ...Show All
Windows Forms Problem with TreeView-Icons and EnableVisualStyles() (Beta2/Windows XP)
Hi there, we recently found out that there still seems to be a bug with EnableVisualStyles() in Beta2. We want to show a Treeview with different icons and have VisualStyles enabled. However none of the icons are shown under WinXP whereas Win2000 shows them all. Calling Application.DoEvents() after EnableVisualStyles doesn't change this behaviour. We found out that adding a manifest to the executable like in http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchusingwindowsxpvisualstyleswithcontrolsonwindowsforms.asp fixed the problem, but that's a little uncomfortable. We thought that this bug was fixed in B ...Show All
SQL Server ISSUES. . .
I'm a developer for a rich client application with a primary grid that should be refreshed when data is changed by other users. I loath to resort to some sort of polling. It would be really cool if there is a native way to raise an event on the client from a SQL Server trigger. RAISEERROR can send a message to the Connection's InfoMessage() event. But of course this will only send the message back to the user who made the change. Is there anyway in SQL Server to raise an error message on another process so that this ADO event can pick it up 1. Don't implement the sink in VBSUX ...Show All
Visual Studio 2008 (Pre-release) Positioning elements generated by a data template on a Grid or Canvas
I'm trying to use an XML data source and a data template to generate some TextBlock elements from this data and present them using an ItemsControl. The TextBlocks are generated correctly, but I can't figure out how to position them on a Grid or Canvas panel. It seems the attached properties (Grid.Column, Grid.Row, Canvas.Left, etc) that I define on the TextBlocks are somehow ignored. This is the XAML code I'm using: <StackPanel xmlns="http://schemas.microsoft.com/winfx/avalon/2005" xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"> <StackPanel.Resources> <XmlDataProvider x:Key="dataSource" XPath="/T ...Show All
Visual C# Bizarre optimisation issue
Hi all, I have a very strange C# issue with a task that should be very simple. The context: I have an ArrayList of 'person' objects, each with user-specific information, which I want to use to replace node elements in an XHTML template. I am going to the person object and calling a method GetTemplateFindReplace, which defines the XML nodes to replace and the values to replace them with, in Dictionary<string,string> format. public Dictionary<string, string> GetTemplateFindReplace() { Dictionary<string, string> findReplace = new Dictionary<string, string>(); findReplace.Add("firstName", th ...Show All
Windows Forms lockbits
There are two ways to process an image right 1. Bitmap.SetPixel, Bitmap.GetPixel 2. Bitmap.Lockbits Which one is faster To tell you the truth, I don't know how to benchmark. How do you record the CPU time, considering multi-tasking Are there any other considerations ...Show All
Microsoft ISV Community Center Forums Losing primary display on Windows 2003 SE w/ single Radeon display
I recently setup and configured a new IBM x346 (dual 3.6 GHz, 16 GB RAM, 2 TB DASD) which contains a single analog video output port (builtin, not a video card). However, the display control panel indicates that it believes the video card has two display outputs, both apparently connected through the same port. I tried to utilize the "second" display by extending my desktop, but this caused my monitor to display the second screen and no longer display the primary screen (remember, one port). When I utilized guesswork to "grab" the display control panel from the now unviewable, but accessible, screen 1 (off to the left sid ...Show All
Visual C# How can I change the computer resolution when my program starts?
I'm having a problem when I install my apps to a computer with less resolution, my customized forms does not display all the buttons especially the ones at the bottom. I want to set the resolution at run-time, how do I do that Please help. Whilst I'm sure there's ways of doing this, my simple answer would be: don't. Not under any circumstances. You have no idea why people have the resolution they do. They may have eyesight problems, requiring a lower resolution, they may have restrictions from their graphics card, or even other programs. Rather make use of the Anchor and Dock properties to have your controls automatically resize at ...Show All
Visual C++ How VS 2005 decides to build a project
I have a project that keeps building even if it completes successfully in VS 2005. Is there a way to determine what is causing this build to kick off instead of it saying up to date No we are using the VS IDE. However this has seemed to work itself out with a complete delete and rebuild of our source tree. ...Show All
