Software Development Network Logo
  • Visual C++
  • VS Team System
  • VS Express Editions
  • Visual J#
  • SQL Server
  • Windows Vista
  • Game Technologies
  • Windows Live
  • Visual FoxPro
  • Visual Studio
  • Windows Forms
  • Visual Basic
  • Smart Device
  • Microsoft ISV
  • Visual C#

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

OzMan

Member List

Jules Bonnot
HKJ
Udi2000
Pazout
Thomas S. Andersen
OpticalMan
Razgriz
Trevor L.
Markdem
llsspatt
Anatoly Porsev
BHAB
David Evan
Justin Starnes
tyou_aki
zekia
Petter Skodvin
ralfkret
neithzan
Vasco Veiga
Only Title

OzMan's Q&A profile

  • Visual C# Right-clicking on a WinForm class in Class View causes VC# 2005 to become unresponsive

    I have a C# project created in VS2005 Standard RTM. When I right-click the WinForm class, the IDE becomes unresponsive.  Task manager still thinks the app is still running but the IDE windows no longer paint properly.  Anyone see this -harrier Harrier - Are you still seeing this problem Do you only see it when you're right-clicking the WinForms class (I'm assuming from the solution explorer) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectInput keyboard keys get stuck

    I've been using the following two methods to collect and poll keyboard:         public void ProcessInput() // called on each frame render         {             Key[] temp = _device.GetPressedKeys(); // _device is DirectInput.Device             Key[] keys = new K ...Show All

  • Visual C++ Debugger fails to attach

    After installing the SQL Server 2005 that ships as part of VS .NET 2005 Professional I can no longer break into the debugger. I have written a windows service and had an ATLASSERT(FALSE) near the top so I could break into the debugger. Now I get the box with the Debug button, press it and then get the 'Send Error Report to MS'. Anyone know how I can reinstate the VS debugger Thanks Check the Just In ti ...Show All

  • Visual Studio 2008 (Pre-release) Glass effects in WPF

    I was playing with Glass effects in WPF and found following strange effect. If I make a Window complete transparent (Glass) elements such as Label, TextBox, CheckBox show black text on black background (see picture in archive). Am I doing something wrong, or is it a bug in WPF or maybe it's a grafik card I have nVidia GeForce FX 5600 265Mb. I use drivers from NVIDIA: Date 19.05.2006, Version 8.8.6.1 In archive is sample project and pict ...Show All

  • .NET Development Possible to pass System.Type and then cast an Object?

    Im trying to do something like this: public class isthispossible() { Inventory someClass = new Inventory; Type someClassType = someClass.GetType(); someMethod(someClassType); } public someMethod(Type ClassType) { Object someObject = new Object(); someObject = (ClassType)someObject; } I want to pass a System.Type and then cast an object to that type, using that System.Type I passed. Is t ...Show All

  • Visual Basic Prime numbers

    Hello I need to write a program, that takes a number (entered into a textbox, by the user) and determines if the number is prime or not. If the number is a prime number, then the program is just supposed to display, something like "This is a prime number" in a label. If the number entered is not a prime number, then the program is supposed to display the prime factors of that number. Must use the following Function and Procedure in program: ...Show All

  • Visual C# Append records to existing StreamWriter file

    I've been writing text files in several apps with no problems until I tried to write/append to a file. Now, from what I could 'glean' from the numerous books/websites out there, to append records to an existing file one needs to set the StreamWriter to true like this: m_objOutput = new StreamWriter( strFileName, true ); The output file gets created; however, when I run my app, nothing is written to the file. I haven't been able to find ...Show All

  • Visual Studio 2008 (Pre-release) Trips to the database

    I have a general performance question that needs clarification. Assuming an object graph of Customer, Orders, OrderDetails and assume I am retrieving one customer with 10 orders and each order has 5 orderdetails, how many trips to the database will be required Is it 3 or 12 Thanks, Dave Foderick If you use the Including() operator to specify immediate loading of Orders and OrderDetails then you will get all your data in 3 queries.&nbs ...Show All

  • System Center Transitive Connections

    If "GreatBritain" is connected to "Brussels", and "Ireland" is connected to "GreatBritain" why cannot the users in "Ireland" connect to the mailbox server in "Brussels" Must all site-to-site connections terminate in a location where there's a mailbox server ...Show All

  • Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser

    At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events an ...Show All

  • Visual Studio Team System Renaming files under source control in VS.NET

    Is there an issue with this at all anymore In other words, if I rename a file under source control from within the VS.NET 2005 environment, will the file: a- be renamed correctly (and not deleted+created) in VSS b- retain it's history in VSS Thank you, Sammy In Team System Source Control, the item would both be renamed/moved correectly (i.e. rename is not a copy/add/delete old), and history would be retained. ...Show All

  • Microsoft ISV Community Center Forums vba: referencing type libraries with code

    Not library referencing from the visual basic editor menu. I mean is there code that I can write, for any office application, that allows me to reference a particular type library--like the Imports keyword in vb.net. I know this is possible for Access, but I'm working with excel now. Or perhaps there is a way of automating the referencing done in the visual basic editor Thanks. ...Show All

  • Visual C++ Mixing C & C++: Linker / name-mangling problem

    Hello, I am forced to mix C and C++ and ran into trouble compiling and linking the sources under Visual C++ 2005 Express Edition. I have provided a trivial example to illustrate the problem: The header file defines a struct type named MYSTRUCT,  cpp-file.cpp declares a global variable of this type and c-file.c declares the same global externally and manipulates it in a function. The linker complains about an unresolved symbol ...Show All

  • Visual Studio Express Editions Expression type ... not a collection type

    I am very new to programming and I am working with Visual Basic Express and code from the following article: http://support.microsoft.com/default.aspx scid=kb;en-us;194870 I copied the code to a new project and imported the CDO 1.2 library. I had to change "Dim oMessage As Message" to "Dim oMessage As MAPI.Message" bacause "Message" was ambiguous. I also had to add "Dim CdoDefaultFolderInbox As MAPI.CdoDefaultFolderTypes" because it was not de ...Show All

  • Visual Basic How to retrieve canonicalName using VB.NET 2003

    Hi Can anyone explain why this code returns an error Public Shared strCanonicalName As String Public Shared strNamingContext As String Public Shared oDomain As IADs Public Shared oRootDSE As IADs oRootDSE = GetObject(" LDAP://RootDSE ") strNamingContext = oRootDSE.Get("defaultNamingContext") oDomain.GetInfoEx(Array("canonicalName"), 0) strCanonicalName = oDomain.Get("canonicalName") MsgBox(strCanonicalName) I think t ...Show All

©2008 Software Development Network

powered by phorum