Dautov's Q&A profile
Visual C++ Errors linking library
I have a C# project that needs to use a C++ SDK, so I'm trying to write a MC++ dll to act between them. At first, this was fine, but the problem is, the SDK defines a number of function pointers for callbacks. The objects I pass through complain that they are __gc type instead of type, and the pointers themselves complain that they are not __stdcall, which I assume means that the .NET stuff has it's own calling convention. However, I'm not that ...Show All
Windows Forms Replicating VISIO Functionality (IMPORTANT)
I have to replicate VISIO's ability to create the FLOWCHARTS using VB.NET. Please provide me a basic roadmap, as to how should I proceed . I am new to GDI and am going through the basics through the material and source code availaible ove ...Show All
Visual Studio Express Editions How to start a SQL Server Project with express editions?
Hello! I've installed sql server 2005 , visual C# 2005 express,visual web developer 2005 express .When I start a new project, I can only choose one of "asp.net project","c# windows app","c# console app","class library" and so on.There is no "sql server project",and also no projects such as "windows service","pocket pc","smartphone"...... Doesn't express edition support these projects How can I start to write some procedures or fu ...Show All
Visual Studio 2008 (Pre-release) CustomControl woes
I spent all day trying to get a very simple CustomControl working. All I wanted it to do was to display a Button. To do so, I followed the Case Study by Kevin Moore ( http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/wcp_conceptual/html/ecb97ed4-e659-48a4-a1e0-893309569f2f.asp ) wherein he shows how to implement a Color Picker Control. At one point in the study there is the sentence : "For now we will just put in a TextBlo ...Show All
Windows Forms Handling custom file type for application
I am working on a Windows Forms 2.0 application that interfaces with a COTS tool for electronic records management. One of the features requested by my client was that we have a custom file type that could be attached to an email, and when double clicked would open up the record denoted in the attached file within our custom windows application. I understand how you can do this when the application is initially started--all you do is associate t ...Show All
SQL Server Possible to use Calendar control with date parameter?
SQL 2005 on XP Pro. I want to call up a Calendar Control when a user enters a report parameter which is a date. Is this possible I am using the out-of-the-box SQL Srvr Reporting Services, not a custom implementation. Thanks in advance This is supported. A calendar control will be displayed for date parameters that do not have a valid values list. ...Show All
Software Development for Windows Vista Video Trimming using DirectShow
Hi, I am new to DirectShow programming. My current project requirement is to trim the video file of any type and save the trimmed data in a different file, with the same format as source video file. I am unable to save a file with trimmed data. Could anyone helps me out with sample source code. Thanks in advance Regards Gopalakrishna Rao Hi Etienne, Thank you for your reply.First we would like to know about the a ...Show All
Visual C++ Program is Running TOO fast while debugging
I am using visual studio.net 2003 and when I want to test some code that I have written, I save my changes and press the start button and my command prompt comes up to display my program. My problem is that the command prompt comes up and waits a few seconds then displays my output for a second and then closes. Can someone guild me in the right direction and tell me how can I slow my output down I can not even see if my progra ...Show All
Visual C++ Code used to clear text boxes
im new to c++, and i would like to know the code that you need to use to clear text boxes. regthesk8r wrote: im new to c++, and i would like to know the code that you need to use to clear text boxes. SetWindowText can be used with an empty string. ...Show All
Windows Forms Copy string to clipboard with inserted line breaks
Hi, Have a collection of numbers in a listbox. I want to copy these numbersto the clipboard and pasted inside a notepad text file. I loop through the items in the listbox adding them to a string variable separated with "\n". The pro ...Show All
Visual Studio Team System Custom Work Item Types and Sort Order
I would like to create a custom work item field that has its own sort order. This would be like an enumerated type, for example: Low Medium High Alphabetically, these show up sorted as Low, High, Medium. That's not really desirable. If the user sorts in ascending order you'd like it to retain Low, Medium, High sequence. In addition, in descending order you'd like it to sort as follows: High, Medium, Low. Aside from preceding these with "1 - ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Some questions about Vista & Direct3D 10
Hello! Greetings from Ukraine! I am still programming under WinXP and DX9. But I'm going to port my code into Vista platform and cannot find some information I am interested in. According to numerous articles and documentations porting is to be painful:) So, I have some questions listed below: 1. When will (approximately) the nVidia or ATI accelerators support Shader Model 4 2. How shall I use SIMD advantages on the C ...Show All
Windows Forms VerificationException?? why??
Why am I getting this exception LoadEvent Exception: System.Security.VerificationException: Operation could destabilize the runtime. at Rebif.RandomMove(Int32 movingSpeed) at Rebif.LoadEvent(Object sender, LoadEventArgs e)- this is the code void RandomMove(int movingSpeed) { int&nb ...Show All
Windows Forms Online ClickOnce deployment
Does Online ClickOnce deployment requires .netFramework on client machine regards Hi, It requires Microsoft .Net Framework 2.0 on the client machine also. ClickOnce will automatically detech the Microsoft .Net Framework 2.0, if not found it gives error. Regards Satish ...Show All
Visual C# scoped inheritance of a base class
Is it possible to scope my inheritance in C# For example, if I have public members in a base class and I don't want them to be public in the derived class, then how can I accomplish this The following code causes a syntax error... is there another way public class ClassB : protected ClassA Also have a look at this thread , where this subject was discussed earlier. ...Show All
