Master_gonzalo's Q&A profile
.NET Development Generate HTML files from XML files using XSLT
I have a little problem in displaying special characters when generating HTML files. In my XSL file, there is a code line to set footer of HTML page including copyright character (c), whose code is x00A9 (I defined it by ©). But when I view my generated HTML file in IE 6.0, this character (c) becomes character "c" only. And when I edit its source (HTML source), replace "c" by "©" or "©" then save, it displays correctly. Note : My XSL file using html output method encoding "Shift_JIS" (Japanese font). If I change this encoding by another charsets, this problem does not occur. Regards Minh Tran. ...Show All
Windows Forms c++ sharing data between forms
Hi As far as i know i cannot declare a global form cuz the compiler complains This causes me all sorts of problems with sharing data between different forms i have a main form A which has form B in it Inside form B i want to access data from form A how do i do it i had a look around to find an answer to this but either i am dumb or the answers were not for this case... Hi, If your using C++/CLI, then you could set the owner property of you Form B to Form A. From there, you could access all the public methods, fields, property of Form A. You could also use the internal modifier to enable access to other fiel ...Show All
Windows Forms I can't key in after MaskedTextBox is set in the source.
Hello~~ I open the popup form and the selected value is set in the maskedtextbox. For example, this.txtInput.InputText = this.mstrSelectedItem[0].code; But, after this, I can't key in the MaskedTextBox. The value is displayed and then, the focus is lost, the value is disappeared and the old value is displayed... Why does it happen Can anybody help me, please Thank  ...Show All
Visual C# Go To Definition
Can anyone explain why when I right mouse click a class and select Go to Definition, visual studio 2005 shows me the class that is stored in meta data, for example. User currentUser - this class is located in ObjectManagement project in a class call UserManagement.cs but the class it displays is User[from metadata] need some help on this one quickly please!! Hi Jonathan, it is mate. I have one solution with 5 projects, 4 of them are class libraries and the other is a web projects. I have tried calling the class from a different project and still the same response Wayne ...Show All
Visual Studio Team System Attribute for a project as a whole
Is there any mechanism by which to extend the PCW or to add a custom field to the team project level for purposes of reporting. I want to do cross project reporting based on projects that have a given attribute associated with them. I don't readily see a means of doing such a thing without keeping an external datasource for such an attribute and using it. Surely as configurable and extensable as TFS is there is a mechanism to add a custom attribute to a project and also preferably be able to set it during the PCW Perhaps with VSIP. I am reviewing the PcwTESample right now. This thread seems to address some of your cross project report ...Show All
Visual Studio Team System Error 28100.Error loading Event web service.
Hi, During installation I got "Error 28100.Error loading Event web service.". Any idea what is going wrong TFS is being installed on a Virtual Machine. Please feel free to contact me if you need any more information. Thanks, Bart ps. Is it possible to upload the setup log Are you attempting a single server or duel server TFS install At what stage of the installation process are you getting the error Easiest way is cut and paste the relevant error stack trace. ...Show All
SQL Server Cursor versus Temporary Table
Hi All, I am writing a stored procedure in which I need to read some records from a table which satisfy given condition, fetch the last read record and check its value. e.g. SELECT * FROM TestRequestState WHERE StateId = '11' ORDER BY TestReqNo. I want to read the last record of each TestReqNo and check some values from that row. For this I was thiking of reading the above Select using a cursor and then using FETCH LAST to read the last row into some variable. But this seems to be a round about way and also i have been reading that cursor will slow the execution. IS there any other better way. Should I use temp table instead, ...Show All
SQL Server Securing the MS SQL Server 2005 database on client side
Hello! I developed database driven .NET application and I need to deploy it. I faced a problem, which is "how to protect my database against direct access". I use MS SQL Server 2005 Express Edition as a DBMS and appropriate database. I want to make possible to manipulate with data in my database only through my client application. 1. How do I define SA password and instance name in silent mode of MS SQL 2005 EE installation with Mixed type of Authentication 1.1. Can I change SA password after the installation 2. If my database be attached to my new instance... Is it possible to copy my database, attach it to another in ...Show All
Visual Studio Team System Security Settings for client not on domain to connect
I notice that a machine we are testing with team system that is not on the same domain as the team server (simulating a developer working from a remote location) has issues connecting to the team server. The user has a domain account and is a member of the test project. Specifically, when the user tries to connect to team server from the machine that is not on the domain, he receives the following message: Unable to connect to this team foundation server (ip address). Team foundation server URL http://ip_address:8080 . Possible reasons for failure include - the team foundation server name, port number, or protocol is incorrect; - you don't ...Show All
SQL Server Unable to uninstall SQL Server Express 2005 Tools
I get an error message when trying to uninstall the SQL Server Express 2005 Tools. It reports, The setup has encountered an unexpected exception in datastore. The action is Write_CommitFlag. The error is: Unable to write property into cache: flagCommit. XmlRW Error: Failure loading XmlRW.dll CheckAllProcedures() It is currently preventing me from installing the full Sept CPT because it needs to have the express components removed. Any Ideas, this is really frustrating. Hi Rich, Try by command line Start /wait D:\SQLServer2005_June\setup.exe /qb REMOVE=ALL Start /wait msiexec /qb /X D:\SQLServer2005_Ju ...Show All
Visual C# stop code in thread from furher processing
hi everyone i have a c# application that uses multithreading to connect to sql server and execute a stored procedure on the server. i am using a dataset,sqlcommand,dataadapter and a datagrid to carry out the process on a background thread and everything goes well but the problem arrises when i created a stop button that attempts to cancel the operation of dataset filling(somtimes the query takes much time and i need to cancel the operation) so that is what i did : 1)created global boolean variable isconnected put the following code inside stopbutton_click try { dataGrid1.DataSource =null; ...Show All
Visual Basic I don't know how to describe this problem
I have a tabcontrol that has tabs added to it when a menu item is clicked. Each of these tabs has their own set of controls. Each tab allows a file to be opened (via FileOpenDialog). When a file is opened, some of it's data is inserted into certain controls on the tab. Each tab has a button that is used to close the tab (using the Remove method). When the tab is closed and re-opened, the file is still loaded and the file's data is still present in it's respective controls. It might be useful to know that the file is stored as a byte array. (stored in b ) What I want is when I close a tab, then I re-open it, it is displayed as if no fi ...Show All
Visual Basic Can I run the java programme using VB
Hey, I know that in java, we can use runtime class to run a programme written in another language. But I'm not sure if it is possible in VB6. If yes, how to implement it Besides, how to read in a text file in VB6 Thanks in advance! Process.Start will run a program, no matter what it was written in. There is a file system object you can create to read text files. Google will answer this for you, in seconds. Can I ask, you're obviously startnig in VB6, why you're not using VB.NET ...Show All
Visual C++ How can I send event (keyboard) to an Explorer Active X ?
Hi ! I write a program using an active X which permit me to include an Internet Explorer. that works well, but, i wanna send events like keyboard key, (using SendMessage or keybd_event). the aim is control scrollbar. program schema : .Principal Window --IExplorerObject ----WebPageActualyViewed. I can access to IExplorerObject, but not to the WebPageActualyViewed. I think WebPageActualyViewed contain its own scrollbar. How Can i send event to WebPageActualyViewed Thanks very much. Maybe the scrolling problem ...Show All
Windows Forms RichTextBox.ReadOnly = True
I am developing a chat application and I'm using a richtextbox to display the content of the conversation. I don't want the user to be able to modify the text in that field so I set the ReadOnly property to true. When I run the app, the richtextbox control is colored beige as if the Enabled property were set to True as well. Is this action normal for the ReadOnly property If so is there another way to make this field read only through code while maintaining the current background color Yes, it's true the BackColor is already Window but that's the default value. If you change it to something else and then back to Window it will have a ...Show All
