DF WOSC's Q&A profile
Visual Studio Express Editions Notepad and painbrush
Hi, I am new to VC# express edition. I need help in developing windows looking notepad and paintbrush Application, i want to develop in VC # . Can someone guide me through the process or help me developing these ,Thankx. Syed I would have a look at www.codeproject.com and do a search there. On the site you will find many examples of what you are looking for, and most of them will go through how they put them together. ...Show All
SQL Server From MySQL to MSSQL 2005
Hello! I'm installing the MSSQL 2005. And i want to transfrom the DB from my old MySQL DataBase to new MSSQL Database. How can I do this With Import|Export Utils I can't do this task =( Pleasure Help me. Thanks First of all do you have MySQL ODBC driver installed on the same box you have SSIS If you do - did you create ODBC data source ...Show All
.NET Development Validating XML using custom XmlReader
I wrote a custom XmlReader derived from XmlTextReader. It implements a SAX-type parser that allows me to call one method on it to parse the entire file, pushing events to my handlers. I want to use this as a validating reader, but I can't set the XmlSettings on it, they're read-only. If I create a reader with XmlReader.Create passing it my custom XmlReader class and the XmlSettings, I can no longer get to my custom XmlReader methods because the returned XmlReader doesn't expost my class. Under .NET 1.1, I simply wrote a custom XmlValidatingReader, but this is deprecated. How do I go about this under .NET 2.0 ...Show All
SQL Server Enhancement: SSIS Designer
Not quite sure if this is the right place for this comment... While using SSIS Designer came across a DUE where the package was setup to: SEQ1 - Truncate staging tables SEQ2 - Load staging tables (sequence container had been setup to hold multiple data flows) For some reason one data flow was run before the truncate table sequence. Looking in the designer it appeared that the dataflow was a member of SEQ2 but looking at the Package Explorer it was outside the sequence container. It would be good to have some visible indicator to show that a task is a member/not a member of a container John. ...Show All
Visual Studio 2008 (Pre-release) Sample "BlackJack" cannot run
I installed the WinFX February CTP in VS 2005 on a clean machine yesterday. Then I tried to build the Blackjack C# project. But in VS 2005, the Design view of Home.xaml has error so I cannot see it in design mode: Background = " VerticalGradient #5a5 #000 ": Error 56 (Description)Token not valid. C:\Development\BlackjackExpress\CSharp\Home.xaml (line)7 (column)3 Blackjack When I built the project, I saw 55 warnings about different kinds of attribute. When I tried to run BlackJack C# project, I got this Internet Explorer error: "Cannot find 'file:///C:/Development/BlackjackExpress/CSharp/bin/Debug/Blackjack.wba ...Show All
Visual C# How to force a form to loose focus?
I am crating and showing a new form using: Form form = new Form ( ) form.Show ( ); This form automatically is given focus. However I dont want it to have focus.... Is their anyway I can force this frame to loose focus Thanks. In .NET Framework 2.0, you can set the property ShowWithoutActivation to true on the Form to prevent it from being activated to beging with. The property is protected so you have to set it from within the form class itself. ...Show All
Windows Forms Disable editing in data-bound controls
Hello, I have a .NET 2.0 windows forms application with some TextBox controls and a BindingNavigator on the form that are bound to a BindingSource. The BindingSource has a DataView as the DataSource, and when I change the DataView AllowNew or AllowRemove properties to true or false, the BindingNavigator immediately reflects the changes, enabling or disabling the Add and Delete buttons. However, I can always write on the TextBox controls, independently of the value in the AllowEdit property. Does anyone know how to enable and disable the editing on the controls in this situation Thanks in advance for any hel ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Debugging program that won't start
Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and try again" The only vaguely informative piece of information is a message in the debug window: "Debugger: An unhandled non-continuable exception was thrown during process load" ...Show All
Windows Forms Runtime exception in MDI Application
Hi We have a VB.NET application (which was upgraded from VB6 using the Conversion wizard). It is an MDI Application We use the following VB6 Controls:- Status Bar Control (Shows time, date, CAPS lock etc), FlexGrid Contol, Hierarchial Flex grid Control We have Crystal Reports 9.0 When we run the application and if we switch between the application window and some other&n ...Show All
Visual Studio What are the limitations of the "Export Template" feature ?
Hi, I want to create custom templates for projects and items. I used the great "Export Template" feature but some limitations appear : - I don't manage to limit the scope of an item to a specific project (I tried to set the TemplateGroupID property of the project..., .vsi file...). - Set the build action of an item based on an item template. I'm afraid that it's really time for me to use another solution (the old school solution) : insert keys in registry, ..., no Will a solution be provided by using policy files Regards. Pascal No doubt about the functionalities provided by VSIP SDK. But I think that significant imp ...Show All
Visual Studio Express Editions Error Message
Hello, Whenever I try to build an application and compile and run it, I always get the same error message. "The application failed to initialize correctly. (0xc0000005)" This also occurs on other Visual Studio 2005 Express Editions. I re-installed windows and that did not fix the problem. Does anyone have any ideas that could help Thank you. Hi! This thing happens even on new Windows Application project With this message you can't get much help, may be Event Viewer keep some events about failure ...Show All
SQL Server Side by side comparasion between 2005 SQL Server and Express version
Is there anywhere I can compare side by side between 2005 SQL Server and 2005 SQL Server express Edition I just found out that the express version does not have the database Copy feature (When you right clink on the database object -> Tasks ) ! I don't know about the evel version since I have not install yet. Any idea Have you looked at the following link. http://msdn.microsoft.com/vstudio/express/sql/compare/default.aspx ...Show All
Visual C++ Catching exceptions
Hi! How can I catch processor exceptions, such as "null pointer exceptions" and similiar I have tried set_terminate, but that appears to catch uncaught exceptions only (from throw). Thanks in advance, Nille Read: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/_core_Exception_Handling_Topics_.28.General.29.asp And this article series: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndeepc/html/deep060399.asp ...Show All
.NET Development Windows registry
Hello everyone, i have troubles in school project that need to add window 98's registry using Visual C++, do you have any ideas on how to do it thanks for helping. Hi, The sample that I gave you is in Visual C++/CLI... It is the new approach or extension of C++ that targets the .net framework 2... If you want to try it out check... http://lab.msdn.microsoft.com/express/visualc/default.aspx cheers, Paul June A. Domag ...Show All
Visual Basic Printing!!!!!
Hi, please help my, im going crazy, i haven't found any info, im using vb 2005 and i need to print to ticket printer that doesn't support graphics, so crystal reports or print document doesn’t work for me, i need a method to print directly to lpt1 without using a printdialog just send a string like vb6: printer.print "Some text" dont know why MS has to eliminate this useful methods :( Hello Oscar. I've been there myself...take a look at the following link and see if it doesn't help remedy the situation... http://www.vbdotnetheaven.com/Code/Jun2003/2094.asp ...Show All
