MRQ's Q&A profile
Visual Studio 2008 (Pre-release) ElementHost not filling in all my WindowsForms
Hello, I'm currently working on a Interop project. So, I'm using an ElemeHost object in a WindowsForms application. It works fine but the ElementHost in not completely filling in my WindowsForms so as a result: I see only a part of my XAML UserControl... Here is the code I'm using: XAML: <UserControl x:Class="__DemoInteropControlWPFDansWidowsForms.MyWPFUserControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentat ...Show All
Windows Forms Securing access to http://myWeb.com/myApp.exe ? ?
I have developed an application in VB.NET WinForms and have deployed over HTTP e.g. http: / / mywebserver. com/ myApp/ myApp. exe I want to protect this path until I have authenticated the user via an ASP.NET Login page. If someone browses directly to the URL above I want to be able to check if they have been authenticated or not and deny/grant access. Someone said that I should use a web service to authenticate How do i do that Chee ...Show All
Windows Forms Refreshing DataGridView when I close Detail Form
I'm a newbie and I'm trying to use VB.NET 2005 beta 2. This is my problem: I have 2 forms, the first form contains a datagridview bound to a table. When I double click on a record, I open another form (detail form) bound to the same table where I can modify the record I selected. Everything works fine. The problem is: when I save data and close the detail form, I want to refresh the datagridview in the first form so that I can see the modified d ...Show All
SQL Server User-Defined Aggregates on 2 Columns
I'm wondering if it possible to create a user-defined aggregate that operates on two columns instead of one. Basically, I want to do something like a weighted average where I multiply two columns in each row, sum up the results, and then divide by the sum of one of the fields. For example, if I had a table that had two columns, call them SuccessRate and TrialSize, and I want to find the WeightedAverageSuccessRate, assuming that the larger ...Show All
Windows Forms MultiColumn Combo Box in DatagridView????
Hi Plz help me to assist How to add a multi column combo box control in Datagridview control ANy link , suggestion,source,guidence, r really very important to me. How to start with this, Plz Guide me. Thanks a bunch in advance Check out the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=66308&SiteID=1 -mark DataGridView Program Manager Microsoft This post is prov ...Show All
Windows Forms grid row display order affected by binding?! (interesting)
I have random data coming in from a process which I need to display with the latest always appearing on top. There are no specific sorts, keys or anything. Just rows to display. How do I do this I am trying with DataSet.InsertAt(0, *datastring ...Show All
Visual Studio Team System Support for WinForms Testing
Had a first look at the testing capabilities of Visual Studio Team Edition and first impressions are it looks like a good start. What seems to be really missing for me is a concept to driving WinForms GUI's from within the test suite ( as I currently use with NUnitForms with NUnit ). Do you know if this type of support will be available in the final release If no, then could you tell me where I can find some informaiton on how I could ext ...Show All
Visual Studio Team System Web Test Recording - how to record another window
Hi, I have an application that opens another browser window and all work happens from that window. When I try to record a web test, it records only what happens in the original window, nothing is recorded for that new window. Any way to record communication from the new window Thanks! Alex Aside from manually inserting the popup request in your web test, you could try using Fiddler ( www.fiddlertool.com ) ...Show All
Visual C++ Compile multiple projects from the command line
How do I compile multiple projects from the command line If I don't use the "/project" option, the entire solution is being compiled. If I use "/project" option, it allows to type only one project. Thanks, Noam. In the Configuration Manager window, you can create a new solution configuration and you can filter for that particular configuration the projects that you don't want ...Show All
Windows Forms Adding a Control to set the Hour, Minute and Seconds in a WinForm
Hi how can I Add a Control to set the Hour, Minute and Seconds in a WinForm Thanks Thank you for your help but I need something else, with the CustomFormat property I set HH:mm:ss, this show the time like 03:52:12 but I w ...Show All
Visual Studio Stepping thru code the debugger moves afer several F11
Not sure what caused this problem, When i debug and step into code i need to press F11 several times for the debugger to move to next statement. No clues on how to fix this ! What edition of Visual Studio are you using What type of application are you developing Habib Heydarian Program Manager Visual Studio Debugger ...Show All
Visual C# What's the difference between += and =+?
Is there a difference between the valid += and the mysterious =+ They both compile, is this correct When the following is parsed: n =+ 1; The compiler will understand it as: n = (+1); The compiler sees an assignment expression not an addition operation like you might be thinking. Curious though is to know how this is considered a valid expression: n = +n; Anyone ...Show All
Visual Studio Team System Setup of AT fails with "Setup did not find VS 2005 TF databases..."
I just performed a new installation - I think I followed the install guide to the letter. But, I'm getting this error when trying to install the Application Tier in a two server configuration. Does anyone have an idea of what would cause this Hi Tim, Here are a few things you could check: 1. Have you completed the data tier setup Did it complete successfully 2. Are you using the correct Datatier name in the app tier setup Is t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX in C# Forms - differences between SDK
Hi - this is a repost since my previous html one was garbaged... anyway I've been trying to embed DirectX controls into a C# winforms application. However, there seems to be a major problem getting all the forms controls to paint... I thought it was something I was doing wrong, but then tried using the old Summer 2003 API and it all worked fine Basically, I create a UserControl that handles all my rendering code, then add that to a forms ...Show All
Visual C++ mfc70.dll not found :(
Gday when I used one of my programs it said I need MFC70.dll cause it was missing so I need a download link to download it. Thanks Here is where you can find the MFC70.DLL file: http://www.dll-files.com/dllindex/dll-files.shtml mfc70 ...Show All
