maciu's Q&A profile
Visual Basic Remote Computer
I am now doing my final project for Cybercafe. May i know that how can i shutdown, restart, or log off the user/customer pc after payment by using admin pc. How to remotely shutdown a pc or remotely run a .bat file Before that have a fren send me the syntax below, but i stil canot remote shutdown other pc. Can any one tell me the way how to remore shutdown Syntax SHUTDOWN [ logoff_option ] [/m \\ Computer ] [ options ] logoff_op ...Show All
Visual Studio Team System Build fails on absolute path in solution file
Hi Got the buil service up and running (thanks to a post on the fact that it had to be installed separately, reminds me of those commercials on Cartoon Network my kids know by hart which goes something like this "bla, bla, sold separately" :-) Anyway, decided to kick off a build of my first Team Project (called Kiosk!). Now I am playing both the independent thinking developer and the buildmanager with a sentralized mind here, ...Show All
Windows Forms Calling MsgBox inside a TabPage's Validating event
I have a form that contains a tab control. I want to perform (multi-field) user input validation when the user changes tab. If the user input is invalid, I want to display a MsgBox. However, whenever I call MsgBox inside a tabpage's Validating event, this seems to affect the behavior of the comboboxes on that tab page. To see what I mean: 1. Create a new project 2. Create a form 3. On the form add a tabcontrol with 2 tab pages 4. On the f ...Show All
Smart Device Development Execute the program by ShellExecuteEx throw the TypeLadException
I write a program of self-update.After have download the lastest program,I execute the program by ShellExecuteEx,and the program throw the TypeLadException.But when I execute it alone,it run well. why Hi! Can you post some code you use to start your app What is the InnerException in TypeLoadException It typically have something inside to help identify where is the problem. ...Show All
Visual Studio Team System no coverage result for website
How can I get code coverage results against my website in my unit test projects I tried adding the website to my test solution and add it to test run config to be instrumented. But after doing that, my test case can't work fine and I'll notice the weird error message: Failed to connect to an IPC Port: The system cannot find the file specified. Anybody has any idea Hello Shu, Unfortunately, I am not sure that th ...Show All
Visual C++ Convert double to char
Hi, Can someone please explain to me how I convert a double variable to char, and then even how I convert it back to double from char Thanks! Can't be done. You can't possibly represent a double in just one char . Or did you mean how to convert double to a character string ( char *), which can be done Are you allowed to use the .NET Framework for this ...Show All
Windows Live Developer Forums Virtual Labs and Windows Live
Hello, I've taken two Virtual Labs over the last few days and when I attempted to go to the Comment Form to get credit I received a Windows Live error. There is a statement that it's a know problem, however I was wondering how I would go about getting credit for these labs Thanks, Leeland Leeland: Based on your description, I would guess the problem occurs when you sign in into your Windows Live ...Show All
Visual C# Valid colors
hi.. In my application im taking a string from user as a color name. How can i validate that the string passed by user is a valid color. I was trying with System.Drawing for this pupose...and still not able to find solution ... Any sort of help is appreciated.. Thanks You can iterate over all the names in the KnownColor enum that will be user by parsing a color name to and color. public bool IsValidC ...Show All
Visual Studio Team System "My Queries" using object model
Hi all, I hope this is the right place for this. I can't find how to get the queries in "My Queries" using the object model. Anyone know how the get it Nir Nir, This forum is mainly for the tools specific to VSTS for developers (Static Analysis, Profiler and Unit Testing). However, I can bump this over to the TFS forum where they may be able to better answer it. Thanks, I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cursor disappears on MC2 debug
Hi, I build the MC2 project and it runs fine in the release version. When I run the debug version the Cursor disappears when on the main game window, making it very hard to select things. Is this bug known Is there a simple way to fix it Thanks a lot! Amnon Manneberg I gave this a try myself and didn't see that behavior, how are you building the game If you’re using the command line version did you ...Show All
Microsoft ISV Community Center Forums Send Outlook message via VBA Macro in Excel
I have some macro code in an Excel workbook. It has been working fine for several years under various combinations of Excel 97, Excel 2000, Excel 2002(XP) and Excel 2003 along with Outlook 97, Outlook 2000, Outlook 2002(XP) and Outlook 2003. We have one new computer that has Office 2003 (SP2) that was recently setup and the macro generates the following error: Run-time error '-2147024770(8007007e)': Automation error The specified ...Show All
.NET Development Identity from Access
Hi, I have been searching around for a solution to this problem with not much luck. From what I have read, I don't like the answer, but I thought I would check just in case. I have been given the impression it is impossible to retrieve the identity value from an Access database after an insert. I have been purely using the dataset designer and using the tableadpater methods I have created in the designer as I am still getting to grips with the w ...Show All
Windows Forms Bound DatagridView not refreshing
I have a DataGridView bound to an array of objects. When I change values in the objects the DatagridView does not show the change. I have to do a .refresh. Also the event CellValueChanged does not get triggered when values are changed by the program to the object values (they are exposed as public properties). Thanks for any help, Luis C. Uribe Thanks Scott for you help and your clear example. My grid is now working ...Show All
Visual Studio Exec task with ContinueOnError=true
I'm using an MSBuild build script as part of a continuous integration scenario. Part of the script is a target that runs unit tests with NUnit, using a batched item group that specifies test assemblies. The target contains an Exec task that runs the test runner application. Since I want to run all of the tests, even if some of them fail, I specify the ContinueOnError option on the Exec task. The problem is that even though some tests fail, MSBu ...Show All
Microsoft ISV Community Center Forums How do I obtain the most basic ISV membership?
How do I obtain the most basic ISV membership Check out http://partner.microsoft.com . There's a link to the quick start guide at the bottom of the page. ...Show All
