Software Development Network Logo
  • .NET Development
  • Visual FoxPro
  • Windows Vista
  • Windows Live
  • SQL Server
  • Windows Forms
  • Visual C#
  • Game Technologies
  • Visual J#
  • VS Team System
  • VS Express Editions
  • Microsoft ISV
  • Architecture
  • Visual C++
  • Smart Device

Software Development Network >> Mike UK's Q&A profile

Mike UK

Member List

lvxq18
srkumar
LeeJames
tekagnos
maddog70
rsarosi
recruz
CSved
Asaf_K
jkishi
JK302
stevelam
rob_a89
Szomor Rolf
KoKoNassar
k_jedsada
Timothy Butterfield
Nick Berezansky
basi
SHISHIR WAHI
Only Title

Mike UK's Q&A profile

  • Windows Forms OptimizedDoubleBuffer

    I heard somewhere that by setting ControlStyle.OptimizedDoubleBuffer, you automatically have ControlStyle.UserPaint and ControlStyle.AllPaintingInWmPaint set as well. Is this true The API is unfortunate, but it is a ControlStyle which affects a minority of users. Typically, we'd suggest Control.DoubleBuffered. Marking Obsolete is akin to ripping it - we generate build warnings for every project where it's being used. It's just plain too late for the change and we'll have to rely on the docs to explain i ...Show All

  • Smart Device Development Smart Device Demo App?

    Does anyone know of an "All encompassing" Smart Device Demo application that would demonstrate many of the features that can be included in a Smart Device app Like use of all the various controls, database features, reports, serial communications, bluetooth, etc. I was hoping something existed as a general tool to demonstrate the capabilities of using Smart Devices to potential clients rather than have to do this all from scratch. Thanks! Mike I'm not sure if this will help, but check out the samples available at http://www.microsoft.com/downloads/details.aspx familyid=8FB5 ...Show All

  • SQL Server Hierarchical table Functions Vs Hierarchical CTE

    Recently I was in need of a hierarchical tree data. I learned about CTE and how they can be used to build hierarchical data with simple syntax. I used CTE and was through with the task. Later during free time, I tried to compare CTE approach with the traditional SQL 2K Table Function approach. It was surprising to see the query costs when I ran both the modes at one go... Query Cost (relative to batch) : 0.49% Query Text : Select * From fn_GetTree(8); Query Cost (relative to batch) : 99.51% Query Text : with treedata (id, parentid, status, prevStatus, lvl) as (select ...) What does that indicate Does it mean that the Table Function ...Show All

  • Visual Studio 2008 (Pre-release) Feb CTP resource uri syntax

    Please,describe "uri syntax" for Feb CTP,I want to use resources in <Image ImageSource=" "/> Thanks. Are you suggesting that your existing Uris do not work in Feb CTP If so, please reply with clear examples so I can follow up. Otherwise, if you are just curious about Uri syntax, then please read: http://nerddawg.blogspot.com/2005/11/resources-in-windows-presentation.html http://nerddawg.blogspot.com/2005/12/more-on-resource-loading-in-wpf.html ...Show All

  • Visual Studio Team System Unit tests for web pages (ala NUnit ASP)

    Hello,   I'm writing a small web app to give Beta 2 a full spin. I want to create unit tests for the pages in the app, i.e., to test the Login page, sign up page, etc. A while ago, I used NUnit ASP, which allows me to directly interact with the controls on the page. For instance, one could do something like this (psuedo): loginBox.Text = "myusername"; passBox.Text = "123"; loginButton.Click(); Assert(errorLabel.Text == "Invalid login."); I've heard that the VSTS testing tools have some magic that allows them into the page and can give me this same kind of experience via a Unit Test. However, I'm unable to create Unit Tests for the web ...Show All

  • Visual Studio Express Editions vbKeyEscape

    Hi to All, Exits some way to intercept a Keyboard Key This is my question: How can i close a form by pressing the Escape Key. Thanks For Visual Basic Express beta2 We have to set to True the KeyPreview of the Form, and in the KeyUp Events add this code Private Sub frmSettings_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyUp If (e.KeyCode = Keys.Escape) Then Me .Close() End If End Sub   Regards ...Show All

  • Windows Forms Two forms needs to use one Core Form

    Hello This should seem like a easy question for you guys. I have two forms trying to perform maintenance stuffs, both (A.cs and B.cs) requires to use a form name 'Addmanually.cs', so to do that, i've added a button to both of the forms that launches Addmanually like this, addmanually admz = new addmanually (); admz.Show(); this .Hide(); If A.cs launches addmanually.cs, then how does addmanually.cs know whether is it B.cs or A.cs that calls it earlier Appreciate all answers, Thanks You can add a parameter to the constructor or Show() method and store a reference to the class calling Show(). In a ...Show All

  • .NET Development Serialize read-only properties

    First up, apologies for the long post, i just like to be as descriptive as possible in my opening post. I have written a small webservice that (attempts to) return a class. Basic Class Layout: <Serializable()> _ Public Class User Private _NTlogin As String Private _DisplayName As String Private _Department As String Private _EmailAddress As String Public ReadOnly Property NTlogin() As String Get Return _NTlogin End Get End Property Public ReadOnly Property DisplayName() As String Get Return _DisplayName End Get End Property Public ReadOnly Property Department() As String Get Return _Departmen ...Show All

  • Visual Studio How to display "ADD Webreference Dialog Box" programmitically

    Hi, Can anybody please tell me how to display "ADD Webreference Dialog Box". We are trying to display it using "AddWebReferenceDlg" of Interface "IVSAddWebReferenceDlg" but Dialog box is not coming up. Can anybody please let me know if their is another method to display the dialog box. any example/Sample code wud be helpful. Thanx in advance. Regards Kiran Hi Dr. eX, Thanx a lotttttttttttt :) GetGlobalService() worked for me.... Thanx for the help. Regards Kiran Kirdat ...Show All

  • Smart Device Development Developing against WebService with LoopBack Adapter

    My development network does not use DHCP and so because it is using static IP addresses, I have installed the Microsoft Loopback Adapter in order to develop Smartphone Applications and get deployment working. How does one go about deploying, testing, and debugging against a web service located on the same development machine with the emulator.. It doesn't seem possible This is painful and any help would be appreciated. Carl, I'm having a similar issue. I can connect fine to the Web with the phone's browser, but I cannot seem to reach the local machine. I've tried: Netbios name IP Address Installing Loopbac ...Show All

  • Windows Forms Show last played video

    Hello all, I have several different lots of video files that I like to watch from time to time and am constantly forgetting which file I last watched which can be rather frustrating. I was hoping that there was some kind of variable or cache that windows has that stores the most recently played video files for any given folder or all over the entire system prehaps. I know windows media player has a history of the last played files, and I'm thinking I could maybe use that to make my own little program that tells me the name of the video file I last watched. Maybe there is already a program out there that does this sort of thing Many thanks ...Show All

  • .NET Development General Info on dotnet

    Hi. I'm only a user of dotnet and not a developer, so the Q I have will probably be very basic to u guys, but I cant seem to find the answer anywhere else. How do i find out which version of the dotnet framework is currently installed on my system It doesent appear in any of the usual places. ie:- installed programs, msinfo32 etc... Also, everytime I install dotnet, autologin gets disabled even tho i'm the only user. Is there a way to prevent this without using tweakui etc... Thankyou for your time. Slaxa... This question really belongs in a more general .Net framework forum. ...Show All

  • Visual Studio Express Editions Adjusting the width of a ListBox to it's contents

    VB.net Express I would like to adjust the width of a ListBox to the width of the largest item it contains. Is there any way to do so Thanks by advance for your answers, Pierre Leclerc Pierre, There must be a way to find the width of an individual item but I couldn't find it. Hopefully somebody else will read this and inform us both. In the mean time, I was able to get it to work with the following code. You will have to adjust your _factor variable depending on the font type that you are using. A factor of 6 worked for the default font. Private Sub Button1_Click( ByVal sender As S ...Show All

  • Visual Studio Express Editions Please help !! Urgent !!

    hi all , how are you Hope everything is OK .. I have this calculator program that is written in C++ language ... what i need to do is to make some changes on the code of the program to make it not reliable but still Functional .. In other words, the program will execute without error !! 100% executable ... but it will not be reliable ... an example of that , maybe the program will take a long time (5 seconds for example) to give you this square root of 4 .... so we can say that the program is not reliable but still functional .. plz guys !! i need this .... plz help !! waiting for your comments .. ...Show All

  • Visual Basic Enabling ActiveX controls in Webbrowser

    I am creating a dedicated browser to be used exclusively on a single program located on my hard drive. Security is not a concern as the webbrowser URL will be set to the program’s default web page path with no navigation options for going online. The program utilizes dynamic web pages with powerful search capabilities that require ActiveX controls. When I run my browser application, I get a series of security warning boxes stating: Internet Explorer An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction Yes No Clicking “Yes” a ...Show All

©2008 Software Development Network