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

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

quangphuong

Member List

didisteiner
Ikram Shaikh
Jigs_1979
matshelander
justMaveric
PHILIP LOW
JIrwin
Munjal Patel
Ken_Hosinski
Taurus101
Avi harush
Coldfire
Serge Allard
weedogt
Luis Simoes
Carriat
Nelson Neves
pascalbjk
Miken.cn
Alex1
Only Title

quangphuong's Q&A profile

  • Visual C# In C# override printf() used in C++ dlls ?

    Hi, I am developing a C# application which uses several C++ .NET assemblies. These C++ .NET assemblies uses several old un-managed C++ dlls, which again calls printf() as the main user/developer feedback. What I am wondering, is if I can somehow override the printf() method used in the old-style C++ unmanaged dlls, to catch the contents (what is being printed) and e.g. print it into a text control in my C# Form If possible, I would like ...Show All

  • Windows Forms Custom buttons for adding/removing DataGridView items and validation

    I have my own controls which extend DataGridView and BindingSource; I want to make another change to those - do not allow the user to add and remove rows in traditional DataGridView way, but to use add and remove buttons in BindingNavigator instead. Everything works fine, until I start using row validation. I can make it so that the rows cannot be added as long as there exist rows that have not been validated. But I still have the following prob ...Show All

  • Visual C++ Stepping through Fiber Switches

     I am trying to debug my code, which uses fibers and I want to step through fiber context switches. Specifically, when the current fiber calls SwitchToFiber(next), I want the VS debugger to go to the instruction that the next fiber executes. Does any one know how to do this  thank a lot madan This is certainly a good suggestion. Having to set breadcrumb-style breakpoints just to be able to step to the right place after ...Show All

  • SQL Server Can you pivot more than one measure in one query?

    Hi all.  I have a table like: Project Category EstHours WorkedHours 1 Analysis 100 50 1 Development 200 0 Actually, my table is a bit different and has several measures, but the idea is the same.  I want to write a SQL statement using Pivot to pivot multiple measure columns for the Category.  If there was only one measure, EstHours for example, the pivot would be like: Select Project, Analysis as ...Show All

  • .NET Development Implementing Identity Columns

    Hi All, Have Anybody ever tried to implement Identity Columns without using stored procedures select number from numbertable where key = key; update numbertable set number = number + 1 return number; How do we implement such a logic using ADO.NET disconnected datasets You can set the AutoIncrement property of a DataColumn to true. You can also set the AutoIncrementSeed and AutoIncrementStep prop ...Show All

  • Windows Forms Can WinForms / Smart Client Applications interact with an sql server database on separate server?

    Hi I am very new to windows form application programing so please be gentle :) I have been reading about this technology and cant seen to find a simple answer to my first question. Is it possible to create a windows form / smart client applicat ...Show All

  • .NET Development Transaction locking locks whole table!

    moved here from http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=32&SiteID=1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi, I'm having a problem with transaction locking. I need to BeginTransaction, read each line from a file and insert it to a table, then either Rollback or Commit the txn if all the inserts work. This is how I'm declaring the BeginTransaction... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xConn = New SqlConnection("server ...Show All

  • Visual Basic How to give arguments to a shell command with cmd.exe

    I need to open up an executable (grin.exe) from a dos window that is sitting on a certain directory and then sendkey some keyboard movements.  For example, I want to run the grin.exe command from the c:\program files\grin directory and then tell it to hit ALT-G-T. The following will open up the grin.exe without dos, but for grin.exe to work, it must be opened from a directory that has certain files in it: Dim proc As Integ ...Show All

  • Visual Basic System.Diagnostics.Process not found

    I recently built and compiled a dll from a C# class that opened and excel file then killed the excel process when finished (the dll works fine).  I later found that my boss wanted the class written in vb.net and re-compiled.  I created the class and everything works fine, except when I try to build the dll with the vbc.exe tool, I get messages stating that the "Type 'Process' is not defined".  I import System.Diagnostics, just lik ...Show All

  • Windows Forms Project References - How do I get the DLL Version Numbers

    In my windows application, my project has references to many DLL's. What I want to do is create an "about" form with a version info button. On clicking this button, the user will be able to view a list of all the referenced DLL's  ...Show All

  • Visual Studio Langauge Services

    IS there any documentation or examples of adding a language service into VS using managed code other then coloring I have looked at that regex example and I would like to know if there is something more full, especially dealing with intellisense... Thanks to anyone who has an answer hey ed thanks for the info and good to see your posting out here to ...Show All

  • Windows Forms if you had a 6 month project...

    hiya, If you were planning a project that would take approx 6 months, would you ditch v1.1 and use whidbey and sqlServer 2005 I'm hoping for a unanimous yes ;-) cheers,  yogi cheers James,  I appreciate the honest comments.I am quite wa ...Show All

  • Windows Forms Problem deploying .NET application

    Hi, Can anyone help me by suggesting a solution, I am creating a small application in VB.NET, and the size of that application is approximately 5.00 mb, Now to make it working I have to deploy it with the DOT.NET framework and the MDAC2.7,  ...Show All

  • Windows Forms Visual Studio is busy.

    I keep getting that message about 3 out of 4 times I try to open 2 of my forms. We use desktops and laptops with the same setup, so I also tried to reproduce this behavior on my laptop, and got the same issue every time I try to open the particular form. I'm using VS2005 and it seems to mostly affect forms with moderately complex layouts using TableLayoutPanel and FlowLayoutPanel's. I also have VSTS Team Suite Beta Refresh 3 installed as well. ...Show All

  • Windows Forms Custom Collection Editor + Drop Down

    Hi all, I'm trying to create a custom collection editor for the property browser for my control. Basically it's a collection that I want to have a drop down arrow show up on instead of ... and have it drop down a list that I can check off items and then when I'm done, click off of the list and have it update the list. I've run into two problems: First when I override GetEditStyle and return UITypeEditorEditStyle.DropDown I don't get a drop down ...Show All

©2008 Software Development Network

powered by phorum