mdh.'s Q&A profile
Visual Studio Team System Redistributing team system dll's
I have an application that references "Microsoft.TeamFoundation.WorkItemTracking.Controls.dll" but my application will not work unless I copy that dll to the directory where the application is being run. The end-user's machine has this dll on it, but my app doesn't recognize it. Is it legal for me to redistribute this dll with my application I noticed that it is not in the Redistributable folder that comes with the SDK. If I cannot redistribute it, is there any alternative for making my app work Thanks. Ok, I have installed Team Explorer, however it can't seem to find the dll. I tried changing the current working directory to the privateassemblies folder where this dll is, but I still keep get ...Show All
Windows Forms cannot lauch application on other systems
Hello, I am quite new to Windows Forms programming. My problem is that I can't launch the Windows Forms applications I create with Visual Studio Express 2005 on other systems, where Visual Studio and the .NET framework are not installed. The error message I get (translated from german) is something like this: "cannot lauch the application, because the application configuration is not correct. Try reinstalling the application..." What am I doing wrong Do I have to link some libraries someway I am confused... would appreciate some help... ciao, Pascal Oh, don't give up yet! There is another way to deploy .NET applications, a technology called ClickOnce. It allows you to deploy applications from a ...Show All
Visual Basic What To Install From VB Installation CD To Let Users Run My Application And Not Enter VB
The best way for me to do what I want to do is install on all PCs (using VB installation CD) the minimal requirements to run my application which uses VB 2005, ADO.NET to read/write to an Access database, and Crystal Reports. I ask you what, specifically, should I install on all these PCs from the VB 2005 installation CD After that the next thing I will do is I give each PC user a shortcut file (having a nice icon that says database on it) which runs the exact same executable on a shared drive. My application already has the capability to tell users if someone is already actually using the database via a warning message. The hope is that only one person will use the database at a time. There aren't many users so this sho ...Show All
Visual Studio Express Editions Setup problem.
When I launch the msvcs.exe or the msvc.exe they get to the point where it says " Setup is loading installation components. This may take a minute or 2." It's been like 5-10 right now, is there a fix Tyrael Tyrael117 wrote: When I launch the msvcs.exe or the msvc.exe they get to the point where it says " Setup is loading installation components. This may take a minute or 2." It's been like 5-10 right now, is there a fix Tyrael Hi I have the same problem ... i'm installing from the file vwdsetup.exe ... what can the problem be Queenyard ...Show All
SQL Server Stored Proc for creating and inserting into a table
I am having some trouble populating a table with values from other tables: I am creating the stored proc as follows: CREATE PROCEDURE make_temp_stat (@from datetime, @to datetime) AS DROP TABLE tempTable Create tempTable ( NumApplications (int), NumStudents (int), NumTeachers (int) ) //Then I insert the values into the table as follows INSERT INTO tempTable (NumApplications) SELECT Count(*) FROM [dbo].[CASE_APPLICATION] WHERE (OPEN_DT>= @from AND OPEN_DT <= @to) INSERT INTO tempTable (NumStudents) SELECT Count(*) FROM [dbo].[CASE_STUDENTS] WHERE (APP_DT>= @from_dt AND APP_DT<= @to_dt) INSERT INTO tempTable (NumTeachers) SELECT Count(*) FROM [dbo].[CASE_TEACHER] WHERE (JOIN_DT>=@fro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I cant download directx sdk!!!!
Right now, im soo mad. I spent over 4hrs trying to download the directx sdk, and when i finaly download it, and when i try to open it, this message box appears with the following error message "C\Documents and settings\Frantz\Deskop\dxsdk_aug2006.exe is not a valid win32 application" Right now, ive got no idea why im getting this message, and i really really need the directx sdk. Right now, i currently own the dev-c++, and the ms visual c++ express edition compilers. So if anyone is having the same problem, or know how to help me out, PLESE DO!! I really need this package. I NEED TO MAKE GAMES!!! Looks like you're not the first to have this problem. http://www.google.com/search q=dxsdk_aug2006.exe+is+not+a+valid+win32+appli ...Show All
SQL Server expression syntax for variable
What would be the correct syntax if I wanted to add the following lines into a variable using an expression The lines should be the first two rows before my XML. < xml version="1.0" encoding="UTF-8" > <dataroot xmlns:od="urn:schemas-microsoft-com:officedata"> +@[User::xml_output ] Thanks, Phil The reference guide: http://msdn2.microsoft.com/en-gb/library/ms141001.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D Modeling
What is the best free/cheap 3D modeler out there By best I mean a good combination of capable and easy. I have used Maya while playing with UT2004, but the free version won't export .X files. I have a copy of 3DCanvas pro, but I find it lacking somewhat. FBX is a 3D scene description file format originally designed for interchanging data between 3D applications like Max and Maya. It is an open standard and many 3D applications have FBX exporter/importers. Microsoft have provided an FBX importer so that you can import FBX scenes into the content pipeline. Autodesk also have a free FBX SDK so that you can easily write your own exporters/importers for FBX. Cheers, Leaf. ...Show All
Visual C# Creating arrays of fixed size of PInvoke
Hi, I'm working to support some code which was written in C but needs to be interfaced from .NET. In my application I support both .NET 1.1 and 2.0. Thanks to C++/CLI I had no problems getting things working with 2.0 but for 1.1 there are still some customers who're interested in this support. Basically I have a few structures which needs to be passed to the C functions through PInvoke. Currently the structures look like: [ StructLayout ( LayoutKind .Sequential)] public struct MyStructA { public int nType; [ MarshalAs ( UnmanagedType .ByValTStr, SizeConst = 256)] public String strDescription; public int nLength; } [ StructLayout ( LayoutKind .Sequential)] public struct MyStructB { ...Show All
.NET Development How to retry last statement in try{}catch{} block?
Hi, I have following code try{ Someobject.Execute() } catch (SomeException) { } I'd like to retry Someobject.Execute in case SomeException is thrown, how can I do that Put it inside a loop. Something like: for (int ix=0;;++ix) { try { Someobject.Execute(); break; } catch (SomeException) { if (ix > MAXTRIES) throw Exception("I give up"); DoSomethingToMakeExecuteWork(); } } ...Show All
SQL Server error of Initializing SQL Server Reconciler has failed using SQL Server CE 2.0
hi, i'm using SQL Server CE 2.0 in my application. When i try to synchronize my database by calling replicator.Synchronize(); errors : Initializing SQL Server Reconciler has failed. process could not connect to Distributor SQL Server does not exists and access denied. what i did right now is i try to register regsvr32 "C:\Program Files\Microsoft SQL Server CE 2.0\Server\sscerp20.dll" regsvr32 "C:\Labs\NorthwindTempFiles\sscesa20.dll" both of the DLL files were succeed register. However, when i try to re-do the synchronization. The same error still happened!!! I do not know what's going wrong..=( Who can help me !!! HELP~~~~~~~~~ thanks.. Just my two cents.... Al ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Automatic resize of texture?
Hi, i’m trying draw on screen a Texture2D of 6830x2500 pixels, but when i load the texture and gets the size of image i get 2048x2048, cutting the image. I have tried 2 methods, getting the Texture2D only with graphicdevice and name of image parameters, and getting graphicdevice, name of image parameters, and size but i get the same size always 2048x2048 ( i see this putting a breakpoint ). What happen with this Thnx, and sorry for this poor english. XNA does resize and reformat your texture during loading to something that your graphics adapter support. In your case the maximal texture size is 2048*2048. ...Show All
Visual Studio Express Editions Web Browser...
Hi! I try to make a browser but i have two problems: 1. I dont know how to make these arrow buttons 2. Every time when a link opens in a new window its not my browser any more, its internet explorer! i am new into this. thx leo ...Show All
Software Development for Windows Vista Adding roles to WorkflowRoleCollection
Hello, I'm developing a workflow with ASP.NET authentication. I have assigned some event handlers in the workflow a WorkflowRoleCollection in their Roles property. When I want to fill the WorkflowRoleCollection with the roles that can raise the event, apparently I don't do it right. The problem is that when I raise that event I get an exception saying something like "authorization error in eventhandler guardaHorari1", and by checking the exception details I've thought that the problem is that when it checks the role of the user that tries to launch the event agains the workflowrolecollection, it doesn't find it there. I fill the collection this way: public WorkflowRoleCollection rolsModificadors = new WorkflowRoleCollection(); ...Show All
Smart Device Development API Call to switch off the device
Hello everybody! I'd like to programatically switch of my Mobile Device. I think about a call to a dll file, like you do when you perform a softreset. (coredll.dll) I know that switching off a device is only possible with a special series.... like the Qtek S100. Are there any hints thx in advance & kind regards The following thread sould answer your question http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=561187&SiteID=1 ...Show All
