pmanisekaran's Q&A profile
SQL Server Domain Groups and Windows Authentication
Hi We are planning implementation of a currently Sybase db. The users (about 3600) will be i 5 domains and we want single sign-on through trusted connections. We want to use the database roles to define different user access on databases and tables. There will be around 2000 roles. We also want to add the users directly to the database roles without having to grant each user database access. So I thought that I could add the user groups from all domains and then add each domain user account to specified database roles. Am I right here or what The Windows authentication will lookup or check the users kerberos ticket during logon process and allow logon. The documentation here is weak and I assume it's a windows authentication quest ...Show All
Smart Device Development How to play wav through phone line?!
I try to make a answering machin for pocket pc 2003. So I need to play wav through line when incomming call happend. How should I play wave files through lines ! If I'd know that philosophy was within the bounds of this forum I would have posed this question long ago… Q: How many software engineers does it take to change a light bulb ...But I already know the answer and it's fitting for this thread… A: None. It's a hardware problem. Tony ...Show All
SQL Server Auditing Status of a Trigger in SQL Server 2005
I need to know when a DML trigger changes state (from enabled to disabled, and disabled to enabled). I **assume** this info is not in any of the standard SQL Server 2005 loags and find no entry relating to triggers being enabled/disabled. Therefore I also *assume* the best way to do this is create a DDL Trigger and populate a table when a trigger status is changed. Am I on the right track Has anyone done this Code samples/links to solution Is there a simplier way <i'm all about simple> Thanks in advance. Thats exactly the right direction, if you need a quikc sample for using DDL events, take a look at the DDL event definition in the BOL and perhpas at the slightly diff ...Show All
Visual Studio Tools for Office Ribbon Control Support JACOB
Hi Geeks, I have two ribbon control button item btn1 and btn2. btn2 is disabled at startup, when i click btn1 my login form will load, after validaing the user i want to enable btn2. My user validation is ok but i cannot access the Ribbon class from my login class. Can some one help please. Jacob Can you provide a little more detail about your add-in architecture Also, can you clarify what development enviornment you are using I'm not sure I understand the question. Is the issue that you can access the Ribbon class from the login class in order to call InvalidateControl Thanks, Rachel ...Show All
Visual Basic ERROR: Unrecoverable build error when building Setup project in VS.Net 2005
Hello, Somebody, please help me out, I got "Unrecoverable build error" when building setup project. I try the solution in http://support.microsoft.com/kb/329214/EN-US/ but did not work out. I am totally stuck. Please, your any information, solution will be very much appreciated. Thanks! Yi-an after try http://support.microsoft.com/kb/329214/EN-US/ , run "regsvr32 ole32.dll". I did many try and so I can't tell what is the right one.:-) ...Show All
Visual Studio Express Editions Bug in Toolstrip menu?
I have a menu driven application. Everything implemented so far works fine both in the IDE and as a published version. I opened the project as I wanted to add one final item to a drop down menu (which I added a previous item to, without a problem, a few hours previously). The new item does not get added to the menu. If I try again or click anywhere other than inside the empty box, the IDE then shows an error stating that VBE must restart. I had made a copy of my project directory earlier in the day, when I was satisfied that everything worked as intended. The same thing happens when I opened this version of the project. I assume that there is not a limit of 5 items in a drop down menu. Anyone experienced a similar problem ...Show All
Visual Basic VB computing wrong value during execution
I am receiving the wrong result when I perform the following computation using VB.NET 2005. MM = CDbl (LoCursr - 1) / CDbl (HiCursr) LoCursr and HiCursr are both dimensioned as Integers and have values of 85 and 87 and are passed into this subroutine as ByRef values. MM is a local variable declared as a double. If I execute this statement in the immediate window, I get the correct result of 0.96551724137931039 However, when this statement executes normally, I receive a result of 0.96551722288131714 which I also get if I execute Cdbl(Csng(84/87)) in the immediate Window. I've tried storing the LowCursr and HiCursor values in Doubles prior to doing the computation, but that did not correct the problem. Is there a se ...Show All
Smart Device Development How to deploy to Windows CE .NET 4.2 Device a project from VS2005
So the problem is that when I deploy the test project on my Windows CE .NET 4.2 device, VS2005 allows me only "Pocket PC 2003 Device" and "Windows CE 5.0 Device". I select "Windows CE 5.0 Device" and in a minute receive a message on the device screen: "The program is not compatible with the current operating system and therefore may not run on this device. Do you want to continue installation ". And the question is: how to deploy program to my device What can I do to make VS2005 display the option "Windows CE 4.2" in the target list In the short there isn't really a way to deploy directly to a WinCe.net 4.2 device in VS2005. The Compact Framework SP1 provi ...Show All
Visual Studio Team System how to stress test ajax application?
I am writing an AJAX application and would like to run performance test on the server. How do I record the trafic to the server and play it back as if it was real a-sync test as it is in AJAX What tool should I use here Eran LWP is a Perl module that lets you write scripts to consume web data. I have two of these bots hitting our site right now. They validate content from one request to the next- like extracting a user id from AJAX returned XML that is then used in subsequent web requests across our site. It also reports response times. The beauty of these bots is that they can be run anywhere Perl is installed. This is outstanding for OS X testing and stress testing the site from our Linux box. T ...Show All
Visual Studio 2008 (Pre-release) possible 3D LookDirection bug
the scene has a cube at the origin. the camera is looking down on it from LookDirection="0,.0001,-1" ... and that works. but if i change it to LookDirection="0,0,-1" ... then the cube cannot be seen. i'm assuming a DivideByZero bug happens somewhere during processing Just copy/paste the XAML below into a file and open in IE. Thanks, casey < Canvas ClipToBounds = " true " Width = " 400 " Height = " 300 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:d = " http://schemas.microsoft.com/expression/interactivedesigner/2006 " xmlns:c = " http://sche ...Show All
Visual C# Generics class and abstract class
Hi, I'm currently converting a project to use generic classes. In the situation described below, I don't know whether I should keep an abstract class or not. Before using generic types, there're an AbstractElement class, and two derived classes - Element16 and Element32. There's a DataList class, which has an ArrayList to store AbstractElement object. Now I use a generic type Element<T>, where T can be uint or ushort, to replace Element16 and Element32. But I don't know how to modify the DataList class to use Element<T>. I don't want to make DataList a generic type, since the users of DataList don't know whether the Element objects in DataList are Element<ushort> or Element<uint>. Should I keep the Abstract ...Show All
Windows Forms Cannot implicitly convert type 'PocketVision.DataSetTasks' to 'PocketVision.DataAccess.DataSetTasks'
I'm using VS 2005 to compile the c# version of PocketVision. Clean install and compile it works fine. Any change like editing the url in the Web References causes a whole heap of similar errors like: Cannot implicitly convert type 'PocketVision.DataSetTasks' to 'PocketVision.DataAccess.DataSetTasks'. Error 6 The best overloaded method match for 'System.Data.UniqueConstraint.UniqueConstraint(string, string[], bool)' has some invalid arguments Error 13 Argument '2': cannot convert from 'System.Data.DataColumn[]' to 'string[]' I don't understand what has happened to the namespaces it's really wierd. Any help appreciated James I think Ryan Farley's post at the URL below answers your question ...Show All
SQL Server Stored Procedures vs SQL Select Statement.
I have a question related to performance. Which would be better performance wise. Lets say I have a Stored Procedure which does a process, and within the stored procedure I need to collect information as it relates to the process. So this may require me to obtain data from several other tables in order to complete the process. Is it better performance wise to execute another stored procedure to collect the data I need (may be one or more then one stored procedure) or am I better performance wise to just embbed the SQL statements within the single Stored Procedures. Ie Stored Procedure up_ProcessAccount Exec up_GetAccountName Exec up_GetAccountHolderDetails ..... or Stored Procedure up_ProcessAccount Select @ACCO ...Show All
Visual Basic My.Computer.Network.IsAvailable
Hi, I want to use My .Computer.Network.IsAvailable in my app to test for network availability, however the .Net framework sees a Sonicwall virtual adapter used for VPN connections as a valid network connection. (The PC has the Sonicwall global VPN client installed which is used to connect remotely to the network. The VPN adapter's status is always Connected) Anyone encountered this problem before (with Sonicwall or another VPN product) and found a good solution Thanks for any help! Ronan you can also use the networkinformation class to query for the type of connectivity: Public Enum NetworkInterfaceType As Integer Member of: System . Net . NetworkInformation Summar ...Show All
Visual Basic Form show unrequested
To get some experience using VBE, I converted a simple program I once made for myself(VB5). It's a birthday calendar, using a VB5 commandbutton for each day of the year, i found that VBE has great problems handling this many controls, it is slow, very slow and realy unworkable. Some where else in this forum I found that others with a lot of controls experience the same problems and there is no neat solution for it. In the mid 80's the basicinterpreter was quicker than this VBE with a machine that is 2000 times faster. Another problem I have is that the main(start) form of the program shows up unrequested. In the load section of the (start)form I show another form from which I normally select whether I show the (start)form or not. The se ...Show All
