wrreagle70's Q&A profile
Windows Forms How to know the IP address of connected PC?
Hello. I have a PC connected to the internet. I need C# code that would know the IP address assigned to this PC (the C# NET code runs of this same PC) Thank you in advance. - J.S. using System.Net; ... string hostname =&nbs ...Show All
Windows Forms switch between design-time mode and run-time mode
Hi all, I'm doing a windows form designer project. Right now I have the design-time mode made, namely, I can use the project to create different form designs at design time. My problem is that I need to be able to switch between design-time mode and run-time mode. Say, when the project is in design-time mode, the user can changes properties of controls in design mode, and when it's in run-time mode, the user can enter data to t ...Show All
Visual Studio Team System ASP.NET Version Collisions
I'm trying to get the team foundation server working, but I can't create a new project because of ASP.NET version collisions on the server. If I change the ASP.NET version of the root site (which hosts sharepoint), back and forth to reset it to 1.1, then SharePoint works but reporting services doesn't. If I then go and switch reporting services back and forth to 2.0 to reset it, reporting services works but sharepoint doesn't. The event log says ...Show All
Windows Forms Select a single cell in listview
Dear All, I am using the listview with C# in VS.NET 2005. I would like to select a single cell (not just cells in the first column). I want to have a cell free selection and it highlight the selection in the cell as well. Appreciate your help. LG Many thanks Mark. Is there anyway to work around for this free cell selection Please let me know. LG ...Show All
.NET Development .NET Windows Service Deployment - AutoStart Service
I've created a Windows Service, set up a deployment project for it and it installs correctly. The projectinstaller instance StartType is set to Automatic. When I view the Services, the Service is not started, but it's StartType is set to Automatic. If I start it, it will start correctly and all actions work correctly. What do I need to do so that it actually Starts after install That did the trick, wasn't ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX 2.0 Shader Based Engine... Feedback wanted...
Hello to all, I’m designing a small engine using managed directx 2.0 included with the december sdk, after reading several articles and tutorials about shaders I decided to develop the engine using (if possible) only shaders or at least avoiding as much as possible the fixed pipeline of directx. That’s mean I’ll using HLSL por lighting, texturing, meshes, shadows etc, although it may sound hard or very time consuming I believe is enterely possi ...Show All
Microsoft ISV Community Center Forums custom toolbar error
I built a custom tool bar for my applicatoin. It works ok on PC Excel. But I got an error message on a Mac Excel: Run-time error '-2147483640(-7FFFFFF8)': Method 'FaceId' of object 'CommandBarButton' failed If I comment out the .FaceId = 642 Then the error message becomes Method 'OnAction' of object 'CommandBarButton' failed The original code in VBA look like this: .............. Private Sub Cr ...Show All
Microsoft ISV Community Center Forums Alcatel OmniPCX Office
Dear All, My phone system Alcatel OmniPCX office support TAPI Server 2.1. How can I display incomming call(phone number, searching my contact database[SQL Server]) and how to make phone call. Looking to hear your kindly support. ThanhNguyen Per our support engineer: Base on my understanding, our buddy want to fetch the incoming phone information from Alcatel OmniPCX office. Here’re my s ...Show All
Visual Studio Express Editions Using Classes and Structs
I am confused on using Classes and Structs. Can anyone shed light on what MS has changed about them example this code generates a ton of weird errors #include <windows.h> class CIGECORE { public : LPSTR sAppTitle; int iPosX; int iPosY; int iWidth; int iHeight; }; I tried the sample you provi ...Show All
SQL Server Data Normalization - Best approach?
Hi! I wonder what would be the best (at to be honest - how to do it at all) to perform data normalization with SSIS. The scenario is as follows: I got plain table with several columns in it. Some of columns can be copied straight into destination table Some columns (String) should be lookup in another table to get ID On success just replace string with ID On fail - create new record in lookup table and return newly created ID Thanks for any ...Show All
Visual C++ Project Property Sheet User-defined macros evaluation order
I am using project property sheet to store common settings for all of our projects. Include and library paths are among these settings. One problem I encountered is not all of our project files are at the directory level. This makes hard-coded relative path in the property sheets unacceptable since the relative paths will map to different directories in different projects. Once solution I have come up with is to use user-defined macros. The ide ...Show All
Software Development for Windows Vista (State Machine || Sequential Workflow) || (State Machine + Sequential WorkFlow) ??
There has been a lot of talk about State Machines are good for human workflow and the sequential workflows are good for system workflow. I would like to present some issues about the state machine for human workflow and get opinions. First, I agree that human workflows are good for the state machine. First they are easy to understand because there are single state. So “Awaiting Approval”, and ”Completed PO” are easy to und ...Show All
Visual Studio 2008 (Pre-release) WPF & Games
Hello everyone, After learning of the number of possibilites of Windows Presentation Foundation I was, naturally, excited. But now I'm confused. WPF is based on DirectX. So when I develop games, do I use my DirectX wrappers and classes, or do I use WPF Thanks for your answer in advance. - Ryan. We can say that WPF is a simplified layer over DirectX. It doesn't have all the resources of it. Abo ...Show All
Visual Studio Team System How to Share The Same Projects with multiple Developers...
I am new to TFS and I need some advice to setup a collaborative environment. I would like to create a collaborative environment where developers can work on the same project that they can't overlap each other's work. Please provide any recommendation. Thank you, JP I’m not sure exactly how (or why ) you want to ensure that developers’ work doesn’t overlap. Maybe the “disable exclusive checkout” setting will help: if you uncheck it, T ...Show All
Software Development for Windows Vista Conditions with runtime changed values
Hello, I have a problem with conditions and runtime changed values. I have some custom activities with runtime changed dependency Properties (eg. filled by a "CallExternalMethod" with the return value). My workflow: ----------------------------------------------------------------------------------- PressAButton (MessageBox with the PressedButton Property with the value of the pressed Button, changed at runtime) | | StringBuild ...Show All
