Mike Driest's Q&A profile
Visual C++ Print Preview Issue
Hey, Heres the problem. I use the OnFilePrintPreview and OnEndPrintPreview methods of the various views. I have overridden these methods just for some appilication specific calls, but at the end of that i still call the base class for these methods. That all works well but when I preview a document and then open another document it fails, basically i want to be able to call the OnEndPrintPreview method when i op ...Show All
Visual C# Visual Studio 2005 C# deployment issue
I have a C# executable that is being deployed within a standard setup and deployment project. This program consists of a GUI that interacts to a bespoke operating system via a VB6 DLL (uses winsock) - the interop has been built and referenced within the C# program. As part of this deployment the .NET framework (and upgrade) has been included within the launch conditions/prerequisites and two additional C# executables have been included as cus ...Show All
Visual Studio Checking out a project is not pulling Published version
Step to recreate the problem. Developer one checks out the project and makes some changes he builds, publishes and checks in the project. His screen shows Publish Version 1.0.0.36 on the Publish tab for the properties of the project. Developer two comes in and checks out the project and looks at the properties and sees that the publish version is 1.0.0.0. This person has never published the project before. To be safe he does a get latest versio ...Show All
Software Development for Windows Vista Installation Issue
Hi I have to design workflows using visual studio.net 2005 .I have installed MS Visual Studio 2005 professional edition.I have .Net Framework 2.0. The category "Workflow" does not appear when I go to Visual Studio.Net File New dialog box.I think I have to install windows workflow foundation. I downloaded it from from the below link but I am not able to run it.I get an error saying that the file is not valid Win32 application. ...Show All
.NET Development no CancelEdit button on binding navigator toolstrip
no CancelEdit button on binding navigator toolstrip I'm wondering why. What am I supposed to do if I want to cancel in the middle of an edit or addnew dennist Thank you Jay. This was exactly what I did. Why doesn't the navigator have a cancel edit button. CancelEdit is necessary to avoid running into problems when you overtype existing data in an edit but change your mind, and when you change your ...Show All
SQL Server Cannot delete Sequence Container Error: Collection cannot be null. Parameter name: c
I have a Sequence Container with an Exec SQL Task in it. I can't delete the task or the container. I can't disable them. Here's how I got there: I put a Dataflow Task and the Exec SQL Task in the container, then set a precedence constraint. Lots of complaints moving either of them. Managed to delete the Dataflow Task, but now can't do anything. Any dieas Laurence Collection cannot be null. Param ...Show All
Visual C# OpenFileDialogbox
How to set enable as false to openfiledialog box's open button untill we select an image or file private void Form1_Load(object sender, EventArgs e) { button2.Enabled = false; } string fileName; private void button1_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() != DialogResult.Cancel) { fileName = openFileDialog1.FileName; button2.Enabled = true; } else ...Show All
.NET Development NullReferenceException when disposing MessageQueue
Hi all, I get the following exception, when disposing MessageQueue in .NET 2.0 System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="System.Messaging" StackTrace: at System.Messaging.MessageQueue.MQCacheableInfo.Dispose(Boolean disposing) at System.Messaging.MessageQueue.MQCacheableInfo.Finalize() I never had problems while using .NET 1.1. Doe ...Show All
.NET Development How to remove "charset=UTF-8" from Content-Type
We are experiencing problems with calling a Web Service that runs on Oracle HTTP Server powered by Apache. The Web Service returns 400 Bad Request. The explanation I got from the developer of the Web Service is that Apache doesn't accept messages that contains the information "charset=utf-8" in the Content-Type field in the HTTP Header. How can I remove the charset=utf-8 from the Content-Type field I have tried to override the GetWebRequest me ...Show All
Visual Studio Tools for Office saving a range?
Hello. Is there a way to save a range and be able to go back to it. I'll explain why. I'm currently selecting text and then hitting a button (homemade) that takes that texts and creates a page break and puts it onto the next page. But after that I want the cursor to come back up to where I started. That is the part I can't figure out. Here is my current code: Private Sub btnExhibit_Click( ByVal Ctrl As CommandBarButton, ByRef CancelDe ...Show All
SQL Server To add one report or many
I have a project that in the end will need to create one excel document that has 4 tabs. Basically each TAB is a separate report. One of the tabs will be a summary of the other 3 tabs. My question is, should I create 4 separate reports or just one with 4 subreports In other words, will I end up with 4 .rdl file or should I design it using one .rdl file so that in the end I can push out the 4 reports to one Excel document that splits each Rep ...Show All
Visual Studio VS 2005 Crashes Frequently, esp. When Debugging
Frequently when I am debugging in VS 2005, my whole IDE crashes. This happen reliably if I am debugging on a PDA/Smart Device and the PDA crashes. Admittedly, my program probably caused the PDA to crash because of something I did, but even if the PDA crashes, the IDE should not crash. It should be able to recover gracefully. Also, if I select a large block of memory in the memory debugger window and select copy, then the IDE crashes too. ...Show All
Visual C# c# asp.net static variables
i'm a little confused with c# static variables. i understand what static variables are, however it seems their lifetime goes beyond the lifetime of the page call (in asp.net). eg. a static variable in some class public static int m_test; EXAMPLE SENARIO: 1. call the page and print the variable (value is 0) 2. call the page again and set the variable to 100 3. call the page again and print the variable (the value is now 100) I am a little concern ...Show All
Microsoft ISV Community Center Forums Moving Mail Items from Outlook through VBA to PST files
Can anyone help me to move mail item (from Inbox) to PST files using VBA Can this be achived Per our support engineer: This Visual Basic for Applications (VBA) example uses GetDefaultFolder to return the MAPIFolder object that represents the default folder. It then uses the Find and FindNext methods to find all messages sent by Dan Wilson and uses the Move method to move all e-mail messages sent by Dan Wilson fro ...Show All
Visual Basic Grouping Radio Buttons
I have, or want, three sets of RadioButtons. However, they all seem to be in the same group, as I can only have one checked at any one time. I want to have three groups of RadioButtons, but I don't see a property where I can set any groups. i have a question In wpf Group box doean't take more than one content...so how could i group radio buttons together in WPF ...Show All
