Amish Karanwal's Q&A profile
SQL Server Problem in registration of sql2005 in enterprise manager sql2000
i wna to register 'sql server 2005' in "sql server 2000" enterprise manager. but when i connected i recieved a error massage :- " {SQL-DMO} You must use SQL Server 2005 management tools to connect to this server" can anyone help regarding this error........... The error message tells you exactly what the problem is, Enterprise Manager doesn't support SQL 2005. If you don't have a paid Edition of SQL Server 2005, you can download Management Studio Express from the download page . Mike ...Show All
Smart Device Development Freeze Columns DataGrid
Hi, Please, how to freeze the first column DataGrid when moved scrollbar. My application for WinCE.Net 4.2. Thanks Only by using 3rd party data grid with this feature or by writing your own data grid, I'm afraid. ...Show All
Visual C++ Error: fatal error LNK1113: invalid machine type
Hi all, Has anyone ever seen this error, because this one is above me ..... . I have no idea what wrong is, could someone please help. Thanx in advance Regards Programm3r The thing is i am building the complete project, but how can a piece of code be meant for just one / or a couple of processors , I mean thats like building a car that must take only a certain stereo system. But thanx for the relpy Regards Programm3r ...Show All
Visual Studio alternating table row colour
Hi, the title says it all... how do I alternate the row colour using the Table control in an RDLC I'm using VS 2005. I can see the properties for the Detail row but there doesn't seem to be anything there to alternate colour. regards JOel How do you then reset the alternate row colouring when dealing with toggles or table grouping Cheers! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anyone need music/sound design?
Hi! I'm an experienced musician/audio engineer and avid gamer looking for some projects to help build a portfolio. I'm especially interested in composing context sensitive music with some basic interactivity. I also have a fair bit of programming and scripting experience and knowledge of modern game engines. I specialize in Rock, Electronic, Rap, and Orchestral. Here are a few examples: Orchestral: http://thirdcoil.com/music/wasted_potential.mp3 Orchestral/Action: http://thirdcoil.com/music/biohazard.mp3 Rock/Electronic: http://thirdcoil.com/music/politic.mp3 Electronic/Dark: http://thirdcoil.com/music/avail.mp3 If anyone has a project they think I'd be well suited for, let me know. I'm just looking to get some experience. Thanks! - Joel D ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how do you assign an integer for a sprites position?
Yeah... my question is basicaly the title. Don't really understand what you mean here. But a sprite has a x,y position so just assign it. pos.x = 64; pos.y = 32; ...Show All
.NET Development Can't step into web service in debugger
I have a windows forms application that calls a c# dll which calls a web service (on my local web server). I wrote the code using VS.NET 2003 and had no trouble debugging. I have recently upgraded to VS.NET 2005 and can no longer step into the web service. When I set a breakpoint in the web service and start the app, I see an icon next to the breakpoint that says no symbols have been loaded for the document. I have added the following line to the webconfig file: < compilation debug = " true " > The configuration Manager shows all projects being built with debug on and when I look at the property pages for my web service, the asp.net debugger is checked. Does anyone know what I am doing wrong ...Show All
Visual C# Help needed !!!
Hello, I am doing a project in Visual C#. 1. I want to know how to create an exe file for a Visual C# project. 2. I am using Sql Server 2005 to store my database.I tried to add a new table into the database via code, the project is compiling properly without an error, but then the table is not created. Pls help me with a solution to the above said problems.... I need them urgently.. Sorry for troubling you!! Regards, Sweety The problem is that creating a SqlDataAdapter is not the same thing as executing the statements used in it. Also, the data adapter shouldn't be used to perform DDL statements, only DML. Try changing it to the following: string connectionString = "Da ...Show All
SQL Server Performance issue on a singel large insert
Hi, I'm testing Mirroing. 1) I have dedicated NIC for Mirroring - 100Mb There is no issue with the network (file of 25MB goes in 2.5 seconds) 2) I'm issuing the next simple command Select * into dbo.Table2 from dbo.Table1 3) the size of the table is 25MB in async mode it takes 3-4 sec (as if it runs only local) in sync mode it takes 25-29 sec !!!! WHY IS THIS NORMAL is there any configuration i can change For more information on Database Mirroring performance look at: http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx ...Show All
Visual Studio 2008 (Pre-release) The project type is not supported by this installation?
VS2005 Team Suite RTM with SP1 Beta - XP SP2 - latest patches Hi, I have been learning XAML at the intro level. I had an old version of dotnetfx3 and wpf templates and I could create a project and run it. Yesterday I removed the old templates and the old framework with a removal tool and installed the RTM framework and new templates. However now I cannot open create a new project. The error message I am receiving is: "The project file c:\documents and settings\renee\localsettings\temp\4t4baj4.dyv\temp\WindowsApplication1 cannot be opened." The project type is not supported by this installation. I have not installed the extensions. I never have. I don't have enough disk space on the current system. What ...Show All
Visual Studio 2008 (Pre-release) MarchCTP: Data Source Trouble...
Well alright... I right-click my project-->New Item I select ADO.NET Entity Data Model -> Enter I select "Generate from database." I click "New Connection..." Server Name: "localhost\sqlexpress" Use Windows Authentication Attach to database file: Navigate to a northwind.mdf file logical name: northwind. Test Connection -> "Test connection succeeded." When I Click OK. Both the Connection Properties window and the wizard window close out entirely. I can't seem to continue the wizard. Any idea what could be wrong :) Are there any samples for ADO.NET for this release somewhere I tried using the OctCTP samples found here . Anyways, the Data Sources window seems to be hosed as well.. .i can't s ...Show All
SQL Server gridview edit/delete
In gridview the edit and delete links appear where they belong and on edit the proper expanded edit bar appears allowing me to make changes, but when I click update it closes the edit bar and returns me to my original position without posting the changes. The same thing happens when I attempt to delete a record. The database is a single table and I assume the connection string is OK as evidenced by the fact the data is displayed correctly. Edit and delete were selected from the drop-down options menu on the gridview as opposed the inside the properties box. To really drive me off the deep end, if I create a new site and data base following all the same procedures, I have a 50/50 chance that it will work properly, and I promise I haven't be ...Show All
Visual Basic load form
as a newbie to vb 2005 I created a password form where the user enter the usual data i manipulate the data etc etc at the end when the password form ends I want to call frmMain.... how do I do that Private Sub OK_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim Name As String Dim Password As Integer Dim OfficeNumber As Integer 'Dim frmMain As New Form Name = UsernameTextBox.Text Password = PasswordTextBox.Text OfficeNumber = OfficeNumberTextBox.Text all the data stuff will be put in here Me .Close() frmMain.ShowDialog() End Sub ...Show All
Software Development for Windows Vista Activate sound devices via code?
Hello! I posted this on MSDN Forums Audio and Video Development Media Foundation Development before I found this forum. I think this is a better place. For some reasons I could not delete it there, so please don’t blame me for double-posting :) In the Vista sound-control-panel one can activate and deactivate what is now called sound devices (microphon, line-in, phone etc.) Is there a was to do this via code First of all I did not manage it to get the deactivated devices by the EnumAudioEndpoints Method using the predefined flags. On my system the device state in the registry is 0x10000001, in case of a device not beeing active. I defined a custom flag with this value and the EnumAudioEndpoints method succesfully re ...Show All
.NET Development Problem in CData section after XslCompiledTransform
I am transforming a xml file from xsl file and save it into another xml file. By using Visual studio 2005 IDE I am getting correct output but After using XslCompiledTransform my Cdata section are gone. My XML FIle < xml version="1.0" standalone="yes" > <NewDataSet> <Table> <Title>CAD Designer/Drafter</Title> <CreatedDate>2007-01-12T10:14:00+05:00</CreatedDate> <BookNumber>1181015</BookNumber> <CompanyName>R. W. Beck</CompanyName> <ZipCode>98113</ZipCode> <City>Seattle</City> <State>WA </State> <Country>US</Country> <companydescription xml:space="preserve"> </companydescr ...Show All
