Stephen J.Vanterpool's Q&A profile
Visual Studio Team System Recursive Copy within Team Build
I can't see what I am doing wrong, can someone please help me The scenario is that I would like to copy the output generated by Team Build to a specific location (publish a web app on a web server). To do this I implement the copy task in the CustomCopy target in the file CustomAction.target file. Using the instructions on for how to do recursive copies. Below is the extract from the .target file: < ItemGroup > < MySourceFiles Include = " $(DropLocation)\$(BuildNumber)\**\*.* " /> </ ItemGroup > < Target Name = " CustomCopy " > < Copy SourceFiles = " @(MySourceFiles) " DestinationFiles = " @(MySourceFiles->'C:\Inetpub\wwwroot ...Show All
Visual Basic Autoinserting ()
On my main code page in the IDE - everytime I press a key it autoinserts a ( ). Example keypress - D Shows - D( ) keypress - i shows D(i) keypress - m Shows D(i)m and any further keypresses just backspaces and refuses to let me key anything in. What did I do to cause this and what can I do to stop it Please Help! Dean The hotfix for this issue has been available for quite some time now: http://support.microsoft.com/kb/916209/en-us You will need to contact Microsoft Support and request the hotfix for KB 916209. Hope this helps, ...Show All
SharePoint Products and Technologies SPItemEventReceiver do not work properly when i use the wss object model API.
Hi everyone. I got a problem unsolved almost 2 weeks. Please somebody tell me a clue. I customized the SPItemEventReceiver and associated the customized SPItemEventReceiver with a content type was inherited from the Document Library content type and deployed this content type to a server as a Feature. When I uploaded a file from Word 2007, Events associated with the ListItem fired. but on uploading using the Wss Object model , events did not fire at all. I have a same experience when I using not only a document library type and SPFileCollection.Add method but also a list type and SPListItemCollection.Add method. I have found the following from the WSS3.0 sdk document. SP ...Show All
Smart Device Development Comm ports
Hello I need a bit of help. I am trying to use the emulator to send data onto a port which I am monitoring on my pc. I can open the port in the emulator but it freezes when I send data. I am a bit confused over mapping the pocket pc 2003 emulator ports. Do I have to do this I have added a port that connects to COM1 in the device appication. I am then simply executing the code: if (serialPort1.IsOpen == true) { serialPort1.WriteLine("blah"); } I am wanting to see the text blah in a port monitoring program on my pc. thanks I have managed to connect a c# app to a device app on a PDA emulator over a virtual serial port. If anyone needs help let me know. To be fair the replies th ...Show All
Visual Studio Team System Get Latest not getting latest
In the last couple of days we have had a couple of occasions where a change has been checked in and then another developer does a get latest but the change is not picked up. After some other event occurring later the get latest does work (maybe refreshing the project view in Source Control Explorer works maybe not we haven't nailed down exactly what makes it suddenly get the latest version - maybe it is just time passing). Even a force get doesn't get the change yet if you view the file from within Source Control Explorer you can see the changes. Any ideas Regards Ian You can also try to clean the cache first and then try to the the latest files. Cache folder is under Documents and Settings\<Your a ...Show All
Software Development for Windows Vista Vihang's Re-hosting Workflow Designer example errors
Vihang, I am receiving the following message when using your Re-hosting example code: Property value is not valid. The Service 'System.Workflow.ComponentModel.Design.IExtendedUIService' musy be installed for this operation to succeed. Ensure that this service is available. Have you seen this before Is there a reason I cannot view the Invoked handler in the properties windows I look forward to hearing from you soon. Thanks in advance, John P. Jon, Thanks. I sent an email to jon.flanders@gmail.com John P. ...Show All
Visual C++ include a class from dl
hello Everybody Can any body tell me how to include a class from dll in vc++ I just have the my.dll file and i know about the classes present in it i don't have any source file of i know what is the class and the functions present in it thank you in advance I suppose it is a managed (.NET) dll. Otherwise without a header file you won't be able to do much. Go to project properties and under Common Properties you have references. Click Add New Reference and in the dialog that appears go to the Browse tab and browse and select your dll file. After that you should be able to use the classes from the dll provided that you know the namespace names and the class names. ...Show All
Visual Studio 2008 (Pre-release) ToArray() / sub query / DLINQ possible bug.
Hi Guys, I'm using DLINQ to access my test Database. I get this error when evaluating the following query; Cannot assign sequence of LINQTest.MarineLocationKills to type LINQTest.MarineLocationKills[] var query = from m in marines select new { m.ID, m.Name, m.Age, m.Sex, Kills = ( from k in marineLocationKills where k.MarineID == m.ID select k). ToArray() }; var temp = query.ToList(); If I change .ToArray() ...Show All
Visual Studio Team System Error TF24042
Hello, I have added two domain groups in [Team Project] \Contributors group, but users received the error message: "TF24042 You do not have permission to create work items in project ...". Users cannot see any work item created for that Team Project. Please, could you help me Thanks Montse Does your Contributors group have the "View project level information" permission I think that's what's necessary to create work items. I don't believe the upgrade should have any effect on these particular permissions, though I haven't done much testing of such situations myself so can't be positive. Are there any messages in the event log on the Application Tier It m ...Show All
Visual Studio Team System Changing Sql Server Account from Local system to AD account
Hello, I'm currently running the Sql Server for my Team Foundation Server as Local system. I need to access some network resources from Sql Server and need to change the account to a Active Directory account. Does anyone know the implications of doing this The reason I have to access network resources is a new backup strategy. Each Sql Server backs up its databases to a local disk and then copies it to a shared network resource. If there is a better way to do this, please let me know :) Cheers, Chris Dear Chris: Do you just want to change the starting account to an AD account It is ok if the changed AD account reach the AD trust requirement of the TFS. For more abou ...Show All
Visual Studio Not finding external dll when compiling Web development project
I am trying to create a web development porject that compiles my company's new web based application. It compiles in VS2005 but when i compile it using ms build I get the following error: /ProgramName/Stuff/MoreStuff/EvenMoreStuff/AndSoOn/schFoo.aspx(6): error ASPPARSE: Could not find 'libCompanyComponents' or one of its dependancies. The system cannot find the file specified. Now libCompanyComponents is a DLL in a different directory that has been added as a reference in VS2005, but is obviously not being seen by msbuild (or so i am reasoning) My question is: how do I get msbuild to see this file in its current location and use it if the directory structure is as follows: D:\CompanyDev\Product\ | |_Components | | | |_libCompan ...Show All
SQL Server ** MAJOR PROBLEM ** with Dynamic images
I am try to develop a report to render TIF documents I have stored on disk. The approach I am trying is to write a class library that with a method that take a file path argument to a TIF file and page frame number, and will return base64 encoded JPG binary data for the report to render. My RDL looks like: <Image Name="image2"> <Sizing>AutoSize</Sizing> <Left>2.125in</Left> <MIMEType>image/jpeg</MIMEType> <Top>2.625in</Top> <ZIndex>1</ZIndex> <Width>0.875in</Width> <Source>Database</Source> <Style /> <Height>0.75in</Height> <Value>=MyImageHandler.ReportImageHandler.GetBase64JPEG()</Value&g ...Show All
.NET Development MessageQueue problems under .net 3
Hi, I recently switched to the version 3 framework with SDK build 5536.0.2 and I'm having some issues wth code that uses the MessageQueue class. Firstly, MessageQueue.CreateCursor() sometimes throws a MessageQueueException with the message 'Remote computer is not available'. It's not absolutely consistent and occasionally works correctly. I still have the code compiled against the V2 framework on another machine, and pointer at the same remote, public queue, it always works. More worrying is what happens next. Sometime later - presumably on the next garbage collect - a NullReferenceException is thrown. If I catch this in the debugger, I can see the exception is thrown from System.Messaging.Cursor.Finalize(). It appears the garbage ...Show All
Visual Studio Express Editions Database search
This has probably been asked and answered before but here goes. I have set up a login for my application and need to serach my database for username/password combination. Neither of which is the primary key. This is the code I have come upi with so far but it doesn't work! I have used username/passwords that are in the database so it should work. Please can anyone help me Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim user As String = Me .UserName.Text Dim password As String = Me .Password.Text If user = "Admin" Then ElseIf password = "pass" Then Dim myAdminMainForm As New MainForm ...Show All
SQL Server Could not register msxmlsql.dll under Microsoft SQL Server/90/Shared folder
Hi, I'm trying to silently(quiet mode) install Sql Server 2005 and our application.I created a custom wrapper and included all the files and folders extracted from SQLEXPR.exe. So when I execute this customized setup its throwing an error : Could not register Program Files/Microsoft SQL Server/90/Shared/msxmlsql.dll If I ignore the above error its throwing similar errors for almost all the files under Program Files/Microsoft SQL Server/90/Shared folder. kindly help me to resolve the issue. Thanks & Regards Krish Hi, have you tried registering this dll from Command line utility REGSVR32.EXE path\filename !!!! or alternatively you may create a Standard Visual Basic Package contai ...Show All
