Dave Joyner's Q&A profile
Visual Studio Express Editions BindingSource Navigation
Hi, I've got a Winform with a number of controls that are directly bound to a bindingsource, I've also created a list box and a combo box that will be used for quick record selection. The problem is that both the list box and combo box, have a custom query source. What I would like to know is how to navigator to the selected record and how to change the other control to the same record. eg. If the user selects a record from the List Box, I want ...Show All
Visual Studio 2008 (Pre-release) WPF hosted in Winforms. Is there a problem with mouse events?
I've got a WPF UserControl that I'm hosting in a Windows.Froms application and it crashes when I move the mouse over my UserControl. I've switched off handling the mouse move event, but it still crashes. Is there a problem Here's the exception dump: System.NullReferenceException occurred Message="Object reference not set to an instance of an object." Source="WindowsFormsIntegration" StackTrace: at System.Windows.F ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Normal Mapping Vectors with Wrapping
The function D3DXComputeTangent computes normal mapping gradients (tangents and binormals) for each vertex in a D3DXMesh. This function has a parameter which sets Wrapping to true or false. How does this parameter affect the gradient calculations The actual algorithm that it uses is fairly simple, what wrapping does is essentially give you 3 options to place the texture coordinate at in a given dimension. So th ...Show All
SQL Server Database moved - How to change subscription of another user.
I want to change a subscription that has been created by another user. I'am NOT an administrator of the server, but I've given me all Reporting-Services permissions (including systemadministrator). The logfile says that I have to be a member of the sysadmin-role to change subscriptions owned by another user. Thanks Benjamin I found out, that the problem appears when I move the database from one machine to anot ...Show All
.NET Development How to handle control characters
I'm encountering invalid-character errors when attempting to load XML from a third party. For example: "' ', hexadecimal value 0x01, is an invalid character. Line 70, position 9." The problem character in that case is an "SOH" control character, which looks like a little rectangular box in my text editor. Is there a common best practice for handling these Perhaps a simple search and replace routine to remove characters wit ...Show All
Visual C# Using Outlook events in C#
Hi all, Does anyone know how to capture events in C# with VS.NEt 2005 using Outlook tools. For example, I want to know when a user delete an item (email or appointment) and delete it form the DB. Thank you very much! ...Show All
Visual Studio Team System can't publish test result
The publish operation fails with the error message:Server was unable to process request. ---> Attempted to perform an unauthorized operation. Anyone encountered such problem Is it because I don't have enough perm to publish a test result The following is my publish steps: 1. Build the team project - Success; 2. Run tests and click publish in ...Show All
.NET Development My Typed Dataset is Serializable, a single Row isn't?
.NET 2.0 beta 2 Hello Community, I have a .NET Service which is able to return a whole list of Articles (Typed DataSet: ArticleDS including a DataTable ArticleDS.ArticleDTDataTable ) which works great. I have another Service Method which will return all Article Details when i pass in the selected Row (of Type ArticleDS.ArticleDTRow ) - which contains some columns i need to obtain the Details, i get a System.Runtime.Serialization.Serializa ...Show All
Windows Forms Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead.
i got this message: "Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead." what's the problem i used 2 forms to check the settings the first to ckeck the connection string if it was saved i run the second to check the Choosen Language, and it is another user saved setting the first code: Dim con As SqlConnection = New SqlConnection( My .Settings. ...Show All
Windows Live Developer Forums MSN Codecs - Siren problems
Hello. I'm developer and work on small tool, for interacting with MSN Messenger. By some reasons, i can't use sirenacm.dll, so I get the G722.1 decoder, and try to work with it. All ok, while Messenger uses G722.1 with bitrate=24000, but when it start using Siren (that should be compatible to G722.1,a s i know), i got only noise with some high peaks. Maybe some one can told me, whether Siren, that used in MSN Messenger compatible with G ...Show All
Visual C# get the IP and port from EndPoint
I have a udp connection and on the server I get the EndPoint from the connected udp socket, how can I pull out the ip/port from the EndPoint class Cast it to IPEndPoint and you have the Address property. IPAddress address = ((IPEndPoint)socket.RemoteEndPoint).Address; ...Show All
Windows Forms listbox control
how do I manually add in listbox items in at runtime that act like they have a databinding. example ( I know this is incorrect) ListBox1.Items.Add("display",value) basically how do you add an item with a name/value pair would I have to create clas ...Show All
Windows Forms VS 2005 RTM WINFORM DESIGNER BUG IS DRIVING ME CRAZY
I have a project with various forms but when I try to view the designer for one of the forms I get the following error messages -even though the project atually compiles : I Have looked around and if you type "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. " IN GOOGLE you gets loads + a notification by Microsoft that says that they could not fix it before release http://lab.msdn.mi ...Show All
Visual Studio Fail to display the deployed report on localhost/reportserver
I used 2005 version to create a report. All are OK and even Build is successful and Deploy to localhost/reportserver is successful too. But when I use IE to open http://localhost/ReportServer and locate my report and try to open it. There are the error messages as follows:(I tried several time with different deployed reports but system displays all these kinds of error messages) An error has occurred during report processing. ...Show All
Visual C++ TreeNode->NextNode TargetInvocationExeption
Hello, I'm working on an application that checks for certain nodes in a treeview. I did this by setting a treenode variable to the first treenode is my treeview. Then it'll check if it's text contains what I'm looking for, and if it hasn't found it it will do node->NextNode and check if that node contains the text I'm looking for and this will continue untill I find the requested node. It looks something like this: TreeNode^ node = tree ...Show All
