GertB's Q&A profile
Visual Studio Express Editions Display IP as A Label and start a remote session using netmeeting
Hello, I am working on a windows app project and can't find the right code to display the local IP address in a label. Can anyone help Also I am need to start a netmeeting application share Thank Donnie Dim adapters As NetworkInterface () = NetworkInterface . GetAllNetworkInterfaces () If adapters . Length > 0 Then Dim adapter As NetworkInterface = adapters (0) Dim adapterProperties As IPInterfaceProperties = adapter . GetIPProperties () Dim addresses As UnicastIPAddressInformationCollection = adapterProperties . UnicastAddresses If addresses . Count > 0 Then Dim addr As UnicastIPAddressInformation = addresses (0) ...Show All
Windows Forms Tab Controll
I hope this is in the right area. If I have a set of tabs on a page, and one of those tabs, has a set of tabs displayed on it. is there a way that I can make one certain sub tab the default tab, so that when the partent tab is clicked, it will be the tab displayed by default The way it currently is, if the tab has not been selected, it will display the first tab, but if a tab has been previously selected, then it will come back to that tab when the parent tab is selected again. Hope that made sense. Thanks Tom Thank you very much for the time and reply. That was a great help. Regards Tom ...Show All
Visual Studio installing sp1
When I try to install I get an error message that I must first uninstall web components for web examples. However, I can't find those anywhere. Frankly this is an unnecessary pain in the rear end. A Microsoft installation program should be able to handle that. Can somebody tell me what programs or examples these are referring to, why they don't show up and add/remove, and how I can go about installing the sp1. Thank you very much. dennist685 Thanks for the reply but it doesn't help much. If the web application projects were added during the attempt to install sp1,, then how do I uninstall them and reinstall sp1 I couldn 't find any way of uninstalling the waprojects. dennist685 ...Show All
Visual Studio Team System Code Analysis Check-in failed. The Code Analysis Policy requires you to check in through Visual Studio with an open solution.
Hi I have implemented Code Analysis on my Team Project. I am getting the below policy error when i try to check in ".sql" files. Code Analysis Check-in failed. The Code Analysis Policy requires you to check in through Visual Studio with an open solution. Work Around I found: Open any solution in VS IDE eventhough it is not related to .sql file and try to check-in the .sql file. Result No policy warning thrown and succesfully check-ins. Can i know is there any direct solution where i can check-in .sql file just whithout opening unnecessarily any unrelated solution. Thanks Murali When you have the policy configured, it will check any checkin you make, I don't know more direct ...Show All
Visual Studio Team System work around for Stop button pressed on Nunit GUI
I have a test that I am running on Nunit 2.2.8. The method spawns a number of threads, each of them running in infinite while loops. Now, from the main thread, I was trying to have some way possible to capture the "Stop" button press from the UI so that I could kill each of the threads and mark the test complete. I tried looking into the code of Nunit and could find an interface ITestEvents which had many events like 'TestFinished', 'RunFinished' etc which I thought might get triggered on 'Stop' button press. But I tried writing EventHandlers for the same but it didnt get fired anytime. Is there any way i could find how to find whether 'Stop' button has been pressed on the GUI when the test case is running Thanks ...Show All
Visual Studio Express Editions object not release
i having weird problem where object of an instance is not release and worse it use back example: private function test dim m_obj as new winTest ///wintest contain form with radio button to ask for user to select option and a close button m_obj.showdialog m_obj = nothing when run first time call the function (no problem) , the problem only show when second time calling the function , I found the winTest form still show what ever previously option user select .mean that somehow m_obj references back the privious instance of winTest . sound weird but really happen. the solution i come out is in winTest rather than use me.close (to close the form) , I need to use me.dispose (to close) . by using me.dispose then the next ti ...Show All
SQL Server A thought this would be simple...
I had originally thought a full outer join would solve this, but alas I'm a roadblock. Perhaps it's because it's a Friday! The goal is to create the most efficient query that will display results of the daily calls and sales as this: Date EmpID Calls Sales 7/1/2006 1 20 5 7/1/2006 2 25 7 7/1/2006 3 NULL 1 7/1/2006 4 10 NULL The problem is a simple full outer join ends up ignoring EmpID 3 who has no Calls in t1, but I still want that row displayed in the results. Any ideas TIA create table t1 (Date smalldatetime, EmpID int, Calls int) create table t2 (Date smalldatetime, EmpID int, Sales int) insert into t1 values ('7/1/2006', 1, 20) insert into t1 values ('7/1/2006', 2, 25) insert into t1 values ('7/1/ ...Show All
SQL Server What happen with Sql Server Express?
hi everyone, After a successful installation, I am not be able to connect using Sql Server Management Studio Express because of Server Name textbox appears empty. I put 'local' or my host name. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) TIA ...Show All
Visual Studio 2008 (Pre-release) Bug in RichTextBox
Hi there, i have test and found that there's a problem with RichTextBox. If we bound a RichTextBox with a ScrollViewer then the text inside RichTextBox will not full-fill the RichTextBox, see picture for more Here is my test project, Please let me know if i make any mistakes, Thanks, Dat Dang Hi try to specify Height=200 (or any value) and Width=200 for richtext box, instead of Height="Auto" and Width="Auto". Bye Nagu ...Show All
Software Development for Windows Vista Activity.TrackData sets wrong value for UserTrackingRecord.ActivityType
When calling Activity.TrackData to send user tracking records to SQL Tracking Service, the ActivityType property of the resulting UserTrackingRecord is supposed to be " The Type of the activity that emitted the user data." However if the TrackData call is made from an event handler in a composite activity in response to an event raised in a child activity, then the ActivityType property is set to the name of the child activity, not the parent activity that actually calls Activity.TrackData. For example: CustomSequenceActivity ListenActivity EventDrivenActivity HandleExternalEventActivity1 EventDrivenActivity HandleExternalEventActivity2 1. HandleExternalEventActivity1 raises an event to the containing CustomSequenceActivity ...Show All
Internet Explorer Development IE7 on Windows Vista Business Edition
Hi all, I have bin experiencing some problems with IE7 on Win Vista Business Edition. I seems like web pages that contain flash animations are not displayed properly. Here are the images of the MS Home page: http://unclezen.com/Documents/ie_maximized_window.gif http://unclezen.com/Documents/ie_maximized_window_w.gif Interestingly enough this is how the same page looks when the same window is restored: http://unclezen.com/Documents/ie_restored_window.gif http://unclezen.com/Documents/ie_restored_window_w.gif Two more examples: http://unclezen.com/Documents/ie_maximized_dell_home_page.gif http://unclezen.com/Documents/ie_restored_dell_home_page.gif As well, any other action like moving the mouse over an link will c ...Show All
Software Development for Windows Vista No show on samples
Ok, IE file version of 7.0.5450.4, .Net 3 CTP (as sandbox instructions), card selector no show on samples, fully able to login to Kim's site, can select and send card to sandbox, but site is "Unable to service my request". Why Luke Hi, Don't think I have then, although I don't know how to check. Lets assume I'm not browsing with it, how can I is it an option if so, I just looked in Internet options->Advanced and there’s no mention of HTTPS. Luke ...Show All
Visual Studio Team System Check-In errors out with MSSCCI Provider
Howdy, I am using VS2003 with the MSSCCI Provider plug-in. I was able to have a project created in our TFS install and I was able to upload an existing C# project to it. I was able to check-in my project before. Now, it errors out while attempting a check-in. I get the Microsoft Development Environment error: The operation could not be completed. Can someone point me in the right direction to solve this problem Thanx in advance, SKH Are you sure you are pointing to the Microsoft Team Foundation Server MSSCII provider in the registry I use the SCPSelector to make sure. http://weblog.kilic.net/tools/SCPSelector/ ...Show All
Architecture UI layout and UI ASP.NET Reusable Controls
Hi all, Currently I am in process of selecting best UI controls that will be used for our customer website. I understand that a) Infragistics http://www.infragistics.com/ b) Telerik ASP.NET UI controls http://www.telerik.com/products/aspnet/browser-support.aspx are good and gives a proffessional and consitence look to the site. They are browser compatible atleast for Firefox and IE6+. They happen to be AJAX enabled. They have a declarative support and advance UI - Rich UI capabilities brought to your browser end. So, does anyone have experience with these controls, recommend controls better than these pls. post the URL Thanks, Paresh. ...Show All
SQL Server Generating and directing new rows in PostExecute.
I want to construct a dataset based on all rows passed in from a source and, upon running through all of them, push each dataset record to an output. Unfortunately, upon calling the AddRow method, I get an "object reference not set to an instance of an object" error. Am I not allowed to create new rows in PostExecute Hmm, strange. if you want, drop me an email via here: http://blogs.conchango.com/jamiethomson/contact.aspx and I'll reply so you can send me the package. I can take a look and see if anything jumps out. If you can build the package so that I am able to run it as well (i.e. not reliant on external data sources, just use a script source component instead) then that'd help. -Jam ...Show All
