MSzinger's Q&A profile
Visual C++ template compiling problem
The code below compiles fine under Suse10 gcc 4.0.2 but gives the following error message using VS.Net 2003: error C2244: 'itk::Statistics::ImageNeighborhoodVectorSampleGenerator<TInputImage,VFeatureVectorDimension,VInputImages>::SetListIndexToImageIndex' : unable to match function definition to an existing declaration itkImageNeighborhoodVectorSampleGenerator.h(44) : see declaration of 'itk::Statistics::ImageNeighborhoodVectorSampleGenerator<TInputImage,VFeatureVectorDimension,VInputImages>::SetListIndexToImageIndex' definition 'void itk::Statistics::ImageNeighborhoodVectorSampleGenerator<TInput ...Show All
Windows Forms Anyone having problems w/ ClickOnce in the July CTP?
I can't get even the most basic application to publish. The error I recieve is: The value of the 'PublicKey' attribute in '.NET Framework 2.0' does not match that of the file 'C:\Program Files\...\Bootstrapper\Packages\dotnetfx\dotnetfx.exe'. I just built a clean XP machine and get the same error. Anyone else seen this Thanks in advance. FYI - fixed in the August CTP ...Show All
Visual Basic DirectCast Vs CType
Can anyone explain to me that when can I use DirectCast vs CType I know msdn documentation mention something regarding inheritance that there must a inheritance relationship between objects that are being casted when using DirectCast I use CType when I am converting a variable to another type to be stored in a variable. I use directcast to change a property of variable I need to cast to another type. CType example Dim cm as currencymanger = Ctype(me.bindingcontext(datagrid1.datasource), currencymanager) DirectCast example For each ctrl as control in me.controls if type of ctrl is textbox then dir ...Show All
Visual C++ ap libraries
Is there a download for getting ap libraries for Visual C++ 2005 Express Edition Beta 2 This was helpful in as much as I now have the apstring files needed. However, I am running into another problem when attempting to use them. The apstring references the old iostream.h file in the code. How can I get this to work, any ideas Let me rephrase this, and perhaps explain a bit better. I am using Visual Studio 2005 Professional Edition Version 8.0.50727.42. I got this for academic use for me at home to do my homework for my programming classes. However, I'm running into the problem with apstring. I ne ...Show All
Visual Basic Protecting a document without screwing up the vb code.
hi, I'm creating a template which has to be protected, but each time I try to protect the document the code gets screwed up. Assuming that I use a password (eg Blue) and only protect the forms, how can I alter my macro (below) so that it unprotects the document, inputs the information I ask it to, then reprotect the doc. Sub autoopen() ' ' autoopen Macro ' Macro recorded 07/04/2006 by XXX ' Selection.GoTo What:=wdGoToBookmark, Name:="msname" With ActiveDocument.Bookmarks .DefaultSorting = wdSortByName .ShowHidden = False End With Selection.fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= _ & ...Show All
Visual Studio Team System HOWTO define custom action?
Hi, How we can define and register custom actions to use in transition <ACTIONS><ACTION ... /></ACTIONS> tag Any piece of information will be appreciated! Hi, Im try to register my own custom action but i Dont kwnow where. How can i do it Where are defined the other action thanks in advance ...Show All
Windows Live Developer Forums Activities Menu Unavailable
I've noticed a number of instances with users not being able to access our P4 application because the Activities menu is consistently unavailable. I have witnessed this situation myself over several home broadband connections and the Activity list comes up with the following message: "List of games or activities is temporarily unavailable. Please close and try again later." I initially thought this was due to a restriction on the client machine's network, but this has happened to me in my own home after a recent move. I've changed nothing...even my provider is the same, but the Activities menu is inaccessible from home. ...Show All
Visual C# Line spacing
Hi, How can we change the line spacing of the Font ( Graphics in Paint event) ! I know juste that there is Height but it is read only ! :/ Help :( When you create a font to draw with, you specify its height. TO draw multiple lines of text with different spacing than usual, you will have to break the text into lines yourself and place them on the screen with the spacing you desire. To get the height of the font (ie your minimum spacing) you can use the MeasureString method. Hope this helps. ...Show All
.NET Development How to make my .net application as a software?????
Hello Experts, I am developing an application program in vb.net- after this i need to make it as a software- so it can be used-run in systems where there dotnet is not installed. Thank You .NET Framework needs to be installed on every computer where you want to run your application. You can download a redistributable executable that installs .NET from here: http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en ...Show All
Visual Studio 2008 (Pre-release) Undeclared Namespace error when using x:TypeArguments
I'm trying to create a Page based on my own derived Page class, which has generic type arguments: < p:ViewModelBackedPage x:Class = " Paragon.SSRM.UI.ToolsPage " x:TypeArguments = " {x:Type p:ViewModel} " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:p = " clr-namespace:Paragon.SSRM.UI.Primitives " xmlns:ui = " clr-namespace:Paragon.SSRM.UI " Title = " ToolsPage " Width = " 735 " Height = " 464 " xmlns:d = " http:/ ...Show All
.NET Development Integrated help in professional edition
Hi, I have got the Professional Edition for VS2005 and the help opens up in a separate form. Is this not integrated for the professional edition.. Thanks ...Show All
Visual Studio 2008 (Pre-release) How to make a column's width 50% of the grid's width?
hello, is this possible. Something like <columnDefinition width="0.5"> or <columnDefinition width="50%"> doesn't seem to work. thanks in advance Kimme You can use 2 columns with <columnDefinition width="*"> and each of them will have 50% of the grid's width. ...Show All
Architecture Is MSMQ the right answer?
A web user visits an ASP.NET web app and submits a form which makes a couple of changes to a database and sends a message to another user, say via email. 5 minutes later, I need to check and see if that second user has responded. If not, another email message needs to be sent to that same user. If after another 5 minutes the 2nd notification has not be responded to, a 3rd user will need to be notified. Does MSMQ have a mechanism that allows me to put a message in a queue to be run at a particular time in the future I'm trying to avoid a polling solution. Are there other possible solutions (BizTalk Server isn't appropriate becau ...Show All
SQL Server Cannot get rid of SQL server 2005 Developer Edition Installation
I cannot uninstall the SQL Server 2005 Developer Edition. I have run the uninstall from the control panel for ALL of the SQL Server 2005 components. They are no longer listed in the installed programs list. I have done the uninstall with both the Control panel and the command line. When I try to install SQL server Express (Downloaded from the web last night) It will not install. The error message is: TITLE: Microsoft SQL Server 2005 CTP Setup ---------------------------------------- There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more infor ...Show All
Visual C# Strategy: Draw Large Map without Flicker and Save time.
Hi ,master For plotting large map, My strategy is to set the overall map size to scrollbars. when scrolling, I judge which partion of my map need redraw,then draw it. which will cause to reduce the time it needs to redraw map. About flicker, I can solve it. I used to use MFC and I am new for WinForm .Could you tell me which methods or properties of WinForm to use I put a picture control, HScrollBar,VScrollbar into Form. 1.If my map is 1*1 meter size, I set GraphicsUnit= Millimeter, If I draw it with fixed measured size, it will be 1000*1000, in oreder to save draw time, I will just draw the size of pi ...Show All
