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

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

cookiekhanh

Member List

Loki70
PCHEEK
Nianz
IlanAvigdor
RalfJuergensen
chris.kuang
Zipho Mfihlelwa
agent_smith
vln
gphillipk
xPLaR
wistful_donkey
grischa
Marlun
jwk1
nick5454
Dave McCall
SharpCarp
JoeOnSunset
natchURL
Only Title

cookiekhanh's Q&A profile

  • Visual C++ How to Copy form CDC dcMem1 to CDC dcMem2?

    Hi! I defined a public CDC member(dcMem1) and I Have 2 Function that must used this member.but when I compiled show this error : Debug Assertion Failed! what should I do I think that must to define another member(dcMem2) and Copy from dcMem1 to dcMem2! is this allRight (maybe I'm stupid) It's not clear to me what you're trying to do, but a public CDC as a member variable seems like a bad idea to me. What does it contain What's the debug assertation What line in the MFC source code is creating the ASSERT ...Show All

  • .NET Development Thanks to Jvanderbeek

               I am writing an applicatio to dispose off the object of the class with the help of text shown in RED COLOR but i receive the message   "C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\ConsoleApplication6\CH2_08.cs(34): Destructors and object.Finalize cannot be called directly.  Consider calling IDisposable.Dispose if available." Plez show me the method of disposing off the object. using System; class CH2_8 {    static int ReferenceCount;       private static void IncrementReferenceCount()    ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. problem loading mesh from .X file.

    Hey guys... I'm having some trouble loading a mesh from a .X file in C#. I'm using the same code that I see pretty much everywhere as sample: private Material[] meshMaterials; private Texture[] meshTextures; private Mesh mesh = null; private void LoadMesh(string file) { //LOAD X FILE ExtendedMaterial[] mtrl; // Load our mesh mesh = Mesh.FromFile(file, MeshFlags.Managed, device, out mtrl); // If we have any materials, store them if ((mtrl != null) && (mtrl.Length > 0)) { meshMaterials = new Material[mtrl.Length]; ...Show All

  • Visual C# Please help to Irregular Forms Transperancy.

    I have a form with an BacKgroudImage and I have set the TransperancyKey property to Black. And MY Image has its Black portion but still it wont get transperent these portions transpert how do I get it done hi, i hope this is what you asking form http://www.bobpowell.net/transcontrols.htm ...Show All

  • Visual Studio Team System Team Build and nested tests

    If I have the following Test Manager structure: Lists of Tests   All Tests     BVT How do I configure the MetaDataFile/TestList element in the .proj file to reference the BVT test list in the build I have tried <TestList>All Lists/BVT</TestList> and <TestList>All Lists\BVT</TestList> without success -- a "Test test list path All Lists\BVT cannot be found." warning is reported from MSBuild.  If I don't nest BVT the tests work fine. Thanks, Dan Thanks all. Kishore was quite right -- it was a typo (thanks).  But I believe it is a bug in the "New Team Build ...Show All

  • Visual C# How can i send or recieve data through parallel port??

    i want to send and recieve data through parallel port i dont what class shall i use or function i need help plz google for inpout.dll.  Unless there's something new in .NET 2.0 that I don't know about, that's what I had to use to use custom input devices through the parallel port in .NET 1.1 ...Show All

  • Windows Forms Just a small suggestion.

    Just a thought, but since when you right click on the toolbox and click customize it takes so long to load..couldnt the default tabpage be the .net Framework components..it just seems to me that in a .net application I would want to use .net components, and I'd rather see the .net ones than COM upon toolbox config startup..does that make sense or& ...Show All

  • Visual J# Creating a Dataset - by dragging table from MYSQL database

    With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view. Can you advise if the same would work for MySql database and how. I get the foll error : Mouse drag opertaion failed. The table, view or table-valued function named ''parts'..'PO_mast'' could not be found. Foll. is the error if I try to add a Table Adapter using the wizard, when I hit Finish. An unexpected error has occured. Error Message: Object reference not set to an instance of an object. thanks.. Hi, I was trying it for J# only. I tri ...Show All

  • .NET Development XSLT works in .Net 1.1 but fails in .Net 2.0

    We have an application compiled with .Net 1.1.  It uses System.Xml.Xsl.XslTransform.  the following code works with .Net 1.1 <xsl:copy-of select="$style/ap:OneImage"/> if $style is empty or if $style contains an element. Installing the .Net Framework 2.0 causes the expression to fail when $style is empty with the System.XML error "Expression must evaluate to a node-set". How can this be fixed without putting <xsl:if> tests around all instances of these expressions Please Advise, Michael S. Scherotter Business Solutions Architect Mindjet Corporation   Has anyone worked out a solution ...Show All

  • Windows Forms How to move the Cursor from a testbox control to the next one using ENTER key

    Hi, I'm new with VC#, I want to put some code on a textbox control or what ever control to move to other controls when I press the enter key. So far, my small app uses TAB KEY to move to the next controls on my windows forms. How can I accomplice this in C# VFP & VB is quite easy, but C#, I dont have any idea how to do it. Can somebody show me a code or sample to do this Thanks.   There is a posting on the same topic at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=354329&SiteID=1 Regards, Nitin ...Show All

  • Visual Studio Team System TF Workspace command-line

    Hi I am trying to use a HTML applciation and calling the "VS2005 command-line batch file" and the "tf workspace" command using wscript.run. I run into issues when I use "tf workspace /new aaatest ....." without the "/noprompt" option. Is it a bug in the command line that I have to use this option Is there a workaround where I can use this command with the "Add workspace" window Note: the same command works find directly from command line without using "/noprompt" Any help is appreciated Thanks That worked at last Thanks Rich! ...Show All

  • Visual C# Raw commands to Parallel Ports on USB/PCMCIA adapters

    Hello all (I hope this didn't post twice,) I'm developing C# software to manage two separate parallel-port relay control boards. I can currently contol them individually just fine using standard I/O port access using inpout32.dll as long as I use the built-in parallel port on my laptop. The problem is that I need to control two parallel ports. My laptop only has one built-in port and I need it to work with a laptop (laptop and desktop manufacturers are increasingly omitting parallel ports these days.) I've purchased both a USB-to-Parallel adapter and a Dual-Parallel port PCMCIA adapter (the Koutech CBP220.) The problem I have is tha ...Show All

  • SQL Server SQL Server 2005

    I have just recently downloaded and installed vs2004/ss2005.  So now I have the version of ss that comes with vs2005 and the developer edition of ss.  I have been able to work with  sqlexpress thru vs2005 but not with the developer edition.  When I engage the configuration manager which is what I guess to perform the same function as the enterprize manager in ss2000, I am unable to find my databases.  What am I missing here   How am supposed to work with the developer edition Thanks, Fred H ...actually, that's http://blogs.msdn.com/sql_protocols . ...Show All

  • Visual Basic Crystal missing from Clickonce Preq

    I do not have Crystal available on the publish/prerequisite screen. Only Framework ans SQL Server. Anyone know why The app does not run on deployed machines. Thanks Hi, Here are the product differences of visual studio. As you can notice, crystal is not available on the express editions... Compare Visual Studio Editions .       cheers, Paul June A. Domag ...Show All

  • .NET Development Passing a ascii byte array as System.String to a COM BSTR param

    I have a VC6 ATL COM Object that accepts a BSTR as an input parameter in one of its methods. The COM Object expects an ascii buffer to be embedded in the body of this BSTR and uses a call to SysStringByteLen to dynamically create an appropriately sized single byte char array for holding the extracted contents based on the results obtained from interrogating the size prefix of the BSTR. The COM interop wrapper generated from this dll defines this parameter as a System.String that gets marshalled as UnmanagedType.BStr. I am trying to use this method from managed code (C#) but am having difficulty creating an ascii encoded string parameter ...Show All

©2008 Software Development Network