MacKenzie's Q&A profile
Visual C# Security Systems (for people with hardware expierence)
I am designing a security system, which overall seems to be pretty easy. Basically its a system that will require people to use their access cards to enter rooms in a building. They scan their card, its checked for permissions and if allowed the door is unlocked by shutting off a powerfull magnet that holds the door closed. As far as actually opening/closing the doors, its a hardware issue. I assume this is a simple process as the power assist ...Show All
Software Development for Windows Vista TransactionScope in webApp
i am using TransactionScope in webApplication where both workflow and sql are running in same system. but i am getting " DTC is not enabled" error. Note: i am suceessfull in using TransactionScope in Windows Application where both workflow and sql are running in same system If everything works fine locally but when you have the workflow running on one computer and sql running on another. It is a c ...Show All
Visual Studio macro definitions in VS8 IDE
How do you define or redefine a macro in the VS8 IDE -- for example TargetDir Hi Paul, There isn't a way to programmatically reset/change the macro. The macro is stipulated by the project's Output Path: property. If you change the output path setting on the Build tab of your project's property pages, you should see the change reflected in the TargetDir macro. I'll see if I can dig up something that will a ...Show All
Windows Forms Creating an exe without using a Form
I have been using ASP.NET for some time, but now I need to be able to create a quick program that sends out an email if a file exist. A batch file will be executing this file on a scheduled basis. What is the best way to&nbs ...Show All
Software Development for Windows Vista How to use DirectShow to save a vidieo as a file of frames?
I want to save a input vidieo as a file frame by frame.Can you tell me how to realize it by Directshow I'm fresh to using Directshow.Can you help me Thank you very much! I'd like to save a vidieo as a file frame by frame.Can anybody help me Thanks very much!! ...Show All
Visual Studio Express Editions Package Load Failure
When starting Visual Web Developer 2005 Express Edition I get the following error; Package Load Failure Package ‘Visual Studio Explores and Designer Package’ has failed to load properly (GUID={8D8529D3-625D-4496-8354-3DAD630ECC1B} Please contact vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use ‘VWDExpress/r ...Show All
SQL Server Drill Down Report : Visibilty Hidden Items getting confused
I have put together a series of reports using the 2005 report server technology and utilized the drill through options available by hiding items and having the parenet group as a toggle item. My problem is that after the user has viewed and clicked ona few of the drill down options the report seems to get confused and starts displaying all different levels. The only solution for the user is to refresh the report. Of course I though that my de ...Show All
Visual Studio 2008 (Pre-release) z-order in XAML?
Hi, is there any way to change Z-Order in XAML It would be really helpful as not removing and adding items in code Greetings The order of the items in the XAML document indicates the desired z-indexing. Elements declared first are at a lower z-index than subsequent elements. HTH, Drew ...Show All
Visual Studio Tools for Office Newbie understanding of Excel and VSTO
I'm a newbie to VSTO and could do with some input. I originally bought VSTO so that I could write .net applications that utilised excel workbooks. What I was originally after was a solution that: Collected data from a user using a windows form. Identified from the user input a workbook required to perform some calculations. Opened that workbook. Added the necessary data to the workbook and collected data from specifed ...Show All
Windows Forms listview scrollbars
Hi All, I am setting listview scrollbars property to true in design time. how do I capture the event when I click on scrollbars (horizontal or vertical). Thanks Just add this code to ur class. private const int WM_HSCROLL = 0x114; private const int WM_VSCROLL = 0x115; protected override void WndProc( ref Message msg) { // Look for the WM_VSCROLL or the WM_HSCROLL messages. if ((msg.Msg == WM_VSCROLL) || (msg.M ...Show All
Visual C# Custom Caret required
I am making a fancy application that has a small text editing region. I need to change the system caret (a blinking vertical black line) to something fancier. Can you give me some hints as to how to go about using a System.Drawing.Bitmap as a caret Any other object that I can load from a file or create programmatically would do as well. Thanks in advance But then the target computer will need to have the Flash Player installed! Although thi ...Show All
Windows Forms Save the dataGridView
I have a databound dataGridView placed on a form. When I add just a row and hit the save button (placed on the form), the data is not saved. However, when I add another row, the first row is saved because the current row is the second row. Is there any way to save just one row without leaving the current row Also, how can I change the current row (this.dataGridView1.currentrow is a readonly property) Before saving (committing) your r ...Show All
Visual Basic Open form at cursor location
All, An easy question for all you hard coders out there. How do you open a form but position the form on the screen where the mouse pointer currently is I ve tried using form.location=cursor.position but it tells me the syntax is not correct Hope you can help try this code Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBa ...Show All
Game Technologies: DirectX, XNA, XACT, etc. multiple object with different colors
i'm drawing 3 object, they are created from the same class so they are identical. i try to alter the color, so they have 3 different colors. the result is that the color of the first object is used for the other object aswell. this is some of the render function myGraph[ 0 ].GraphBorderColor = Color.Red; myGraph[ 1 ].GraphBorderColor = Color.Green; myGraph[ 2 ].GraphBorderColor = Color.Gray; for ( int i= 0 ;i< 3 ;i++) ...Show All
SQL Server Access DB2 on AS/400 using IBM OLE DB Provider
Hi, I am using the IBM OLE DB Provider (IBMDASQL) provided with Client Access (IBM) to access a DB2 database on an AS/400 (iSeries). Using an OLE DB Source in the data flow and Access Mode set to "OpenRowset" this works fine (even though I think it is quite slow). However, when I change the Access Mode to "SQL Command" my data flow fails at the OLE DB Source component - not giving me any meaningful error description (only the mysterious "... th ...Show All
