Answer Questions
Iluvai CreateItem and wildcards
Does anybody know why this does not work It seems to have a problem with the recursive wildcards <CreateItem Include="@(sourceServer->'\\%(Identity)\$(OutputPath)\**\*')"> <Output ItemName="newSource" TaskParameter="Include"/> </CreateItem> Thanks, Russ Russ, it works for me. <Project xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <ItemGroup> <SourceServer Include="danmose1"/> </ItemGroup> <PropertyGroup> <OutputPath>public</OutputPath> </PropertyGroup> <Target Name="t" > <CreateItem Include="@(sourceServer-&g ...Show All
De_Vaddrr VSTO 2.0 Excel Project Recurring Compile Error
I have three Excel VSTO 2.0 projects in a single solution. When I build, I keep getting the following error in one of them: C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets(96,9): error : The build process failed because all the worksheets in the workbook you are using in this solution are protected. Turn off the protection of at least one worksheet and then build again. The message returned is: Failed to add the customization. The other projects are essentially identical and never have this problem. I have cleaned out the projects, compared the .csproj files in notepad, nothing is different or out of place. The other worksheets in the other projects are protected in exactly the same manner. Further, when I unprote ...Show All
Jonathan MacCollum Importing a DirectX mesh (.x file) into a Xaml file
Hello, I'm trying to import a .x DirectX mesh in a Xaml file, using the MeshPrimitive3D tag as explained on http://www.codeproject.com/dotnet/3D_in_XAML.asp which gives the following example: <code> <MeshPrimitive3D> <MeshPrimitive3D.Mesh> <Mesh3D XFile3DSource="TorusKnot.x"/> </MeshPrimitive3D.Mesh> </MeshPrimitive3D> </code> However this page is old (2004) and it seems that this tag does not exist anymore (I'm using the may CTP). I did not find a new equivalent tag do to the job, so I was begining to wonder of it was still possible at all. That would be nice. Thanks, Dave Perry I believe EID only does .obj -> .xaml ...Show All
srendoherty Accessing ThisDocument from outside using Word Object Model
Hello, Is there a way to access ThisDocument's methods and props from outside, e.g. from a Word VBA macro. Thanks, Andrew Hi Andrew Your specific requirement is still unclear, except that you're not using VSTO and should be asking in the office.developer.automation newsgroup . If you mean, can you work directly with Word's object model, the answer is yes. In order to use early-binding, you have to set a Reference to the specific Word version object library; late-binding is also a possibility and would be required for C# or VB.NET with Option Explicit On. In any case, you will find code samples for working with document properties in Knowledge Base articles. Search the terms: .NET custom document ...Show All
Cuinio VSS Strategy
Hi, I would like to request for some advise. I need to maintain source code in the following environment: development testing production Is there any best practise/well defined strategy that I can learn from ie, should these 3 environments exist with 1 database within the VSS or as 3 separate databases Currently, I am using VSS 6.0 Thank you Danny. The 1st structure is not even possible. You can't branch to a child, otherwise you'd have an infinite loop... Putting them all as top-level projects looks fine to me. You should create them as branches from the start. That is, create just one project called $/Development. Branch it to $/Test ...Show All
Pockey Expression Blend WPF WPF/E confusion
I have downloaded and done the tutorials for expression blend. I have it integrated (lack of better terminology) with visual studio etc so I can create an EXE with a WPF UI. What got me excited though was a channel 9 interview which I cannot seem to find that spoke of WPF/E being a Flash type technology for the Web with a limited .net framework enabling you to code behing WPF/E in your .net language of choice. This was really exciting to me as I have been toying with Adobe Flex to create a web 2.0 UI and really did not want to have to learn action script. I therefore grabbed the WPF/E SDK to find that it's xaml tags seem different to what expression blend creates and uses and therefore xaml from expression blend will not run in the bro ...Show All
Ion101 Input Java (Sun) on J#
Can i input my Java code on J# and add java api on J# I'm afraid that may not work I had suggested to J# team in the past to be able to "Open As Link" a folder (import filenames into project) and also to be able to "Open a folder" (copy files into project) and get all the subfolders and files in a folder with any decent Java API there are lots of subfolders (for packages) and files and its very tiring to do it by hand. But I guess somebody could make an add-on for VS.net to do that Add VJSSupUILib.dll into reference. DamnD wrote: Is there any way I could create the j# project by giving the starting folder to the IDE ...Show All
Jessica Alba Mail message error.
Hi, I am trying to notify the all users when any one of them modify the sheet value (from VSTO application). below is the code i am using it to notify.And I am getting error message as "Error occured in sedning mail". Inner exception message is : "System.net.scokets.socketsException:An established connection was aborted by the software in your host machine." I am using a proper SMPT server for mail message. Private Sub CreateTestMessage4() Dim from As New MailAddress("x.y@xyz.com") Dim towhom As New MailAddress(" x.y@xyz.com ") Dim message As New MailMessage(from, towhom) message.Body = ("Hello - Testing") message.Subject = "Using the SmtpClient clas ...Show All
Anaray Error while building the vb.net 2005 project
While I am building my solution in vb.net 2005 it giving a message as mentioned bellow Error 3 Unable to copy file "C:\Documents and Settings\****\Documents\Visual Studio 2005\Projects\LTS\MyLib\bin\Debug\MyLib.dll" to "bin\Debug\MyLib.dll". The process cannot access the file 'bin\Debug\MyLib.dll' because it is being used by another process. LTS Actually it was running fine until yesterday. Today it starts to give this problem. Please help me to solve this problem. Thank you Did you reboot your computer and retry If you were debugging and left a debugger window open you would see this issue. Since it is transitory, that is you see the problem today and not yesterday, it is probably a running ...Show All
loic123456 Can you publish a web application using MSBuild on the command line?
Hi, I tried doing it like a website: <MSBuild Projects="C:\MyTempWebsite.sln" Targets="Publish" Properties="Configuration=Debug; Platform=AnyCPU; PublishDir=D:\todelete\FINAL\; ApplicationVersion=0.1.0.0; PublisherName=my site; PublishUrl=http://localhost/MyTempWebsite/; InstallUrl=http://localhost/MyTempWebsite/"> <Output ItemName="OutputFiles" TaskParameter="TargetOutputs"/> </MSBuild> But it tells me that its an unpublishable project... Thank you Hi Yoni, Sorry for the late reply but here's my class. Hope you will find it useful. Let me know if you have any questions. Its an MSBuild task: using System; usin ...Show All
tasleemarif "Webs do not support linked files" Exception
Hi All, Whenever i wish to add files to a webservice programmatically using objVSWebsite.Project.ProjectItems.AddfromFile(filename) It throws exception-- Webs do not support linked files Can somebody please let me know the remedy of this exception regards Hi Rajiv, WebSite projects does not support linked files. That is the nature of the WebSite Project. As know probably know there is no project file for WebSite project. Therefore it can not know about linked filed files. Ole ...Show All
lordJapheth Com Add-in creating custom events for keyboard Shortcuts
Hi, I have written a COM Add-in for Office 2003 using C#2005. I have sucessfully added custom events to most of the menu items and tool bar buttons, but, if the request is done via the short cut (F7-Spell check for example), then, my newly created event doesnt fire. I still want to access the shortcuts, but want my event to fire first. Is this possible Thanks in advance I understand your requirements but it is a bit overkill the approach that you are using. Could you consider InfoPath, which is an Office application much more suitable for the job We have an application that generates a word XML template, and we are allowing users to fill in parts of document. As a result we want to lo ...Show All
gordon LI uninstall?
Is it possible to uninstall the Visual Studio 2005 Service Pack 1 How Thanks, Stefan Yes, it's possible. VS 2005 SP1 should be listed in the Add/Remove Programs list. You can uninstall it there. Thanks- -Tim <MSFT> It should, but it's not listed... make sure you tick the "Show updates" checkbox That's it! Thanks for your help. ...Show All
ruben_itlp Mixed Authentication (Windows and Aspnet)
Hi, Can anybody share your experience using mixed authentication I need that my client can uses Windows authentication or Username(username and password). A good example is SQL Server that can accept mixed type of authentication, and in the SQL Management Studio we can select the authentication type. I tried like it : < service behaviorConfiguration = " serviceBehavior " name = " Netwatts.suNET.Server.Services.suNETServices " > < host > < baseAddresses > < add baseAddress = " net.tcp://localhost:8000/sunet/www.netwatts.com.br " /> </ baseAddresses > </ host > < endpoint address = "" binding = " netTcpBinding " bindingConfigur ...Show All
nate-d-o-double-g Drag and drop ListViewItems to another UIElement(Canvas).
Does anyone have a good example on how to accomplish this I have a tried an fews things with no success and haven't been able to find any good examples. The problem is when I click on the listview row the ListViewAdvisor IsDraggable only gets the listview object. Not the listviewitem; so nothing happens. Pavan, did you see my last post How can I get your example to handle the ListViewItem So far, the only thing that happens is the ListView object is passed to the IsDraggable method and then it stops. How do I specify the ListViewItems as the Drag Source Duh, I think I just realized the difference I am binding to an XMLDataProvider for m ...Show All
