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

Software Development Network >> Nguyen Minh Dung's Q&A profile

Nguyen Minh Dung

Member List

M.A.T
RizwanSharp
kkoston
nesrine
claydevin
Pockey
adgross
Stuart Fraser
jayaraja
corbin
Tony HK
cr4zykilla
Tamir Khason
Luis D. Rojas
hariarla
managar
anderskj1
markovuksanovic
Mark_Compliance
ArnsteinD
Only Title

Nguyen Minh Dung's Q&A profile

  • Visual Basic save data after program closes

    i need a user updatable variable that will save even after the program closes. What is the best way to do that The best option in most cases is the Application Settings feature. My Project -> Settings Then add a setting. In your code: My.Settings.<insert the name of your setting here> = <Setting Value> My.Settings.Save Then when you open your project again, the settings will have persisted. ...Show All

  • Visual Studio Problem: VSTemplate only uses first wizard extension

    I'm trying to create a custom item template for web services based on the Web Application Projects template. I wrote my own wizard extension class to replace custom parameters. The problem I have is that the <WizardExtension> element can only be added to the vstemplate file once. It can have multiple <Assembly> and <FullClassName> child elements though, and I tried adding tags for my custom wizard extension, like so: <WizardExtension> <Assembly>Microsoft.VisualStudio.Web.Application, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Assembly> <Assembly>Templates.Custom.WizardExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d4c05f50bb9e80b6</Assembly> <Fu ...Show All

  • Internet Explorer Development iframe stealing focus

    Hi, Is there a clean way to have focus retained by a parent page (.asp) when there exists iframed content that is uncontrolled (and trying to steal focus) Have you tried putting an onfocus event in the IFRAME element Example: <IFRAME src="http://www.yahoo.com" onfocus="window.focus()"></IFRAME> if that doesnt work, you can add an event handler to the parent window to retain focus. Example: <SCRIPT language="Javascript"> window.onblur = function() { window.focus(); } </SCRIPT> If you find that the IFRAME still retains focus, you may want to try switching out the window object in these examples with "document.body" ...Show All

  • Visual Studio Team System Permissions on documents and reports

    Hi there, I've got two questions. I'm admin on a TFS server. I've setup some users as contributor in TFS, SharePoint and Browser in reports. The problem is, they can browse documents in the portal. However the documents aren't showing up in Team Explorer. They cannot open the folder. Also after right-clicking the project, the menu item "Show Project Portal..." is grayed out. We've copied the databases to another location on the machine. Now the \TFSREPORTS user cannot access the database anymore. It can access master and msdb databases, but in its right it doesn't have any other databases. Can anyone tell me what other databases they should be able to access Thanks! Dennis Okay ...Show All

  • SQL Server Grouping issue....Long

    This is going to sound SO silly but I am serioulsy baffled and I was wondering if anybody on here has ever experienced this ....or perhaps I am just missing somehting. I am fairly new to reporting services and have been getting reports done on a wing and a prayer so far. I have a puzzling issue: I created a summary report that had only one group (person type) ...unfortunately I need to add 3 more groups which are Div, Reg, Area.....I figured this would be simple I could just go in to the report and add them by right clicking the table and adding group. They DO get added to the report but they do not "group" per say. However, I can go through the report and see the same division repeated several times and not kept together. ...Show All

  • Visual Studio Express Editions %1 is not valid win32 application

    Hi, I build a simple applicaiton in visual studio 2005 Express and encounter such an issue: The compilation passed and no errors and warning, but when I run it, one error dialog pop-up:"app.exe is not valid win32 application." The following is the build log, who know the reason Build Log Build started: Project: recurs, Configuration: Debug|Win32 Command Lines Creating temporary file "d:\study\InterviewQ\recurs\Debug\RSP00001118082072.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /RTC1 /MDd /Yc"stdafx.h" /Fp"Deb ...Show All

  • Internet Explorer Development How to launch IE in new process?

    Hello, I want to create an IE instance in a separate process and automate it afterwards. CoCreateInstance (context CLSCTX_LOCAL_SERVER) unfortunately reuses existing IE processes for creating the new instance. Is there a way to ensure that CoCreateInstance spawns a new IE process each time it is called The only way to start a new IE process seems to be through iexplore.exe. The reason why I cannot use iexplore.exe directly is that I want to have programmatic control over the instance after it is created. How does iexplore.exe internally spawn a new process and load IE into it In this case I have reached a point were I wished I had access to the source code of IE ;-) Any chance to take a look for me, please Thanks in ...Show All

  • SQL Server SSRS 2005: Matrix in list causes blank pages in PDF

    I am trying to display data horizontally inside of a group footer of a table. I put a matrix inside of a list and then put that list inside of the table. Unfortunately, when the matrix grows, it causes the list to grow apparently and creates blank pages. I have to use the list to maintain the column width of the matrix. I found a MS article online talking about this problem in SSRS 2000, stating that it had been fixed with SP2. Does anyone know why this is still a problem in SSRS 2005 and how I can get around this issue I believe that is the case, but why should the list grow inside because the matrix inside of it grows The matrix is still smaller than the list's original size after it grows. This was ...Show All

  • Visual Studio 2008 (Pre-release) Updating custom control

    I am working on an WPF media player control (for various reasons I cannot use MediaControl). I have the video up and running now, but I am in doubt if I am doing the right thing when it comes to updating the control. Currently I am calling InvalidateVisual on the control and then doing the drawing in OnRender, but I seem to remember that invalidate is very expensive. So, how should it be done I would recommend binding the background of a panel to a BitmapSource Dependency property on an object, using the SampleGrabber filter from DirectShow and updating the property within the SampleCallback or the BufferCallback. There is a thread around here on creating a WPF-based webcam application that gives some ...Show All

  • Smart Device Development I want a button that will navigate to the My Document folder when pressed

    I want to have Buttons in a VB Form navigating to places like,My Documents, Network Places, My Pictures etc. Does anone know code for me to be able to do this... Thanks ok * you can make it create a batch file (ends with .bat) with a command text Dim filename1 As Object filename1 = 'save path' & 'filename' FileOpen(1, filename1, OpenMode.Output) Print(1, 'commandtext') FileClose(1) * heres the command to open documents : start "%userprofile%\My Documents" * then , make then program start it : System.Diagnostics.Process.Start(batch file path) * if you want to have it work with all windows languages, make ur program read data on registry values in this subkey : Hk ...Show All

  • Visual Studio Express Editions Getting values from a checkbox and textbox together

    I have a form (Bulk_Add) with several checkboxes with a textbox next to each one. The user checks an appropriate checkbox and enters a value in the textbox next to it. On another form, I have the following function that gets the text of the checkbox if it is checked and places it in a cell in a datagridview (yellow highlighted line). Right now I am using a default value of "1" to go in another cell in the datagridview (red highlighted line). What I need to do is replace the red highlighted line with something that will grab the text of the textbox that is adjacent to the checked checkbox in which I am getting the text. I have set the tab stops to move from a checkbox to the corresponding textbox, then to the next checkbox and te ...Show All

  • Windows Forms ListView's AddRange() Method

    Hi all, does anyone have any sample code that uses a ListView's AddRange() method to add ListView Items dynamically to a ListView where the number of ListViewItems to add can not be determined at compile time (ListViewItems are pulled from a database) Thanks If you are using a DataSet you would do something like ListViewItem[] p = new ListViewItem[MyDataSet.Tables[0].Rows.Count]; then use a for loop to create the actual items. for (Int32 i=0; i<p.Length; i++) {  p[i ] = new ListViewItem(new String[] { MyDataSet.Tables[0].Rows[i ]["Column1"], MyDataSet.Tables[0].Rows[i ]["Column2"], MyDataSet.Tables[0].Rows[i ]["Column3"], }); } MyListView.Items.AddRange(p); If you're still unsure or if ...Show All

  • Visual Studio Team System setup.exe failed to install

    I have installed Visual Studio 2005 Team Suite Envaluate Edition, when everything works well I downloaded Visual Studio 2005 Team System for Database Professionals (file VSTSDBTR.img). I use a virtual CD software map the image to a driver, and can run setup.exe, but when I click the first choice "Install Visual Studio Team Edition for Database Professionals" setup.exe throws an application error dialog says "0x0031424 instruction references a memory can't be written", and when I click "OK" button ,setup.exe exits. I have installed Visual Studio 2005 Team Suit on Windows Server 2003 SP1 box. So anybody helps Try to download the setup from http://www.microsoft.com/downloads/ ...Show All

  • Visual Basic DataGridView Filter

    how do you filter a datagridview by controls I am wanting to filter a datagrid with controls. What do you put in the control to change the filter of the datagrid Davids Learning Filtering is accomplished using the BindingSource.Filter property. You can add a TextBox to the form and a Button. When the Button is clicked you set BindingSource.Filter = TextBox.Text. This applies the filter string. The filter string is written like a WHERE clause in a SQL statement (eg. ColumnName = Value AND ColumnName2 = Value2). To make it easier for users, you may want to create a filter builder. You might have a ComboBox loaded with column names, another loaded with operators (=, >, <, <>, etc) and ...Show All

  • Windows Forms Help Button on Widnows Forms

    Is there any good reason why the help button does not show up if the minimize and maximize buttons are there Seems like it makes the button kind of useless. I have duplicated your issue and can not see this being expected behavior...please use the product feedback center to report the bug... http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 ...Show All

©2008 Software Development Network