celinedrules's Q&A profile
Architecture Stored procedure vs standard query
hi, I am in process of evaluating that for simple CRUD operations(select,update,delete,insert), should we use stored procedures or should we fire queries directly from DAL for performance enhancement leaving aside the fact the stored procedure pproach will mix the data access and business logic . If somebody could provide any microsoft URL link giving clearcut recommendation on the same,it would be of great help to me. Regards Why Consider Stored Procedures The first time the stored procedure is run, it gets compiled. This produces an execution plan—essentially a record of the steps that MicrosoftR SQL Server must take to get the results specified by the T-SQL in the stored procedure. The ...Show All
Visual Basic Difference between C# interfaces and VB.NET interfaces.
I'm trying to convert a C# sample to vb.net and am running into a bit of a problem. The following C# code compiles.. public interface IView { event EventHandler Load; } public class MyView : System.Web.UI.Page, IView { } While the following VB.NET code does not. Public Interface IView Event Load As EventHandler End Interface Public Class MyView Inherits System.Web.UI.Page Implements IView End Class The error returned is: Class 'MyView' must implement 'Event Load(sender As Object, e As System.EventArgs)' for interface 'IView'. How do I fix this problem It seems like it should be simple! Not really.. Load1 is pretty ugly, don't you think If I replace Load1 with Load, I get a warning: event 'Loa ...Show All
.NET Development WSE 3.0 and SSL mutual authentication
I am developing a web service for a client using WSE 3.0. For client authentication my client prefers to use SSL mutual authentication instead of WS-Security. I have experience using SSL mutual auth with IIS and ASP.NET, but not with WSE, and cannot find any documentation on this. Is this possible to use SSL mutual auth with WSE 3.0, and if so, can anyone point me to docs or sample code Thanks, DavidJ DavidJ, SSL mutual auth is a transport layer security implementation. WSE's main purpose is to provide message layer security using WS-* standards. WSE 3.0 allows you to implement message layer security with X.509 certificates including mutual authentication features. Apart from that, it is possible to combine message ...Show All
Windows Live Developer Forums how to add a video plug-in in Messanger Live?
Hi, everybody I 'm not familiar with Messager Live develpoment, but now I have a small task to add a video plug-in in the Messager Live. 1. This plug-in can be shown at the current position for advertizing, and display video, such as TV program, for the user. 2. The viedo program and source codes are on my hand, but I'm not sure how to add it in Messager Live as a plug-in. 3. Shall I do it by Active SDK or add-in SDK If it so, what shall I do Thanks a lot! hanks 2006-09-02 OK, thanks a lot! I'll not advertise anything just want to add a video in MSN. It seems that when using Activity SDK,the video can only be shown in the user's conversation window during the conversation; what's more, if I want to show ...Show All
Visual Studio 2008 (Pre-release) TabControl Two level
Hello all I have a TabControl with two levels, meaning some of the TabHeaders are in level one and some in level 2. The bottom level is closest to the content area. This is a default behavior. Now the default behavior also cause the upper level to switch places with the bottom level whenever an upper level tab header is selected. Tab 4 | Tab5 Tab1 | Tab 2 | Tab3* Tab 3 selected and when clicking on Tab 5 we get this: Tab1 | Tab 2 | Tab3 Tab 4 | Tab5* What I want is the upper level to stay upper and lower to stay lower, meaning each level keeps its initial state, like that: Tab 4 | Tab5* Tab1 | Tab 2 | Tab3 Is this possible Itzik here is the code from sdk for custom panel sa ...Show All
Visual Studio Team System check out all items programatically C#
Hi, I can connect to a TFS using this TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer("adteam"); lstBox.Items.Add("AuthenticatedUserName = " + tfs.AuthenticatedUserName); lstBox.Items.Add("ClientCacheDirectoryForInstance = " + tfs.ClientCacheDirectoryForInstance); lstBox.Items.Add("Culture = " + tfs.Culture.ToString()); lstBox.Items.Add("HasAuthenticated = " + tfs.HasAuthenticated.ToString()); lstBox.Items.Add("Name = " + tfs.Name); lstBox.Items.Add("SessionId = " + tfs.SessionId.ToString()); lstBox.Items.Add("TimeZone = " + tfs.TimeZone.StandardName); lstBox.Items.Add("Uri = " + tfs.Uri ...Show All
Visual Studio Express Editions Simple client and server applications
how do i make server and client (but very basic, just to transmit a string would do). I've been programming in VB.NET for a year so im good, but not great. perhaps this topic will help http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=846403&SiteID=1 ...Show All
.NET Development Image does not display at Design Time - Custom Web Control
Hi, I am developing custom web control DropDownCheckBoxList using Dot NET Framework 2.0 and Visual Studio 2005 IDE. It is derived from DataBoundControl. The control contains an object of Image control, and it also has ImageUrl property which user can assign using Properties dialog in VS Designer. The problem is when user assigns ImageUrl, the image is not displayed in DESIGN MODE, though it displays it in run time. I do set ImageUrl property of Image control contained in my control and also renders the Image control but it still displays "No Image" icon in Design time. Any clue how to solve this The second important problem I'm facing is cursor flickering. My control's image changes on mouseover and mouseout at r ...Show All
Windows Forms couple of basic questions...
i have the following requirements and I need to know if CO can do this -- this is a full trust app if that matters; have the app start with windows (optionally based on user config) write data to a data folder (how do i determine where this data folder is and does it persist across versions -- this is the local cache im talking about for offline use) create multiple threads that can reach accross network paths (both unc and http) and download files into the data folder interact with TAPI providers on the machine have user-scoped configuration that persists across versions (this includes the option to start the app with windows + many others) have the user be able to drop-in their own plug-ins (assemblies) which the app ...Show All
SQL Server Cannot use credentials for proxy account
Hi, because my package does not run with SQL-Server-Agent, but without problems if started by "hand", I created a new credential which contains the information needed for the package. I did this as described on: http://msdn2.microsoft.com/en-us/library/ms190703.aspx . After that i tried to create an proxy account, but when I chose the created credential, Management Studio says "Der Proxy "[name_of_credential] ist kein gultiger Windows-Benutzer(Microsoft SQL Server, Fehler: 14529)". This means something like: "This Proxy is not a valid windows-user. Error: 14529". Any hints how to use a credential that is not a windows-user Regards, Jan Wagner Oh, ok. I tho ...Show All
Software Development for Windows Vista .NET3 RC - New Sequential WF Error
Ok, I've installed the 3.0 Runtime, 2005 Extensions RC2, and SDK. When I open VS2005 and choose New Workflow - Sequential WF. The IDE attempts to load a blank WF solution but I get the following error. Warning 1 The service System.Workflow.ComponentModel.Compiler.IWorkflowCompilerOptionsService already exists in the service container. Parameter name: serviceType 0 0 What gives Did I miss something in the installs Has anyone else experienced this problem with the 3.0 RC yet. The assembly version for all WF builds is 3.0.0.0, you need to be looking at the Product or File version for the correct version. If the VS designer is looking to “ Reference Assemblies\Microsoft\ WinFx” then you probably ...Show All
Visual Studio Port placement manipulation with myPortShape.AbsoluteBounds
Hello - I am trying to write an application that will generate a .diagram file if one does not exist using some arbitrary set of rules. I can get all of my GeometryShape derived classes where I want them, but I am having trouble placing my PortShape derived classes on my GeometryShapes. Setting the AbsoluteBounds and Bounds properties on my PortShape do not behave as I expect. I would expect setting the AbsoluteBounds property on a port would place it at the location specified, relative to the Diagram. [i.e. a 1 by 1 PortShape at a location of (4.5, 5.5) on a GeometryShape located at (4, 5) would appear with half of the top of the port appearing off the top of the GeometryShape]. It appears to be placing it relative to the bott ...Show All
SQL Server SQL Construct
Hi all, I had a question regarding SQL construct. I had a table named "info" and I would like to show Lot_Id as distinct. Besides that , I would also like to show wafer_id and wafer_starttime. May I know how to construct this using select statement Thanks ...Show All
Visual FoxPro Executing FoxPro Command
hi guys! well by the way my database connection is a ADODB connection. now i would like to execute a FoxPro command like: use myTable append from myTable i dont know how to execute this in VB6. can someone tell me how it works that will be great! thanks --novelle dBaseIII format is fully compatible with fox2x format and VFPOLEDB works with them wonderfully well. I think you made some error in your syntax. You're inserting into myTable from otherTable. It looks like: use myTable append from otherTable ...Show All
Visual FoxPro setsystemtime cannot set millisecond
Hi, I want to set the system clock of my PDA (WM2003) to milliseconds. I use now setsystemtime but it seems that it doesn't set the millisecond field, (year/month/day/hour/min/sec is ok.) because if I call getsystemtime directly after this method it returns always 0. Anybody can help My code: SYSTEMTIME st; st.wYear = year; st.wMonth = month; st.wDay = day; st.wHour = hour; st.wMinute = minute; st.wSecond = second; st.wMilliseconds = millis; SetSystemTime(&st); Is this a VFP related question Is there a version of VFP or a third party product that can run a limited version VFP on a wm2003 ...Show All
