shyamu's Q&A profile
SQL Server Another question about Login failed, but with Windows NT Integrated security for SQL 2005
Hi, Happy New Year! I have been struggling with this problem for a while with SQL 2005. I have never had such login problem with SQL 2000. Here is the scenario: I have installed SQL2005 standard version on a XP Pro box and I am trying to access it from another XP Pro machine. I can access it using a SQL user name and password that I set up on the server, but I have not had luck with using Windows NT Integrated security. When I try to connect to it (e.g. by a UDL file), I get an error saying Login failed for user ‘HP-AMD64\Guest’ where ‘HP-AMD64’ is the name of the PC running the SQL ...Show All
Windows Forms PropertyGrid and Property Editors
I have been working with propertygrid for some time now and feel I have a good grasp of making it do nice thing using attributes - but one thing keeps bugging me. I can decorate a property of a business object to use an editor (say MyEditor) and in the gui I get an elipse on the propertygrid that shows that editor. Whilst this is gr ...Show All
SQL Server download source? - Mike Wachal - developing apps w/embedded databases
Hello, I watched the ondemand video and I am still looking for the source that is referred to. I, of course, would like to download it and work with it. Please post where I can find it. Thanks. Thanks for watching the webcast! I'm a bad webcast host and I haven't posted the source yet. When I post it, it will be available on the SQL Express Blog and I'll post a notice in this forum that it's there. Sorry to be so lame, I'll get to this next week at the latest. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All
Visual Studio Team System Ghost projects
2 weeks ago I had some problems creating projects from a remote location. The problem never really got solved but I can live with that for now. The problem is that the few times that I tried creating a project, the process halted with an error saying that it might not have been able to roll back all changes. Now my question is. The projects that I created doens't show up in the Team explorer but Source Control has entries for the projects and I'm not able to remove them. Likewise if I look in security settings new users was created for the projects. As with the Source control project I'm not able to delete them as well. Does anyone hav ...Show All
Visual Studio 2008 (Pre-release) SQLMetal Timeout
I am getting a timeout error when I run SQLMetal on some of my databases. Are there any restrictions as to how many tables there can be The ones that time out have 300+ tables in them. I can get it to work on smaller databases (e.g. Northwind and some of my own with less than 100 tables). -Larry Thanks Larry for trying out SqlMetal. This is a known issue we are looking into - SqlMetal currently does not specify (or take on command line) a timeout. We are looking into a solution. Thanks. Dinesh Kulkarni ...Show All
Visual Basic How can I share the Main Module between projects?
Hi: How can I share the Main Module1 between projects I have project1 in vb.net and contains Module1 (Sub Main of the application) project2 in C# in project2 I have a form1 class that contains a subroutines that need to reference 6 variables that are declared and instantiated in the project1 in the main Module1. Module1 at present is been compiled as Class Library, plus will be a reference of project2 and because I need this variables referenced from project1 it wont compile of course because they are not declared. What can I do Anybody has any suggestions -S ...Show All
Visual C++ How to Port MFC to .NET; from VC6 C++ to Managed C++ and/or C# .NET
Can someone point me to information on how to port and/or reuse a portion of a huge MFC app to C# .NET managed and/or C++ .NET managed code. Willing to rewrite most of the user interface, but need to preserve/modify existing code that is based on 50+ classes derived from MFC's CObject. I need the "Serialize" portions of CObject so that my existing data files can be read into the ported app, or so I can create a conversion app. I already have everything compiling and running in VS.NET C++ 2003 using MFC. But this is not a Managed code app, and C# can't talk to it in an interop kind of way. Further, it can't use 3rd ...Show All
Software Development for Windows Vista Installing Windows Workflow Foundation Beta 1
There have been several threads with questions about installing Windows Workflow Foundation Beta 1. I'm hoping to summarize the installation instructions for anyone else that might be having trouble. These instructions are also available on the WindowsWorkflow.net community site here . James Conard Architect Evangelist - Windows Workflow Foundation http://www.WindowsWorkflow.net http://blogs.msdn.com/jamescon -------------- Windows Workflow Foundation Beta 1 is compatible with the .NET Framework and Visual Studio 2005 Beta 2 (builds 50215.44 & 50215.45). Windows Workflow Foundation Beta 1 is not co ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem while installing Direct X 9.0c
Hi I am using windows xp professional with service pack 2 installed in it. As we all know that service pack 2 has built in directx 9.0b installed in it. Now if I try update directx 9.0b with directx 9.0c it wouldn’t do it. I am still unable to install directx 9.0c into my pc. When I try to install directx 9.0c , a dialog box appear saying “The components installed are now ready for use.” Which is not true. I tried running “dxdiag” command it still shows directx version 9.0b Please help! It's possible that the components are updated, but the version number you see wasn't. Do you have games/software ...Show All
.NET Development Marshal unmanage pointer to array of structure
Hi, I've been struggling with this problem for quite some time now and i think i deserve a bit of help ! I got this C++ tool that calls a C# service. To communicate together i got an IDL with defined structures in it THAT I CANNOT CHANGE. This is a problem because i can't tell the compiler the layout information about how to marchal each parameter. Anyways, let's continue. This is the structure in IDL: typedef struct { DWORD id; DWORD nDetailLevel; BYTE descr[ 256 ]; } TRACE_INFO; As i said, i cant play with this. The C++ to ...Show All
Visual Studio Team System Couple of questions
I was told that if I had Visual Studio Team Architect version I could make a one time change to Visual Studio Team Developer. Does anyone know how to do this via the msdn web site I have an RC of Visual Studio 2005 Team Suite based on discussions I have had with others I am begining to realize that this is not the latest version of Visual Studio Team System. Is there a way to determine what is the latest version, i.e. version numbers Team Suite has most definitely been publicly available since mid October. Team Foundation Server has of yet not been released. I will post information about changing your ...Show All
SQL Server Best way to handle License issues
Here is the scenario: We are developing an ETL type data load application and we're thinking building a SSIS package to assist with this. The application and data files to be loaded would be on the client Windows XP Workstation. The SQL Server 2005 instance would be on a networked server elsewhere. The XP Workstation would NOT have sql server 2005. What is the best way to handle this Can this be achieved fairly easily Kevin You’ll have to be a bit more specific on how you want to do your licensing... on a per seat basis Per server No matter the model, I would highly recommend taking a read of this arti ...Show All
Windows Forms Restore Cursor.Clip to full screen
Hi, I have used Cursor.Clip = this.RectangleToScreen(new Rectangle(clipLeft, clipTop, clipWidth, clipHeight)); to specify an area in which the cursor can be used. Now I want to restore the Cursor.Clip so that I can use the full screen again but I have not been able to do that. Anyone have any suggestions /Moorstream In addition, this works as well (don't know what the prefered way is): Cursor.Clip = Screen.GetBounds( this ); You can use GetBounds also to clip to a portion of the screen. ...Show All
Visual Basic Movie, TV, DVD Info Program
I'm trying to make a program that will allow the user to type in the name of a movie or TV show, and then have it show them when and where it's playing in theaters, when it's coming out on DVD, or what channel and what time's it playing, depending on what was entered. I need the program to retrieve this information from the Internet. Does anyone know a good way to do this As far as I can tell the most efficient way for the movies and DVDs would be XML RSS feeds, but I don't know how to manipulate these in Visual Basic 2005. And this still doesn't cover TV listings, which I imagine would be more complicated. Anyway, I was just looking for hel ...Show All
Visual Basic Object instance lookup & lifetime
Hi there, currently still using VB6 but exploring the move to VB.NET. We have a multi tier application with a tier in which we have created object classes representing table records (Flight, Booking, Airstrip, Passenger etc.) Since these objects are referring to each other we need to be aware that we do not create more than one instance in memory for a certain FlightID. Hence we have a "cache" (dictionary) which holds a reference to every instanced Flight object etc.. This in order that the Passenger.Flight and Booking.Flight actually refer to the same flight instance. The question is this: - In VB6/COM you could (with difficulty) find ...Show All
