Angry Coder's Q&A profile
Software Development for Windows Vista DirectShow Editing Service - Timeline Sources Preview Problem
Hi everyone, In my DES application, i have a timeline. My application add sources to timeline dynamically. When i want to preview timeline, it only plays first source, not others. However i can see all sources timeline's xml file. I can also see all sources in timeline's grf file when i open grf file with notepad. But in the preview (in my application or in GraphEdit) it only plays first source. Anyone can help me It's been a while since I worked with DES, but aren't the times for clip start/stop in seconds Is this really a 103 minute clip ...Show All
Windows Forms ClickOnce on VISTA - elevation is required
Hi, A full-trust ClickOnce app was working fine on XP and now it blows up on VISTA with the folowing error message: "ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://server.product.com/Applications/product.application resulted in exception. Following failure messages were detected: + The requested operation requires elevation. (Exception from HRESULT: 0x800702E4) " Questions: 1. How to find out what exactly requires elevation The only thing I can see in the Event Viewer\Applications and Services Logs\Miscrosoft\Windows\UAC is this: " The process failed to handle ERROR_ELEVATION_REQUIRED during the creation of a child process. &quo ...Show All
Windows Forms MDI Form bugs - VS2005 - .Net v2.0.50727
Hi, The following code is a example of a MDI application constructed only to illustrate two problems found in .Net 2. The sample exposes a MDI Form and 4 MDI Children forms. When you run the sample, two MDI childrens are showed to you: Form0 and Form1. I call this, for simplicity purposes, Workspace One. Click "Switch" menu to hide these two forms and show now the Form2 and Form3, called Workspace Two. Keep clicking Switch menu to alternate between these two workspaces. Now come the bugs. The first one: 1) Run application 2) You see the Workspace One. Maximize the first visible MDI child form on this workspace. 3) Click "Switch" menu. You see the Workspace Two. 4) Maximize the first visible MDI child for ...Show All
SQL Server Redistribute SQL Express by using .MSI
Hi, Is it possible to I install SQL express by directly run .MSI files to do full installation and upgrade from MSDE 2000 What would be the parameters and sequence of calling the MSI files. Helen ...Show All
Windows Live Developer Forums push pins and background
Hi, with the help of this forum I have managed to get pins to display on the map > Change the background when clicked to indicate it has been selected - then when clicked again the backgound is removed to inicate is is not selected. Now I want to load the page with all the pins initially selected So i do :- AddClickablePin(1,-0.459610397815704,51.6549480199814,"./bcirclesm.png","Name 1","A3"); then I set the background using :- document.getElementById(1).style.backgroundColor="yellow"; When dipalyed they all have the right background. The thing is that when i now click on them the backgorund does not change even though the test for colour seems to work. Has anyone el ...Show All
Visual Basic oledb not recognizing autonumber field in Access
I have an Access db with the primary key as a 'autonumber' field. Records are updated via code just fine but Inserts fail with a message of "number of query fields and destination fields not the same". This results (I assume), from not providing a value for the first field which is the autonumber field. I have the identical db structure in a mssql db and I am using the same insert statement with sql classes and all is well. If I add a record via Access the field is incremented appropriately. I looked at the field properties of the Access db via .net server explorer and the field is described as an oledbtype.integer and nullable = false, no mention of autonumber or identity. The bottom line is the autonumber function is not firin ...Show All
Internet Explorer Development Organizing IE7 Toolbars - Google hijacks toolbar layout.
What a Horrible experience has been using IE7. First I can't put more bars in the same row as the address bar So I get a incredibly big address bar and loose a lot of screen. Other problem is that toolbars dont stay in the place you put them. They keep moving even if you lock the toolbars. Is this a Primary BUG at IE7 Is there anyway to make IE 7 as useful as IE6 and customize bars the way I want and not the way the developers wanted Thank you in advance for solutions.... Same problem. With IE6 I was able to keep all necessary tools in the address bar. I hope this is an oversite by developers and will be corrected ASAP. I am going back to IE6 for now. ...Show All
SharePoint Products and Technologies Sharepoint ISAM for MSAccess ODBC driver?
I have a user wanting to access an Access database that has external links to a Sharepoint site from an ODBC application we have. If the user runs the tool locally (where he has MS Office installed), then all goes well and he can access the data. However, if we put the tool on a machine that doesn't have Office installed (but does have the MSAccess ODBC driver), all attempts to query the Sharepoint "tables" result in: [Microsoft][ODBC Microsoft Access Driver] Could not find installable ISAM . Is there an ISAM dll that users can download to allow the Access ODBC driver to query against Sharepoint Services in this manner We even installed Sharepoint Services on the machine hoping that it would contain the necessary files, b ...Show All
.NET Development window.showModalDialog problem
I have button on Search.aspx page. when user clicks on that button a new window appears using following javascript function GotoSelectProgram(memberid) { var url2 = "SelectProgram.aspx MID="+memberid; str = window.showModalDialog(url2); } the above script will create new window for SelectProgram.aspx page. This new page has datagrid with few rows. and each row has ImageButton called Select. when user select any row i want to close that popup window and parent window should navigate to ProgramUpdate.aspx im using following c# code in click event of select button private void MemberDetails1_SelectorChanged(object sender, ProgramEventArgs e) { // some code here Response.Write("<script language='javascript'& ...Show All
SQL Server BCP Issue Importing records
I'm using BCP to import a ragged right flat file. Each row is stored to the only column in the table. I then parse out the data into the proper columns in a destination table. The problem is in this type of format (ANSI 834) the data I need is on many rows in the orignal file, it will end up in one row in the destination table, so it is necessary to keep the order of the rows in the inload table the same as the inload file. I made the following stored procedure: Create Procedure Elig834Import @Elig834FileName sysname as set nocount on SET ANSI_WARNINGS off delete from EligIn834 declare @STDbcpcmd1 as sysname set @stdbcpcmd1 = 'BCP Elig.dbo.EligIn834 in '+ @Elig834FileName + ' -c -U sa -P xxx' EXEC MASTER..xp_cmdshell @st ...Show All
SQL Server How to move Log Ship monitor to a new SQL2K server
Scenario: Old SQL server - which currently serves as monitor for ~ 100 Logship jobs needs to be dismantled - the monitoring function should be absorbed by another new SQL server. If anybody has accomplished this successfully and would like to share - I am all ears :) Log shipping monitor will be installed on the new server only when you run through the log shipping wizard to setup on the new server, it is not a seperate component you can take it as a script. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange bug rendering shadow map on Xbox 360
I'm writing a 3D game in XNA at the moment, and had got shadows working on the PC version, when I tried running the same code on the Xbox 360 I found that my shadows we're working properly, I've been pulling my hair out for the past two days trying to figure out exactly what's been going wrong. I've finally found what the problem is, I'm using an R32F render target for the shadow, a format that the xbox claims is working, however the depth values I'm getting back are completely wrong on the Xbox version, they all seem to be almost zero (but not actually zero), if I try to set the depth manually to a fixed value, I always get back a number less than 0.0000576f unless I set the color to 1.0f when I get back 1.0f. If I use a default color sur ...Show All
SQL Server S
Hi, I am using Sql Server 2005 64bit on a quad processor server with 6GB memory. When I run a some TSQL that uses a cusor the average processor never goes too much above 25%. Memory using is about 300-400K for sql server. Using perfmon it appears the disk queue length is 0 (or very close to it), can anyone suggest some perfcounters that would help me identify why my sql box isn't flying Thanks for your help Graham ...Show All
Windows Forms minimize, maximize, and close button image...
hey, In Visual C# 2005 express how would I use some images I made for the minimize, maximize, and close buttons, and change the defaults to the ones I made The images are .PNG if that is somthing you need to know... Thanks :) ok, I think I see what you are saying, so then the button part, in order to create my own top border...the part with the words and contains the buttons, I would have to make the image there on the top of the form and then add the buttons inside of it and keep it docked there EDIT: actualy ya thta is the way I guess I should do it, but how do I make the image(topbar that hold the buttons witch I will put in seperatly) stay docked at the top of the toolstrips becuase if I try to ...Show All
.NET Development Is C# working with degrees or radians?
When you use the Math library the Sin, Cos, ACos, etc methods work with radians but in graphics.DrawArc the startAngle and sweepAngle must be given in degrees. It's not a big problem but it's a bit confusing to have to go passing between radians an degrees all the time. PS Sorry, I know I have to improve my English C# doesn't use either. The C# language has no built-in notion of angles. And since it doesn't have any native representation of an angle, it doesn't actually make sense to ask whether it works with degrees or radians. Math.Cos, Math.Tan and so on are not part of C#. They are part of the .NET Framework Base Class Library. As such, they are language-neutral - the same functions are available to VB.NET ...Show All
