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

Software Development Network >> David Hanzelka's Q&A profile

David Hanzelka

Member List

Aaron Silverwatch
Drew Marsh
AdamB78
KAAU
kenneth123
A. Jeffrey
Krutika
js123
H.Saber
gokce
reichard
Shamirza
textman
Douwe
Ion101
GMan5309
Asim A
Mark1916
Jon Watte
dakerson
Only Title

David Hanzelka's Q&A profile

  • Visual Studio Help Needed to Properly Organize Projects, Etc.

    Hello... We need help/guidance/suggestions on the best way to organize our applications into VSS projects, and then how to use the setup going forward. We have a suite of applications that we sell as one product. So, the product we sell is, for example, named Foo, and Foo is made up of a number of different individual applications, for example, FooBar1, FooBar2, ... Ok. And, there are quite a few applications (.exes, .dlls, .ocxs, etc.) that make up Foo. Additionally, all the individual pieces (FooBar1, FooBar2, etc.) are written in different languages. We have Access .mde applications, we have C++ applications, we have VB 6.0 applications, we have .NET 1.1 applications, and we will soon have .NET 2.0 applications. All these diffe ...Show All

  • Windows Forms Custom Control

    How would I go about creating a custom control What do I create in the Designer In that case, create a new Windows Control Library. It it's properties, in the AccessibleRole choose PushButton or any other other control you want it to be. Is that what you wanted ...Show All

  • Visual Basic t USB DRIVE Detection

    I have an ALL in 1 Card Reader - for mobile multimedia card such as MMC - that I want to monitor from my program it connects to the computer through a USB port and the computer assignes a four drive letters to it you can think of it as multiple USB Stick Drives 1 - how I can obtain the drive letters associated to it when it connects to the usb port 2 - how I can monitor the insert/remove of any card I think there is a soultion arround Win32_VolumeChangeEvent but I've failed to find it and I've tried a piece of code based on Win32_DiskDrive and it didn't give me the desired result can any one help me please thank you mr. KevinBB I read that code before I post here It work ok if the card is ...Show All

  • Visual Studio 2008 (Pre-release) Feedback please: WPF for LOB applications (Data entry/Data Viz/etc...)

    Feedback please: WPF for LOB applications (Data entry/Data Viz/etc...) Are you using or considering WPF for Line-of-Business applications What has you excited about WPF for LOB We are missing some things that would help LOB scenarios...are you waiting or doing without What is your advice for the Microsoft here What would you prioritize Please comment in the forum and/or on my original blog post ... Thanks, Rob Hi Rob, * Yes, we do use WPF for LOB application (as well as WWF and WCF) (RTM is soon). * The most exciting thing about WPF - it's so easy to tweak visual appearance (comparing to GDI programming :). * Yep, a lot of basic (and not so basic) things are missing, y ...Show All

  • Architecture Solution Design?

    I was wondering if anybody could give me a few pointers on designing a large solution. We have a rather large application written in a legacy codebase that we are rewritting from the ground-up in C# 2.0. One of the problems I constantly face is the fact that I would like to break things up into separate projects to group common things together but then I always face the problem of "circular references". Can some of you folks who are developing large applications give me some insignt in how you structure your solution(s) I have thought about having separate solutions, but that seems to defeat the purpose of having multiple projects in the same solution! Here's one example of a problem that I face. I want to segregate al ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help With Model of SpaceShip

    Hey, i've been looking at the tutorial provided by microsoft on how to render a 3D model of a spaceship. I have completed it and added a reversing option with left trigger but now i want to make the camera follow the spaceship and to be able to also rotate the camera using the right thumbstick, does anyone know how to do this i will post my code below so you know what i have, any help would be nice. Thanks #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; #endregion namespace My3DGame { public ...Show All

  • SQL Server URGENT: PARAMETER ISSUES WITH SQL TASK

    I have read all the post about passing parameters from sql task in and out and have tried them all with no anvile. Frist of, they are too many types to deal with now, db types, SSIS types. Why the hausl. Can we make data type flow a bit more easy. Well, enough about the complain. I have been trying to dynamically set my sql query statement for my datasouce component using a variable set by a sql task. The tried a couple of methods. Method 1 Using sql task, ole connection and stored proceduer( exec usp_mystoreprocedure OUTPUT) with output parameter (User::sql_query out varchar 0). My stored procedure generate a sql statement as nvarchar and sets the output variable with that. Now when i parse query, i get the error TITLE: SQL Task ----- ...Show All

  • Visual C++ (MFC) What's the best way to play a wave file in MFC?

    I would like to play a wav file in a MFC dialog, just wondering what's the best (and easiest) way to do this Should I: - Use ShellExecute to play it, or - Import the wav file into the application as a resource, and play it out I'm not sure if the 2nd method is better, since I don't know how to do this exactly. Any suggestions are welcome! This forum is for C++ language issues. There's a newsgroup that makes the sweet spot for this kind of question: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.mmedia&lang=en&cr=US ...Show All

  • .NET Development Using playsound to play background music

    I am currently making a frogger game for an assignment at college. I decided to put some background music into the game and used the following code: Public Class SoundClass Declare Auto Function PlaySound Lib "winmm.dll" (ByVal Name _ As String, ByVal hmod As Integer, ByVal flags As Integer) As Integer ' name specifies the sound file when the SND_FILENAME flag is set. ' hmod specifies an executable file handle. ' hmod must be Nothing if the SND_RESOURCE flag is not set. ' flags specifies which flags are set. ' The PlaySound documentation lists all valid flags. Public Const SND_SYNC = &H0 ' play synchronously Public Const SND_ASYNC = &H1 ' play asynchronously Public Const SND_FILENAME = &H20000 ' name is file name ...Show All

  • .NET Development ConfigurationElementCollection class correct usage.

    Hi, I want to create my SecureWebItemElementCollection class that is derived from the ConfigurationElementCollection class. But it isn't clear for me what is correct way to override protected virtual ConfigurationElement CreateNewElement (string elementName); method. What "element name" means here For example my elements in XML file are defined as <secuireWebItems enabled="true"> <add path="~/Administration" type="directory" /> <add path="~/Order/CreditCardData.aspx" type="page" /> </secuireWebItems> The path attribute is a key. Should I use the elementName parameter as value for the path in this case What will happens if I will not overr ...Show All

  • Windows Forms Datagriview generated columns uncomplete...

    This is my scenary.... I have a model abstract class A...and i inherit it from an external assembly(let's name it B). I have in the first assembly a ACollection as List(Of T) which holds A collections.   When i try to bind a ACollection to a datagridview it doesn't create columns linked to B declared properties, but only those ines got from base class.   It's funny that calling .Getproperty method on class type doesn't let me obtain these properties, but using getproperties and iterating, this collection contains desired members...   What's happening What am i doing wrong (Moderator: Thread moved to this forum for better responses) ...Show All

  • .NET Development Using C# to copy data from one database backend to another

    I am new to C# and I am trying to write an application that will copy data from one database and create a new table and insert the data into this new table. The SQL statement I want to use is something like "Create Table Blah as Select * from OtherTable" or Select * into Blah from OtherTable" I am dealing with 2 different database programs. I want to retrieve the results of a query another database program (Teradata) and copy it directly into SQL Server and create the table on the fly. I am assuming that using a SqlDataAdapter would be the best way. The data that I will be pulling from Teradata is a static so I could use a SqlDataReader if that would work better. Does anyone have any suggestions Thanks. ...Show All

  • SQL Server Cross assembly or cross domain calls not supported

    If I compile a simple .NET DLL with the following function and register it as an assembly in Analysis Services: public static int MyFunction(object o) { return 99; } When I run the following query I get an error which reads " Execution of the managed stored procedure failed with the following error: Cross assembly or cross domain calls not supported!. Execution of the managed stored procedure failed with the following error: Cross assembly or cross domain calls not supported!. Execution of the managed stored procedure CSng failed with the following error: Microsoft::AnalysisServices::AdomdServer::AdomdException. " with member test as MyAssembly.MyFunction(CSng("2.5555")) select test on 0 from ...Show All

  • Windows Forms Changing the HEIGHT of a DateTimePicker

    hey everyone How do I change the height of a DateTimePicker control. It seems to be locked onto 20. Perhaps I can overide something If so, what thanks How do you resize the width Here's an issue I came across in different OS. With the Spanish locale setting in the Win 2003 server, the calendar truncates a bit of "s" in the "september de 2007" whereas in other OS, the calendar works fine to expand to the width of the words in the calendar. You can see an image at this link. http://picasaweb.google.com/jihaes/DatetimepickerCalendarIssue/photo#5114292140840494626 Do I need to submit it as a bug to microsoft Or is there a way to work around this issue How does OwnerDraw work with DateTimePicker Thanks ...Show All

  • .NET Development Is there by any chance an unmanaged version of Light Weight Code Generation API?

    This would be exceedingly useful since the byte code generation I am doing I would like to continue to do in an unmanaged envrionment with the framework I already have in place. Thanks for any assistance anyone can provide. Thanks again for your reply. What I meant by " Is there any call available on any of these Reflection.Emit objects that will generate the IL for a sequence of instructions in one call invocation " is that ILGenerator.Emit takes as its argument one opcode structure (eg Opcodes.Ldstr) and any parameters needed for correctly generating the byte codes for that one instruction. If I have 150 IL instructions, then I have 150 calls to make to IlGenerator.Emit. Moreover, I have ...Show All

©2008 Software Development Network