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

Software Development Network >> Duane Haas's Q&A profile

Duane Haas

Member List

Modeller
heimdaloz
parmanu
John.Jonsson
CLOlds
georgeob
Jeffrey Harmon
Greg Y
jccsharp
MacedonHacker
CootCraig
den2005
Heathermack
Ultrawhack
Binu Jeesman
Roman Kiss
Paval
Vladimir Chtepa
delamble
Ronaldlee Ejalu
Only Title

Duane Haas's Q&A profile

  • Windows Forms Need some information from all you smart follks... :)

    Let me tell you a little about myself. My name is Dave Scott Anderson, I am 16 years old and have been programming in C++ for 2 years, C# for a couple months, and HTML for over 5 years. I have become quite addicted to C# programming with Windows Forms. I have finally decided that I want to purchase the full version of Visual Studio...But heres the problem... Where are Windows Forms technology headed Would it be a waste to purchase VS2005 since Microsoft is going to come out with Vista and the .NET Framework 3.0 I need advice on this.... Programming is what I love to do. And I prefer to be up to date with technology... Sorry if this is in the wrong forum... but it is related to Windows Forms, so I posted it here. Yes, everybodies ...Show All

  • Visual Studio Team System Rollback

    Baseline Branch A Branch Developer 1 Branch Developer 2 I have my branches layed out as above. Both Developer 1 and Developer 2 have merged their changes into Branch A. Now, I need to remove or rollback what Developer 2 has done and retain what Developer 1 has done in Branch A. I'm unclear on how to even do this. What's the best way to approach this rollback G'day, As far as I understand the inner workings of power toy, it does not truly rolls back the changes to some point in time, it instead just takes the changeset version you want to return to and checks that in as new changeset, so your history will have additional revision after rollback. Yours truly, Eugene ...Show All

  • Smart Device Development keybd_event() drops duplicate characters

    To All, I’ve written a program which takes the input from a barcode scanner and sends it as a keyboard wedge to any textbox that has focus. I’m using keybd_event() to send the characters, and the program works well, unless I have duplicate characters in my character array. For example: FQT-123 in my array displays just fine in the textbox. However, FQT-100 will display as “FQT-10” Or “Q6335-10009” will be read out as: “Q6334-1009” or sometimes as “Q634-109” I’ve tried to remedy this by throttling the FOR loop that iterates through the character array with a sleep(50) for (uiLoop=0; uiLoop<uiCount; uiLoop++) { Sleep(50); keybd_event(bOutput[uiLoop], 0, KEYEVENTF_SILENT, 0) ...Show All

  • Visual Studio Express Editions html using the RTB

    Im trying to create web pages using the RTB but evry time i save the contents of the RTB as a html file it shows this code ({\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 \par \par \par \par \par \par \par \par \par \par \par \par }) does eny one know how to correct this You can't just change the file name extension and expect it to work. The rich text box (save method) saves text as rich text: a completely different format to HTML. You want an HTML editor of some kind, or you will have to parse the contents of your rich text box and manually create HTML from that. ...Show All

  • Visual C++ Help with a VS C++ file

    I have a Visual Studio C++ file that I need to combine with a VB6 file. Preferably, I would like to go ahead and update the VB6 file so that it is completely tied together in VS 05. I need some help with the C++ file so that I can combine the two functionalities. Is there any way to use a form created in VC++ and apply it to a VB2005 project or vice versa. The C file is being used to communicate with a USB device and the VB file is communicating with a Can Bus. Any help would be greatly appreciated. 1. Is there any way to combine a VB 2005 project with a VC++ project and have both pass information back and forth. 2. If there is not a way to combine the two, what is the best strategy for re-writing the code in one or the other. I a ...Show All

  • .NET Development Delegate / event and serialization with SOAP

    Hello! When I tryed to serialize the Class1 object (by calling the save_Click..) I got the following exception message: "Type 'Hello.Form1 in Assembly 'Hello, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable". How can I solve this problem Is there a way to tell the SoapFormatter() that events/delegates don't have to be serialized //////////////////////////////////////////////////////////////////////////////// Form1.cs //////////////////////////////////////////////////////////////////////////////// namespace Hello { public partial class Form1 : Form { private Class1 myClass; public Form1() { InitializeComponent(); myClass = new Class1(); // I think th ...Show All

  • SQL Server Login Problem

    I have recently upgraded Visual C# Express Edition to Visual Studio 2005 Edition. Then I also installed SQL Server Management Studio Express Separately. Now my previously SQL Server Authentication login is not working. I am able to do only Windows Authentication. With SQL Server Authentication it is not working which is working properly prior to installation. A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233) check all the Network Protocols are enabled or not... follow these step ...Show All

  • Visual Studio Team System Custom Schema Upgrade

    I just spent a couple of hours playing with the product... it's very cool indeed. Great job. What I'd like to do is automate deployment of a schema change to a live database (with data) when the schema change is not so straightforward. For example, add a non-nullable column without a default value, or change a column from nullable to non-nullable. For a more concrete but simplifistic example, imagine I have a table with 'FirstName' and 'LastName' columns, and I now want to add a non-nullable 'FullName' column that would be the concatenation of the FirstName and LastName. Obviously this is impossible to do without custom script to provide the values for the non-nullable column for pre-existing rows. But do you allow the specification ...Show All

  • SQL Server Virtual Labs - Resources available?

    Hi Forum You can download a lab manual for the virtual labs. But what about the resources Does anyone know The remote desktop connection is too slow so I can't take the actual virtual labs. ..or it would take like 4 hours to run a 1 hour virtual lab. I have been lucky enough to find the recource files for .Net 3.0. So I could just run the labs locally. Is there somewhere where one can download the resources for the SQL2005 virtual labs (This is solutions, scripts and so on that is referenced to in the lab manual.) I'm looking for the one on Service Broker We don't cover the virtual labs in Books Online, but you can learn more and get them here: http://msdn.microsoft.com/virtualla ...Show All

  • Visual Studio Express Editions anyone can kindly help me on this problem (nable to add data connection. The DataConnectionDialog could not be intialized.)

    Im having trouble creating a new connection through Visual Studio Web Developer. When I try to add a new connection all it gives me is an error-Unable to add data connection. The DataConnectionDialog could not be intialized. When I test my page it seems alright going to the localhost but when I try to add a connection it wont let me.What could be the cause And how can I fix this problem I want to connect to the sql server on my computer.. I cant because of the error aboveAnyone can kindly help me with this problem if you have experience it Im having trouble creating a new connection through Visual Studio Web Developer. When I try to add a new connection all it gives me is an error- Unable to ...Show All

  • Software Development for Windows Vista concept behind the condition " if (act.parent != null) " ??

    Why should we check the condition " if (act.parent != null) " in the Validate method of ActivityValidator Thanks & Regards, Chakri. If you don't then the validation is done when you are building the activity as well. In most cases you only want this validation to be done if the activity is being used in a workflow or another custom activity. The way you can get around the need for the null parent check is to use a C# class library project instead of a activity library since the validator is not called at compile time outside of a workflow project. ...Show All

  • Internet Explorer Development IConnectionPoint::Unadvise fails in IE7

    Hello, We are testing our BHO with IE7 (7.0.5700.6). Upon browser startup, the BHO calls IConnectionPoint::Advise. At browser shutdown, it calls IConnectionPoint::Unadvise with the same cookie returned by Advise. Unadvise is returns CONNECT_E_NOCONNECTION. One observation is that if I call Unadvise immediately after Advise, then Unadvise returns S_OK. This behavior is not observed with IE6. Also, I had an earlier build of IE7 installed (not sure what build number, but I installed it around a month ago), and this problem did not occur with that build. Any ideas why Unadvise fails or are there any troubleshooting steps I can use to investigate this further Thanks, Roy Thanks for the recommendation. I'm sure ...Show All

  • Visual Basic Problem to attach vs2005 to process vb6.exe

    Hi, I try to attach my vs2005 ide to a running vb6 application. I did everything as it was pointed out in the help " How To: Debug a Hybrid Application". Unfortunately I am not able to set a breakpoint that will be hit by the running hybrid application...The system tells me that "The breakpoint will not currently be hit. No symbols have been loaded for this document" although the vs2005 ide is running (which I interpret as having attached to the vb6.exe). I have to saxy that when I add the reference of the .net project to vb6 ide I can not do this with the classLib.tlb file from the \bin\debug\ directory but from the \bin\release\ What is my mistake Why is only the \bin\release\classLib.tlb file loaded into v ...Show All

  • Windows Forms Draw on top of Image

    Hello. I have a custom control that loads a large image and displays it on screen (using scrollbars). The problem is that I want to draw on the visible part of the image (the part that is currently on screen) and I want to be able to modify the things that I'm drawing (i.e. if I draw a line on top of the image, I want to be able to remove that line later). I did something like this, with the help of this forum: (where Image image = Image.FromFile("picture.jpg"); ) protected override void OnPaint( PaintEventArgs e) {    e.Graphics.SmoothingMode = SmoothingMode .AntiAlias;    Rectangle src = new Rectangle (-AutoScrollPosition.X, -AutoScrollPosition.Y, this .Width, this .Height);    Rect ...Show All

  • Visual Studio 2008 (Pre-release) Texture mapped on 3D looks blurry

    The recent Channel 9 video showing 3DTools encouraged me to pick up an old project again (creating a 3D virtual earth client in WPF). I made some advancements, but I ran into a problem regarding the mapping quality of images onto a 3D sphere. I use 3DTools to map the 2D map on a sphere (using special TextureCoordinates to undo the Mercator projection). When I zoom in at the sphere (using the 3DTools trackball class), the texture doesn't appear as sharp as I'd like it to. For example, take a look at the image located here . Compare the red underlined text at the left (which is the 3D sphere texture) with the red underlined text at the right (which is the 2D 'ghost', used as texture for the sphere). The 3D texture is way more blurry tha ...Show All

©2008 Software Development Network