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

Software Development Network >> Stephen Chiu's Q&A profile

Stephen Chiu

Member List

vbmon
Lonnie Barnett
TaiChiMaster
Uli Hofer
shobhit
z. m. khan
etcheverrjc
Priyanka Choughule
Nihilists
blabus
brohans
1Deepthi
Nikster
Brandon Tucker
Michael Hansen
CraigC
jobo5432
Telos
PSDCHD
NewASPNETUser
Only Title

Stephen Chiu's Q&A profile

  • Software Development for Windows Vista set up analysis tool in ACT

    hi, does the set up analysis tool work in vista it is working properly in windows server 2003 plz resolve my issue.... regards, divya No, it doen't work in vista. Only xp and 2003, the reason is that it checks for the setup working on Vista. If it fails right away on Vista then it had nothing as a basline to compare to and figure out what went wrong. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Content pipeline plugin

    OK, Ive had my Quake 3 BSP loader in the XNA beta 1 for a while now, and i thought (upon downloading Beta 2) - Hey, why dont i try to extend the content pipeline and load the data (just the rendering data for now) into the Model class. So I created a Custom ContentImporter in its own Assembly, and now i have no idea how to actually tie it into VCEE. The docs cover quite a lot about writing an importer, but i cant find anything about actually installing it to the environment - dont suppose any has achieved this yet Cheers Neil I dont suppose you happen to know if its possible to debug these dlls is there - obviously they are design time dlls as opposed to runtime ones,  other than logging is it possible to step through the DLL ...Show All

  • Visual C# Running a console app from Windows Service

    I'm building an application which uses the console interface of the Nokia Multimedia Converter and passing in switches to control the resultant file. I can currently run this in 2 ways: 1. Straight from the command line (manually). Using this method it takes about 4 seconds to complete. 2. Running an application which starts the Converter as a new Process and passes in the switches through the command line arguments method. This requires a similar amount of time to 1. However, I actually want to run the app as a Windows Service. When I start the Converter off as a new Process from within the Service and pass the switches/arguments (exactly the same code as used in 2) it can take up to a minute to return the resultant file. Can ...Show All

  • Windows Forms New whitepapers for building DataGridView custom cells and columns

    Hi all, We just posted two new whitepapers about building custom cells and columns for the DataGridView control: Building a custom RadioButton cell and column for the DataGridView control ( Source and Sample Code ) Building a custom NumericUpDown cell and column for the DataGridView control ( Source and Sample Code ) The docs, source code and sample code are under http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=13&Cat=Controls&tabindex=5 Enjoy! -Regis Microsoft Windows Forms team This post is provided "as-is" The solution for this exception is very simple. You only have to remove the 'static' modifier at line 54 of DataGridViewNu ...Show All

  • Visual Studio 2008 (Pre-release) WS-Policy as a mechanism for configuring services?

    I haven't been able to find anything like this, but maybe it exists somewhere... We are migrating a web service infrastructure to WCF and we're coming from WSE (2.0).  In our old infrastructure, we were able to allow administrators to specify security policy using WS-Policy config files.  This was especially valuable because we are an ISV and it is often impossible for us to anticipate the needs of all of our customers when it comes to security policy.  WS-Policy gave us an extremely flexible system for customizing what the framework would require messages coming into the service.  WCF, on the other hand, only seems to support configuring policy on a service via the WCF-specific config schema in the app.config/web ...Show All

  • SQL Server DTS Classes Not Showing in Visual Studio

    I am trying to use VB.NET to run SSIS packages. However I don't have the various dts namespaces available. When I attempt to import them I only have Microsoft.SqlServer.Server in intellisense. I am running on XP sp2, VS 2005 (full install) and even went so far as to install sql 2005 sp1 full install on my local machine. What gives with only having Microsoft.SqlServer.Server available thanks, Scott Michael, Thank you for your reply. That's my problem...I can't reference the assemblies. The imports statement only show Microsoft.SqlServer.Server. If I add a reference to web.config like: < add assembly = " Microsoft.SqlServer.Dts.Runtime, Version=9.0.242.0, Culture=neutral, Pub ...Show All

  • Windows Forms How to: Disable CheckBoxes in a CheckBox Column in the Windows Forms DataGridView Control

    This code is based on: http://windowssdk.msdn.microsoft.com/en-us/library/ms171619.aspx . Enjoy! Code Block using System; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; class Form1 : Form { DataGridView dataGridView1 = new DataGridView (); [ STAThread ] public static void Main() { Application .EnableVisualStyles(); Application .Run( new Form1 ()); } public Form1() { this .AutoSize = true ; this .Load += new EventHandler (Form1_Load); } public void Form1_Load( object sender, EventArgs e) { DataGridViewCheckBoxColumn column0 = new DataGridViewCheckBoxColumn (); ...Show All

  • .NET Development Xml reference is Nothing in Framework 2

    Hi, I have a WebService at a server with Framework v1.1.4322 and retrives a xmlDocument. <WebMethod()> _ Public Function Save( ByVal AccountName As String , ByVal Password As String , ByRef xmlOrderDocument As XmlDocument) As Boolean At our new server with Framework v.2.0.50727 the xmlOrderDocument is nothing when it passes to the function. Does anyone has any idea why Rgds Cynkan (Moderator: Thread moved to this forum for better responses) Otherwise, try creating a test webservice which has a similar method calls and run through different test Xml variants consumer calls to it to see if you can reproduce the behavior...it may lead you to a final answer. Good ...Show All

  • Windows Forms Docking strangeness

    Hi, I have a form with one panel containing a label and combobox, and a third-party grid. The grid should fill all the available form apart from the panel at the top with the combobox. But for some reason no docking style combinations seem to support this. pnl.Dock=DockStyle.Top, 3rdGrid.Dock=DockStyle.Bottom / Fill, setting the 3rdGrid's location just beneath the panel etc... Nothing seems to work as expected. Anyone any pointers 3rdGrid.Dock=DockStyle.Fill If the above code doesn't work. Set the 3rdGrid.Dock to NONE and used the Anchor property instead. Anchor the grid to all corners. ...Show All

  • Visual C++ Problems with VS2005

    Following a mini-rant regarding the quality of VS2005 on the DirectX Dev list, it was suggested that discussion was continued on these forums, so I'll try and quantify my earlier rants/complaints with real problems I've encountered over the last six months. It should be noted that all these problems I've encountered are with the Professional version of Visual Studio 2005, building native C++ projects targeting x86, x64 and Xbox 360. My PC is a dual core 2Ghz AMD with 2GB of RAM and an X800 ATI video card. IDE Aside from the performance issues, which I'll get to in a minute, these are the main problems I have with the IDE in VS2005: Configuration Manager is broken. Really broken. Changing platform or solution configuration l ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to render 2 pictures, background picture and object picture

    Hi, I have some problem about render the picture, I wish to render two pictures in one scene, they are my background picture, and an animated animal picture. I have a function to update the value x and y variables, because I want to use these 2 variable to change the position of my DUCK picture, and make the DUCK picture moving on the screen. But it not working correctly, although the x and y value change in every second, but the DUCK picture still didn’t move. The DUCK picture just appeared on the (0,0) position, and didn’t move at all, and the picture just moving itself inside the RECT. Wish anyone could give me some solution.   2 nd Question I have some problem of my background picture also. I wish to perfectly fit ...Show All

  • Visual Studio Express Editions Problem With DataBinding and Listbox

    Hello All, I am having a bit of trouble with a Listbox and the display member databinding. Whenever I databind to the listbox, the only text that comes up is System.Data.DataRowView. Any ideas what I'm doing wrong Me .ListBox1.DataSource = myTable Me .ListBox1.DataBindings.Add( New Binding( "DisplayMember" , myTable, "Name" )) take a look at this and see if this helps   http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=539251&SiteID=1   in particular to my response, converted to VB.NET for you: Me .listBox1.DataSource = theDataSet.Tables(0).DefaultView; Me .listBox1.DisplayMember = "theColumnName" ;   ...Show All

  • .NET Development How Do I Clone a TableRow?

    I have a result table which is merely defined with a header row. There is a another table where search criteria is specified and, when the form is submitted, I'd like to use the header row as a template for creating a variable number of data rows in the result table. Solution to subject question In case y'all have suggestions for improving upon what I came up with in the mean time, this is what I currently have as a solution (though not what I was asking for): ResultTable.Style.Add( "display" , "" ) ' Dim lnk As HyperLink, row As TableRow For x = 0 To files.GetUpperBound(0) row = New System.Web.UI.WebControls.TableRow() row.Font.Bold = False row.Font.Size = 12 row.Cells.Add( New ...Show All

  • Visual Studio 2008 (Pre-release) LoadComponent - Beta2 --> June CTP

    In WinFx Beta 2 I was able to do the following. In a seperate assembly called MyPluginAssembly (that was not referenced by my application) I had a xaml file called MyResources.xaml that looked like this: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:im="clr-namespace:MyNameSpace" > <ControlTemplate x:Key="MyKey"> <im:MyCustomControl Width="100"/> </ControlTemplate> </ResourceDictionary> MyNameSpace exists within MyPluginAssembly and has a custom control called MyCustomControl. In my application I did this: Application.LoadComponent(new Uri(string.Form ...Show All

  • SQL Server 2005 SP2: failed to modify maintenance paln

    After upgrading to SP2, I created a maintenance plan in the management studio using the wizard. The plan executes OK. But when I tried to modify it, I got the following error, and cannot load and modify: Value cannot be null. Parameter name: component (System.Design) Please help ASAP. Ed http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1266171&SiteID=1 fyi on this aspect. ...Show All

©2008 Software Development Network