Software Development Network Logo
  • Visual Basic
  • SharePoint Products
  • Microsoft ISV
  • Visual C++
  • Visual FoxPro
  • .NET Development
  • SQL Server
  • Game Technologies
  • Windows Vista
  • Visual Studio
  • VS Team System
  • Visual C#
  • Audio and Video
  • Smart Devicet
  • Windows Forms

Software Development Network >> Will Durning's Q&A profile

Will Durning

Member List

Raphael Pina
tyler000
Sam Vella
ghost23
Rakesh Jha
OmegaMan
Klaus Hoeltgen
Martinp23
Tufelix
Michael Rodrigues
Naolin
Ghia
usamaalam
evci
ProSlamBanO
GinaK
Kfir Dadosh
Spigot
Andy Britcliffe
TomSanford
Only Title

Will Durning's Q&A profile

  • .NET Development raising an event via reflection

    Using reflection is it possible to check if an event has a handler and more importantly raise that event. I have a string with a value of the event and the object instance which I need to fire. Thanks for the VB example. Seems a lot of folks are stuck on this issue. Here is a c# flavor of it. public event EventHandler<EventArgs> MyEventToBeFired; public void FireEvent(Guid instanceId, string handler) { // Note: this is being fired from a method with in the same class that defined the event (i.e. "this"). EventArgs e = new EventArgs(instanceId); MulticastDelegate eventDelagate = (MulticastDelegate)this.GetType().GetField(handler, ...Show All

  • Windows Forms DataBinding a TextBox to a field from a related table.

    I have a Master/Detail table related with a relastion. The Parent Grid Shows the Master records, and the Detail Grid shows the related records as it should. The Detail Grid is on a tab, and the second tab is a number of TextBoxes that I want to bind to the detail table so it can be edited. The databinding is done with this line of code: this .txtTask.DataBindings.Add( "Text" , this .DataSet, "Customer.relCustomerToTask.Customer" ); No error is thrown, but the textbox fails to show any data, and does not seem to actually be bound. I cannot find a reason for this not to work as expected. Like I mentioned above, the grid to show the detail table works fine, so it should be a simple matter to bind the textbo ...Show All

  • SQL Server How to hide subtotals if only 1 row in group?

    Hello, I have established a group so that I can provide subtotals following the presentation of the group's detail rows. I'm finding that many of the groups have only one row and my subtotals just echo what was already presented on the detail line. The overall effect is confusing to the user and a real vertical space-waster. Can someone give me a technique or expression for hiding subtotals when the group size is 1 but showing subtotals when the group size is >= 2 If I hide the group when the group size is 1 row then the one detail row is hidden as well, no Thanks! BCB But I just want to hide the subtotal line. Won't your approach hide the one detail line that belongs to the group as wel ...Show All

  • Visual Studio Team System changing TFS workgroup to TFS trial

    Hi everybody, I've installed TFS workgroup edition in over company, And so far it's works OK (haven't added a lot of code to the source control but then again our server does not meet the minimum requirments :) The problem is that in the next couple of weeks we are going to hire another programmer and we already use 5licenses. Is there any way to replace the installation of the TFS workgroup with TFS trial (hopefully, in those 6 months we'll be able to convince the company to buy a licence for the full TFS). Nadav According to MSDN you can upgrade from Trial to Workgroup but not the other way around: http://msdn2.microsoft.com/en-us/library/ms404844.aspx I believe you’ll need to ...Show All

  • .NET Development How to empty a table in a database

    Hi, I use VB 2005 Express edition. I want to empty a table in a MS Access data base and set the primary key to 1 for the next entry. How can I do that Thanks! In your CompactDatabase statement there should be a space between "Data" and "Source" in your source database connection string. In addition, if I recall correctly, the destination file cannot be the same as the source. You will probably need to specify a different destination file name. If you want to retain the same file name you can delete the source and rename the destination after compacting. ...Show All

  • Visual Studio 2008 (Pre-release) Getting an error for setting UserNamePassword Token setting for WCF Service on IIS usin basicHTTPBinding.

    I am getting the following error when I browse the Service.SVC file: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http]. I have done following step, can you please tell me what am I missing 1. I created a seperate website on IIS with port 90. 2. I ran the following command to install the SSL certificate. C:\Program Files\Support Tools>httpcfg set ssl -I 0.0.0.0:90 -h a586fc83bd30d288 d2c08067c03ca51258c94e32 HttpSetServiceConfiguration completed with 0. C:\Program Files\Support Tools>httpcfg query ssl localhost:80 IP : 0.0.0.0:90 Hash : a586fc83bd30d288d2c08067c03ca51258c94e32 ...Show All

  • SQL Server Newbie Advice Installing SSRS

    Hi, I've decided to install SSRS (2005) on my windows XP machine. I'm not very familiar with IIS (i'm currently using version 5.1) and I think between IIS and SSRS, i've managed to break something. I've been looking at various articles to try and get some clarity on my predicament. However, i'm not getting any joy with them.s I have located the logfiles (which I can provide). Unfortunately, I have no idea how to intepret the information contained therein. Can anyone help Many thanks in advance Clint Hi James, thank you for taking the time to answer me. I will endeavour to provide the information that you requested. 1. The configuration window - This is what i'm getting when I view it. Picture held o ...Show All

  • .NET Development can’t find System.Configuration.Configuration Class

    Hi, I'm new in .net programing. I'm trying to use the System.Configuration.Configuration Class but it doesn't exist under the namespace System.Configuration. I've just installed SP1 for .NET 2005 but nothing changed. If somebody have a clue I'll appreciate it. Thanks, Rodrigo. ...Show All

  • Visual Studio Unable to evaluate in the Immediate Window: How to specify an specific module

    Hi, I have to different versions of a class loaded at the same time. When I am trying to debug, Immediate window reports that a class is defined in two differents ids. Is there a way to indicate that I want to use an specific id. Below is an example when typing Control ... System.Windows.Forms.Control The type 'System.Windows.Forms.Control' exists in both '{1FF9D862-38A6-4352-A1BC-17E1C0B67EC2}' and '{F8269605-A141-4646-A7EC-2B53F8724A78}' Thanks /Carlos ...Show All

  • SQL Server Oracle odbc driver on windows 2003 64 bit, SQL Server 2005

    God morning! I 've just installed SQL Server 2005 on Windows 2003 Server 64 bit. One of my databases need to connect to seveal Oracle databases. - I tried installing 64 bit Orcale 9 on this server. Got a strange message that the application (Oracle 64 bit) could not be installed on a 32 bit server! Strange! - I installed Oracle 9 32 bit on the server, but I could not find ODBC driver in the Data sources! Neither the oledb under providers in MSS Manager Studio! - Same result efter several desintall and installation. A college copied the .dll files och run a script to register the dll files. We could then se the Oracle driver in the Database sources, but we could not create any connection. - We have even tried an 10G version of Oracle with t ...Show All

  • Visual Basic Help - cant refresh rows in datagridview!

    Im struggling to refresh my datagrid after updating its datasource from a different form. On Double click of the datagrid a new form is opened to edit the record, once the details in the form have been changed I need to get the datagrid to refresh and show the new detaisl(either a new row or changed record). I know the database has been changed but it will not reflect in the datagrid(note I have tried datagrid.refresh), I have also tried calling the sub which populates the datagrid but with no luck. Any ideas Hi, Thanks for the reply. Unfortunately this isnt working for me, ive managed to set the reference to the baseform ok however when I try and call my populate dataset code from within the child ...Show All

  • Visual Studio Access VSS from Java code

    Hi, I have a requirement to access Visual Sourcesafe from within Java code. Is there an API implementation that is existing which I can use for the same The following actions will have to be performed through the interface - Check-in, Check-out, Label. Thanks for any help krish You can also take a look at Dynamsoft SourceAnyWhere, which provides a pure Java SDK for VSS access. No ActiveX is used. Take a look at: http://www.dynamsoft.com/Products/SAW_Overview.aspx ps: I work for Dynamsoft. Thanks. ...Show All

  • Windows Forms Sending and Recieving Keyboard Presses From a Program

    How would I do this I have limited C# experience and I know how to use SendKeys command Here is some sample code of what im trying to do but I cant get it to work. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; namespace Macro { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void ButtonIsPressed(KeyPressEventArgs keypress) { KeyPreview = true;// just figured I might need this for some reason /*Removed in case of was causing problems if (checkBox1.Checked && keypress.KeyChar.Equals(Keys.W)) { //My SendKeys here } */ if ( ...Show All

  • Visual Studio Team System Can I use load tests to get these results?

    Hi, I've been trying to figure out how do use the load tests to achieve what my team needs. I've asked different questions and got very usefull answers, but still can't quite figure out how to get the results we need. So, I decided to just describe what we need and hopefully someone knows how to do it or will send me in the right direction. We have a web application that we host for our clients. We suspect that there's a memory leak in one of the pages. Over time, our .Net application has to be restarted and we suspect that it's due to the memory leakage. We would like to use Visual Studio load tests to find out the relationship between how many times this page gets loaded and how much memory is being used (to see that the more the p ...Show All

  • SQL Server Audit All SQL Queries against all or specific databases

    Hello, I have a problem. I suspect a certain user in my company is using the SA account to log into Databases and run queries(query analyzer) to gather information this user is not suppose to view. The problem I have is this is an IT person so they know the SA password. How can I log specific or all queries run against all databases/tables/fields to find out exactly what this person is doing/seeing Or if there is an alternative to find out this information Please advise Hi, Well they are only running these in Select statements. These are not stored procedures. So I am assuming the SQL profiler would work with capturing the data on the database / hostname /application, etc. If you have a good ...Show All

©2008 Software Development Network