KSC's Q&A profile
Visual C++ Application does only start on PC with installed Visual Studio
I have written an MFC application with Visual Studio 2005 (C++). I use 4 dlls wich have been statical bound to the project (no dynamic loading). All things compile fine and on every PC where i have installed Visual Studio, it is working as release or debug version. But when i try the application on Windows XP without Visual Studio installed on it, the application does not start but brings me a error MessageBox and thats it. The error t ...Show All
Visual C++ Help needed with "error C2784"
. I am going to address your core question: There is already a lot of discussion in the C++ community that #include <iostream> already pulls in way too many other headers - and believe me it was not designed this way. Why should <iostream> pull in <string> The two are not related and there is really no reason why one should depend on the other. We do provide every STL function and algorith ...Show All
Visual Studio Error in mfc80.lib
Hi. When I was installing the Vs.Net 2005, it showed to me an error in mfc80.lib . Here is a screenshot: http://img76.imageshack.us/img76/416/error4vh.th.png What can I do definately sounds like a bad burn or image. Are you burning the ISO image with long filenames ...Show All
SQL Server Remote Database Deployment
We have an application using a SQL 2005 database which we need to deploy to a client. The only we can find of deploying the structure and the data is to perform a backup on the source server and a restore on the destination server. Is this really the best/only way to deploy a database I'd appreciate any pointers. Thanks in advance LazyGenius wrote: We have an application usin ...Show All
Windows Forms Please post here if you are running a Terrarium server.
I want to get a feel for how many are out there, if any. Thanks! It's up! I had a little time last night and things went well. Since it's not running on a dedicated server I may need to limit the number of&nbs ...Show All
Visual C# Custom Button in BindingNavigator panel. Code under button does not work properly
Hi all I am trying add to standart binding navigator some button. I add "Save" button. In event click it call method Save() of form bu private void Save() { try { AppStart .setarithabort( this .tbAccountTableAdapter.Connection); this .tbAccountTableAdapter.Update( this .dsInvestorAccount.tbAccount); MessageBox .Show( "Changes are saved" ); } catch ( Exception ex) { MessageBox ...Show All
Visual C++ Converting Entered TEXT into integer
My only apology is that I am a long time C programmer and I want to manipulate things directly. Now that said, someone please direct me in the correct way to analyze a TEXT string in visual C++. Basically I want to read a string from a user enterable text window convert it into an integer and check it for proper range and send it to an embedded system in raw 16 bit form. My difficulty appears to be that there is no way to go dire ...Show All
Visual Studio Team System Harvest vs. Visual Studio Team Foundation
Has anyone seen any comparisons done between CA's Harvest and VSTF (Just from a souce control perspective.) I've confirmed that we don't currently have a comparison. I'm sure at some point we will but it has been lower priority than some of the others. Brian ...Show All
SQL Server How to control the report export to a pdf in Landscape mode?
hi, I have a report and becuase of too many fields, I want to export pdf in landscape mode. Is there any way to control this Thanks oh, got it. To do this, need to set the width of the page to 11inchs. And the width of body mostly should be 10 inchs or less. It will export the pdf document as landscape mode automatically. ...Show All
.NET Development Best way to launch a .net application (with parameters) from another .net app.
I'm trying to launch a windows installed .net application - often with parameters - for instance using file associations - from another .net application. The obvious way to do that is, once you have the path: Process.Start(path, parameters); Although this does launch the app, there are some problems: 1. The lauched app. uses another 'Settings' file than when launching from the start menu. For instance if I save the form's location a ...Show All
.NET Development Framework 2.0 breaks app, supportedRuntime does not fix
Original Environment Windows 2000 Service Pack 4 1.0.3705 1.1.4322 Application written using VS.NET 2003 and 1.1.4322. Application calls unmanaged code. Everything works. Breaking Change One change was made, installation of 2.0.50727. It was expected (hoped ) this would not affect a 1.1 application. Details of unsuccessful workaround Added this to the application's config file: < startup > < supportedRuntime versio ...Show All
Windows Forms Pre-formatted text in a richtextbox
Is it possible to insert pre-formatted text into a richtextbox If yes, how If you mean it is formatted with the rtf codes, then you would just set the rtf property of the richtextbox to your formatted string. -Chad ...Show All
Visual Studio Cracking the DDEX nut
Ok, so I've gone and written a handy-dandy ADO.NET 2.0 provider for SQLite and decided to look into the DDEX side of things just for completeness. Just to get something on the screen, I followed the chapter entitled " Registering a Non-Package-Based DDEX Provider" and am having trouble getting it to show up. Under the SupportedObjects subkey for my guid, I've added the keys: DataConnectionProperties DataConnectionSupport DataSourceInformation Ac ...Show All
.NET Development Type.GetProperties -> FormatterServices.GetObjectData exception
When I try to get the properties of a type and then send the PropertyInfo array to FormatterServices.GetObjectData, I recieve and exception stating "Only FieldInfo, PropertyInfo and SerializationMemberInfo are recognized". What am I doing wrong partial class Form1 : Form { public Form1 () { InitializeComponent(); } ...Show All
.NET Development AD member of - recursive?
Hi, I am trying to get a listing of the groups a user belongs to. All is working well, except, if the user is in group a, and that group a is in group b, I can't get group b to show up in the retrieved list. Here is part of my code. Can anyone help Dim de As DirectoryEntry de = New DirectoryEntry(" LDAP://DOMAIN/OU=DOMAIN USERS,OU=XX,DC=DOMAIN") de.Username = "xxx" de.Password = "xxx" ...Show All
