Satie Cheung's Q&A profile
.NET Development "There is no unicode byte order mark:cannot switch to unicode" error while loading with XmlDocument clas
I'm trying to load the Application.MyApp file and am using Visual Studio 2005 june ctp. This file is a new file generated by visual studio and is the "code behind" all VB Projects in VS 2005. I need to load this file and retreive a piece of information i cant seem to find anywhere else, but I'm running into this error! This error pops when I execute the doc.Load(filename) member. is there a way to force it to use a specific byte order I find not ...Show All
Windows Forms minimize forms
I have a series showdialog forms open, it is like, form2.showdialog in form1, form3.showdialog in form2 then when click form3 minimize button, a strange situation. one computer will minimize all 3 forms, which is what I prefer. the other computer will minimize only form3, put it in the bottom left of screen. why two computers have different behavior ...Show All
SQL Server installing SQL
I am trying to install SQL enterprise 2005 edition on an XP machine. Is it true that this will not work The config. manager appears but nothing else. If so, will the express version work Thanks in advance. Robert I have now installed the express edition instead (after uninstalling the previous version) and it still does not appear to have installed SQL. Robert ...Show All
Windows Forms Missing object in Office.Word.Interop.MailMerge
I have a piece of code that has worked in the past with no problems. Now as I do some work on somthing not related to the code no longer works. Can anyone please help me with this issue Here is the code in question: &nbs ...Show All
Software Development for Windows Vista SqlStatePersistenceService troubles
Hi, Adding a SqlPersistanceService to my workflow host causes the workfow to abort when it tries to persist. Unfortunatly the WorkflowAbort events arguments don't realy tell me anything usefull. The database is SQl Server 2000 sp3a and the persistance setup scripts have been executed creating the required tables and sp's. Initialising the SqlPersistanceService instance with a valid connections string causes no errors (indic ...Show All
SQL Server how to call Excel file in SSRS
Hi , I have one report in SSRS , in my report I have one table that display severel links, and when I click in one line in the table I want to display the Excel file linked to this line. exemmple : Line1: Report Balance Line2: Report Statistic ..... and When i click on the line1 it will call one Excel file called RPTBAL.xls Thanks for your help Where are these Excel files On a web server ...Show All
Windows Forms Inheriting Windows Controls and lack of meaningful or even called overrides
I have overridden a lot of the windows controls to try and augment then with a more Windows XP look and feel or just to make the application more visually appealing. This means I have to override a lot of the OnPaint and OnPaintBackg ...Show All
.NET Development Serial Number using WMI under .NET 2.0
I'd like to obtain the local machine's serial number using .NET 2.0. Does anyone have any sample code I've used WMI a little in VBScript over the years but each time I have to refer back to a sample to remember all the little tricks to getting it to work. Whenever I need a script however I turn to TechNet's Script Center. This site already has a bunch of scripts, a script writing tool and grea ...Show All
Visual Studio Team System Incredibly (astronimically) slow performance on new RC of TFS
We upgraded from beta3 to RC on TFS. Also ran the 2.0 hotfix. I uninstalled the client (had no instances of vs2k5 running) and installed the new RC team explorer client. I also installed the 2.0 hotfix on my local computer. Now the SQL server runs on 100% load.. 'TfsVersionControl.dbo.prc_QueryItemsExtendedLocal;1' is running It loads the solution fine to a certain point, but then freezes. Getting latest from team explorer goes fine. Branching i ...Show All
Visual C# Passing Data Between Forms
Ok. I posted this question before, but I didnt get a response. I can I access objects from one form to another Hi, Yes you can. All you have to do is declare the object as public in the class declaration. class test { public object yahoo = new object(); } cheers, Paul June A. Domag ...Show All
Visual Studio Team System How to assign more then one guy to single item?
In Microsoft Project I can assign as many resorces to one single task as I want. But wen I try to publish this kind of task to TFS then I get an error that "Assigned To" property has invalid value. If I change it and assigne only one developer then everything is ok. Sorry for "guys" I used that for the sake of brevity. Regarding my issues it seems that it's impossible in v1. http://forums.microsoft.com/MSDN/ShowPost.as ...Show All
Visual Studio Express Editions Auto-Save
How do I turn off the auto-save feature. When I make changes and just exit the IDE, it automatically saves those changes that I don't want saved. Thanks. It is in Tools-Options-Projects and Solutions. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=85342 I tried to turn it off (Do not save any changes before run), however, it still saves all changes and does not prompt you to save any change when you exi ...Show All
Visual Studio Team System Visual Studio 2005 Team Suite Release on MSDN Subscriber Downloads (Universal)
Hello everybody, Today Visual Studio 2005 Professional was released on MSDN Subscriber Downloads. We were unable to find the Team Suite Release. Any help Best regards Ralf Rottmann Word on the newsgroups is that your transition options are limited by your partner level. I've heard variously that - Gold partners get Team Developer, no role choice, no upgrade - Standard partners get Professional only, no Team Sy ...Show All
Visual Studio Team System "Assigned to" field in the work item editor
Although I have added the team members in the Server groups they don't appear in the Assigned to“ combo of the Add new work item“ dialog. What should I do to get the team members listed in that combo Thanks, Ognjen Actually, we got around the problem by putting the users in the global namespace admin group first (close VS, reopen again). Then move the users to their appropriate permission groups (e.g.: project contributer) ...Show All
Smart Device Development MissingMethodException when trying to directly access SQL Server throught .Net Compact Framework 2.0
Hi, URGENT! I'm receiving a missing method exception while trying to instantiate a object that contains simple SQL Client code on Pocket PC 2003 Projects. I'm using .Net Compact Framework 2.0 with Visual Studio 2005. The piece of code i post bellow is able to simulate the problem i'm talking about. I just can't see any problems. I've even declarated on the Pocket Project a reference to ...Show All
