Tommy8890's Q&A profile
Software Development for Windows Vista Connecting a SampleGrabber to a filter graph.
I'm manually creating a filter graph that accepts any video input source and then i grab the frames to a DirectX teture for rendering in a 3D environment. The code i wrote origianlly was written with the DirectX 9.0 (original) release and i had no problems accepting an XVid (or DivX) video file and connecting a sample grabber directly to the output of the xvid decompressor. I recently upgraded to the December 2005 release and continued development of this system after about a year's break. The problem is .. i can no longer connect a sample grabber to the XVid decoder output. It tells me the 2 pins aren't compatible. Yet they always us ...Show All
Visual Studio Cannot add DSL diagram into a Web Project
Hi, Is there a reason why I cannot add a DSL diagram to a web project I am developing a diagram that generates my WebPage and i would like to add it to a webproject . Thanks. I suspect it's because we only create VB and C# project item templates, so VS won't allow you to add an item to a different project type with these templates. The worksround is to add the item to a C# project, say, then copy the file into the web project. ...Show All
Windows Forms creating mail from .net application
Hello. I need to create mail message from my application, but not using mailmessage class. I want to open new message window at default mail agent on client machin (Outlook Express e.t.c.) with already attached file and pre signed mail address in "To" field. The same action, for example, does PowerArchiver on selecting "Compress & E-Mail" in explorer popup menu. Can I do this in my .NET application (I use version 1.1) If you need a better interaction with Outlook, I recommand you to take a lot at the VSTO: http://msdn.microsoft.com/smartclient/vsto/default.aspx HTH. Bye ...Show All
Visual C++ Control Bracket Formatting
I'm sure this has been asked numerous times, but it is a hard thing to search for. Anyways, I am using Visual C++ 2005 Express Edition and it writes code like this: if () { statement; } I want it to write code like this: if () { statement; } How do I do this Thanks a bunch. According to my knowledge, I don't believe there is a current way of doing that. Please feel free to log a suggestion issue at: http://lab.msdn.microsoft.com/productfeedback/default.aspx Thanks in advance in taking the time to log your suggestion! Thanks, &nbs ...Show All
Visual Studio Express Editions Error when creating or opening a project
Hello, I already posted this in the C# section, but the problem also happen for VB :-( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=141667&SiteID=1 When I'm trying to open or create a project with C# or VB an error message is shown. The error describe a problem with the file, folder or volume label ! "Die Syntax fur den Dateinamen, Verzeichnisnamen oder die Datentragebezeichnung ist falsch. (Exception from HRESULT: 0x8007007B)" Does anybody has an hint what the problem could be I already unistalled and installed again C# but without any changes :-( Thanks Stefan Yah good one Matt, ...Show All
.NET Development WSE 3.0 creating the proxy class
What do people recommend as the best way to create a proxy class when not hosting the service is IIS and from within Visual Studio 2005 Is there a nice add-in to point to a service library or better still a running service to get it's service description... Thanks BenW I followed these steps: 1. Create a Web Service WebSite hosted on the file system 2. Add a project for your client 3. From the client project bring up the Add Web Reference dialog 4. Click on the Web Services in this Solution link 5. Select your web service The Visual Studio web server will be started automatically and the proxy will ...Show All
SQL Server can 2 people view the same report using different parameters at the same time?
Hi, I am using sql server 2005 entreprise edition. I am just wondering when I have a report with parameters and the report uses stored procedure to retrieve the result set for use in the report, if two people from different places are trying to view the report at the same time, and each of them use different set of parameters. Will they be able to view their report correctly Is there a way to store temp data in user's session variable in report server or is there a way to store user specific data in report server For example, I have 3 textboxes (1, 2, 3). Textbox 1 allow user to search for cou ...Show All
SQL Server Running a package in C#
Hello all. I am trying to run a package in C# and have come accross the help file of how to do it in Visual Basic ('Running an Existing Package using Visual Basic'). However, I cannot find a reference to anything relating to DTS in my reference dialog. In the help file it says to add a reference to Micorsoft.SQLServer.ManagedDTS.DLL, however, I cannot find this reference anywhere. Am I missing something Thanks, Mike Tazzmann wrote: ...is there a way to install just the Business Intelligence without installing SQL Server ... Yes and I have it that way. While installing you have to select only the option to instal ...Show All
Windows Forms ListVIew and OnSelected Index Changed Event in vb.NET
Hello, I do have the following code in ListView_ON Click even which is working just fine. glbRelationID = ListView2.SelectedItems.Item(0).SubItems(1).Text When I try to place the same code in ListView_On_Selected_Index_Changed event I receive an error. Does anyone know what I should change. Thank you. Peter ...Show All
SQL Server SQL Server 2005/ ADO.NET 2.0 Begin Transaction Issue
I have an application that was originally built in VS 2003 and was successfully running against SQL Server 2000 and SQL Server 2005 (June CTP). Recently, we migrated to VS 2005 Beta 2 and are running on SQL Server 2005 (June CTP) exclusively. Since the migration, we have some situations where we receive the following exception when attempting to begin a SQLTransaction: Exception Type: System.Data.SqlClient.SqlException Number: 3988 Message: New transaction is not allowed because there are other threads running in the session Stack Trace: StackTrace Information ********************************************* at System.D ...Show All
Visual J# Answer: java.text.Bidi functionality
Hi; What .net class has the same functionality as java.text.Bidi (which I assume is not in J#) All I need is the ability to give a method a string and find where the string changes direction. thanks - dave To get an authoritative response on this, I suggest you post this on the microsoft.public.dotnet.internationalization newsgroup. Internationalization folks from Microsoft on that newsgroup can help. Thanks - sushant ...Show All
.NET Development IDeserializationCallback equivalent for ISerializationSurrogate?
Is there a parrallel of IDeserializationCallback for ISerializationSurrogates I'd like the Surrogate to be able to fixup the child objects once deserialization is complete. Thanks, Ray That's essentially what I ended up doing. I had the surrogate serialize another object just for that purpose. The object then makes use of IDeserializationCallback. - Ray ...Show All
Visual Studio 2008 (Pre-release) Rotate Window
Hello Is it possible to rotate a window with WPF. When i have this on my main window <Window.RenderTransform> <RotateTransform CenterX="0" CenterY="0" Angle="45"/> </Window.RenderTransform> i get Error at element 'BamlAttributeInfoRecord' in markup file 'Window1.xaml' : Transform is not supported on Window.. kind regards Dieter You cannot apply any transforms to the Window because the Window chrome is still rendered by GDI right now. HTH, Drew ...Show All
.NET Development How to use System.Net.Mail.SmtpClient via SSL and Authentication?
Below is my code, and is just blocked there. There is no any error message. '=============================================> Dim msg As String = "---" Try Dim strAddress As String = " xxx@xxxx.com " Dim sm As New SmtpClient(Host, Port) With sm &nbs ...Show All
SQL Server SQL2000 : weird performance event
We're running a small scale application on SQL2000 SP4 (personal edition) with only 1 user. Got a stored procedure which suddenly takes 7 hours to complete with incorrect results compared to previous runs which only took 5 minutes (and correct results). No problem with other procedures or queries regarding performance. DBCC didn't see any errors. We're able to reproduce the situation (on a different machines) by extracting the code from the production machine (using generate script) using SQL Analyzer/Enterprise Manager. It takes then 7 hours to execute/complete. However, when we take the original script from the developers and recr ...Show All
