hepower's Q&A profile
.NET Development Windows Update
My university said they will only update to 2.0 once it is available on windows update. So when will 2.0 of the framework be available for download from windows update So when was the last time you looked The .NET Framework 2.0 has been available from the Microsoft update for more than a week maybe two weeks. Robert Wishlaw ...Show All
Visual C# Multiple Threads and Synchronizing Output to a Log File
Hello everyone... I'm working with a multi-threaded application. I believe I have it to the point now where several different threads can write to one common log file. Writing to the log would be used at initial startup and for an occasional exception, and is not something that would not happen very often. What I'd like some advise on is making sure the act of writing to the log is thread safe, in that when a thread writes to& ...Show All
Windows Forms Position of context menu
Hi, How can I get the position of context menu Thank's Alexei Normally, the context menu will be shown at the center of the control when the keyboard is used to invoke the context menu of a control (Shift+F10, for example). You can customize the location as follows. Override WndProc in the grid and check if the Message.Msg is WM_CONTEXTMENU (0x007b) If so, check if the Message.LParam is -1, which means this was due to a keyboa ...Show All
Visual C# How do I select Images from my External DLL?
Hello, I've made an external DLL for my Icons/Images. The Image dll is nothing more then a resource file. So now I want to use this DLL in my projects but here's the problem. Calling the pictures by code is no problem. But i want to use them in my designer. When I click on the Image property I get a window (VS2005) -Import but this one wants .bmp,.png,.. -Resources but this one wants a .resx file from my project So how do I solve this problem ...Show All
Visual Studio Team System Platform compatibility
My company is thinking of looking at the Team test portion for automated testing. I just had a few questions: 1. I see lots of mention about load and web testing. Would it work well for functional or regression testing 2. Our current platform is VB6 and we will be migrating to VB.net in the next year. Will team test work well with VB6 as well as VB.net 3. What type of language is the scripts developed in Does MS have its own language e ...Show All
Windows Forms Why is DataGridView so slow?
I created a databound DataGrid, and then researched DataGridView to find it would fit my needs better. I have a DataGridViewCheckBoxColumn as my first column in my DataGridView then set its datasource to a DataSet. Sometimes the DataSet may contain a table with over 1000 rows. The user has a button that will select all checkboxes in the DataGridView. It takes about 5 minutes for my foreach loop to complete this task with the DataGridView. With t ...Show All
SQL Server Id getting generated differently
Hi, I created a PDA application with a database, which has a table with a uniqueidentifier field and primarykey. While doing the bulk insert from dataset into sql mobile database, It is inserting the record but it is not inserting the id which was entered into the sql server 2005 database, instead the id by creating a new id and the code is as below. conAdap = new SqlCeDataAdapter (strQuery, conSqlceConnection); SqlCeCommandBuild ...Show All
Visual C++ Problem with x64 hello world app...
Hi all, I've been trying to port a 32bit app to 64bit these past days, and finally got the thing to compile and link after a long struggle. needless to say, the thing refuses to run on my x64 XP machine, it's missing a number of libraries (assemblies, or whatever the term en vogue these days may be. God, does anybody remember the days when code was just code Sigh.) Anyhow.... I thus am now trying to create the simplest of all apps, a hello world ...Show All
Visual Studio 2008 (Pre-release) Aurora XAML Designer Version Beta 8.0 with Visual Studio 2005 Integration
Aurora XAML Designer Version Beta 8.0 with Visual Studio 2005 Integration for December CTP Screen Shot: http://www.mobiform.com/images/auroraxamldesignerforwinfxscreenshot.jpg Visual Studio Integration Screen Shot: http://www.mobiform.com/images/auroraxamldesignerforwinfxinvisualstudio.jpg Note: Aurora is available as an embeddable XAML authoring platform for your application, contact us for details. ...Show All
Visual Studio Team System Team foundation Server
We've install TFS and we have no problems when connecting from our workstation to TFS if we use TFSSETUP user. We do not know how to connect to TFS using other accounts because always it connects automatically with the same user TFSSETUP with no opportunity to change it. We've add users to Team Foundation Administrators but we don't know how to use them. Ramon, The following thread may help:- http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All
Software Development for Windows Vista WMF9 sdk help please
I used WMF9 to render a file from harddisk.I used IWMReader::Open method. I called IWMReader::Start method.All these works fine without any runtime error. Onstatus , I am getting status as Opened, but no video is displayed. Can u please help me as it is urgent. I want the video to be displayed in a picture box.( I am using C#). What are the steps to be done to display video in the picture box. I haven't tried this with W ...Show All
Visual Studio Express Editions sql database data calculation
Hi im just starting a forms based app that is needed to calculate volume of wine in a tank based on a dip(measurement from the top of the tank to the surface of wine) Our winery has a range of different sized tanks so have put all these dimensions into a database. The user then clicks on the tank required in a listbox and this brings up data on the tank but how do I grab the data for the appropriate tank and perform a calculation on this data ...Show All
Visual Basic How to obtain WIFI access point information?
I was wondering if it's possible to access information from within Visual Basic about WIFI connections, such as their SSID, MAC address, ect. I don't know whether I have to add a reference, what commands to use, ect. Thanks for any help. Hello. You can query information such as this using WMI. Here is a link to a blog entry explaining how to retrieve all available wireless networks: http://blogs.ww ...Show All
Visual C++ How to get a pointer of a specific child frame window in a MDI application
How to get a pointer of a specific child frame window in a MDI application if I have open more child frame windows If you are using the Doc/View architecture you can enumerate the View in the Doc with GetFirstViewPosition and GetNextView. From the view you can use GetParentFrame to get to the Frame. Where is the position where you want to receive a pointer to the Child Frame And what is the reason ...Show All
SQL Server an insert
Hello, I need to realize an insert something like the following: Exec GetMyID @tName, @MyId OUTPUT INSERT INTO MyTable2 (MyId,MyName) SELECT @MyId,MyName FROM MyTable1 Here I am getting MyID from a stored procedure and I need to insert this to MyTable2, however I need to get a new MyID for each row in MyTable1. How can I do that you could write a view which uses a cursor to step throu ...Show All
