Saric Sead's Q&A profile
Software Development for Windows Vista Trouble with WebService and Persistence
Hello all, I'm newer to the workflow world and I have a few questions : First, a little background: I've currently got a very simple sequential workflow wraped in WebServiceInput and WebServiceOutput and all interfaces and everything are setup correctly. I use the publish as web service option and all is well. I then try to execute the web service using the "Invoke" button that is on the default web service form: I then get this error: System.InvalidOperationException: The workflow hosting environment does not have a persistence service a ...Show All
SQL Server How to detach properly using SQL Server Express?
It’s easy to attach a database file in the connection string using AttachDbFilename . And that file gets closed when all connections to that database are closed (one might have to clear the connection pool, or set the connection to use master ). The database file can now be moved or deleted. Sounds good... ...but that database still shows up in the attached databases! (select * from sysdatabases). So over time one could end up with hundreds of attached databases (especially if an application uses the attached databases like document files that users open and close frequently). Question 1: Is there a performance hit having h ...Show All
SQL Server Joining multiple tables
I need your help on this. I am not getting the results i wanted in this script. select distinct s.firstname, s.lastname, c[coursename], (midterm+final+assignment ) as "total mark" from student as s join studentrecord as sr on (s.student#=sr.student# ) join course as c on (sr.course#=c.course# ) join courseenrollment as ce on (s.student#=ce.student# ) where ce.[status]=1 Now the results should only pick up 10 students who are enrolled (status=1 ) but the program is bypassing the where clause and returns all the results even though students were enrolled or not. Let me kknow your thoughts. ...Show All
Visual Studio Anyway to create help files which can be viewed in Document Explorer?
Is there any tools/SDK similar like HTML Help Workshop to do this Microsoft Document Explorer opens any HTML or TXT file, so, you don't need any special tools to create files for it, you can use Microsoft FrontPage or Microsoft Office for that... Hope this helps you :) ...Show All
.NET Development Network access for a web app
Hi all, I have a web app that I am developing that retrieves a list of the computers on the network and then displays their date of last reboot. It works fine while on my computer in the dev environment, however if I try to use it from another computer I only get my computer's info. After some work I have found that when I call If (PerformanceCounterCategory.Exists("System", Machine)) I get an unauthorized access issue. I’ve added [assembly: PermissionSetAttribute(SecurityAction.RequestOptional, Name = "LocalIntranet")] But I only get a login box now which is just horrible. I currently have the web app set to Imperson ...Show All
Visual Studio SourceSafe from IDE
I am not being able to see anything from Visual Studio 2005 Beta 2 File > Source Countr > (NOTHING IS THERE) please, help!!! thanks "Open From Source Control" has been integrated into the Open Project dialog itself. Go File->Open Project, and then you will see the SourceSafe icon on the icon bar to the left of that dialog. That will allow you to navigate into your SourceSafe stores. ...Show All
Visual Studio Tools for Office Is connected to exchange
How can I check whether Outlook is connected to exchange Hi, There is property called ExchangeConnectionMode (in Namespace) which returns an enum. You can also you Offline property which will return true if you're not connected to exhange. (You can find more info here ) ...Show All
Visual C# Why no multiple inheritance allowed in C#?
Hi , Why no multiple inheritance allowed in C# Thanks, Senthil, You should take a look at this article at C# Corner. ...Show All
Visual C# Apps for Non-framework users
Hi. I'm been thinking of making a couple of small applikations using C# and dotnet mostly cause i want to and the language seems interesting But i have a question i'd like to have awnsered. The machines the apps ar going to be used on don't have the space for the framework but i can squeeze in one or two simple apps. So is there a way to make an application so that the needed dll files and whatNot are all gathered together and ready to be installed on the end-user. Keep in mind that i don't have a CD rom for some of my machines. Don't want to run around with 50 floppy disks. So please any advise would be great I was having a ...Show All
SQL Server SSIS Dataflow vs SQL2K DDQ
I am trying to recode a SQL2K DDQ into an SSIS Dataflow. I have no issue recoding it in SSIS except I am not sure that I am doing it correct way. My DDQ has source,destination, update/delete/insert statements and few lookups. I have used activex script for the transformation because I have atleasst 10 If conditions. For every "if condition" the destination columns are popuated with different lookups/source columns and constant values. Now When I start doing it with SSIS I have to use at least 10 Conditional split. and then at least one lookup,one OLEDBCommand and one OLEDB Destination for each of them . that brings my count o ...Show All
Visual C# How to reuse Login Screen as Logout Screen
Hi all, I had created a LoginScreen named as LoginScreen.cs with Form Caption as Login Screen and button named LogIn. I intend to reuse this as a Log Out Screen in a separate class. I had created a new instance in the new class LoginScreen logout = new LoginScreen (); logout.Show(); May I know how to change the Form Caption to Log Out and button caption to Log Out Thanks The Text property of the form and the Text property of the button can be set at any time. I would pass in a bool or enum to the constructor, store it and in PageLoad set the text accordingly. ...Show All
Windows Forms TaskVision server 1.1 install fails on Windows Server 2003 Enterprise
After RTFMing the TV Server install doc at http://microsoft.com/downloads/details.aspx FamilyId=53C3B52C-0544-4A03-A79B-ECE6D500B8A7&displaylang=en and making sure that everything is as prescribed there (at least I think so) I'm still getting the error "The parameter is incorrect." in an MB_OK messagebox with the title "TaskVision Server." Then I get the Fatal Error msi dialog and&nbs ...Show All
Visual Studio Team System Generics question
Hey all, I have a question here regarding generics. I have a class that looks like this (only code relevant to the question is listed here): public abstract class BusinessObjectFixture <T> where T : IBusinessEntity { public static Collection <T> GetNewTestEntities<K>( int howMany) where K : BusinessObjectFixture <T>, new () { K fixture = new K(); return fixture.GetTestEntities(howMany); } } This is a base class for my test fixture classes that I use to test my business objects and business entities. Let's say I'm working on tests for my "User" business entity ...Show All
Visual Studio 2008 (Pre-release) HeaderedContentControl template
Hi! I am trying to create a control template for a TabControl and its TabItems <Style TargetType="{x:Type TabItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Grid> <Rectangle Fill="{StaticResource BackgroundGradientBrush}"/> <ContentPresenter Content="{TemplateBinding Property=ContentControl.Content}"/> </Grid> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="HeaderTemplate"> <Setter.Value> <DataTemplate> <Conten ...Show All
Software Development for Windows Vista importing/using common vocabs and taxonomies - winfs only?
It's great to see Microsoft finally supporting tagging in their Windows platform! I have a question specifically on this subject however. My question is: Is it possible to import a predefined keyword list My background is in embedding ICT into UK education. Specifically, I am working with educational bodies in implementing a standard for vocabulary management in education/schools. A common vocabulary is being created as part of this work. Will Longhorn/WinFS support importing of predefined vocabularies I understand that Longhorn will be supporting only local file based tags. I assume that it will be WinFS that may ...Show All
