pjtaylor's Q&A profile
Visual Studio Express Editions .Net Framework 3.0
I see that the .Net Framework 3.0 is now available. What are the benefits (if any) of upgrading from 2.0 to 3.0 Thanks... no .NET Framework is installed automatically by WU but this is listed as an optional component. Windows XP SP2 ships with .NET Framework 1.1 as does Windows Server 2003. Windows Vista ships with .NET 3.0 as standard so currently its your call on what you would like to do. I would still dev apps in .NET 2.0 until say another 4 months then move onto .NET 3.0 at the end of the day if someone runs your app and it requires a .NET Framework version, then its best to have it installed with your app than to "bypass" or ignore your application. At some stage, .NET will have to b ...Show All
SQL Server Custom Code for a Parameter
I'm using a GAC-installed assembly as part of a Reporting Services (2005) report. The code does not need any permissions beyond execution. All it does it take today's date and calculate last week's start and end date. It's all just datetime manipulations. All methods are static. In the VS2005 report designer, I can do everything fine. The code runs as expected and defaults the parameters to the right date. When I upload the rdl to the Report Server, I get the message "Error during processing of ‘Start’ report parameter. (rsReportParameterProcessingError) ". If I override the "Start" parameter, it doesn't give me that error anymore. Start should be the Sunday of the previous week. I have deployed the signed ass ...Show All
SQL Server RECEIVING from QUEUE by ConversationHandle
Is it possible to receive from a queue by a conversation handle In the documentation there is an example that show you how to do it. Yet, if you "read" the whole document it says that the conversation handle can not be an expression. The WHERE clause of the RECEIVE statement may only contain search conditions that use conversation_handle or conversation_group_id . The search condition may not contain any of the other columns in the queue. The conversation_handle or conversation_group_id may not be an expression. Here is what I'm trying to do: ; RECEIVE TOP ( 1 ) @MsgBody = CAST ( message_body as XML ) FROM ProcessingLetters WHERE conversation_handle = @Conversation_Handle It doesn't seem to mat ...Show All
.NET Development How to detecting member modifiers using Reflection namespace [v2.0]
I have been able to detect member(mbr) <Ctor, Field, Event, Method & Property> modifiers such as: -> 'abstract' using an instance of '<mbr>Info.IsAbstract' -> 'public' using an instance of '<mbr>Info.IsPublic' -> 'private' using an instance of '<mbr>Info.IsPrivate' -> 'static' using an instance of '<mbr>Info.IsStatic' -> 'virtual' using an instance of '<mbr>Info.IsVirtual' But, I have not been able to detect the following member(mbr) modifiers: 1> 'protected' : Is this a "true" test : If(not(<mbr>Info.IsPublic) and not(<mbr>Info.IsPrivate)) 2> 'internal' : The test is unknown 3> 'const' : The test is unknown 4> 'extern' : The test is ...Show All
Windows Live Developer Forums Due to a connection problem, changes you make might not be applied to other computers you use
Hi, Due to a connection problem, changes you make might not be applied to other computers you use I am getting this error in Live Messenger for last few days... As a result, my contact list is not appearing correctly and all the contacts are missing. Anyone having same issue Thanks Fahad hmmm.. but my contacts are also unable to see me online... and my contact list also reduces and so many contact are missing... every time i sign out and signin, i see different number of contacts in my list.. quite weird... ...Show All
.NET Development SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange
Hi everybody, We were developed some Web-Services that run against SQL Server 2000 with SQLDataReader that executing Stored Procedures in the DB. Most of time (95%) everything is running well, but sometimes (when exactly, we don't know) the same WebService that worked 200 times, fail. The code is simple: public string myFunction( int ANumber ) { string strRetVal = null ; SqlDataReader myReader = null ; SqlConnection MyConn = null ;   ...Show All
Visual Basic Date Problem
Hi everyone~ I’m stumped on something that I thought would be simple. I’m trying to figure out how to determine if the LastModifiedDate of a file was yesterday. Not 24 hours ago, but simply yesterday. I have a third party program that converts files and moves them to a specific folder. Anything converted and moved after midnight gets a new date in the file name (MM/DD) and continues doing it’s thing. I want to set up an event that will work with only files that were created yesterday, even if they are less than an hour old. I don’t know if I am on the right track, but so far I have one variable (TodaysDate) as 09/03/06, and the file’s DateLastModified (FileDate) as 09/02/06. But now I can’t figure out how ...Show All
Audio and Video Development How can I stop to play video on start?
By default, my video file is playing at start always ( I think that I can configute XPL file for it ) . But I want start video from JavaScript (e.g. use click by "Play" button). i.e. when I start iHDSim I must don't see video, but I will must work with controls (DIV, BUTTON and etc.) and use animation. How can I do it See also the related thread at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=593384&SiteID=1 ...Show All
SQL Server Slow Running Insert After Changing OLE DB Destination Data Access Mode
Hello, In a Data Flow Task, I have an insert that occurs into a SQL Server 2000 table from a fixed width flat file. The SQL Server table that the data goes into is accessed through an OLE DB connection manager that uses the Native OLE DB\Microsoft OLE DB Provider for SQL Server. In the OLE DB Destination, I changed the access mode from Table or View - fast load to Table or View because I needed to implement OLE DB Destination Error Output. The Error output goes to a SQL Server 2000 table that uses the same connection manager. The OLE DB Destination Editor Error Output 'Error' option is configured to 'Redirect' the row. 'Set this value to selected cells' is set to 'Fail component'. Was changing the access mode the simple reason ...Show All
Windows Forms Using Windows Forms to start IE instance with another user
Hello. I'm here looking for some advices... I'm developing an Intranet Web Site (ASP.NET) that'll use Windows Authentication. Some machines will be shared among users, and every user must be authenticated with his own login to use the web site. But one of the requirements is thet they won't need to logon on these machines (start another session): they'll suply their Windows account login and password in a login/password window. I'm studying the possibility of using a Windows Form (Smart Client) to achieve this, since the users probably won't like to use the "Run As" Windows' feature. They'll click on a link on the main page ("new login"), and it'll call a Windows Form, asking for their login and password. Then ...Show All
Visual Studio Team System Dependency b/w source control and team explorer project
Q1: Is there an inherent dependency between source control repository nodes and TFS team projects In other words, must a source control branch must have a corresponding TFS team project or are these two entities independent...at least until the Source Control node in the Team Explorer project is defined. Q2: When a source control branch is associated with a Team Explorer project, what is the nature of this association Is it simply a default location in the source control repository Suppose I have a Team Explorer project that must modify three different services in our architecture and each is maintained in difference codelines in the source control repository. This project should be associated with three independent branches (one p ...Show All
SQL Server Preventing invalid data from being entered
Hi, I need to be able to prevent an invalid character from being entered into a sql 2000 databae on import from oracle. In short, I need to exclude a certain character from being entered and need to be able to send an email which specifies that an attempt was made to enter this character, if the change was due to an insert or an update, the row to be affected in the target database, date and time info. Also the source of the data. If this is not possible, is it viable to remove the character after insert and still send the email withe the required info Any one any ideas on the cleanest way to achieve this Thanks Hi, you could use a trigger for that. Check the incoming values for ...Show All
Visual Basic VB.net DLL handling
I have developed a VB.net component and created a dll. I have a form and several functions implemented in the dll. Now, I would like to invoke the dll and load the form as a component on a form in the main program. The main program is also being written in VB.net. How do I invoke a function in the DLL using VB.net Can I call it as a class "plugin.init" -- HOW ALSO, I want to load the dll on the fly (i.e., like a plugin..). All the plugins will have the same "entry function". How do I specify this in the VB.NET DLL My DLL code follows: Public Class plugin ReadOnly Property getSWClass() As Integer Get Return 4 End Get End Pro ...Show All
Commerce Server Catalog Cache - Cleared with Refresh Site Cache?
If I add the <catalog><cache> elements/attributes to the Commerce web.config file as recommended to improve performance/scalability: <cache enable="true" schemaTimeout="10"....>, do these items added into the cache get removed from the cache when I click on "Refresh Site Cache" through the Business Apps ...Show All
SQL Server Problems with output variables when using varchar
I am using c# in Visual Studio 2005 to run a stored procedure in a sql 2000 databse. this is the stored procedure CREATE procedure dbo.returnVendor4 @vendorID varchar(10), @name nvarchar output as select @name = vendor_Name from vendors where Code = @vendorID I steped through the c# code, it gives me an error when the procedure is ran (at the ExecuteNonQuery() part). this is the error message "String[0]: the Size property has an invalid size of 0." I have a similar procedure that returns an int, and it works okay. My c# code that calls the procedure is below string retVal ; SqlConnection con = new SqlConnection( "server = lissadell; database = s00048271; uid = s00048271; pwd = 'chocolate'&quo ...Show All
