washaw64's Q&A profile
Visual Studio 2008 (Pre-release) WS-Addressing sample
Hi Community, I saw very nice explation of capabilities of WCF on WS-Addressing spec at http://www.pluralsight.com/blogs/mvernal/archive/2006/02/01/18523.aspx Can anyone point me to similar kind of sample on WS-Addressing Thanks in advance, Hi Pankaj Can you be a little more specific about what kind of addressing samples you're looking for Most of the out of the box bindings like NetTcpBinding, WSHttpBinding etc use WS-Addressing already, so you dont have to bother about the addressing details. Are there some specific aspects you're trying to tweak for your application that you're not able to figure out how to do Kavita ...Show All
Visual C++ Using a Windows Form User Control in MFC
Hello VC++ Forum, Our application is written in C++. And we are looking to develop a C# User Interface for It. So we try to host a windows form user control as an MFC view. By default, MFC application is based on the Document/View Architecture. In order to create an MFC application hosting a winform, here are the step by step instructions: http://msdn2.microsoft.com/en-us/library/ksw1x03b(VS.80).aspx I've added a CWinFormView to my MFC MDI project to show a .NET 2.0 control. Really really nice and working fine :) using doc/view architecture. The problem is that our ...Show All
SQL Server server failed to listen on [ 'any' <ipv4> 0 ]
We have a customer who is trying to get sql server 2005 express edition installed on their pc to continue using our application but the sql server instance is not starting. If we have him go into services and try and start the service for the named instance of sql server express it gives us a "The sql server [sqlexpress] service on local computer started then stopped" error message. We looked into the event log and the error message we saw there was "server failed to listen on [ 'any' <ipv4> 0 ]" Anyone have any idea I can provide further details if necessary, but they are hard to obtain since I do not have access to the computer, and our customer is not very computer savvy. One detail i can add is they have offi ...Show All
Windows Forms Add Multiple controls to a datagridview
Hi Is it possible to add multiple controls to a cell of a DataGridView Or a single control that spans across multiple cells I'm trying to develop a scheduler application and when the user clicks the cell content it creates an appointment. They can have 1-4 appointments within a cell and I want to display those four appointments as four separate labels within one cell. It is something similar to OutLook Calendar. Can this be done using a DataGridView. Or do I have to use some other control I will appreciate your help. Thanks Check out this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=47169&SiteID=1 ...Show All
Visual C# Help system like Windows 2007
Hi, Can anyone tell me which forum to go to get information abt creating a help system, like the one that comes with Windows 2007. I have Microsoft HTML Help 1.4 but i don't see any feature to create something like the new help in Win 2007. Thnaks pras most likely not possible yet as those features are unique to the platform and not released yet. I've also moved the thread appropriately, see if anyone else knows a way that I am un aware of ...Show All
Visual Studio Team System Sharing project code
Hi We have an issue where we have a couple of projects which are part of a single solution. The projects, which are part of a web services infrastructure, are then used by a number of other solutions. The code has been written in such a manner that the source for each of the projects is included in each if the other solutions. What is the best way for handling this from a source control point of view I know sharing has been removed from foundation server, but in effect this is what we want to do. I suspect when I try to add the other solutions to source control I will have problems with the project being under source control of more than one solution. Cheers Brett You may want to try our TFSLinks product: http://www. ...Show All
SQL Server Reporting Services Slow to wake up
My users have been complaining that the first time they run reports on Reporting Services during the day it takes 30+ seconds for the first report to run. After this initial delay they respond very quickly. There is considerable interaction with the database through a client application prior to this so the server is not in a sleep mode. It appears to only be an issue with Reporting Services. Any ideas on how I can get this initial delay to go away Thanks in advance. If the user is accessing reports through Report Manager, reporting services relies on IIS to host it in an AppDomain. IIS will often take several seconds (duration depending on the current use and speed of the machine) to intialize t ...Show All
.NET Development auto increment
public class AddAnnouncement { public void _AddAnnouncement() { XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); XmlNode newAnn = newAnnDoc.CreateNode( XmlNodeType .Element, "ann" , null ); XmlNode Id = newAnnDoc.CreateNode( XmlNodeType .Element, "annID" , null ); XmlNode Title = newAnnDoc.CreateNode( XmlNodeType .Element, "annTitle" , null ); XmlNode Body = newAnnDoc.CreateNode( XmlNodeType .Element, "annBody" , null ); XmlNode Date = newAnnDoc.CreateNode( XmlNodeType .Element, "annDate" , null ); XmlNode Priority = newAnnDoc.CreateNode( XmlNodeType .Element, "annPriority" , null ); XmlNode Sender = newAnnDoc.Creat ...Show All
Visual Studio Express Editions VB Ignoring changes in designer
I made a change to my program (moved a button) and accidently pressed F6 instead of F5. my vb did something, because now if i make a change like move something it always runs the old version from when i pressed F6. also, when i change the code it doesnt save it like if i added msgbox ("boo") to form1 load, where before it was blank, and i run it, id get no messagebox just what was there before. Also this happens in other projects Please help!! Thanks! Ive fixed it! i took the easy way out. reinstalling vb really didnt work (keeping settings when i uninstall! ! ) so i wiped my hardrive, reinstalled windows and vb. Well, the prob is fixed! Cheers to everyone who tried to help! ...Show All
Visual Studio Team System Intellisense????
I'm delighted and amazed that this product is coming however I already have one RFE....object Intellisense, the like of which is done by Prompt SQL (which has just been bought by Redgate). e.g. I type a table name followed by a period (.) and intellisense pops up a list of all the columns names. Any chance of getting that in Thanks -Jamie I feel like some people miss the obvious case such as .. First you type select SELECT then you type the (server).(database).(schema).Table name Select tbl_People I see nothing too complex with this use case, as soon as I press period after tbl_People I should get a list of columns no matter what tables end up in my FROM clause. As long as I'm using some dicernably ...Show All
Microsoft ISV Community Center Forums Put access fields in specific word document places
Hi all, i am new here, and i have no idea how to do this. I am trying to do like a form, fill in the fields necessary and then with a press of a button to take all the information and place them in a word document template. I am a bit familiar with access. but i donno anything about the rest. If there is a way to do this, i will need an example to understand it. Thanks in advance The above code works fine, but I'd like to export a table of data rather than just a single record. I found this code, but unfortuately it appears to be for a format older than Office 2003 and as such doesn't appear to work: Private Sub cmdPrint_Click() 'Print customer slip for current customer. Dim appWord As Word ...Show All
Internet Explorer Development WMP not displaying with DHTML
I am trying to display Windows Media Player embedded in a page using the technique described in the MS Knowledge base - calling a Javascript function to load it, thereby avoiding the 'Click here to activate' message. My code is straightforward: <div Id="Movie"></div> <script lang='Javascript'> createMediaPlayer("Movie","mymovie.wmv",320,240); </script> with the createMediaPlayer function in a linked js file: function createMediaPlayer(DivID,movie,width,height) { var d = document.getElementById(DivID); d.InnerHTML = '<OBJECT ID="MediaPlayer" WIDTH=' + width + ' HEIGHT=' + height + ' classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"' + 'codebase= ...Show All
SQL Server Error when attempting to upgrade MSDE to Express using command line /UPGRADE
When attemping to install SQL 2005 Express using the following command line arguments /qb UPGRADE=SQL_Engine INSTANCENAME=MY_INSTANCE or /qb UPGRADE=SQL_Engine INSTANCENAME=MY_INSTANCE SECURITYMODE=SQL SAPWD=MY_PASSWORD the following error occurs. Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online. Edition check: Your upgrade is blocked because of edition upgrade rules. For more information about edition upgrades, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Online. The follow ...Show All
SQL Server Bulk insert in SSIS
Has anyone else had this problem I am using 'OLE DB Destination' task in a data flow. When I select 'Table or view - fast load', check 'Table lock' and 'Check constraints' and run the flow, I get only one row inserted. The data flow edge shows hundreds of thousands of rows flowing to destination and the task completes (turns green). The problem goes away if I uncheck bulk load (e.g., select 'Table or view'). Is fast load using bulk insert or some internal code That is weird. Have you tried to set a value for 'Maximux insert commit size' As far as I know SSIS uses bulk inserts when fast load is selected. Use SQL Server profiler to see the databse activity while the package is being run and insepect the results of ...Show All
.NET Development cross thread exception in background worker_runCompleted?
I have read about threading and know that updating GUI components in a worker thread is a no no. I thought when using a background worker on the runworkercompleted event that it was back on the main thread and you can edit the components. I posted my code, i get a cross thread exception when trying to update the labels in the switch statement. thanks private void bgwCurrentWorker_RunWorkerCompleted( object sender, RunWorkerCompletedEventArgs e) { if (e.Error == null ) //background process successful 'e' should be xml string { string sWeather; sWeather = ( string )e.Result; if (sWeather.Contains( "Success" )) { XmlReader reader = XmlReader .Create( new System.IO ...Show All
