Helen Cool Granny's Q&A profile
Software Development for Windows Vista problem with VMR9 and UAC : vista bug ?
When vista displays an UAC window (also called ConsentUI), all other windows are feezed, including VMR7/9. I've done a quick test with graphedit (from June 2006 DirectX SDK), trying to render a sample clip. With the default renderer (VMR7), it works correctly : after I close the UAC window, the video window restart playing. With VMR9 (default mode, so windowed), after I close the UAC window, the video window doesn't refresh : the sample clip still plays, but the video is freezed until I move or resize the video window. Is it a vista bug, or do directshow players need to be updated to work with vista Hi, I already posted on this subject. Please have a look on. To sum up, under Vista, you have t ...Show All
SQL Server Transformation for Lookups Between Two Values
I have a dimension table for Retail Order Size. Each row in the dimension has a Starting Value and Ending Value column pair. In TSQL, the correct RetailOrderSize key is found by using the BETWEEN statement, like so: SELECT RetailLevelKEY FROM dbo . DimRetailOrderSize WHERE @Sec1Retail BETWEEN StartingValue AND EndingValue Is there a Data Flow Task Transformation in SSIS that replicates this functionality, or some other way of getting to the same answer in SSIS Thanks in advance for your help SSIS does have a Lookup transform, however its current design does not support ranged lookup directly, as a work around, you may find this link useful http://www.synthesisone.com/article.php/ssis-lo ...Show All
Windows Forms help in windows service
hi , here is a little problem i am facing and it is urgent please help me , i have a windows service that updates records in a database , that database is also used by a gui application now , the path of the database is relative to my installation of windows service application in an app.config file it is something like this : <add name="projectConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database\project.mdb" providerName="System.Data.OleDb" /> </connectionStrings> now when i install the service it looks for the database in system32 folder and does not get the database since a windows service runs under system32 folder it looks for the database ...Show All
Visual Studio 2008 (Pre-release) WCF integration with GSOAP
Hi, I’m trying to write a c++ client that talks to .net WCF server. For that aim I’m using the GSOAP application. I was successful in writing a c++ client that talks to an asp.net server, but when I tried to write c++ client and a WCF server they failed to interact. When the client sent a request to the server the following fault was received: Error 415 fault: SOAP-ENV:Server [no subcode] "HTTP Error" Detail: HTTP/1.1 415 Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'. It looks like the WCF server doesn’t know how to deal with the format of the client requests. Does anybody know why this occurs Can I change the ...Show All
Visual Studio Cannot Script "Advanced Save Options"
Hello, I'd like to change the character set of all of the files in a VS.NET 2005 solution from Codepage 1252 to Codepage 65001. I was trying to do a search and replace in all the files in my solution and then change the character set using the Advance Save Options. I figured that I could put it in a do while loop, or something like that. However, when I try to record a macro and go into the Advance Save Options dialog box all I see is: DTE.ExecuteCommand ( "File.AdvancedSaveOptions" ) It doesn't appear to record and changes that I make in the drop down lists, it doesn't matter if I do it with the keyboard or the mouse. I don't seem to have any problems recording interactions with the search and replace dialog boxes. A ...Show All
Visual Studio Team System VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere"
When UserA attempts to checkout a certain file from within the VS2003IDE they get the error message: Visual Studio Team Foundation Item is already checked-out elsewhere: $/Advantage/dotNet/Releases/1.0/Trunk/NCMC.LOS.WinUI/NCMC.LOS.WinUI.Locking/LockInformation.resx I opened Team Explorer (different user, different workstation) and I can check the same file with no problem. What could cause this issue, how do I resolve Thanks for the response. This odd behavior was resolved when we installed the just released "1.0" version of the provider. Tom ...Show All
SQL Server 2005 Management Studio Slow to start in some cases (have disabled certificate check)
If I open SSMS from the start menu it opens instantly. If I double click on a sql file in explorer it takes about 10 seconds for it to open (either in the existing instance, or a new one if one is not opened already) . If I try and open it by double clicking on a sql when visual studio is stopped at a break point, it takes about 20 seconds. How can I speed it up I'm bit confused why do you perform a RDP on that computer to open the files, apologies if I'm wrong. See this http://www.sql-server-performance.com/faq/ f=144 is any hlep. ...Show All
SQL Server package detect that instance is already running?
Folks, I have a package scheduled to run every hour. Users have asked if, in addition to the scheduled run, they can have it so that they could dump a file into the input directory and then kick-off the package immediately. Problem is that things fail if they try to start the package when the scheduled instance of the package is still running. Is there any way that the package could check to see if an instance if itself is currently executing and refuse to execute if there IS an instance running PJ Hi Michael, Currently I'm just piloting this by getting users to go to SQL Server Agent in the management studio, right clicking on the job and selecting "Start Job at step.." ...Show All
SQL Server Transactions being rolled back and forward by DBCC CHECKDB - is this OK?
Hi, I've set up some maintenance plans (SQL Server 2005) that include CHECKDB tasks. I'm noticing in the server logs that there are occassionally a few messages associated with the CHECKDB execution stating that a number of transactions have been rolled back or rolled forward. I'm worried that this might indicate potential data loss! But I hope this is just an indication of what had to be done to create the internal database snapshot used by CHECKDB. Is there anything to worry about regarding these messages "5 transactions rolled back in database 'XXXX' (15). This is an informational message only. No user action is required." "1 transactions rolled forward in database 'XXXX' (15). This is an informational mess ...Show All
Windows Forms What is the procedure to add combobox in the data grid column?
What is the procedure to add combobox in the data grid using VB.NET how we add values in the combobox Thanks Public MyCombo As New ComboBox() Dim con As New SqlConnection("server=myservername;uid=myid;pwd=mypassword;database=northwind") Dim daEmp As New SqlDataAdapter("Select * From Employees", con) Public ds As New DataSet() Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AddHandler MyCombo.TextChanged, AddressOf Ctrls_TextChanged 'Fill ComboBox list. MyCombo.Name = "MyCombo" MyCombo.Visible = False MyCombo.Items.Clear() MyCombo.Items.Add("Sales Representative") MyCombo.Items.Add("Inside Sales Co ...Show All
Visual Studio 2008 (Pre-release) WCF for high troughput scenarios?
Hi, I was wondering if WCF is usable in scenarios where high throughput has to be achieved . For example a financial market data service that broadcasts market data via UDP (roughly 10k messages/sec). It's important that packets are as small as possible .. can this be achieved with WCF or is there always a high message size overhead Thanks, Tom I think that's not really what I was looking for. My question is targeted more on the message size and throughput efficiency. How much of an overhead in bytes does WPF add to messages in its most optimized way I need data broadcasted via UDP, reliablity is not really an issue, but it's a lot of data and minimizing the latency is essential. Thanks, Tom ...Show All
.NET Development Prevent file changes?
Is there a way to allow or deny file access when another program needs or wants to use it For example, if I use FileSystemWatcher and the Changed event(s), can i stop the file changes Thanks, would this file be the file that your application is using or what some other application would be using Are you trying to deny access to a file which another application is trying to access ...Show All
Smart Device Development Windows XP & Smart Cards
What is the current "right way" to access Smart Card reader/writers from a .NET CLR application (Windows XP based not CE) I'm trying to use a PC/SC compliant (ACR38) reader to manipulate data on SLE4428 smart cards. I've been searching for hours and have only really stumbled over http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcesmart/html/ceconSmartCard.asp but this appears to be Windows CE only A kick in the right direction would be appreciated and as always examples even more welcome. Thanks Tyler That is right, your question is off-topic in this forum, because it isn't related to smart devices programming, what is smart devices , please visit Smart Devices and ...Show All
Visual Basic ListViewBox Not Cooperating
Greetings: I'm trying to iterate through a table in a DataSet and display the rows in a ListViewBox. The stored procedure used works fine in the database, and the debugger shows that my DataSet is filled with exactly the records I'm looking for. But the ListViewBox does not show the columns I set up for it, and only displays part of one field from each record, arranged in neat rows and columns. I know that this is real basic stuff, but I'm just not getting it. Here's the code: Private Sub btnTablesRead_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnTablesRead.Click 'check to see which table has been selected If rdoTableMiles.Checked Then Sproc = DBLink.MilesRecords ...Show All
SQL Server Distributed Transaction
Hi again, I do not know when to use Distributed Transaction. Would you please give an example about its usage or give a tutorials about this Thanks If an application has a local transaction and issues a distributed query, the local transaction is escalated to a distributed transaction. If an application has a local transaction and the option REMOTE_PROC_TRANSACTIONS is set ON, calling a remote stored procedure escalates the local transaction to a distributed transaction ...Show All
