GrandpaBob's Q&A profile
Software Development for Windows Vista render videos on a d3d texture with the VMR9
hallo, a the moment im trying to develop a program which should play videos. i want to build the menu with d3d sprites and display the videos with the vrm9. until now i've tried to do this with the allocator presenter from the ms samples. rendering the video as a sprite works fine, but theres a problem in the sample. the allocator presenter calls the draw function, when the video stops, the rendering of the sprites stops too. but a me ...Show All
Visual Studio Printing/exporting using CrystalReportViewer in VS 2005
Hello. I'm currently using the ServerFileReportService web service provided by Crystal Reports to serve up a report hosted on a separate server from the web server (by setting the ReportSource of the CrystalReportViewer). It's all working fine until i try to either export or print a report (using both the Pdf And ActiveX print modes). For PrintMode="Pdf" i get the message 'Failed to export using the options you specified. Please ...Show All
Visual C# SMTP mail with authentication
Hello Experts How can i send SMTP mail using some of the popular servers like yahoo or gmail How can authentication done.. I tried the following code. But it will not worked. Any one help using System.Web.Mail; eMail = new MailMessage(); eMail.BodyFormat = MailFormat.Text; eMail.From = _SendFrom; eMail.Fields[http://schemas.microsoft.com/cdo/configuration/smtsperver] = "SMTPServerName"; eMail.Fields[ " http: ...Show All
Windows Forms BindingSource and INotifyPropertyChanged on a non-UI thread
Hi, while working on my entry for Code'n My Way to PDC, I have encountered two problem that are not easy to work around. Here's the situation - I have a master/detail "views", master is DataGridView bound through BindingSource to an IEnumerator<Detail> (where Detail is some class) and detail is a user control with a few Labels bound through another BindingSource to properties of Detail object. I manually track which Detail object is " ...Show All
Visual Studio Express Editions Newbie General Questions & Error on Non-Dev Machines
Hello, I've just started programming C++ as of today, so yes I am a newbie, but I do have some experience in Java and GML so hopefully it will come in handy. First off I'd like to know if there is some kind of function list for standard C++ Libraries.. For Java and GML their is an obvious list of all the functions and parameters easily available to all programmers. From what I can see, even MSDN doesn't offer something like this. Secondly wh ...Show All
Visual Studio Express Editions Unable to add connection to SQLServer
Hello In the 'Server Explorer' dialog, I am unable to establish a connection with SQLServer Express. When choosing 'Microsoft SQL Server (SqlClient)' as the data source, the list of servers does not include the local machine. Manually typing the local host name or localhost does not resolve the problem, as a test of the connection to the local SQL database results in connection timeout: Error msg: Timeout expired. The timeout period elapsed&nbs ...Show All
Visual Basic Where can I find real looking playing cards
I asked this question once before and was directed to the Blackjack starter kit. The problem with those cards is they don't look real. Is there anywhere else I can obtain images of playing cards (hopefully free) to use in making my own card game lol - "try a newsagent" Actually, scanning them was a good idea, although a royal pain. Thank you. ...Show All
Windows Forms DataGrid Column-sort problem
I've got a treeview and a datagrid, and depending on which tree node you select, the contents of my datagrid changes. Grid update is done as follows: DataSet AppsDS = // comes from a stored proc MyDataGrid.SetDataBinding(AppsDS,"Table"); MyDataGrid.TableStyles.Clear(); Dat ...Show All
Windows Forms Adding image resource causes design view error
After adding a PNG to the form's resource files (but not doing anything with the resource) is causing the VS IDE to generate an error when I attempt to open the form in design view. The program will still executes fine from the IDE, and I can go into the code view. It's just design view that generating the error. The error being generated is: Could not find a part of the path 'C:\Documents and Settings\richard\My Do ...Show All
SQL Server Bulk Insert -- Access denied issues - 2
Hi All Same situation as described here , same issue. SQL Server(SQL2005 on Windows2003) uses domain account. This domain account enabled to be trusted for delegation. Client connects to server using Windows auth. Client issues BULK INSERT with UNC path. Statement returns error: Cannot bulk load because the file "\\Server\pub\file.txt" could not be opened. Operating system error code 5(Access is denied.) SQL 2000 runs this s ...Show All
Visual Basic Can not set breakpoint when running asp.net application
I been having this debugging problem for awhile. I can set breakpoints during design time of my asp.net application and those breakpoints are hit correctly when the application is running under debug mode. However, I can not set new breakpoints once an already set breakpoint is hit. This is really frustrating because I have to stop and restart my application whenever I want to add a breakpoint. Any ideas ...Show All
SQL Server Update Trigger... best solution
Hi All I have two questions: 1. the below trigger, is it the best way to update a inserted or updated column Create trigger tr_update_acc_status on customer for insert, update as begin update customer set deleted = 1 where account_status = 4 and account_status = 6 end begin update customer set deleted = 0 where account_status = 5 end it works ok but takes a long time to update the deleted column as it scans all records, which t ...Show All
.NET Development how to specify .net runtime for winforms in HTML pages
How do I specify which .net runtime version should be used when I run winforms in an HTML page My problem is that I have .net controls that will work in 1.1 but not in 2.0. Thanks Jacob Hello Jacob, Currently, the common language runtime can only be instantiated once per process (e.g. 1.0 in the iexplore.exe process, but not 1.0 AND 2.0). As such, once the CLR is loaded in the web browser process, other applications can only use ...Show All
Visual C# How to stop or end the execution of a C# code?
Hello, Question: if I have the following Console code and I want to end the execution at the CheckDirectories Method instead of in the last curly braket of the Main Method How I do that See below, I have identified where I want to stop \ end execution. static void Main( string [] args) { string [] strDirectories = new string [1]; CheckDirectories(strDirectories); } *********** I don't want to end the executio ...Show All
Visual C# Integer TextBox
I created an application in C# for findng if the number entered by a user is Prime or Not,the logic part was ok.But I'm using Textbox for getting the number from user and complier is giving me errror that string cant be converted ....So I wanted to know how to use Textbox for getting the numbers and that Texbox should take only integer values.Help me out.Thanx take a look at the MaskedTextBox Class http://msd ...Show All
