Gegnal's Q&A profile
Visual Studio Team System Database projects require a connection to a local instance of Microsoft SQL Server 2005 for design-time validation
I am receiving an error when trying to create a sql server 2005 project using vs 2005 team edition and DB Pro. I have sql server 2000(default), sql server 2005 express(myserver/sqlexpress) and sql server 2005(myserver/sqlserver2005_2) Developer edition installed. All databases are up and running and can be connected via SSMS. I have changed the project options to point to the developer edition instance but the "project requires a connection...." error still occurs when I try to create a new project by using and of the databse templates. Versions are the following: Microsoft Visual Studio Team Edition for Database Professionals Version 2.0.50727.145 Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-76 ...Show All
.NET Development Displays Excel worksheet in DataGridView
How can I bind an excel worksheet data to a datagridview Im trying to load an excel sheet with numbers to my form, im trying to get as much of a look and feel as excel as possible. Hi Charles, Is there any alternative for updating data back to Excel. I tried using OleDbDataAdapter however it is not working as expected. Is there any way to create connection to Excel through Data Source Wizard Thanks, Unmesh ...Show All
Software Development for Windows Vista cdrom.sys - Cannot recognize DVD Drive
I installed Windows Vista RC2 (Build 5744) on a totally fresh new HDD, and everything went fine.... I installed many games, went fine...... Then I tried to install Alcohol 120% to mount one of my backed up games I had not burnt yet.... Then it suddenly shut down. Since then I have been unable to see my NEC ND-2500A, and if I insert a disc it is like it is unable to read it. It makes no attempt to read a disc what so ever. If anyone can help me I would be very grateful.... Many Thanks, (in advance) Ben I have a dvdwriter Samsung SH-S182F. The driver is recognized, but none of the discs are recognized. I have another cdrom drive which too had the same problem. However after removing the lowerfilters and up ...Show All
.NET Development Strange behavior when making remote call
I'm calling a remote server (client activated, hosted in WinForms app). A simple call without parameters (or with a simple string param) works fine. When I pass certain parameters, it crashes. Build is the remote class. This call to CreateBuildTree() works: Build prp = new Build (); prp.CreateBuildTree(); This one doesn't: Build prp = new Build (); string BuildDir = prp.GetBuildDir(); TreeNode root = new TreeNode (); root.Text = BuildDir; prp.CreateBuildTree(root, BuildDir); even when CreateBuildTree doesn't contain any code!!! public void CreateBuildTree() { } The error I get on the client side is "Server encountered an internal error. For more information, turn off customErrors i ...Show All
SQL Server How to read sql tasks and so on from a package programmatically??
Hi everyone, Once I've accesed to package by means of LoadFromSqlServer method how to read its Sql Tasks, for example I'm trying with the Executables property but unsuccessfully results: pkg.Executables.Item(0) Thanks in advance, humm. Not very useful for my plan.. If I've got a SSIS which owns 30 different tasks I'll have 30 assemblies.. Microsoft.SqlServer.SQLTask.dll.. for Sql Task Microsoft.SqlServer.SendMailTask.dll for Send Mail Task .. .. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cannot debug content pipeline
I am having problems trying to debug the content pipeline. Following advice in other posts, I put System.Diagnostics.Debugger.Launch(); in my processor code (in the Process method) to launch the CLR debugger. The just-in-time debugging window pops up, prompting me to start the CLR debugger. But when I do, I get an error message saying 'Unable to attach to the process'. I can't manually attach either the CLR debugger or Visual Studion 2003 (enterprise) to any managed process - like to Visual Studio Express or my game. It's going to be difficult to work with the content pipeline if I can't debug my code, so any suggestions would be greatly appreciated! Thanks, again, very grateful for the advice. This ...Show All
Visual Studio Tools for Office AddListObject gives "A list cannot overlap another list"
I am developing a VSTO Excel application where the user dynamically creates lists (implemented as host controls Listobjects) and saves his result. When the workbook is reopened I try to recreate these host controls from the persistens Excel Listobjects. The code looks like this in the Sheet1.cs foreach (Excel. ListObject listObject in ListObjects) { listInstance = this .Controls.AddListObject(listObject.Range, listObject.Name); } This fails with a COM exception saying "A list cannot overlap another list". I have looked in the documentation ( http://msdn2.microsoft.com/en-us/library/x97a5x3s(VS.80).aspx ) and found the following "To reconnect the events and data bindings the next time the document is opened, y ...Show All
Windows Forms Continue event processing after a prompt within the Validating event handler
I have many controls visible simultaneously on my Windows Form. One of them is an "editor," and when the user tries to leave that control by clicking on another control, I want to prompt the user to save their editing session, with a "Yes/No/Cancel" prompt. If the user clicks "Yes" or "No", then (after saving if they clicked "Yes"), the original click event should be processed. if they click "Cancel," the user should remain in the original "editor" control. To cancel, I just set the Validating event handler's CancelEventArgs argument's Cancel property to true (i.e., in C#: e.Cancel = true; ). However, displaying the MessageBox prompt in the Validating event inter ...Show All
Windows Live Developer Forums Photo Upload Tool
Photo Upload Tool - The photo upload tool is designed to allow you to upload pictures in a dedicated storage assigned to your space. You can rearange these photos into albums and arrange them in the order you want them to be displayed. You can also choose which pictures you do not wish to be made visible on your MSN Spaces photo album. Many people are having dificulty with the Photo Upload tool. If your Photo Upload tool is not working try these few simple steps. 1. Click here to download a .cab file that is required DOWNLOAD and when prompted click OPEN then close the folder it opens. 2. Click here to download another .cab file that is required DOWNLOAD and when prompted clic ...Show All
Software Development for Windows Vista Alps Pointing Device - Double click
Hi: I have installed Vista Ultimate on my Vaio portable, that has an Alps Pointing Device mouse pad. Under WinXP I could turn off the possibility of double tapping the mouse pad to simulate a double click (which I hate!). Does anyone know of a way of doing this under Vista TIA, MartinH. Hello Martin Hart Turner, I would suggest posting this question in the TechNet Vista Hardware Beta forums located here http://forums.microsoft.com/TechNet/ShowForum.aspx ForumID=714&SiteID=17 as the MSDN forums are geared more towards developers. Thanks! Matthew Braun ...Show All
Visual C# Accessing Resource Strings
Hello All, Is there a way to parse the resx file I want to create a text file that contains all the values of the .text entries in the resx file. Then I can give that to a multi-linguistic expert and ask him to convert those strings to some other language. Any pointers on this would be appreciated !! Thanks John :) The ResXResourceReader works just fine and solves my purpose. I am breaking my head over the ResXResourceWriter because I believe it can only create NEW resource files but not modify existing ones, right I need to do the latter. ...Show All
SQL Server Maxis 3G connection
I cannot connect to SQL Server 2000(Remote Server) through Maxis 3G connection. I'm using Windows Application to connect to SQL Server 2000. dim strsqlcon as string = "Server=000.000.000.000;databse=dbname;usr=sa;pws=1234" dim sqlcon as sqlconnection = new sqlconnection(strsqlcon) sqlcon.open() "It's Error : Sql not exist or access denied." But I can connect to SQL Server 2000(Remote Server) through Local Area Connection. Have any solution Thank you. I enabled telnet service in Services Tool. In cmd, i type "telnet xxx.xxx.xxx.xxx:1433" Error " Connecting To xxx.xxx.xxx.xxx:1433...Could not open connection to the ...Show All
Smart Device Development ExtractAssociatedIcon In Pocket PC Developement ..
hello .. I want to extrcat icons from .ico and .exe files .. but i can't find the method ExtractAssociatedIcon in .NETCF 2.0 i hope that i can found it , or somthing do this job .. with my best regards .. Please go ahead and post the code you come up with along with explanation of what you see while you run it. ...Show All
Visual Studio Team System how to produce reports using rs with fealtures like drag and drop in pivot table excel
HI, We currently have a report generated weekly running script which creates an excel file and pivot tables. Using pivot tables we can drag and drop the various required fields and the report changes instantly. But i was told there is a limitation of size while using pivot tables. Can this report be easily created with almost all the flexibility in reporting services, if so could you please guide me with some sample report or tutorials. Many thanks in advance. Cheers Dargonheart 007 Hi DragonHeart, Please post your question about reporting services dragndrop on the SQL Reporting Services forum - they can help: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=82&SiteID=1 What limitation of siz ...Show All
.NET Development problem to access web services via isa server
Hi, I have the problem to access web services. The machine is behind the ISA 2000 server. When I try to add web reference, it will pop up the screen to enter the username and password. However, I enter the the username and password for our domain, it comes up the following message "The request failed with HTTP status 403: Forbidden ( The ISA Server denies the specified Uniform Resource Locator (URL). )." Should I configure the ISA to allow the traffic or Can I program the system to invoke web service via our proxy server. Advanced Thanks for people who replies. Cheers Fazul what you have looks right -- is it not working I think the previous suggestion about using web.config was because the poster was accessing the web se ...Show All
