Hervé ANCHER's Q&A profile
Visual C++ Saying Goodbye to an Old Friend
I recently read this article regarding security changes to the C/C++ ANSI standard in order to improve overall behaviour and programming issues when dealing with memory overruns and potential malicious use of the Runtime library functions. [EDIT] http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncode/html/secure03102004.asp Anyway, it was only until after starting to use the Microsoft C++ 2005 Express Beta 2 system that these changes had already been implemented in the runtime library. This of course supprised me, as I had to make changes to my existing code in order to get the source to compile. I rea ...Show All
Visual C# Login Control problem
Hey guys, I have a VS2005 website project on my dev machine. It compiles and runs perfectly. When I publish the project and put it into production, the Login control keeps giving me a "Login failed for user..." error. The web.config is the same, the connection strings are the same. Anyone know what the problem could be Can you provide more info on this, may be some tracing/event logging would help in here to diagnose further. -Jay ...Show All
Visual Studio Team System A premature request on the roadmap
I realize this is a premature request considering the RTM bits for Version 1.0 are not yet out. I see references to such things as support for multiple resources in Version 2. I am wondering if there exists a publicly available roadmap for planned releases, service packs etc and what major feature sets may be involved in those and their timelines. I realize this is a lot to ask and the answers would be nebulous at best. The information would be very valuable in deciding when and where to make custom mods to the work items and process for immediate support of a given desired outcome versus when to work around it with fewer customization ...Show All
Visual Studio Team System Borland CRM
Does VSTS come with Borland CRM or is it an additional cost - did Borland ever get around to releasing it too Also if it's an additional cost how much Can you do requirements management in VSTS without it thanks for your feedback, these are why they have been released as starter-kits for simple integration, and will not be touted as requirment management solutions. The largest integrators into VSTS for RM/RG are Borland and Serena and have fantastic existing solutions which now extend VSTS into BA space. We also have been in dicussion with many others as well, and expect further partnerships shortly. ...Show All
Visual Studio Newbie who's lost on ReportViewer? *confused*
I'm new to VS 2005 and the reporting tools in general. I've tried implementing the steps in the various tutorials (like the ones on gotreportviewer.com) but the more things I try to more confused I get. I don't *think* that what I'm trying to do is difficult but I can't get it to work for the life of me. I have a Stored Procedure that does 4 things. It creates a temp table, it queries several different tables and then inserts those records into the temp table, then selects all from the temp table (now sorted), and finally deletes the temp table. I get that dataset returned to me and I write it to an .xml file (I'm not sure if I do this but o ...Show All
Windows Forms Is this the bug of ImageList?
Images draw by image list have some problem. I do the following step: a)I have a png file on my local machine, the file is in format 32*32*32b. The backgroud is transparent. The shape in this picture is a circle with some shadow. b)I drop a ImageList on the form(Visual Studio.net 2003). The the property ColorDepth to Depth32Bit and set ImageSize&nbs ...Show All
.NET Development Framework Breaks when you install SQL Server 2005
My machine has had several iterations of SQL Server -- the June CTP, the September CTP and now the RTM. However, I now find that apps that use .NET Framework 1.1 fail. The error is: "Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed." I've tried repairing .NET 1.1 using the procedure in KB article 830646, but that didn't solve the problem. Anybody have any ideas on how to proceed (The apps that fail include the MOM administator console, and the Idera Sql Web Console). ...Show All
Visual Studio Express Editions ToDouble compiler error
trying to learn visual c++ and can't seem to get this working. I have a friend that managed to get this working on his computer with visual studio 2003 pro I think was the version. Anyways, I have a windows application form with three textboxes and a button. When the button is pushed I want it to grab the values in the first two boxes and output it into the last one after going going into my formula. I used t + w to keep it simple. private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { double t = textBox1->Text->ToDouble(0); double w = textBox2->Text->ToDouble(0); double h = t + w; text ...Show All
SQL Server Connecting to MS SQL DB in other server ?
Hello, All I have been checking out VB Express for over a week now and I have to say, Im very happy with this Software. Thanks MS Ok, so far so good I have created a basic APP for use in my office that contains information about clients. Now what I just cant get is, How do I connect to a SQL DB that is in a server at a hosting company I have created the DB in the server and all tables now how do I get the connection going If any anyone can show me how to do it I would appreciate it or if you can show me a link to a site that has steps by step that would be cool also. Thank you for your help, ...Show All
Visual Basic Class Question
I have a class called ReturnData <Serializable()> Public Class Data Public Shared StatusMessage As String Public Shared BLOB() As Byte End Class The class is designed to accept data in the form of a byte array and a statusmessage representing any exception messages generated during the web service function call. I have added the class ReturnData.Data to both the web service and the client application and created an instance of the new class in both applications. In my client application, I take an instance of my class and assign it to the web service function call designed to retu ...Show All
SQL Server Prevent reports from running at certain times?
Hi there. I'm just starting to look at Reporting Services. Does anyone know if it's possible to prevent on-demand reports from executing a certain times For example, if I'm replicating data hourly to a database and I don't want the report to be run for 2 minutes while the database is replicating, but allow it to be run at any other time Thanks Sam Sam, there's no easy way to do this -- certainly not "out of the box", anyway. Here are a some hacks (some uglier than others) that might help: Use the SSRS SOAP endpoint (web service) to temporarily "hide" the report (a user could still run it, but they'd ...Show All
Visual Basic Desktop Icons Manipulation
Is there a way I can have the user drag a desktop icon onto my app, and the app "grabs" to target path for the icon's program Sure. You just have to enable drag and drop, and then use code such as this to read the LNK file's target. http://www.msjogren.net/dotnet/eng/samples/dotnet_shelllink.asp ...Show All
Windows Forms Custom Forms Designer Serializer Issue
Hi, I have enhanced custom forms designer from http://support.microsoft.com/ id=813808 http://download.microsoft.com/download/f/d/9/fd986a23-d3d6-44c3-8fa0-75e21b0094bf/designerhost.exe (C# code examples from Microsoft) It works nice with .NET Framework v1.1. Recently, I have migrated entire project to .NET framework version 2.0. The application compiles without any errors, but when I add any controls like button, textbox, custom forms designer doesn't serialize any code. It returns the following error: --------------------------- Error:The object 'System.Windows.Forms.Form' failed to serialize itself. It may not support code gene ...Show All
Visual C# Socket streaming difficulties
Hello The scenario is as following: There are two computers talking to each other through socket over a 1Gbps network[low network traffic], the requirement is that the server sends a data packet of barely 500bytes[average--- the packet size is variable-- excluding tcp header and acks.], every 10ms. The data is received reliably [i have checked it]. The data which is recieved is then displayed on the dialogue in form of vector graphics using GDI+. I am using asynchronous sockets. There is a function WaitForData . if(cb == null) ...Show All
Windows Forms How do I get a Winforms application embedded in an html page to bind to 1.1 Framework
I have a winforms application that is embedded in an html page with an object tag [1]. Our application works correctly under 1.1, but not 2.0 (we get some interesting security exceptions around statics, so I would like to force it to run on the 1.1 Framework. I added the requiredRuntime element to the startup section of the webclient.dll.config file [2] and expected that it would be started against 1.1 Framework. However it still gets launched with the 2.0 framework. Other details: 1) The IIS logs show the webclient.dll.config being downloaded. 2) We have a pair of applications launched over the web (via an href[3]) – wit ...Show All
