Guido den Broeder's Q&A profile
Audio and Video Development Unsetting an 'actioned' button
Below is my js and markup. This is a basic button test with three states: normal, focused and selected/actioned. The test works, but I want a slightly different behavior. Right now when a button is pressed/selected, it stays actioned (in appearance) until I focus on another button. What I'd like is for the button to revert back to focused. I've tried setting it to that state in the js, immediately after I jump in the title, but what happens then is I never see the action state. I'd like the button to stay actioned for like a second. To give it that pushed look/animation. markup ##################### < xml version="1.0" > <root xml:lang="en" xmlns="http://www.dvdforum.org/2005/ihd" xmlns:style=&q ...Show All
Windows Forms this.Size = MdiParent.ClientSize don't work?
I have a mdi parent, and a mdi child window. In the load event from the mdi child window I want resize it to fill all the parent window client area (i don't want to maximize the window). I have tried these code: this .Size = MdiParent.ClientSize The problem is that the child window size is a little greater than the real client size, and on the parent window will apear scrollbars. Any solution You'll need to account for the border of the MDI client area. This is done by multiplying the SystemInformation.Border3DSize by 2. private void MDIParentForm_Load( object sender, System.EventArgs e) { // "this" is the MDIParent form this .IsMdiContainer = true ; // create MDI ...Show All
Visual Studio 2008 (Pre-release) Where can I find the events list of every control
Hi everybody, I know one of the limitations of cider is that we have to write all events by ourselves. But where can I find the list of events and arguments of every control. I couldnt fin the description of the API on MSDN. Add the event with C# myButton.OnSubmitClick+= [press tab here a couple of times and the rest is autogenerated] ...Show All
Visual Studio Express Editions Project 'MyProject' could not be opened because the Microsoft Visual C# Compiler could not be created
I have installed Microsoft Visual C# 2005 Express Edition but when I try to create a project I get the error: The project "MyProject" could not be opened because Microsoft Visual C# Compiler could not be created. Please re-install Visual Studio. I have tried uninstalling and reinstalling without success. I have tried installing SP1 without success. I have previously had Visual Studio Beta2 installed, but have uninstalled everything. Could it be some leftovers from this installation disturbing the Express installation, and how I can I clean up ...Show All
SQL Server Error Description differs when logged with Redirect Rows compared with Debug mode
Hi, Can any one please tell me how to get the complete error description for example when i dont Redirect Row for Error in OLEDB Source i get a detailed error message with column name as [RCheck [385]] Error: There was an error with input column "CHECK_STATUS" (456) on input "OLE DB Destination Input" (398). The column status returned was: "The value could not be converted because of a potential loss of data.". But when I set Redirect Row for error and use the Script component to log them into a Table with ErrorDescription based on ErrorColumnID it only gives me this. The data value cannot be converted for reasons other than sign mismatch or data overflow. Thanks Sat ...Show All
Software Development for Windows Vista Power icon problem
Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! Mike-- Do you see a battery icon in the system tray Even if you have multiple batteries, you will only see a single icon in the ...Show All
.NET Development Dictionary Dilemma
On the following site: http://www.devx.com/codemag/Article/32647/0/page/3 ...I'm told about the Dictionary template, and then the article gives this caveat: "If you need to sort the dictionary entries by key, you'll be better off using the new SortedDictionary class, which maintains a sort order on key." Well MAJOR DUH!!!! My whole point in reading that article was to determine why I would ever want to use the Dictionary template instead of SortedDictionary. And so I'm still wondering, when would anyone EVER have a need for a non-sorted dictionary Regarding this plain "Dictionary," there must be some esoteric piece of knowledge I'm missing. Help! My weapon of choice for implementing sets and lookup tab ...Show All
.NET Development WMI redist?
is their a redist version of WMI, i have a bootstrapper setup to install framework and i want to do it with WMI as well, but i want the componets to be included in my package for a CD, or for one convienient download in a self extracting zip. There is a WMI redistributable components MSI available for download at http://www.microsoft.com/downloads/details.aspx FamilyID=013bb284-3946-44a9-ac3c-bf2a569eaa72&DisplayLang=en . I'm not sure if this is exactly what you're referring to though, so can you take a look and let us know if this meets your needs Thanks! Aaron ...Show All
Visual C++ Repainting Windows Form
New to Visual C++ 2005 Express from Visual Studio 6 (MFC). I have created a Windows Form application that does a long calculation. It has a progress bar and works well as long as it does not lose focus and is not minimized. It it is, it continues to function (the window indicates "Not Responding" as does the task manager) but the display is frozen, including the progress bar, when the window is normalized. It stays that way until the calculation is complete, then displays the result normally. I have included a call to the Form Activate event wherein I have calls to Invalidate and Update the form, but that does not help. Suggestions Thanks. Thomas Because you are per ...Show All
SQL Server Multi language for Parameter Prompt within SSRS
I need to generate a multi language report. So I was able to create everything depending on the global variable User!Language except the prompt of the parameters of the report. The prompt seams only to be a text and is not customizable by a expression ore something else. So over all is there an option/way to show to the user the prompt in his language without creating a report for each language Thanks ...Show All
Visual C# Intellisence Doesn't Remember Last Session
I have visual studio 2003 installed on my computer. The intellisense was working just fine until I installed VS 2005. I don't know what happened but now everytime I start VS 2003 it doesn't remember any of the recent intellisense commands. Ex: If I type "System." it should come up as "System.Diagnostics " instead it selects the first item in the list. If I repeat the process in the same session it goes right to "System.Diagnostics". Is there anyway to fix this I found the option at Tools => Options => Text Editor => C# => Formatting. It was already checked so I unchecked it, cleared the history and rechecked it. I will see if that solves the issue ...Show All
Visual Studio 2008 (Pre-release) Binding name to column header
I have the fallowing xaml for my column headers: <GridViewColumn x:Uid="IDS_TXT_1" Width="80" DisplayMemberBinding="{Binding Path=Col1}"> <TextBlock x:Name="GridViewColumnH1" TextAlignment="Center"> Secured </TextBlock> </GridViewColumn> <GridViewColumn x:Uid="IDS_TXT_2" Width="80" DisplayMemberBinding="{Binding Path=Col2}"> <TextBlock x:Name="GridViewColumnH2" TextAlignment="Center"> Secured </TextBlock> </GridViewColumn> .... Then I've aplied the fallowing template (taken from this sample: http://www.infusionblogs.com ...Show All
SQL Server new 9.0 GP dynamics & SQL 2005 upgrade
Just finished my first upgrade of 9.0 GP Dynamics and SQL 2005 - I am having lots of trouble with my users and there passwords. I have tried deleting them in SQL and GPS and start over but still cannot log in for the user - can you help me Thanks cscheible I am trying to remember my old Dynamics days... (version 6) and if I remember right there are diferent logins. The system would log into the sql server system using a predefined logon and then you would have a logon system inside Dynamics. I would check to make sure that you are doing the changes in the right place. Did you use a consultant for the upgrade as I would track them down to ask, or even contact the dynamics support people and ask h ...Show All
SQL Server Property AnsiNullsStatus is not available for UserDefinedFunction
I created a table valued function in SQL Server 2000 SP3 using SQL 2005 Management Studio, but when I try to edit it (Right-Click, Modify or Script Function As...) I get the following error: Property AnsiNullsStatus is not available for UserDefinedFunction '[dbo].[fnMyTDF]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo) I can edit it in other tools (Sql Query Analyzer) just fine. I'm in the sysadmin role. Versions: Microsoft SQL Server Management Studio 9.00.2047.00 Microsoft Analysis Services Client Tools 2005.090.2047.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft ...Show All
Visual Basic How to insert data (probably simple question)
I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All
