ydt's Q&A profile
Visual C++ VS8 2005 Projects only work on my PC
Until recently I've been using VS.NET 2003, now I have VS8 2005. And none of the project I make work on other computers. They only work on my PC, when i try to run the program on another PC I get this error: C: \FilePath This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem . Why is that How can I fix it Also, when I compile VS.NET projects with VS8 2005 they work fine, but when i make a project with VS8 2005 and build it with VS8 2005 is when it doesn't work. File path File-path Filth Footpath Telepathy Edit... Revert t ...Show All
Visual C++ Saving image failed 80004005
I have a application using VC++ MFC, I can't save the file in the "Chinese Folder" and the PC used Chinese XP Window SP2. Thanks Nishant I have solve this problem, it is about the region setting. I using the Chinese XP, but setting "English" region, then, it raise the problem. And I haven't handle any ANSI code yet, so I will try using it to make the program improvement. ...Show All
Visual Studio I think that we can use the List Class to represent aggregations...
Hi All, Can you model Aggregations in Class Designer I couldnt find the aggregation element in Class Designer ToolBox. Imesh. Class designer doesn't support this visualization in the current version. We'll keep this in mind for a future release. ...Show All
Visual Studio SatelliteDllPath-Option does not work in VS 2005 Beta 1
Hi! I have developed an AddIn with VS 2005 Beta 1 an I want to use a custom icon for a named command. This is how I register the command: Command command = commands.AddNamedCommand2( addInInstance, "BuildConfiguration", "XTrace Build Configuration...", "Shows the XTrace Build Configuration", false, 1, ref contextGUIDS, (int) vsCommandStatus.vsCommandStatusSupported + (int) vsCommandStatus.vsCommandStatusEnabled, (int) vsCommandStyle.vsCommandStylePictAndText, vsCommandControlType.vsCommandControlTypeButton ); My .addin file looks like this: <Addin> <SatelliteDllPath>E:\DotNET 2.0\Visual S ...Show All
.NET Development Can I build a 64-Bit application with VS2003?
Hi, Can I build a 64-bit application with VS2003 Thanks! Yang If your question is "Can I build true 64 bit .NET Applications with VS 2003" I believe the answer is no. I believe .NET 2.0 is the first .NET Framework optimized for the 64-bit platform. I have not used a pure 64-bit version of Windows so I do not know what versions of the framework are supported by it but to the best of my knowledge 2.0 is the first framework version fully supported by and optimized for the 64-bit system. Hope this helps ...Show All
Visual C# Unload dll in run-time
Hi, I need to load dll use some functions and after it unload dll. How can I do this Thank's Alexei Hi, How can I create another appdomain and load assembly that I can use my data in entire appdomain Thank's Alexei ...Show All
Windows Forms Framework 2 Deployment problem
I have a VB.Net 2003 WinForms application that I want to port to VB.Net 2005 but I can’t figure out how to deploy it in Framework 2. It is a 3 rd party app that hooks to Microsoft Dynamics and in Framework 1.1 I used the xcopy method of deployment, i.e. the exe was copied to the Dynamics folder on the server and referenced on the Dynamics menu. Full Trust was set for the exe by using the Framework 1.1 wizard on the client computers that connected to the server and ran the Dynamics programs. I would like to do the same thing in Framework 2 except the default Framework 2 install does not create a Manage Trust wizard in the control p ...Show All
Visual Basic MySettings vs. My.MySettings in Dataset.Designer.vb ?
Hi, I have a VB2005 application with a dataset and that has an xsd file. When I edit the dataset diagram, even to the point of just moving a DataTable/TableAdapter box, the code behind this (MyDataset.Designer.vb) is regenerated. Unfortunately, all the "InitConnection" methods therein are generated incorrectly. I get... <System.Diagnostics.DebuggerNonUserCodeAttribute()> _ Private Sub InitConnection() Me ._connection = New System.Data.SqlClient.SqlConnection Me ._connection.ConnectionString = Global .FTPMaintenance.MySettings.Default.DefaultConnectionString End Sub To get this to complile, I have ...Show All
Visual Studio Tools for Office Microsoft OutLook Plugin Problems
hi, I am developing a plugin with the help of the document on the following link http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/ol03csharp.asp I follow all the steps mentioned in the document and finally build and install . everythings goes smooth till this point . But after this when I launch the outlook my plugin does not appear in the toolbar. Do I require to do some additional steps in order to register with outlook.I have no idea what I am missing. can anyone help me out with this problem. Regards, jerald The working directory is best to be configured to the loca ...Show All
Visual Studio Express Editions why is vb.net printing so difficult?
Hi, I have loads of VB6 apps I am trying to migrate to VB.net and the biggest problem I have is that printer.print has no equivalent in vb.net Can anyone tell me a simple way to print in dot net Thanks Impossible is about right. I just can't see what to type to make something come out on paper, and I have written some neat VB stuff (IMHO) in th epast but this dot net thing has me stumped. Am I missing something or is nobody printing anymore Maybe we have finally reached the holy grail of the paperless office by MS removing the ability to print. Seriously though, can anyone point me at a p ...Show All
.NET Development Itaniun & Managed C++ Extensions: Unresolved token 'Sleep'
Hi folks. I hope someone might be able to shed a little light on this as it's got me stumped. We wrote a small .NET DLL using the Managed Extensions for C++ using Visual Studio 2003 and it worked like a dream on our 32-bit x86 Windows machines. Now however we want to rebuild the same thing on an Itanium using Windows Server 2003 and the Visual Studio 2005 beta 2 and we've hit a problem getting it to link. We're compiling at the command-line with: cl /LD /MD /G2 /clr:oldSyntax /Feour-assembly.dll oursrc.cpp StdAfx.cpp /link /MACHINE: IA64 /NODEFAULTLIB: libcmt.lib /NOENTRY mscoree.lib However, we get the following errors at the ...Show All
Visual Basic Return Type of function is not CLS Compliant .How can Fix this?
I have the following code and I get the above warning In another project i have something similar but I dont get the warning and cannot see the difference Any ideas how to remove it Namespace TSInterfaces Public Interface IEmployee(Of T) Function GetEmployee( ByVal EmployeeID As Integer ) As TSStructures.StructEmployee Function GetAllEmployees() As MyCollectionBindingList(Of T) End Interface End Namespace Namespace TSStructures &n ...Show All
SQL Server Can't get VWD-Express Login control to work with IIS, Win2K and SQL 2005 Express
Hello, I am new to ASP .NET and SQL Express and recently downloaded Visual Web Developer 2005 Express on my machine and in addition on a separate W2K-Server, SQL 2005 Express and SQL Server Management Studio Express. On the W2K Server I am running IIS 5.1 and the .NET Framework Version 2.0.50727.42. I also have MDAC (2.8)installed. With SQL Server Management Studio Express I activated TCP/IP, Shared Memory and Named Pipes. And here's the problem: With VWD 2005 Express I created a webpage with a Login control and a second page with my content list. Locally in VWD-2005 Express everything works fine a ...Show All
Visual C# Decimal Problem...
Very simple question... I have the following code: decimal one = 2752 / 6217; MessageBox.Show(one.ToString()); The message box continues to output ' 0 '. I changed the formatting within the 'toString' to ' N5' (to get 5 decimal places) and still returned ' 0.00000 '. This calculation (according to Windows Calculator) should return ' 0.44265'. I have even tried changing the datatype to 'double'. Can someone please explain Because C# reads the right hand side as an integer division, you will get 0.0 for an answer. Try this instead: double one = 2752.0 / 6217.0; ...Show All
Visual Studio How to set envrionment variables in MSBuild file?
Experts, In a msbuild file, How do I set a environment variable Thanks, Hmm... that should work. Here's example script - <Project DefaultTargets="T" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <DevEnvDir>$(VS80COMNTOOLS)..\IDE</DevEnvDir> </PropertyGroup> <Target Name="T"> <Message Text=" $(VS80COMNTOOLS) "/> <Message Text=" $(DevEnvDir) "/> </Target> </Project> Here's the output Target T: C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\ ...Show All
