Albion Simon's Q&A profile
Visual C++ Visual Studio Crash on open of one project.
I am having a problem with Visual studio. I have a solution that consists of 8 projects. And when I open this project VS crashes. If I try to open other projects I have no problem. It is just this solution that causes the fault. I have narrowed it down to one bin directory. If I delete it, the solution will open. Oddly enough, it is my "common" project which has most of the very basic classes and interfaces that are common to the whole solution. So this project has very little complex code. VS opens, shows the project tree, opens all the source files and then the "error list" window comes up shows no errors, and right after that VC crashes and askes if I want to reload VC. Any ideas would be greatly appreciated ...Show All
SQL Server Table Column Comparison Transform
Is there a transform available which allows you to specify two different tables (same primary key) and compare columns (you identify which column(s) values need to be compared in the transform) between those two tables thanks J.A.J. wrote: I want to be able to compare column values between the two different tables. These tables will have the same primary key but the column names and number of columns will be different. I will have a mapping table that lists which columns are to be compared. As Phil says, a Lookup will help you here. Once you havethe columns in your pipeline then you can probably compare them (you still haven't said what comparison you want to do) using a Derived Col ...Show All
SQL Server SSIS - AcquireConnection method call to the connection manager failed
Hi all, I am facing a problem with the connection method, it says, "[Store [10069]] Error: The AcquireConnection method call to the connection manager "Data Source Destination" failed with error code 0xC001A004. " (Store - Look up component.) This problem occurs only when i am using Transaction option, all the component(Look up,Destination etc) says the same error message in the Pre-Execute phase. But i can open the component and can able to see the data in preview. And also this is not occuring in our testing environment. We have copied the same pakages in our production, the package failed stating the above. I can not simulate the same problem in my testing server. Has anyone faced this kind of probl ...Show All
Smart Device Development Using FolderBroswerDialog class example in unmanaged C++ code
Hello I would like a FolderBrowserDialog in my application which is written in unmanaged C++ using wince 5.01 Smartphone SDK. I read that it's not possible to use managed code in unmanaged C++ wince projects so I wonder how I should solve my problem. My plan was to use the example from http://msdn2.microsoft.com/en-us/library/5db6b0zy.aspx but since I'm not able to use the C++ example ( I get the /clr error because it's managed ) I don't know which way to go. Is there anyway for me to perhaps create a C# or VB project containing the example code and have that compiled into a lib that I include into my unmanaged C++ project or perhaps linking it directly somehow What other options are there for me to obtain a FolderBrowserDialog in my app ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model animation
Hi, I'm working with XNA gamestudio for a while now, it's really great but there's no support for model animations I already searched the entire internet for some good tutorial or example but there isn't any. I just can't believe model animation isn't supported by standard Because...what is a game without animated models Also if anyone has some information about loading bones it would be welcome. I really hope that there's someone out here who can help me with this. I really enjoy using XNA gamestudio and I wan't to start writing games! Thanks for any help, jeroen there's a codeplex project here: http://www.codeplex.com/animationcomponents ...Show All
Visual C# cannot debug any code once it has changed
Hi, I have just installed Visual C# 2005 Express Edition and all was well. One day later and I can't debug a new project as I get the error: "The following module was built either with optimizations enabled or without debug information" I can create a new command line project and add the following line of code: Console.WriteLine("Test"); This runs fine...no problem. However when I change that line to: Console.WriteLine("Another Test"); I get the above error. I cannot debug any code once it has changed. I've seen some other posts with the same error but no clear solution. I have worked out that when I delete the .exe file from the bin\debug directory it all works again. The code debugs f ...Show All
Visual Studio 2008 (Pre-release) Inheriting from inherited user control
I'm having a problem with a user control generated code, when it inherits from other than UserControl. Steps: 1. Add new User control 2. Replace in the inheritance declaration UserControl for MyBaseUserControl 3. Compile The generated class part is still inheriting from UserControl. You can change the ".g.cs" file, and sometimes you can get it succesfully compiled, but the error cames back again and again :) There is another way to do that Thanks in advance... As the error message indicates, you can inherit from a class that inherits from Window, not from a Window you've created that has a .xaml and a .cs file. The former will be perfectly acceptable as a base class, the second will not. ...Show All
Visual C++ "Goto Definition" sometimes doesn't work
In VS2005 SP1, "Goto Defintion" sometimes works fine, other times it takes me to the declaration, not the definition. Sometimes it brings up a long list of possible definitions for me to choose from (as versions previous to VS2005 would do) where there should be no reason to ask me. This is happening even on normal class method names. Sometimes deleting all target files including the .BCS file and rebuilding eliminates the problem; sometimes it doesn't. I had the same problems before installing SP1. How can a basic feature like this still be broken I searched the bug list for "goto definition" and didn't see it, which seems very strange given the bug has been around so long. Someone m ...Show All
SQL Server Exporting from MSDE 2000 to SQL Server 2003 DB
I originally posted http://forums.microsoft.com/msdn/ShowPost.aspx postid=900493&SiteID=1 How would I move a db in MSDE 2000 to SQL server 2003. I want to include the db structure and data. The MSDE and SQL Server system use the same file structure to store the information, the only difference is the engine. To move the MSDE Database to a full server install is as easy as backing up the database and restoreing it on the server install. This will work when transfering from MSDE 2000 to SQL Server 2005 (All Editions). Remember if you need some management tools you can get the SQL Management Studio for SQL Server Express and connect to the database to assist in performing the tasks, or if yo ...Show All
Visual Studio Express Editions Loading Error
I have been using C# for a really long timed, Installed it many times, but all of sudden, for no apparent reason my C# wont load because of this error. "The Procedure entry point lockClrVersion could not be located in the dynamic link library mscoree.dll" Has anyone heard of this error Have any ideas on what to do Thanks. -Teenprogrammer thank you for replying!!! See, its a very vauge error. Basically, I double Click C# Express Edition ( which I was able to use just yesterday ... ) and then without warning, I get my error message. If i try to uninstall VC# Express ... I get the error message. It seems to appear whenever anything related to C# Express is accessed ... Its really awkward and vau ...Show All
Visual C++ CreateProcess VS2005
First id like to say i apologise for the repeat post on this topic ive seen quite a few about create process. However ive come accross a problem i havn't seen addressed before... The example works in msdn help... but im having some trouble using a variable.. ill explain... heres the working one... LPTSTR szCmdline=_tcsdup(TEXT("cgi.exe")); now the main problem is getting a variable in place there... ive tried a few things.. one being string cgi="cgi.exe"; LPTSTR szCmdline=(LPTSTR)cgi.c_str(); CreateProcess(NULL, szCmdline, NULL, NULL, TRUE, 0, NULL, NULL, &StartupInfo, &ProcessInformation); The other problem is i need to get the file to load outside the directory of the parent process... which i cant get to wor ...Show All
Visual Basic Create new Webbrowser
I want to create a new webbrowser and display it in a tab I tried this Dim browser as New Webbrowser in TabControl1.SelectedTab But that doesnt work... hopefully based on that code you know what i'm trying to accomplish.. Okay, I am led into another problem: I need the tab Title to change based on the current navigated page of the browser contained within ALL of the open tabs I think I can use this: Private Sub thebrowser_navigated page TabControl1.TabPages.SelectedTab.Name= thebrowser.URL.Tostring() End Sub But that, if it worked, would only function for the selected tab, not for all the tabs. I need this to work for all tabs, and update as soon as a new page is navigated to. ...Show All
Visual Studio amazing System.InvalidCastException!!!!!!!!!!!!!!!!!!
dears, I 've writen the code below.although it enters the If statement and finds the type of objIDesignerHost.RootComponent.Site.Container.Components ,, MiscellanistControls.Label.Label . it doesn't allow to cast it to this type and gets System.InvalidCastException!!!!!!!!!!!!!!!!!!!!! ----------------------------------------------------------------------------- if (objIDesignerHost.RootComponent.Site.Container.Components .GetType().ToString() == "MiscellanistControls.Label.Label" ) { try { object ttt = objIDesignerHost.RootComponent.Site.Container.Components ; MiscellanistControls.Label. Label b = (MiscellanistControls.Label. Label )ttt; MessageBox .Show(b. ...Show All
SQL Server Error 3154: The backup set holds a backup of a database other than the existing 'xx' database.
HELP! This is happening with a restore to SS 2005 from a SS2000 backup. This article says to use the 'WITH REPLACE' clause. The SS2005 management studio does not seem to allow this via the GUI. http://msdn2.microsoft.com/en-us/library/aa238217(sql.80).aspx Hi all, I am facing this problem, when i try to restore a file in a database. Scenario Database ABC with 1 Filegroup and 8 Files and 1 Log. Now i want to restore the Database ABC to another Server as ABC. due to space constraint i have thought of file backup and Restore. So i backuped up the first file, when i want to restore, It say the error. I have given overwrite existing media and i tried it with media ...Show All
SQL Server Where is install for SQL Server 2005 Mobile, Cofigure Web Synchronization Wizard???
I have something called Configure Web Synchronization Wizard under my SQL Server 2005 Mobile Edition on my XP machine. My problem is that I need to install it on a Windows 2000 machine and I can't find the installation package for it. I installed SQL Server 2005, which installed SQL Server 2005 Mobile Edition, but I didnt' get the wizard. I also installed Visual Studio 2005. Anyone know where it is In SQL Server 2005 Management Studio, create a publication (right click on the Replication node in the Object Explorer and choose New Publication). Then right click on the publication and choose Configure Web Synchronization. Darren ...Show All
