Dwain Douglas's Q&A profile
Visual Studio Express Editions Trouble with opening a new window
Recently I've been handed with a project that requires a window to open another window. The problem is that I can't find a way to open a new instance of itself. The client should click a button and a new window of itself should open up. Is there a way to accomplish such thing Thanks The previous example given shows dialog interaction - you wouldn't interact with a copy of the same form Hence the variable ...Show All
Visual C# How to create Desk Bands in C#
I would like to write a desk band is docked on the taskbar in C#. What I can get from MSDN is only sample code in C++. (Desk Bands) Can anyone give me some guidance or idea Thanks! ...Show All
Windows Forms mouse_press event ???
Hi, I want to perform some function repeatedly while mouse right-click or left-click is presed. While (Mouse rightCLick is down or MouseLeftLClick is down) Do SOmething End while Basically, i am looking for the same functionality as KeyPress event but it seems there is no MousePress event. Thanks, I know these 2 events, but these are raised only once when mouse button is up or down. I want to ...Show All
Visual Basic Toolstrip radio buttons
I want to implement a set of radio buttons in a toolstrip (VB 2005 beta 2) I can set the checked state of the button which has been clicked because the event handler passes its id back; but how do I uncheck the other one when all I know about it is that it is, say, the third one along the toolstrip I want to write something like toolstrip1.button(3).checked = false but the toolstrip class does not appear to have a member called button or an ...Show All
Windows Forms Viewing a word doc within a Windows Forms Application
I would like to display a word document within my windows form application. Currently I am using the IE activeX control and passing it the word doc location. There must be a more elegant solution. Yes there is a lot of code I left out of the post... I only posted the code relevent to obtaing the underlyi ...Show All
Visual C# Object reference not set to an instance of an object.
The following piece of code is causing this error... this.ImageMap.MouseDown += new MouseButtonEventHandler(this.ImageMap_MouseDown); can anyone help me Konstantin is correct. This error (NullReferenceException) occurs when you attempt to access a member (properties, events, methods, etc) on an variable that does not have a value (instance) associated with it (ie the value is null). ...Show All
SQL Server MSDE & SQL Server 2005 Mobile Server Tools problem
After installing MSDE(with SP4) and SQL Server 2000 SP4 Replication Components, the SQL Server 2005 Mobile Server Tools installation fails when running the System Configuration Check with a SQL Server requirement Error. "You must first install the Replication Components for SQL Server 2000 SP 3a or higher or the SQL Server 2005 Replication Components" Am I getting this error because I'm using the Desktop Engine version of the SQ ...Show All
Visual C# ProgressBar property missing?
My question is: how do I change the color of a progress bar By color I mean that intense green used to draw the blocks of the bar. I found a property in .NET Framework 1.1 called ProgressBarColor that is supposed to do that, but I did not find it in .NET 2.0. Did the programmers overlook it on purpose or by mistake Many thanks Michel, I think I got it. I suspected from the beginning that the effort was not w ...Show All
Visual Studio Team System Client expiration?
Does the Team Foundation Client that's on the Trial DVD have the 180-day expiration, or is that just for the server components Thanks, --Oren ...Show All
Visual Studio Tools for Office Problem of Office add-in (C#)
I have a problem in that I have a MS Word Add-in which works fine on the computer where I developed it (in MS Visual C# .NET) but when I try to deploy it on other machines it doesn t work. To deploy the project I am using the Setup project from the Add-ins solution explorer as per instructions at, http://support.microsoft.com/default.aspx scid=kb;EN-US;q316723 I tried to isolate the problem using some simple examples. I made an add-in that s ...Show All
Visual Basic Single-character color codes
Basically, i'm trying to achieve the following: I have an array containing a set of "tags", i.e "^7" is the color black, "^z" is the color grey,... So when a user types in the following: ^7YE^zS It should show the word YES, with 'YE' in black and 'S' in Grey. How can I achieve a fontcolor for individual characters in VB.NET I allready have a 2-dimensional array containg the tags(^x) and corresponding hexadecimal colorcode, so the input data isn' ...Show All
Smart Device Development How can I message a numericUpDown control to select all text. Would EM_SETSEL work?
Any advice would be appreciated. Thanks! See your original post for the answer. ...Show All
Visual Studio Express Editions Printing to IP Address
Hello, I am using VB.NET Express and I need to know how to print a scanned .TIF image to a printer on a HP JetDirect external print server. I am building a small array containing IP addresses of printers in our hospital, and I would like the user to click on one of many buttons labeled with floor locations which would send the .TIF file to the corresponding printer. I am in the process of learning Visual Basic solely for this project, and am ...Show All
Visual C# 'Exclude Files From Project' - Beta 2
How do I 'Exclude Files From Project' in VS 2005 I have a solution that requires files to exists in the directory structure but not be compiled. Where has this functionality moved to Also, what happened to the 'Show All Files' option Regards, I am having the same problem with the same tools. please let me know if you find a work around ...Show All
Visual Basic capturing an dumping video streaming via http
Hi all. I'm new to Visual Basic .net 2005 beta 2 so excuse me if my question is too simple for you. I need to create an application that connects via http to a local video server (it has a local private IP address) and then shows a live video stream coming from the server. Moreover I want to let the user save the video stream he is seeing in that moment, to see it again later (with any media player). In other words I need to dump (or grab, o ...Show All
