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

Software Development Network >> ando's Q&A profile

ando

Member List

ddawson04
Bagles1
akin_l
tapir
Duane Douglas
J. Clark
AlexZR
marina B.
johnsontroye69
PushkarK
Oliver_Schwarz
Keith Chapman
Dr. Chris
Paval
Tamirro
normangerman
walkswan
Prasad Naik
Nate00
Jweige
Only Title

ando's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Question regarding best way to design my engine

    Currently I have a system (quite basic) with a character moved by a 360 pad, a level with about 10 objects in and I'm wondering the best way to handle my game logic. My Question is really this - I like the way that in Xna the Update and the Draw are seperated - however to use them as I would *assume* they are intended, draw *should* only really draw things, and Update should be where the game logic is updated: To use what i think Xna wants me to do is //Pseudo code void Update() { foreach (LevelObject lo in LevelObjects) { CheckForCollisionWithMainCharacter(lo) } } void Draw() { foreach (LevelObject lo in LevelObjects) { Draw(lo); } } Which seems slightly innefficient to repeat the same loop twic ...Show All

  • Visual C# many radiobuttons in deifferent groups without GroupBox

    I have many groups of radiobuttons in my win form. but I dont want to add Groupbox for every each group of rb. can I set some property in order to group some rb together or using groupBox is the only way to do it thanks in advance for your help, Edward Yuu can use Panel and put a set of radio button in it and use anoother panels and do the same with Radii buttons. You'll get your desired result and Panels will not be visible seprately at run time. Basically to group some Radio buttons you need some container to hold them, Container's Example: Form, Panel, TabControl. In Simple words, a Control which can hold other controls! Best Regards, Rizwan ...Show All

  • Visual Studio 2008 (Pre-release) How to bind other control's property

    I want to bind one control's height to the other control's (ActualHeight property/2) property--not the whole height value, just half of that. How can i do this by using XAML See IValueConverter and the Converter property of the binding. This thread ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=890020&SiteID=1 ) has some discussion of generic converters. ...Show All

  • Windows Forms Problem with List<T> and TypeConverter

    Hi, I am having a bit of difficulty with TypeConverters and Generic Lists and I was hoping that I could get a bit of advice. I have a type converter that is used to create the constructor code for my component. (It is an XNA a Game Component, but I don't think that that has anything to do with the problem because it appears on a Winform) inside another component. For instance I have the following: public class A{ private string s; public string SProp { get { s = value;} set { return s;} } public A() { s = "" ; } public A( string inS) { s = inS; } } By itself, when class A is an object on a form (or in my XNA Component) the TypeConverter code works fine, the property grid on t ...Show All

  • Windows Forms Programatically Enable & Disable USB port using C#.NET

    Dear All, i have developed a desktop based application using C#.NET. In this application, i wants to enable & disable the USB drives programatically. ie, enable the USB port before the application starts using it & disable it after the use. I need to achieve the same when the application is running in a login, who doesn't have administrative rights. Is it possible to achieve the same using .NET framework Do any one knows how to implement this. If so, please inform me. Best Regards, S.Manikandan It depends on the location where you plan on deploying this application. If you're running it on systems on your own network then you could have the net admin setup an administrative level account where you can use Impersonat ...Show All

  • Visual Studio 2008 (Pre-release) Tooltip on a GridViewColumn?

    I want to be able to apply a generic template to a gridviewcolumn, so that a tooltip appears when I mouse-over each cell. The way I'm doing it now is by making a datatemplate for EACH column, to be able to bind to the right property. Example: < DataTemplate x:Key = " PostalCodeStyle " > < TextBlock ToolTip = " {Binding Path=PostalCode} " VerticalAlignment = " Center " Margin = " 2 " Padding = " 2 " Text = " {Binding Path=PostalCode} " /> </ DataTemplate > < DataTemplate x:Key = " CityStyle " > < TextBlock ToolTip = " {Binding Path=City} " VerticalAlignment = " Center " Margin = " 2 " ...Show All

  • Smart Device Development Another VS2005 and Smartphone Question

    I posted yesterday about some links or assistance with navigating the treeview control in VS 2005 for Smartphones. Well, I pretty much solved that problem, but that created another issue. I have two modules that are used to dynamically build the appearance of a form before it gets displayed. The form exists in the project and when control is passed to one of the modules that references this form, at the point that the form is referenced in the module, I get an error saying the form does not exist. Initially, I used the With statement to reference the form objects but even if I comment the With/End With statements and reference the form objects explicitly, I still get this error. I tried showing the form before any reference is made t ...Show All

  • Software Development for Windows Vista Regarding Windows WorkFlow Samples ...

    Deal all Help Desk Demo by Don Esposito I need bit of information on two windows workflow samples. The first one is from MSDN Article "Windows Workflow Foundation" "http://msdn.microsoft.com/msdnmag/issues/06/03/CuttingEdge/ . This article leverage beta 2.2 version of WF. As we have move to RC now urgently need this sample code to run on latest microosft .net 3.0 release. Now can any one help me out here to convert/rewrite the sample code for .NET 3.0 RC. Purchase Order Demo by Don Esposito This Demo was part of article in MSDN by Don Esposito named " Getting Started with Microsoft Windows Workflow Foundation: A Developer Walkthrough " ( http://msdn2.microsoft.com/en-us/library/aa480214.aspx ...Show All

  • Windows Forms Rich Text box and Table(Visual C# 2005)

    Hey, is it possible to make the Rich Textbox Control have a table inserted into it Like the way MS Word does Thanks :) I'd like to say that it's hard to manipulate directly the table in richtextbox. Regarding the web browser control I mentioned, I thought you can use it to display the table generated. Of course, it can't get inputs. :-) ...Show All

  • Visual C++ practice programs

    hello guys.. i am new to VC++ 2005 but not to C++.. where can i get practice programs to get the flow. chaman. Start with beginners article from codeproject.com, codeguru.com, MSDN. there are alot of sources to learn vc++ BTW this forum related to ask question related to Language Issues of Visual C++. Please try some news groups instead. ...Show All

  • Visual C# How to access to USB bus

    Hi to all, I need to access to USB bus and retrieve some identifier code for each USB port in my pc. Some idea on how to do that Thank you it depends what you want to retrieve but perhaps WMI would be a good start at this information. Download the WMI code generator tool and see what classes/properties/methods you can find to suit your needs: http://www.microsoft.com/downloads/details.aspx familyid=2CC30A64-EA15-4661-8DA4-55BBC145C30E&displaylang=en ...Show All

  • Smart Device Development LoadToolBar/InsertMenuBar

    I'm having a little trouble with menu/toolbars in an application ported from EVC. Apparently, I'm not the first. None of the threads so far seem to address the specific issue I'm dealing with (or I haven't read them closely enough to understand how they might), which is as follows: In my CMainFrame::OnCreate() I'm doing the expected creation and initialization of a CCommandBar (formerly CCeCommandBar): if (CFrameWnd::OnCreate(lpCreateStruct) == -1) return -1; LPCTSTR resource = MAKEINTRESOURCE(CAppPreferences::IsHighDpi() IDR_MAINFRAME3 : IDR_MAINFRAME1); if (!m_wndCommandBar.Create( this ) || !m_wndCommandBar.InsertMenuBar(IDR_MAINFRAME) || !m_wndCommandBar.AddAdornments() || !m_wndCommandBar.LoadToolBar(resource ...Show All

  • Visual Studio Express Editions Form shadow

    Hi. Is there an easy way to add a shadow to a form Thanks. I did have to drop the 'me.' out of this to get your code to work though. Public Shared ReadOnly Property DropShadowSupported As Boolean Get Return Me . IsWindowsXPOrAbove End Get End Property ...Show All

  • SQL Server package path referenced an object that cannot be found

    I am running Final Relase of 2005 version 9.00.1399.  I built an Integration Services package saved it closed up, came in the next day opened the project and I get 46 Warnings and the message on all of them is similar: "Warning loading Package.dtsx: The package path referenced an object that cannot be found: "\Package\Truncate Temp Table.Properties[Connection]". This occurs when an attempt is made to resolve a package path to an object that cannot be found." The problem is that I had an Execute SQL Task that I named Truncate Temp Table for a while, but subsequently changed the name before I saved it at the end of the day.  So the task called Truncate Temp Table doesn't exist anymore and it is still trying to find its properties.& ...Show All

  • Visual C# Column's name

    How can i get my columns names from a TableAdapter or any other way that i can get my column's name in VC#2005. I'm sorry. I'm new in VC# 2005. Thanks Does this help foreach (DataColumn currentColumn in theDataTable) { MessageBox.Show(currentColumn.ColumnName); } this will go through each column of the dataTable and show you the column Name ...Show All

©2008 Software Development Network