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

Software Development Network >> Qkyrie's Q&A profile

Qkyrie

Member List

Shu Gao
anandcbe14
Simon Painter
GranBosco
Worf
Jan Meeusen
bkohler
Richard Erbes
jbattat
Jeff Green
M1tt
Server Girl
Matt Bastin
MBM_Mimo
Michal Konecny
Jon123456789
willfried
chaza
Michael Hansen
Gluber2006
Only Title

Qkyrie's Q&A profile

  • .NET Development Force XML escape characters

    I have to generate XML for some outside people. They want all escapable characters escaped. I am using Xml Serialisation because it is returned by a web service. .NET will only escape &<>, but not " or '. How can I force the escaping of all escapable characters This overload of the Serialize method takes an XmlWriter  for instance, instead of passing in one of the XmlWriter implementations the .NET framework provides to you you need to pass in a custom implementation of XmlWriter that does the escaping you respectively your customers want. As suggested,  one way to write a custom implementation of XmlWriter is to subclass the XmlTextWriter class. This article talks a lot ...Show All

  • SQL Server SQL Server 7.0 shows a suspect database after attaching it in SSME?

    Hello, I have a database that resides in SQL Server 7.0 that I can attach in Microsoft's SQL Server Management Studio Express and I can see all the tables from the database in that program. My problem is that when ever I re open SQL Server Enterprise manager, the database that I attached to SSME, shows up as Database(Suspect). Now I am unable to view my tables in that database. Can anyone tell me what causes this, and how I can resolve that issue I need to have my sql server database, and sql server express edition database present in SSME because I am doing an import of data from SQL Server 7.0 to SQL server express. Also, if there is another easier way to import data from SQL Server 7.0 to SQL Express edition, I would like to ...Show All

  • Windows Forms To establish a button of a "ToolStrip" to the AccepButton of a Form Form

    Since it is possible to do None of the ToolStripItem derived controls implement IButtonControl so they can't be used as an AcceptButton. You can easily solve this problem in code. Add this to your form: protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Enter) DoAcceptButton(); else if (keyData == Keys.Escape) DoCancelButton(); else return base.ProcessCmdKey(ref msg, keyData); return true; } private void DoAcceptButton() { } private void DoCancelButton() { } ...Show All

  • Visual Studio Team System The application for project is not installed (project types .rptproj and .dwproj)

    It used to work, but then... Visual Studio 2005 was hummin' and I had a number of BI projects in both Report Services and Analysis Services. I wanted to add source control and decided to install the Team Suite and I did something wrong. I just don't know what it was. In the end, I deinstalled every Visual Studio 2005 (including, of course,the Team stuff)and SQL Server 2005 application, and reinstalled old faithful Visual Studio 2005, but nothing has worked. I'm missing the Business Intelligence project templates completely and I'm guessing that if I had them, I wouldn't get either of the following 2 messages when I try to open existing projects: "The project application for 'c:\...\SOS.dwproj' is not installed. Make sure the ...Show All

  • SQL Server Data disappearing during Run time

    When I enter data into a SQL database and save it, the data that I have just added disapears, but when I close the applicaiton and re-open it, it's still there - is there any reason for this and any way to get it to stay Any ideas Cheers, discription of things like this isn't my strongest point, below is the coding attached to the save command button. Do you ahppen to know somewhere I can get the coding to refresh (from what you were saying in your last post). Thanks again Coding behind save button: Private Sub BindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorSaveItem.Click If Validate() Then 'Ends the ed ...Show All

  • Visual C++ Reserve Physical Memory

    Hello, I am working on a project that needs reserving physical memory (100MB). Can anybody show me how I can achieve that. If you can provide a code sample, that will be great ! Best Regards, Rupesh H Bhurke Your question is too vague to be answered accurately. You should specify your platform, environment, and reason for attempting to allocate anything. A quick example on how to allocate 100 MB of virtual memory follows. As basic as this is, however, it isn't non-pageable or anything like that, so it's not guaranteed to be in physical memory at all times. char* myBuffer = new char[100485760]; // do something with the buffer delete myBuffer; ...Show All

  • SQL Server MSSQLServer Service terminated unexpectedly MS-SQL 2000 with SP4

    MSSQLServer service terminated unexpectedly We are running SQL Server 2000 with SP4. This server has been running for the past six months with no SQL server problems. A Max of 10 users have access to the application running on this server. The Event Viewer Log shows the Source: MSSQLServer Category: (2) Type: Error EventID: 17052 Description: The MSSQLSERVER service terminated unexpectedly. No other error messages were seen in the SQL server log or windows event viewer. The time when it terminated was not during peak load/activity. The server is Windows 2003 with SP1. Any help would be appreciated. I met same issue as you yesterday and my environment is alse as yours. I 'googled' solution over internet, on ...Show All

  • Windows Forms Question about docking a control in a panel

    I created a search form in a panel, to be placed in forms: A textbox and a button on top, and a datagridview docked to bottom. I add this panel to my form, and set dock to fill. Then the problem occurs: If the form i add this panel to is higher than the panel, the datagridview will just remain the same size, and stay at the bottom, while the textbox and the button is at top, making a big empty space in the middle. Like this: [TEXTBOX] [BUTTON] ----------------------------- | Dataridview area | ----------------------------- How can i make the datagrid automaticly adjust it's own size, to fill the empty space What i basicly want is to spike the top of the datagrid to right underneith the textbox and button, and whenever ...Show All

  • Internet Explorer Development window.open and <a> with named target always opens new window

    Hi there, We are having some problems with reloading named windows. We use in our applications two kind of methods: java scripting: window.open("../Company/SelectDerde.aspx","SEARCHCOMP", "height=600, width=750px, menubar=0, location=0, resizable=0, status=0); html: <a href="../Company/SelectDerde.aspx" target="SEARCHCOMP">Search Company</a> Before IE7 the webbrowser reloaded the window (if already loaded) with the name 'SEARCHCOMP' with the new page. With IE7 it always opens a new tab or window (depending on the IE7 Settings) Does anyone know of named targets are no longer supported with IE7 Thanks in advance Patrick Marelis ...Show All

  • SQL Server db_owner role

    I am getting this error message when disabling a job. The user is not a SA. TITLE: Microsoft.SqlServer.Smo ------------------------------ Alter failed for Job 'XYZ'. ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ EXECUTE permission denied on object 'sp_help_operator', database 'msdb', owner 'dbo'. (Microsoft SQL Server, Error: 229) The user can diasble the job if i give db_owner permission on msdb. Is there a way i can do this without making the user db_owner Thanks for any help ...Show All

  • Visual Studio 2008 (Pre-release) How to populate a WPF TreeView node from a datasource?

    I'm having a question about populating a treeview control node. <TreeView> <TreeViewItem Header="Node1"> <TreeViewItem Header="Subnode1"/> ... <TreeViewItem Header="Subnode10"/> </TreeViewItem> <TreeViewItem Header="Node2"> <TreeViewItem Header="Subnode1"/> ... <TreeViewItem Header="Subnode10"/> </TreeViewItem> </TreeView> Now, my problem is that I have a observableCollection that holds infrmation for subnodes that go into "Node1", and another observableCollection that holds information about subnodes that go into "Node2". Until runtime, I don't know which ...Show All

  • Visual Studio Express Editions Color Picker i think

    hi anybody know how can i create one thing similar like a control in microsoft word, power point, etc. To change text or background color. Thanks Ok I also suspected that using a custom control was the only way, but I don't know how to create custom controls because I have never done it, so I will have to research about it. Meanwhile, if someone has another idea or an example of creating a control like this we'll appreciate it. Thanks ...Show All

  • Visual Studio Team System Install TFS SP1 onto TFS SP1 Beta

    Hi, I'm trying to install TFS SP1 on a TFS server that has previously had TFS SP1 beta installed. The update/patch package is VS80sp1-KB926738-X86-ENU.exe . The error dialog message is: "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch." The event log also indicates the error with the following description: "Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU - Update '{A212FEEC-14C4-460E-BE0E-F1DEBD14C324}' could not be installed. Error code 1642." ...Show All

  • Visual Basic Run My Computer

    Hi there again, I was wondering how i could run "My Computer" on Win XP... Can anyone give me a solution If i'm not clear, what i want is to run Explorer and open it up in the My Computer folder. With Process.Start(Environment.GetfolderPath( Environment.SpecialFolder.MyComputer)) I cannot do it. Thnx a lot; Yeah, and I had a few more with that code: Private Const MyComputer = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" Private Const RecycleBin = "::{645FF040-5081-101B-9F08-00AA002F954E}" Private Const NetworkNeighborhood = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}" Private Const ControlPanel = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B3 ...Show All

  • .NET Development BeginAcceptTcpClient problem

    I have this very simple program: using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; namespace TcpServerTest {     class Program     {         static TcpListener _server;         static void Main(string[] args)         {             int port = 5656;             Console.WriteLine("Starting server on port {0}...", port);             IPAddress addr = IPAddress.Parse("127.0.0.1");    &n ...Show All

©2008 Software Development Network