Thomas Ivarsson's Q&A profile
Visual Basic Split Functions
How do i do to use Split Functions for split binary file. For example if i have a file with this text Dim s As String = "GIF89a...andsnqrhht;GIF89a...swiqhdiwetywth" Dim Items() As String Items = s.Split(";") For Each SpecificItem As String In Items MsgBox(SpecificItem) Next ...Show All
SharePoint Products and Technologies Initiation Form doesn't appear when usin automatic launch WF
Hello, I've associated a custom WF developed with VS2005 and IP forms to a task list but when I select "Start this workflow when a new item is created" the initiation form is not shown, so I get " null " for Initiation data on workflowproperties in onWorkflowActivated first event. But this doesn't happen when I launch manually the workflow. Then (if manually started) the initation form is shown and everything goes fine. Anyone have any suggestions Hi Eduardo, You can't use an initiation form on an auto-start workflow. If you need to capture custom initiation data on a per item basis I think you'll need to set up some fields on the list or document library and parse the content ...Show All
Visual Studio 2008 (Pre-release) XAML error in the line <Setter Property="TabPanel.Bottom" Value="-1"/> (Using June CTP)
Hello I created an application using May CTP, and then I installed June CTP. I have tried to build this application with Interactive Designer (June CTP), but I got an error in this part of XAML: <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsSelected" Value="True"/> <Condition Property="TabStripPlacement" Value="Top"/> </MultiTrigger.Conditions> <Setter Property="TabPanel.Bottom" Value="-1"/> </MultiTrigger> The error happened in this line: <Setter Property="TabPanel.Bottom" Value="-1"/> It says : " Cannot find the Template Property 'Bottom' on the type System. ...Show All
Windows Forms How to best update program
Hi My program consists of a exe-file and several .dll-files. To install the program I've created a setup-project. If I later on updates my files (exe and/or dll), how should I implement the update-routine 1. Make another Setup.exe (uninstall / install) 2. Manually copying the files Kind Regards The recommended way to update an application deployed with a Visual Studio setup project is to rebuild the project after incrementing the setup project's version and setting RemovePreviousVersions to true. ...Show All
Visual Studio Ignoring build errors while working on other pages
Suppose I have a few errors on one page that I am not interested in at the moment due to working on other pages. If I perform a build and ignore those errors at the moment, will those errors cause conflicts in the operations of other pages and code Personally, I have not had any problems when modifying or creating new pages and ignoring errors on others, I just need some professional validation on the matter. Thanks Mark, Since you're talking about pages I assume you're building an ASP.NET application. In general, you should be fine. Unless the errors are in a component that's shared across multiple pages, the errors on one page won't impact the others. In the future, questions regarding web develop ...Show All
Visual Studio Team System TFS Upgrade
Hi there! I've been reading the tutorial to upgrade my tfs server from beta 3 refresh to RTM version and I'vent found anything about clients upgrade. In my yesterday post I've posted that I can't connect from local project files to TFS. Since this isn't working I don't know if the upgrade will solve my connection problems or if I will continue to have the same errors. Am I making a storm in a glass of water or should I stay alerted to this fact I'm a little bit worried about the fact to upgrade to RTM version and increment the problems I'm having with the B3R version. As you must agree, this software is not cheep and I'm having some difficulties justifiing the cost/beneffict of TFS. Best Regards, Rui Dias ...Show All
Visual Studio 2008 (Pre-release) TextBlock Not Displaying itemTemplate information
If i use ListBox.DisplayMemberPath = "Title" or "Description" or "Link" it will display the information.But when i change over to a itemTemplate the TextBlocks dont Display the Text,the Vertical ScrollBar appears you can see the TextBlocks when you click on each individual one but "No" text is displayed... Here is the Xaml Code:: < DataTemplate x:Key = " rssTemplate " > < StackPanel x:Name = " StackPanel1 " > < TextBlock x:Name = " TextBlock1 " Text = " {Binding Mode=OneWay, Path=title} " /> < TextBlock x:Name = " TextBlock2 " Text = " {Binding Mode=OneWay, Path=description} " /> < Sta ...Show All
Windows Forms Form Communication Through a class
Pls someone should help me out I want to communicate between two window form in such a way that they update a property in a particular class and the two will have the update as soon as the other updates. Example. A form called form1 and another form called form2 want to access a class called Cemployee. this class has a property called Employee_Name that returns a table MY problem is If form1 with agrid control that is bound to this table inserts a new employee to the table, the changes should show immediately in the form2 gridview bound to the same property table. and vice visa. ...Show All
SQL Server How to send a dynamic files attachment by send mail task?
Hello All, Hopefully someone out there will have an idea as this is driving me nuts. I want to send a dynamic files in attachment files ny send mail task that file name has change follow datetime. I try to use the expression but I can't use it. please tell me for this problem. Any suggestions appreciated, Thanks. Hi, I am having a problem with the same task. I created an Expression in the SendMail task, the Express is FileAttachments and for the expression i have \\\\server\\folder\\ + @[User::PDF_FILE_NAME]. The attachments will be located on a seperate server, with a shared folder that the current server has access to. When I run the project I get the same error, "Either th ...Show All
SQL Server sqlcmd –S .\%INSTANCENAME%... fails after install
I'm new to sql, so go easy ;) I'm attempting to install sql for a BCM 2007 installation, and I'm using this document: http://www.microsoft.com/downloads/details.aspx familyid=f24267ee-9ad5-4be5-b888-c9a50ae395ca&displaylang=en Now, I'm trying to do this on Windows 2003 Standard server, which may be the problem, but perhaps not Anyway, the command I'm attempting to run is: sqlcmd –S .\% INSTANCENAME % –E –Q “exec sp_grantlogin [% DOMAIN %\% USER %]; grant create database to [% DOMAIN %\% USER %]” which is basic enough (and I did replace the %%'s with the correct info) but I'm getting this error back: Sqlcmd: '-S': Unknown Option. Enter '- ' for help. Any ideas edit: I did just notice this ...Show All
SQL Server integration of 2 SQL 2005 DB Servers
Hi, I have 2 database servers and each has same database.Program that inserts these databases randomly selects one of them to insert data.So only difference is data. I have to generate some report using these 2 sources.System administrators reject integrating these 2 servers into one. My question is , I want to run a query that looks the column x in table y and finds unique records in this table.But this works just in one DB.What do you recommend me to find solution that finds real unique records, i.e. looks both servers to find records. Is there a Microsoft product that may be configured brain of different DB Servers or any other solution I have also memory restrictions and data is considered as more than 100 GBytes for eac ...Show All
Windows Live Developer Forums Mapinfo co-ordinates
Can anyone help in identifing the projection used in virtual earth to display. We are importing coordinates from mapinfo tables in Irish transverse mercator grid and converting to lat/long but the points are not displaying in the incorrect position. Any help appreciated. Thanks Derek. Here is a reading from Mapinfo: Easting 247118.68 Northing 198208.55 -7 17' 51.260496 53 1' 57.058752 and the same in decimal degrees -7.29757 53.0325 ...Show All
.NET Development Performance question about string
Hi, I wonder,.. what code has the highest performance public class Test { private static readonly string MyStr = "abcdefghijklmnop"; public void DoTest() { StringBuilder sb = new StringBuilder(); for (int i=0;i<10000;i++) sb.Append(MyStr); } } -or- public class Test { public void DoTest() { const string MyStr = "abcdefghijklmnop"; StringBuilder sb = new StringBuilder(); for (int i=0;i<10000;i++) sb.Append(MyStr); } } Stephan Smetsers stephansmetsers@hotmail.com http://www.inchl.nl hi, I know,... that solution will win by far,... but I used the example just for illustra ...Show All
Visual C# Problem with AssemblyInfo.cs
I'm a rookie and I'm trying to run a project coded in ASP.NET and C # locally at the moment, I copied the source files and installed ,configured IIS and registered ASP.NET 1.1. But when I tried open the whole project, it throws me an error: "Source file 'C"\TestingProject...\AssemblyInfo.cs could not be opened( 'The system cannot find the file specified.') I went back to check the original files but cannot find the file AssemblyInfo.cs. and the project is running perfectly elsewhere. What do I need to do about this Any help would be highly appreciated.Thanks in advance! Hi, Is your assembly file on your project folder If is not, do you have it elsewhere If so, add it to the project using Visu ...Show All
Visual Studio Team System Hardware requirements
Is there a rule of thumb when I select computer box for TFS I need to choose box to set up TFS core functionalities and have it as a dedicated Build Lab. SQL Server 2005 will be sitting on the separate machine. What to look for We have 30 distributed developers working on 10-20 separate projects if this info might help. The current hardware requirements are located at http://msdn2.microsoft.com/en-us/library/ms253078.aspx (there is additional guidance at http://msdn2.microsoft.com/en-us/library/ms316450.aspx ). Since you mention "distributed," you may also want to install the source control caching proxy server ( http://msdn2.microsoft.com/en-us/library/ms252490.aspx ) at each location for fas ...Show All
