Leif O's Q&A profile
Visual C++ Update of activeX problem
Hi all, I am using Visual Studio 2005 and is having this really annoying problem when I am doing some updates to activeX controls. These controls are developed using MFC activeX wizzard. Lets say that I am using one of my own activeX controls in a container application. Then one day I do some updates to the control, for example I add a new method to the control. Now I want the changes in the control to be reflected in the application using the control. I am looking for the possibility to uset the latest control versions in my container app. It is possible that this feature is already there, but so far I havent found it. I work my way around this problem, but it is very bad practice. When I have made some updates to my control and ...Show All
Visual Studio 2008 (Pre-release) Please define "Orcas"
I'm new to this thread here, and have seen the word "Orcas" several times, but haven't seen a clear definition of what it means. Is it the next version of Visual Studio after the 2005 line Or is it some kind of add-on to the VS 2005 product Thanks! Wait a minute. According to the release notes of the WPF and WCF extensions to Visual Studio 2005 (which are not officially supported by Microsoft), there will no longer be any more technology releases for those extensions for Visual Studio 2005. In the future, they will only be part of Visual Studio Orcas. Are you saying that not only may ADO.NET Orcas be released past 2007, but that is also true for Visual Studio Orcas I can't believe th ...Show All
Visual Studio 2008 (Pre-release) Problem: Channel closed after 10 minutes of inactivity
Hello, I am developing a client server application. The client openes a channel via NetTcpBinding on start up and closes it on shutdown. Instead of a generated proxy I am using ChannelFactory.CreateChannel(). The server uses InstanceContextMode.PerCall. After 10 minutes of inactivity the channel seems to be closed automatically. On the next call to the server I get a communication faulted exception because of the closed channel. How can I change the timeout value by code I am using the July CTP. I have attached the client code. Thanks for your help! Regards, Christoph Client code: private static IGlobalService Boot() { NetTcpBinding binding = new NetTcpBinding(SecurityMode.Message); binding.MaxConnections = 100; b ...Show All
Visual Basic Crystal Report And Similar Tool For Printing Document
May i know is there any tutorial on Crystal Report, i want to retrieve some data from database, format it and print it out. Apart from Crystal Report, what other tools is suitable for this Thank you. Tis link maybe useful for u... http://msdn2.microsoft.com/en-us/vstudio/aa700872.aspx ...Show All
SQL Server File Groups
Hi everyone, When I do the following, did I put the files in Test1FG1 file group to the default file group(Primary) ALTER DATABASE Test1 MODIFY FILEGROUP Test1FG1 DEFAULT GO Thanks Hi, The only puspose of setting a FileFroup as DEFAULT is, when no filegroup is specified in the CREATE TABLE, ALTER TABLE, or CREATE INDEX statements, the objects will be created in the DEFAULT Filegroup. This setting WILL NOT affect existing objects. ...Show All
SQL Server DTS Classes Not Showing in Visual Studio
I am trying to use VB.NET to run SSIS packages. However I don't have the various dts namespaces available. When I attempt to import them I only have Microsoft.SqlServer.Server in intellisense. I am running on XP sp2, VS 2005 (full install) and even went so far as to install sql 2005 sp1 full install on my local machine. What gives with only having Microsoft.SqlServer.Server available thanks, Scott Michael, Thank you for your reply. That's my problem...I can't reference the assemblies. The imports statement only show Microsoft.SqlServer.Server. If I add a reference to web.config like: < add assembly = " Microsoft.SqlServer.Dts.Runtime, Version=9.0.242.0, Culture=neutral, Pub ...Show All
Visual Studio Can Sandcastle build intellisense file from an assembly?
I want to build intellisense file from an assembly which has not an xml file associated with.I know that NDOC can do this,how about sandcastle Thanks in advance!! I think Anand is a bit confused here. (You're probably up too late posting in the forums, Anand!) The IntellisenseComponent that he mentions is only used by our internal build process, which requires it because our internal doc teams do not use /// markup to document APIs. If you use /// markup to document your APIs, the comment file produced by using the compiler's /doc switch is an intellisense file. Sandcastle plays no part in producing it. ...Show All
Microsoft ISV Community Center Forums Deleting Macro
I want to delete the macro recorded in my excel file but the "delete" button is disabled. Is there another way to delete all macros thanks... Hi Your macros will have been recorded in a module. Right click the module and select remove module, say no to export unless you want to save the code to a file. ...Show All
.NET Development XmlDeserialization string into bool
I created my C# class file from xsd.exe I have an xml file which I Have deserialized successfully. Now in the xml file I want's some nodes to be of boolean type.Same in the class file. My xml file is < xml version = " 1.0 " encoding = " utf-8 " > < Exporters > < Exporter > < ExporterName > FirstExporter </ ExporterName > < TransformationFileName > FirstExporter.xsl </ TransformationFileName > < IsEnabled > True </ IsEnabled > <!-- True || False --> < IsTransFormtionNeeded > True </ IsTransFormtionNeeded > <!-- True || False --> < CopyToFtpNetWorkLocal > F </ CopyToFtpNetWorkLocal > <!-- F f ...Show All
SQL Server The snapshot for this publication has become obsolete !
Hi, I am in need of some help with this error - I am seeing on my PDA units. Here is my scenario: I have 5 PDA units that use merge replication with SQL 2005. These PDA units replicate fine. But when I try to sync a 6th or 7th PDA unit, I see the following error: Source : Microsoft SQL Server 2005 Mobile Edition - The snapshot for this publication has become obsolete. The snapshot agent needs to be run again before the subscription can be synchronized. -2147198698 I know that if I regenerate a new snapshot, I will be able to sync fine. But here are my concerns and questions: What happens to the first 5 PDAs when I regenerate the a new snapshot. Will they be able to sync without losing the data Does generating ...Show All
Visual C# Writing to file after using OpenFileDialog.
I've been trying to figure this out ever since .NET 1.1 but have always had the same problem. I've got a button that calls ShowDialog on an OpenFileDialog. When I do this, select a file and click open I'm no longer able to write anything to a file. A basic example of what I'm trying to do is click the button, have the user select a file. Get the path to that file from the OpenFileDialog, and save that file to a test document. I want to write it to a config file like this: FileStream file = new FileStream("Config.xml", System.IO.FileMode.Create, System.IO.FileAccess.Write); StreamWriter sw = new StreamWriter(file); sw.Write(openFileDialog.FileName); sw.Close(); This works if I never make a call to ShowDia ...Show All
Windows Forms c# and .mdb or any other database application
I am working on a project that I will be using Microsoft Access to store data. When I package this software, is there a Microsoft Access Runtime I can include that will allow other users to use my software without having Microsoft Access Installed Hopefully that is clear enough. My software uses Microsoft access but if a user does not have Access or a runtime they will not be able to use my software. Thanks in advance -Mike Are you saying "access runtime" errors are not directly associated with their corresponding .dll's Are you also saying the com objects that are imported are not referencing Access application .dll's If the applica ...Show All
SQL Server June CTP - Passing NULL value to a Sub-Report Parameter
Passing NULL value to a Sub-Report Parameter fails with this message - "A parameter or data source credential is missing a value. Prompting for this value has been disabled. Supply a value or enable prompting." Anyone else seen this Thanks I did set 'Allow Nulls' for the parameter. However, this sub-report accepts multiple parms and one of those parm is required and hence I had not set 'Allow Nulls' for this parm. When I did set allow nulls for the required parm, the sub-report displayed correctly. I made sure that NULL was never passed to this parm. Just to confirm what I just saw, I went and unchecked 'Allow Nulls' again for the required parm and the sub-report still displays corr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom vertex format
I am writing a pixelshader for terrain coloring and I am selecting my coor based on a number of different parameters, such a normal vector, 3d position and up to four noise functions, which define things as humidity, terrain type etc. The terrain is one huge mesh, optimized as a ROAM, and each vertex has the properties mentioned above. There are formsts for storing normal, position, color or some other combination, but there are not enough for my need. I remember reading somewhere about defining your own format, but I can not find it again and the last time i tried, it didnt work. Can someone suggest where I should read about this An extra question is... the position is never interpolated (before being passed to the pixelshader ...Show All
Visual Studio 2008 (Pre-release) Creating a menu with databinding
Hi I want to create some sort of menuing structure with an xml file defining it. The xml would consist of elements that define a single menu item. The item can either be a selectable menu item or another menu element that defines a sub menu. I then want to bind to the xml data with something like a list box (to start with). The list box would initially show the top level menu items names (for example, File, Edit, View, Help). Doulbe clicking on a item would then change the binding context of the list box to show the next level down for the item selected. So, double clicking on File would cause the listbox to then just show New, Open and Exit. Is this possible to do with just data binding and XAML Ultimately I want to create a c ...Show All
