Dave Gurr's Q&A profile
Windows Forms How do I work with Windows Forms (using C++) and Directx9?
Hi, I need a help!!! I need a example what show me how to work with windows Forms (using C++) and Directx (9), step-by-step, since declarations until how I create a form and draw inside it a line or other picture, I need a example what make this, if someone can help me..... Tks......... Hi, I'm afraid there are samples in SDK. Besides, here are some articles on this. http://www.riemers.net/Tutorials/DirectX/Csharp/tut1.php http://www.gametutorials.com http://www.c-sharpcorner.com/Code/2002/April/SpaceBreakOutMJ.asp http://www.codeproject.com/cs/media/mdx_tutorial1.asp ...Show All
Visual Studio 2008 (Pre-release) MediaElement in Streaming Scenarios
I asked this question in another thread and did not really get an answer. I'm not sure if it was because I was in the wrong area so i'll ask it again. Is there any way to get access to properties and events related to the current media being played by the player. In a scenario where one is streaming media, I cant seem to find a way to get this information for display purposes. What the heck am I to do ! WPF does not provide any metadata APIs for Media (audio/video). If you are interested in these properties, please look at the WMP SDK. ...Show All
Windows Forms How do you make a form transparent and NOT it's controls?
This might sound like a strange question, but since there are no form shape controls, I'm using an image on a form, and want to make parts of it 45% transparent, and the form underneath 100% transparent. How do I that without making the image transparent as well Thanks ahead of time Only set the TransparencyKey with the color that you want becomes trasparent. If your image has a white color, set it to white color. ...Show All
SQL Server FTP Connection Manager: Set FTP password using a variable
Hi, I want to setup an FTP task that is portable in the sense that all it's connection parameters are stored in variables. I can create expressions for properties ServerName and ServerUserName but not the ServerUserpassword. Is there an property that I missed, there seems to be properties for everything else except the key piece of info, the password. I could create a script component using the FtpClientConnection method as a last resort but would rather not. Any ideas Thanks Hi, Can you double check this syntax, please It looks like that example doesn't match syntax provided! I have tried several combinations of this parameters but neither didn't work! Did you get solved this prob ...Show All
Software Development for Windows Vista Beta2_2 set_up needed
Dear sir Please give the URL for the Workflow beta2_2 set up vijil Here is a link to where you can download and install Workflow Foundation and VS.NET Extensions for Beta 2.2: http://www.microsoft.com/downloads/details.aspx familyid=5c080096-f3a0-4ce4-8830-1489d0215877&displaylang=en Thanks, Steve Danielson [Microsoft] This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Audio and Video Development Access Denied 80070005
Hello, I'm Michael, I'm trying to stream with windows media services and windows media encoder (also SAM Broadcaster Radio Automation Software) when I stream with pull mode all works perfectly, when I try to streaming with push I receive this error 0x80070005 Access Denied, well in the same server I dont receive problem, I think that the problem is restriction of access. Can you help me to resolve this problem I'm desperate. Thanks in advance. Try posting your question on the Windows Media Encoder newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.encoder&lang=en&cr=US ...Show All
SQL Server sql 2005 Maintenance Plan Issue
I successfully created a simple Backup Maintenance Plan under SSMS. But now that the plan is created I need to change the number of days the backups are kept. When I pull up the plan udner SSIS and lok at the tasks I can't locate that option. I couldn't find it under the sql agent either. Anyone know where it is (Or do I need to recreate the plan from scratch ) TIA, barkingdog Hi Derek, I noticed your answer regarding editing SQL 2005 maintenance plans. When I just try to change the schedule, I get an error message. When I try to double-click on on the the boxes in the right-hand pane (i.e. the 'Check Integrity') box, I get the error message: Cannot show the editor for this task. ...Show All
Visual C# Get window handle
Hi All, Is there any possibility of getting the handles of all windows which are present in the taskbar. I need to track down which window is being closed and display a message stating the file name of the closed window. You want to get all the system processes and iterate through them checking the Process.MainWindowTitle if the string is empty then the process *probably* doesn't have a visible window. This code will fill a List of all the handles: Process [] processes = Process .GetProcesses(); List < IntPtr > windowHandles = new List < IntPtr >(); foreach ( Process process in processes) { if (process.MainWindowTitle != string .Empty) { windowHandles.Add(process.H ...Show All
Smart Device Development Configuration Service Providers & CM_PPPEntries: how to specify extra parameters
Hello, I'm working on an extension of an existing order entry application running on Windows Mobile. The extension allows the automatic configuration of email and internet connection - and I've done them using the Configuration Service Providers CM_PPPEntries and EMAIL2, and the DMProcessConfigXML API. Now the customer asked me if it's possible to configure in CM_PPPEntries parameters such as the baud rate, the "Wait for dial tone before dialing" flag and the extra dial-string modem commands (as defined in the advanced settings using the connection wizard applet). Is this possible Thanks Antonio These are set using RAS API or TAPI. The CM_PPPEntries provider can also set them via DevSp ...Show All
Windows Forms Data Not Saving In Calculated Field
I have a textbox that is populated from a calculated variable. The textbox populates ok but when I save the data, the textbox resets to zero and saves to the database as zero. All of the other data on the form saves appropriately. The data is originally binded as: ctl.DataBindings.Add(new Binding("Text", usmDataSet_est1.Tables["cabinet"], ctl.Name, true, DataSourceUpdateMode.OnPropertyChanged)); I'm setting the text property of the calculated value with: private void populateAreaTextBox(string First, string Last, Control ctl) { string sArea = Convert.ToString(Decimal.Round(calcArea(), 2)); ctl.Text = sArea; } What could be the problem The textbox is read-only. I'm using VS200 ...Show All
SQL Server SQL CE and reporting
I am developing a windows application with VS2005 and SQL CE as database. We were planning to use crystal reports which is built in VS2005. Does any one have any experience linking crystal reports with SQL CE Any direction will be greatly appreciated. rick ...Show All
SharePoint Products and Technologies Welcome!
Welcome to this new forum, which is part of the SharePoint forums group that contains a comprehensive set of forums designed to cover all aspects of SharePoint Products and Technologies. I’ve held off on having these forums created for over a year because we already had a handful of newsgroups in place, but the benefits (search, moderation, filtering, stats, flexibility, planned enhancements, etc.) and the recent surge in usage have convinced me that it’s finally the right time to embrace forums as the de facto channel for community Q&A and discussion . This particular forum is for topics about Excel Services capabilities in Office SharePoint Server. Before posting a question, please review ...Show All
SQL Server Ho to make data source web method execute once per a report?
My report works with XMLDP data provider and obtains source data as a result of a web method call. This memthod returns all data necessary for the report. Thus, all of about 20 report datasets query the same web method with the same parameters and then select appropriate data with different ElementPath expressions. It's so inefficient and time-consuming! I cant have respective web method for every dataset. How can I configure SSRS to call web method only once while the report is executing Or how can I leverage the performance at all I seem to have founed the solution. I've configured report datasource to execute in single transaction and extra marked the source web method with [WebMethod(CashDuratio ...Show All
Visual Studio Team System TFS Trial Exp Date?
We are currently evaluating the trial version of TFS that we downloaded from MSDN. Is there a way to see the date that the trial will expire Martin Woodward wrote: Cheers Jeff, this "Martin Woodward" guy you pointed to seems to know his stuff :-) Hmm...I have "Mark as answer" but I can't find my "Mark as hilarious " button. :) Or, to put it another way: (+1, Funny) ...Show All
Internet Explorer Development window.close in javascript
I'm writing an extension using ATL/COM. When clicking on the button, a new browser window with a form pops up, and when the form is submitted, the server returns a page to close the window using javascript window.close method. The pop up window is created through CoCreateInstance function, and thus when window.close is called from script, the browser prompts the user whether let the script close window or not. Yes we can set window.opener to null in ie6, but this no longer works in ie7. I tried to process the WindowClosing event, but it seems only be fired when the window being closed by script is created by script. I looked at del.icio.us's script in the pop up window, and found that they're just using one line: window.close() ...Show All
