Eileen Torrens's Q&A profile
SQL Server Encryption of Data in SQL05
My current experience is with access and sql2000. In my current application, I compress/encrypt my data prior to storing in my database. Does the new verion of sql support compression/encryption and if so can you please point me to any links which discuss. thanks, Fred Herring Encryption is supported in SQL Server 2005, see for example: http://msdn2.microsoft.com/en-us/library/ms345262(en-US,SQL.90).aspx I also have a number of postings with examples on my blog: http://blogs.msdn.com/lcris/archive/category/10357.aspx If you want to evaluate the encryption features of SQL Server 2005, they're also available in the ...Show All
Visual C++ Managed class in a MFC ActiveX control
I have a MFC ActiveX Control peoject, and I am trying to create a managed class within the control project with the /clr option. The code compiles and links without errors. So now when I am trying to add reference to the ocx in a C# project, I get the interop stuff the COM control class, but nothing for the managed class. If I rename, says abc.ocx into abc.dll, and do the add reference to the dll, I get the reference to the managed class, but not the control class. Would anyone have suggestions on how to solve the problem so that I can access both classes You could just leave it this way, there's no need t ...Show All
Windows Forms How to determine if a user control is in view ?
Hi, I'm trying the new FlowLayoutPanel and adding a fairly large number of user controls to it such that eventually the panel scrolls vertically. Each user control requires some complex painting. Obviously I want to avoid the complex painting if the control is scrolled off view, and rely on the fact that the OnPaint method will be fired again automatically ...Show All
SQL Server Programmatically change property
In the old DTS, we can use the ActiveX Script to change any task's property programmatically. Can we still do it in SSIS Using the Script task It seems changing the value of variables then use a expression can do some of the work, but what if a task has no expression defined Say, I want to change the Fuzzy look up reference table name. Can we do it Hi, No, you can't do this using the Script Task. You CAN change any property of a task or container at runtime using a property expression: http://www.google.co.uk/search hl=en&q=ssis+property+expression&meta= You can change some pro ...Show All
Windows Forms Collection Editor of Delegate
Hello, I am develloping a Windows Form control in C# I currently have a method from binding delagate to receive somme message the prototype is as follow public ushort BindMsg( string regexp, EventHandler < IvyMessageEventArgs > callback, params object [] args) I would like to integrate the build of this at design time. how can I do , I have try to make a property of a collection of EventHandler < IvyMessageEventArgs > but the designer is not able to intialize the delegate , I would like a behavior similar to event auto generation of Handl ...Show All
Visual Studio Team System Is it possible to run a sql script as a test or a step inside the test?
Hi, Is it possible to run a sql script from inside visual studio as one of the tests or a step inside a test This is what I'm trying to do. I have a bunch of web tests that I am running through an ordered test. My tests get executed as follows: Web Test1 Web Test2 Web Test3 ... Web TestN I need to insert some data into the database between Web Test2 and Web Test3. The way I do it now is I have two ordered tests. The first one executes Web Test1 and Web Test2 and the second one executes the rest of the tests. I manually execute my sql script after my ordered test #1 is done. Then, I start ordered test #2. I would like ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shadow maps
Hi I'm looking for some information about texture shadow maps. I've looked in goole for a sample, but i can't find one. The ones I found, or are incomplete or too complex (because they involved other more complex concepts, like soft shadows). The sample about Shadow Maps in the DX SDK run soooooooo slowly that it is very hard to properly study it (I think that's because it is meant for DX 10). What I'm realy looking, is a sample code as simple as it can get. I'm not too bothered about perfection or antialising. I just want to cast a shadow of an object in the ground. Thats all. I hope I don't need to learn about directx efect files for this. ...Show All
.NET Development Namespace Conflict while accessing webservice.
Hi, I have an interesting problem pertaining to webservices. I have a component (say TestCompLib) which is being returned by a webservice (say TestWebService). Now when I consume this webservice in my asp.net application and try to typecast the object return my webservice to my component i.e TestCompLib. I get can error of namespace mismatch. Actually the component has the namespace TestCompLib.Utils while when the webservice when it returns the object to the asp.net application it has namespace TestWebService.TestCompLib.Utils and hence the conflict in type casting. Is there any way to resolve such namespace conflict Thanks Sai ...Show All
Visual Studio Team System I disagree with NestedTypesShouldNotBeVisible
Regarding: TypeName: NestedTypesShouldNotBeVisible CheckId: CA1034 Category: Microsoft.Design Message Level: Error Certainty: 90% Breaking Change: Breaking Cause: An externally visible type contains an externally visible type declaration. Nested enumerators are exempt from this rule. I disagree, or more accurately, I don't really see the point of this rule (I understand the namespace argument, so no explanation of that is necessary). Imagine outer and inner classes arranged as shown below. Some method in outer can reinitialize property inner1 to its defaults via 'inner1 = ne ...Show All
Windows Forms Handling MouseEnter, MouseLeave while another form is being moved by the user
I want to be able to handle the event when a user drags a form over another form, but the MouseEnter event of my form isnt being raised while the user is dragging another form with the mouse... even if the user drags the other form over my form. Is there any way to handle this ...Show All
Visual Studio Adding assembly files to a VS 2005 project
I'm working on a Visual Studio 2005 solution, using Visual Source Safe 2005 for source control. I included some third party assemblies to some of my projects, as it is recommended on the Team Development Guide. It says it is the correct way of adding this kind of files. Everything is OK with Source Safe, but, when I try to build my project I get this error: Assembly '<assembly>' is incorrectly specified as a file ...where <assembly> is the name of the third party assembly. Then I went to MSDN2 and found that MSBuild doesn't allow to add assemblies as files to the project . So now I'm confused. How sho ...Show All
SQL Server Uninstall SQL 2005 CTP
After installing SQL 2005 CTP I could not run Reporting sevices. SO, I have removed the whole thing. I used Add/Remove Programs for that. And was a mistake. Now when I am trying to use sqlbuw.exe I am getting an error message: "Component fail to uninstall". How can I completely remove SQL 2005 from my computer Thanks Dan; I've got a Win2K3 box destined for SQL2005 Standard Edition. It's got SQL2005 June CTP on it now. I want to remove that and install the Sept CTP Standard Edn. Are there any issues I should be aware of before I start Right now in the Add/Remove I can see the VS Dev Env, a ...Show All
Software Development for Windows Vista Oracle 8.17 and TransactionScope
Hello, I'm trying to get my Oracle 8.17 client to play nice with the TransactionScope class. However, when the transaction begins, it throws an exception with the following message: System.InvalidOperationException: Distributed Transactions require Oracle9i client software. Is there any way to get this code to work with an 8.17 client TransactionScope aTransactionScope = new TransactionScope ( TransactionScopeOption .RequiresNew, new TransactionOptions (), EnterpriseServicesInteropOption .Full); using (aTransactionScope) { int numRowsAffected = aAddressDAO.InsertAddress(aAddress); Assert .IsTr ...Show All
Visual C# Media Player
Can anyone tell me how to get started on building my own media player please. It would be greatly appreciated. I know how to use the soundplayer and all, but I need a lil guidence. http://www.un4seen.com/ This the best freeware library I have ever seen. Look for Bass Net 2.2 on the bottom of the page. Also check the forums. You can stream Shoutcast, wma, play and record mp3's and streams. Use effects, winamp visuals...anything you need. Simply awesome. ...Show All
Visual Studio Express Editions Flat File Database?
Hey! Is it possible to save data to a flat file and then retrieve it again later just a simple flat file database... or maybe data.dat file what ever a dat file is lol ty all -mark You an save data where-ever you like. If you'd like a flat file, XML is probably the best way to go, for ease of searching, etc. The XML Document class will load and save XML documents for you, as well as exposing the DOM. ...Show All
