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

Software Development Network >> hieu.nguyen's Q&A profile

hieu.nguyen

Member List

UniqueDisplayName-Adam
M Thomas
WolvenGarde
gabemejia
steve brsk
Doug Peck
cuetumayu
briggins5
Alan M.
egor598
Keith Sales
Metaferia
Sacks
yhong
Omar Fawzi
Mark Sztainbok
R Montgomery
Xcel
Bo Yu
smithmx
Only Title

hieu.nguyen's Q&A profile

  • .NET Development Performance Issue - Binary serialization with large amount of data.

    I want to serialize a dataset (typed) which contains more than 10,00, 000 records. i am reading the information from the file(s) and populating the dataset. i am using binary formatter. it is taking lot of time to serialize and de-serialize the data. can any one help me to improve the performance. I want to serialize a typed dataset which contains large amount of data. (approx 10,00,000). Remoting format is binary. I am using binary formatter. It takes lots of time. Can anyone help me to improve the performance. ASAP. ...Show All

  • SQL Server Dataset Results

    I have created adataset to make a drop down list for a parameter. As shown: SELECT distinct [Table] FROM [Database] The results i get back are A, B & C. What i am trying to do is show a result as a different word. i.e instead of displaying A is shows in drop down list as Apple, B shows Banana. etc. Can anyone help please. Thanks The parameter can use two columns of the returned dataset, one for the value column and one for the display column, getting this back from the query and binding it to the appropiate properties in the parameter setting should help. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Tools for Office Installing vsto 2005 se

    hello! i need some help! I've downloaded vsto se, and the spanish lang pack, but it doesn't run on my Vstudio 2005 pro even if it appears in the list of instaled products (help menu-about VS2005...) No office templates at all, no office projects... what should i do thanks... Hello again! I've finally installed the VSTO up of the english VS2005, but when I try to create a new office project it only appears the excel and word add ins, not excel workbook or worksheet templates... is that normal it looks like vs2005 didn' link with office (2003 pro version), however the office PIAs are already istalled... ...Show All

  • Visual Studio 2008 (Pre-release) Dimensioning a ScrollViewer to fit remainder of a window

    I've implemented a window containing a menu bar at the top. I'd like the rest of the window to contain contain a ScrollViewer which resizes whan window is resized. Both are contained in a StackPanel. I came up with the following event catcher: if changing outer stackpanel to Dockpanel will work, < DockPanel > < Menu Name = " UpperMenu " DockPanel.Dock = " Top " VerticalAlignment = " Top " HorizontalAlignment = " Left " Height = " 20 " Background = " LightGray " Foreground = " Black " ClipToBounds = " True " > < MenuItem Header = " File " ClipToBounds = " True " > < MenuItem Header ...Show All

  • Visual C# Writing to a file

    I am having trouble figuring out why I can't write to a file, but I can read from a file fine. I've tried a ton of different methods including StreamWriter file = new StreamWriter("file.txt", false); StreamWriter file = new StreamWriter("file.txt"); Each time the program runs fine, but no file is generated. Even if I create a new file in the folder and add it to the project it still does not write to the file. I have VS 2005, VS 2003, but right now I am using VS C# Express Edition. Thanks in advance for any help, maybe this is just a problem with my C# Express Edition. Here is an example that doesn't do anything. [source]// *** Write to file *** // Specify file, instructions, and privelegdes FileStream file = new FileStream("test.txt" ...Show All

  • Visual Studio Express Editions Help With USB Port Programming

    I need some guidance on working with USB ports in VB2005 express. I have just started looking at it and don't seem to find much info. Specifically I am looking for someone to point me in the right direction rather then supply code, but an example would be nice. I have a driver supplied by Garmin and I guess I have to assign the GUID to an “object” to work with the device. But What “object” am I looking for and where is it located... System.IO.something Next Would I build an Interface to the “Object” and then build a class to handle the interaction with the “object” From What Little I have been able to find out It looks like I will be able to use the serial class to do a lot of the work. But at This point I don't know if I am even in the ...Show All

  • Visual Studio Team System Build with tests fails with no indication of where

    I have setup two builds on my TFS project - one to run when code is checked in that only verifies that the code will build, and one to be run automatically that will run our tests. The first build appears to work correctly, but when I run the second (from my VS) it fails. When I look at the BuildLog.txt file, I can't see any failures, and the build results in VS show red "X"s next to the "Running tests" and "Running tests for Any CPU/Debug" entries. I have looked at this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=673795&SiteID=1 and based on that tried installing VS Test edition on the build machine, with no change in the results. I am running Team Suite on my machine. Can anyone ...Show All

  • Visual Studio Express Editions The Form1_Load event will not occur

    This is very disconcerting. Any new project will not show the main window. I noticed that the Form1_Load event is not happening even though the Form1_Load () sub is clearly specified as the handling procedure for the load event in the events section of the properties window for the Form1 form. Does anyone knows what is going on. I even did a side by side comparison of an older program, stripping it from everything and leaving only one form, called Form1 and a new project containing also one form called Form1 and made sure everything was equal in both instances of the IDE but still…the new project appears to run correctly but exits without every loading Form1 while the old one works as expected. I also uninstalled the net framework 3 ...Show All

  • Software Development for Windows Vista Freeformdesigner --> saving to XOML

    Hi! I have implemented a workflow surface who is using the freeformDesigner. I can now resize and move the activities free around the workflow surface. I can also draw arrows between the activites in any direction I want. I have used much of the flowchart example code. Here is my BIG challenge for you: When I save the workflow and re-open it it doesn't appear like it was before I saved it. The activity-boxes' position and size is correct (I have implemented this). The problem is that the arrows between the activity-boxes is gone. How can I save the arrows' position into the XOML-file I don't even know where to look for this properties... Thanks a lot!     Hi, th ...Show All

  • Visual C# virtual modifier !!!

    hi all .... plz can anybody explain the states of virtual modifier and plz with examples i have been searching for that ... and i have now only one states and here it is // cs_virtual_keyword.cs using System; class TestClass { public class Dimensions { public const double PI = Math.PI; protected double x, y; public Dimensions() { } public Dimensions(double x, double y) { this.x = x; this.y = y; } public virtual double Area() { return x * y; } } public class Circle : Dimensions { public Circle(double r) : base(r, 0) { } public override double Area() { return PI * x * x; } } class Sphere : Dimensions { public Sphere( ...Show All

  • Visual Studio 2008 (Pre-release) ActiveDirectoryOperationException: Current security context is not associated with an Active Directory domain or forest

    Hi, I have a very simple WCF service (hosted in a Windows Service) with the following bindings: < bindings > < netTcpBinding > < binding maxReceivedMessageSize = " 1000000 " transactionFlow = " true " maxConnections = " 10000 " name = " TransactedNetTcpAndMaxMsgSize " > < readerQuotas maxArrayLength = " 1000000 " /> </ binding > </ netTcpBinding > < wsHttpBinding > < binding maxReceivedMessageSize = " 1000000 " transactionFlow = " true " name = " TransactedwsHttpAndMaxMsgSize " /> </ wsHttpBinding > </ bindings > < behaviors > < serviceBeh ...Show All

  • SQL Server Orphaned SQL Logins on the Mirror

    Hi there, I’ve recently set-up database mirroring between two servers in the same domain: DMZSQL01 and DMZSQL02 with a witness of DMZSQL03. The mirroring as all gone according to plan. Set up all the users/databases on the Mirror (DMZSQL02) and then do a back-up/restore to sync the databases and then enable the mirroring, this has all gone fine and we have lots of synchronised/mirrored databases now. However, if I do a failover the logins on the mirror are not valid, they are in SQL Server and also the database but they don’t work. I’ve read through other posts and found links to this SQL Server article: http://support.microsoft.com/kb/918992/ This has had no effect though. Do I need to remove ever ...Show All

  • Visual C++ Extremely memory efficient file sort?

    Hello, We need a C function to sort files that are up to 10,000 rows long with 100 bytes per row (1MB), but only have 10KB of memory available to do so (this is an old 16 bit application ... we have over 500K lines of 16 bit code, so upgrading to 32 bit is not an option right now). At most, we can store about 90 of the 10,000 rows in memory at any one time, and the routine needs to be reasonably fast. Previously we had used a very small footprint database to do the sort, but recently had to scrap it since it maxed out at 16KB of memory and our newest upgrade reduced the space available for sorting to 10KB. Any thoughts on the best way to accomplish this If you are not using Windows then it would really help if you said so. ...Show All

  • SQL Server Newbie looking for direction

    Happy Friday afternoon, all, My task is seemingly simple. I have data on the server in MS Excel Files. I need to get the data into multiple tables in a SQL Server db on the same server. I have been only working with SSIS for a bit, so please bear with me. I can load the data directly from the Excel worksheet to one table, but I need to run an already defined stored procedure on the data from Excel before putting it into tables. I need to loop over all the rows and run the data from each row through the stored procedure. So, I think I need an Execute SQL Task withing a For Each Loop, but neither is available on the Data Flow page, and I don't see how to use them in the control flow page. I don't see that any of the Data Flow tr ...Show All

  • Windows Forms Datagrid ButtonColumn

    Hey, I am at a total loss on how to create a WINDOWS APP button column in a datagrid. I am surprised why there isn't a link and push button class like there is for a datagrid ComboBox (DataGridComboBoxColumn). Am I missing something I know there is this functionality for Web Apps, but I need it in a Windows application. is there a button column class and I am missing it, or is it true that I have to create my own child class of a DataGridColumnStyle Please tell me I am an idiot, and that there is already a push button or command button column I can bind to a DataGridTableStyle! Thanks There is a datagrid button column on the vb-tips website . ...Show All

©2008 Software Development Network