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

Software Development Network >> Don Isenor's Q&A profile

Don Isenor

Member List

TalYam
Eric Hutzelman
dotNET Dev
Lambros Vasiliou
Ayooya
Simon Telling
Rogma
cgraus
xRuntime
PugV
Chuff
MohamedSolyman
JWTK
foomunchoo
John.Doe
phoenixoxo
raghu_grdr
Chris Honcoop
RubenPieters
MaggieChan
Only Title

Don Isenor's Q&A profile

  • Visual C++ Which icon appears in the task bar?

    First, I apologize if this is in the wrong forum (the "VS General" is to be shutdown). I have created in VS C++ 2005 a project with two icon types in the resource list: 32x32 and 16x16, both 16 colors. Thus, in Explorer (details view, large icons view, desktop, etc.) the executable is represented properly. However, when the program is running, the process tab icon in the task bar is still the generic Visual Studio icon. Which kind of icon is that and how do I create it (if it is more than simply different size/color depth). Thanks. Kamen Make that SM_CXSMICON and SM_CYSMICON . Bill ...Show All

  • Visual Studio Team System Testing Tool of Microsoft Team foundation server?

    Hi. Please tell me Which Testing Tool , microsoft team foundation server uses Thanks If you are asking about third party testing tools there are a number that can integrate into VSTS/TFS. The Mercury tools for instance apparently integrate well and Test Complete integrates but I can't recall to what extent on Test Complete. Though I have not looked in a while I imagine some open source tools either do or well underway to be tightly integrated. There are othr options I have no doubt. As Mario mentions I have found I like the built in test tools in Team System Tester Edition but have found to meet all my testing needs even in smoke test that I don't consider overly extensive on web stuff I ended up with a combination of test tools bo ...Show All

  • Windows Forms Printing - Getting notification of print

    I would like to write an application that sends print jobs to a printer and notifies the user when the job actually prints. If the job doesn't print it would be nice if I could tell the user the printer is out of paper or is powered off but this isn't a must. I really just need to notify them when/if a job successfully prints. I've done some looking around and found code which lets you monitor a print queue making a bunch of API calls. I'm wondering if there is an easier way to get notification when a print job prints from a network printer. I'm currently sending the job using the PrintDocument class but it doesn't give you a way to track the print job (not that I know of anyways). I appreciate any links or other informatio ...Show All

  • Visual Basic VS 2005 - Reading XML config file

    My solution consists of a Windows Library (that creates a DLL), an EXE that is the Windows Service and a Setup project for deployment. The Windows Service references the DLL project. Everything is installed and deployed. 1. When I run the service, my code needs the current directory of my installed windows service application and library (c:\Program Files\Perf\PerfService in this case) but when I use the following code: path = My .Computer.FileSystem.CurrentDirectory It returns : C:\WINDOWS\SYSTEM32 How do I get where my DLL and EXE are installed 2. I am using a My.Settings config file (app.config) to store application settings for the DLL. How do I include this in my Setup project so that I can manually change settin ...Show All

  • Visual C# probem with generics

    Hi, I've written the the code below: static public void Test<T>(T arg) { write(arg); } static public void write( char c) { Console .WriteLine( "char" ); } static public void write( int c) { Console .WriteLine( "int" ); } It should be possible to write like this: Test('c'); or Test(10) and the appropiate write methods should be called. When I try to compile it I get two errors: Error 1 The best overloaded method match for 'tester.Program.write(char)' has some invalid arguments. Error 2 Argument '1': cannot convert from 'T' to 'char'. Is there another way to make the templated method call the appropiate methods. It seems to me that writing some ...Show All

  • Visual Basic Adding a sheet from a template in Excel

    Hi, Lots of references on how to use Excel from VB .Net, can get most of it working but cannot get Excel to add a new sheet to a workbook from a template. Looked on MSDN and found details on the sheets.add() method but it does not give examples it just says "you can add a sheet from an existing template" but does not say how...sigh. http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.excel.sheets.add.aspx Here is the example I am taking apart to attempt this: Public oexcel As Excel.Application Public obook As Excel.Workbook Public osheet As Excel.Worksheet Sub Main()       Try 'create new excel application  oexcel = CreateObject("Excel.Application")  oexcel.Application.DisplayAlerts = False ...Show All

  • Visual Studio Express Editions How can i kill a process?

    o.k i i am trying to kill the iexplore.exe process what am i doing wrong here the code: Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ps As Process ps = Process.GetProcessByname( "IEXPLORE.exe" ) ps.Kill() End Sub i get this error: Error 1 'GetProcessByname' is not a member of 'System.Diagnostics.Process'. the funny thing is that the exact same code works with "getprocessbyid" tnx nice (: it's working now ypu see, i learnt a program language once so i tried to search for the problem. but since i am not fimiliar with vb i didn't know many things for example how to get ...Show All

  • Visual C# Create a new object through the property grid

    My apologies if I didn't label this subject appropriately. I couldn't think of anything better to put as the title. I don't know if this is even possible, but I figured this forum would be the best place to find out:) I have a property: [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( typeof (System.ComponentModel. ExpandableObjectConverter )), Category ( "Inherited Physical Values" )] public Shapes. Shape Shape { get { return _shape; } set { _shape = value ; } } The Shape property is from a parent class, "Physical" and is inherited in many child classes. The Shape class is obviously an abstract class which has m ...Show All

  • SQL Server Problem to logon

    Hi, we had a Problem that a colleague can't connect the SQL-Server on one server. We use the VSTS 2005 and SQL Server 2005. He is trying to build a ne connection to the virtual maschine with his windows account and got the following message Login Faild for User ''. The user is not associated with a trusted SQL Server connection. He is user on the database and the server. he has dbowner rightson the database he tryed to connect. How we can fix this Problem. Thanks Thomas Hi, Thomas , refer below KB which has work around for the problem you are facing. http://support.microsoft.com/kb/889615/en-us Hemantgiri S. Goswami ...Show All

  • Windows Forms Resizing a control problem in design mode

    I have created a UserControl and a designer for it and I am having problems with the adornments drawing incorrectly when resizing the control in design mode. When resizing the control, the adornments are drawn to the original control bounds and not to the resized control bounds. If I select something else, and reselect the control, the adornments draw correctly. Here is how I am declaring the UserControl: [ Designer ( typeof ( UserControl1Designer ))] public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } } Here is the designer code: class UserControl1Designer : System.Windows.Forms.Design. ControlDesigner { protected override void PostFilterProper ...Show All

  • Visual C++ Best practices: marking threads as answered

    Just a friendly reminder to make sure you mark threads as answered if 1. you are reasonably certain that the thread has been answered, or at least the original poster is getting sufficient attention, 2. the thread has gone stale, or 3. the post has been deemed off-topic.  The reason for this is to encourage others to read a thread that still needs resolution. Thanks. Brian   Well, let me explain what I meant - may make more sense, especially as I've done it recently. I had a doubt about the PDH library that comes with the Platform SDK, and which didn't seem to be working correctly in Visual Studio 2005. So I made a question about it, got it solved - and then, I had another doubt, ...Show All

  • .NET Development How to code an NT Service (in C#) so it can be run from the command line as well?

    HI, I'd like to create an NT service that I can also run from a command line. I am using .NET 2.0. I tried the following code, but keep getting "Invalid Handle" exception on Console.Readline... The same code used to work under .NET 1.1!! Any help is much appreciated! public static void Main( string [] args) { if (args.Length > 0 && args[0].Equals( "console" )) { MyService service = new MyService (); service.OnStart(args); Console .ReadLine(); service.OnStop(); return ; } else { ServiceBase [] ServicesToRun; ServicesToRun = new ServiceBase [] { new MyService () }; ServiceBase .Run(ServicesToRun); } } Hmm - the OP is just doing ...Show All

  • Windows Forms MaskedTextBox Prompt Char Gone when readonly

    I am trying to use the MaskedTextBox to show a price of a product. When the readonly property is true the prompt char is not shown. So when i populate the box with "40.25" is show as "4 .25". I have thought about setting the Enabled property to false but the fore color is to light to see. The allowPromptasInput is set to true. Am i missing a property or something. Can anyone help Thanks for the help gglu! When i used a different prompt char it would work. So changed ResetOnPrompt = false. It seems to work like i need. Thanks again for the help ...Show All

  • Windows Live Developer Forums Blocking registration in Windows Live for specific domains?

    Is there a way to block Windows Live from accepting registrations for specific domains that we own We have having a constant problem with people registering non-existant emails under own domains and then trying to trick others into thinking that they are affiliated with us. ...Show All

  • Audio and Video Development Is there a Windows Media Engine for GoogleTalk (LibJingle)

    Hello, Does Windows (or Windows SDK) have a Media Engine that can work with Google's LibJingle library According to Google, the requirements for something like this are (copied from http://code.google.com/apis/talk/libjingle/scenarios.html) The ability to capture or render media data as required from the computer hardware. The ability to encode and decode media using suitable codecs. Currently, to work with Google Talk, you must support at least one of the following codecs: PCMA, PCMU, G.723, iLBC, ISAC, IPCMWB, EG711U, or EG711A. The ability to understand Real-Time Protocol (RTP). MediaEngine must work with the P2PTransportChannel class, meaning it should be capable of receiving incoming packets by a function call an ...Show All

©2008 Software Development Network