recordus's Q&A profile
Software Development for Windows Vista where to get directshow SDK??
YOU CAN GET HERE ...Show All
.NET Development Round to nearest 0.05
Hi, how would I go about rounding a value to the nearest 0.05 For example, 0.36 should be rounded to 0.35 ... 0.375 should be rounded to 0.4. Thanks, Tom ...Show All
Smart Device Development Install application fail on Pocket PC emulator
Hi, On Pocket PC emulator , When I run a cab file to install a application , it always display a dialog "xxxxx was not installed successfully. Please run Setup again." But I can install the same cab file on my pocket PC device. Who can give me a explain Thanks. So, can Visual Studio 2005 generate CAB-files for the old format It doesn't really matter for my old problem because i solved it with cabwizard, but for future ...Show All
Visual Basic Disabling specific controls
I used this code to disable all of the controls in a tab...Now I want it that only certain specific controls(e.g. textbox and datagridview) to be disabled...And one more thing, is there any way as how can I change the appearance of the disabled controls It seems that whatever color I use, nothing change..Plese enlighten me...thanks. For Each clsControl As Control In tabEditPatient.Controls clsControl.Enabled = False clsC ...Show All
Windows Forms DataGridView does't show updated data from dataset
Hi everyone, I have a master/detail application where in the master I use a datagridview. In the detail I use textboxes and comboboxes to show 1 record of the master datagridview. After updating the detail and closing the detail I do a merge of the the 2 datasets in master and detail. This always works ok, but NOT for the comboboxes I use in my detail form. When I open the detail again, do nothing and return back to the master then my d ...Show All
Software Development for Windows Vista EventDeliveryFailedExceptions in WWF
Hi, In our customer project we have created a smart client application which uses Windows Workflow Foundation for screen flow management. Our problem is that the workflow runtime randomly throws EventDeliveryFailedExceptions when we fire events from this host application to a specific workflow instance. Because it only happens randomly we assume that there might be a timer disabling the target workflow or a bug in Windows Workflow Foundat ...Show All
.NET Development MSXML Core Changes in Srv. 2003 SP1
Upon deployment of SP1 onto some Server 2003 servers, I noticed DTD handling changed. I'm now required to have the DTD in the same directory as my executables rather than the XML file I'm reading in (two different directories). Does anyone have documentation proving this change I failed to find a reference to this in the SP1 changes and fear it is yet another behind-the-curtain change from Microsoft. ...Show All
Windows Forms why is this wrong
try { SqlConnection ListTick = new SqlConnection(SQL_CONNECTION_STRING); string SQL_List = "SELECT * FROM Support"; // initialize dataadapter with query SqlDataAdapter myAdapter = new SqlDataAdapter (SQL_List, ListTick); // initalize and fill dataset with query results DataSet myData = new&nbs ...Show All
Visual C# Visual Studio's propertygrid - How do I reset it?
Hi there, As I'm new to the game of C# and visual studio, maybe the question is the wrong place or the answer is so easy it's emberassing, but still... (I'm working in Visual studio 2005 beta2 - C# ) I'm building an VS add in which uses Visual Studio's propertygrid window to display stuff for my class-instances. object [] a = new object [1]; a[0] = aObject; ParentToolwindow.SetSelectionContainer ( ref a); That works like a charm ...Show All
Visual C++ cannot convert from 'System::IntPtr' to 'Form1 ^'
Hello, Im passing a pointer of a form to be used in a Event handler, this goes well untill the pointer is been converted to the form again. The code looks like this: class cBlah { public: System::IntPtr Parent; // Parent pointer static void (*EventHandle) (cBlah^ obj) // Event handle blah (System::IntPtr ptr, void (* handle) (cBlah^ handle)) { Parent = ptr; ...Show All
Visual Studio Team System Event log errors RTM Workgroup edition
I have just installed the workgroup edition on a fresh installation of Windows Server 2003 R2. I'm getting the following errors in the application event log on boot: 1) MS SQL Server - Failure Audit - Event ID 18456 "Login failed for user 'domain\tfsservice'. User: TFSSERVICE Followed by 2) Windows SharePoint Services 2.0 - Error - Event ID 1000 #50070: Unable to connect to the database STS_Config_TFS on THUNDER. Check the ...Show All
Visual C# Access a bit in a Byte, Help!
Im trying to access a bit in a byte. does anyone know how to do this i cant seem to find any documentation on it! more specifically i want to access bit 2 in the byte that containes boolean values, and i want to return whatever is in bit 2 (whether it be true or false). can anyone help! please! To see if a bit is set in a byte you do a bitwise "and" operation. That is the "&" operator in C# You use a mask to check what is set Bit#&nb ...Show All
Visual Studio Express Editions beginner writing program
Ok I am writing a program that takes 3 grades and performs the sum of them and compares to 189. If the total sum is higher than 189 it displays the score and pass. If the score is less than 189 it displays the score and fail. The problem lies in that in the fields where i input test scores it should only take numbers, but the program actually lets me put letters on it. If i put a letter and try to calculate the program crashes. I wanted to se ...Show All
Software Development for Windows Vista Help Need WinFx Beta 2 Runtime!
Hi, Please Help! Where can i find the WinFx 2 Runtime for Download Thanks Peter See the bottom of this page for links to download the latest version. ...Show All
Visual Studio 2008 (Pre-release) Command pattern
I read some articles on implementing such a feature by extending the Command pattern. Now, WPF has an implementation of this pattern (System.Windows.Input) and I'm using it already. So here's my question: how do I add the Undo/Redo in an orderly way One of the things I have considered is extending the CommandManager but: 1. how do I get my window to use it 2. it is sealed... Any suggestions -- Erno ---- WPF tutorials: http://blogs.infosupport ...Show All
