Software Development Network Logo
  • Visual Studio
  • .NET Development
  • VS Team System
  • Visual FoxPro
  • Windows Forms
  • SharePoint Products
  • Audio and Video
  • Visual C#
  • Visual C++
  • Windows Vista
  • Microsoft ISV
  • Visual Basic
  • Smart Devicet
  • IE Development
  • SQL Server

Software Development Network >> mrmckeb's Q&A profile

mrmckeb

Member List

Prabu.
laboremus
Melvinsb
donkaiser
ranger28
Shuaib
suchi_ade
Serdalis
Tom_M_Wisconsin
dtsn
ab2304
Tom K
rwbogosian
nick5454
Adrigo Gallus
Saurabh Kulkarni
Rabtok
Malay Roy
Adagio59675
JD Prasad
Only Title

mrmckeb's Q&A profile

  • Visual Studio Team System Protected nested types, should CA1034 (NestedTypesShouldNotBeVisible) apply?

    Currently, CA1034 suggests that types encapsulating implementation details of the containing type in a secondary, nested type are useful and should be private (inferred from "not be externally visible" and the fact that it warns about protected nested types). I would argue that the same is true for types that are encapsulating implementation details of the containing type and any derived types. If I want to declare a type that is only visible to subclasses of a type--for various reasons--the only way to implement this is to make that encapsulating type nested and protected in that base type. This, of course, raises a CA1034 warning. > Making a nested type protected is something the designer consciously has to do, ...Show All

  • Visual Studio 2008 (Pre-release) DataBinding to a DataSet misses the DBNull concept :(

    Have you ever tried to bind for example a "textBox" text property to a DataColumn of Type "string" Well I did and discovered that if you use Typed DataColumns on your dataset it will be impossible to insert the value DBnull. Take this for example: Creating a datasource: dados = new DataSet ( "Dados" ); DataTable tabela = new DataTable ( "Tabela" ); tabela.Columns.Add( "boolean" , typeof ( bool )); DataRow row = tabela.NewRow(); You see i've defined that the DataColumn's Type should be boolean. DataBind example: < CheckBox Content = " CheckBox " IsChecked = " {Binding Path=boolean} " /> Conclusion: If you want to ...Show All

  • Software Development for Windows Vista validation failure when importing managed card from a file

    After the signature is checked, what further validations are performed on a managed card while it is being imported from a .CRD file Is there a way to enable debugging to find out more about what goes wrong when it fails Upon importing a managed card I generated from a file, the signature appears to be validating (I'm past earlier error messages by adding the issuer's certificate temporarily to the trusted root CA list), however a dialog box appears with: The data present in a card could not be validated. and the import fails. The event log shows event 263 ... The following information is part of the event: An unexpected element was encountered during reading. The card was generated by the sample CardWriter for a ...Show All

  • Windows Live Developer Forums Bug with new tilelayer functionlaity - tiles disappear!

    I've finnally got a chance to play with the new tile layers. Very cool. There is a bug, in both IE and the Fox, when new tiles are requested from VE tile servers after tiles from the new layer they end up ontop of the new layer effectively making the new layer dissppear. To test, setup your new layer locally (for speed), clear your internet cache and then watch as your new layer loads first (stored locally it should be instant), then as the VE tiles get downloaded they go ontop instead of below. Zoom in to get a more consistant example of the problem. (I found the inital page worked sometimes ) Once the VE tiles are cached locally this does not occur, also if you get served the VE tiles before the custom layer it works fine. This appeared ...Show All

  • Windows Forms Displaying a message.

    Hi How can i display a message in messagebox like the following. "Hi, Welcome to .NET World" send me a solution........ Hi I got the Solution. The soln is : MessageBox.Show((Chr(34) & "srinivas" & Chr(34))) Thank u. ...Show All

  • Software Development for Windows Vista Changes to WMI on Vista that would prevent custom WMI Provider DLL from loading?

    I have a WMI Provider DLL that I devloped a couple of years ago that is used to gather some extra system info and put it in the root\CIMV2 namespace. It has worked fine on 2000 and XP, but when I try and use it on Vista it doesn't appear to even be loading. MOFCOMP on my MOF file runs OK, as well as regsvr32 with the DLL. I can see the class in the WMI Browser, but no istances of my WMI object. The DLL is based on the C++ framework code generated by the "Microsoft WMI Code Generation Engine" from the WMI SDK released a few years ago. I have tried turning off UAC in Vista but that doesn't seem to make any difference. I haven't been able to find any specific info about why the WMI Provider DLL woudn't work on Vista. Are th ...Show All

  • SQL Server Defining an event inside of an assembly => UNSAFE (no workarounds?)

    Can someone verify that an assembly containing an interface with an event definition, such as... public interface A { event EventHandler Foo; } ... can never be loaded under SAFE or EXTERNAL_ACCESS It appears that the compiler-generated add_xxx and remove_xxx have the MethodImpl(MethodImplOptions.Synchronized) attribute defined by default, and "Explicit synchronization is not allowed". The same limitation also applies to classes by default, although technically one is able to define the implementation directly (clearly not ideal). That's exactly correct. There is some possibility in the future that the CLR could change the way they implement EventHandler synchronization to allow it in non-un ...Show All

  • Visual C# Cannot modify the return value of 'test.getinfo.UserInfo' because it is not a variable

    I am very new to C# so please dont get to technical I have the following class file : using System; using System.Collections.Generic; using System.Text; namespace test { public struct UserCredentials { public String UserID; public String UserPassword; } public class getinfo { private UserCredentials _UserInfo; public UserCredentials UserInfo { get { return _UserInfo; } set { _UserInfo = value; } } public string GetXML() { string xmloutput = string.Empty; xmloutput += "<UserCredentials>"; xmloutput += "<UserID>" + this.UserInfo.UserID + "</UserID>"; xmloutput += "<UserPassword>" + this.Use ...Show All

  • Visual Studio Express Editions Splash Screen

    I can't seem to be able to see it after I launch my program despite having it prepared in the design environment. Dophine You can use any form you like as a splash screen - I don't think there is anything special about the one that is created when you add a splash screen apart from the bits of code that add application info. Just design your own form and then set it to be the splash screen under Project- Properties - Application - Splash Screen ...Show All

  • Windows Live Developer Forums Adding multiple Pushpins causes delay.

    If I add 500 or more pushpins to a map using map.AddPushpin(newPin) api function with a custom image the entire map lags for several minutes while it adds them. I noticed VE does a HTTP GET back to the server for every pin added. Is there a way to cache the image so VE doesn't have to do a roundtrip GET http://localhost/testsite/images/mypin.gif 304 Not Modified GET http://localhost/testsite/images/mypin.gif 304 Not Modified GET http://localhost/testsite/images/mypin.gif 304 Not Modified ... Shouldn't VE be smart enough to know that a local gif is being used and not post back If there is no way around this will it be fixed in map control v5 Thanks, Tim I used fiddler to view the http session traffic. I trie ...Show All

  • Visual Studio Team System Newbie setup problem

    I just installed TFS Workgroup and am attempting to add a group of users to it (...and to Sharepoint...and Reporting services). I began by following the "Walkthrough:Setting up groups and Permissions". I created a Windows group (but this group doesn't seem to appear under Local groups on my computer ) called TFSDevelopers and that seemed to work. Next I wanted to add this group to the list of Sharepoint Administrators.(Following "How To: Set Administrator Permissions for Windows Sharepoint Services"). I made it the "Set Sharepoint Administration Group" webpage. For the Group account name I typed in the same name I created earlier when I was setting up groups and permissions .i.e. <server name>\TFSD ...Show All

  • Smart Device Development Visual Studio 2005 Pro -- create a resource for Windows Mobile 5 program

    I would like to create a resource -- a bitmap file -- for a windows mobile 5 application, after which I hope to write code to read it into an HBITMAP, after which I hope to write code to manipulate the pixels directly. Where do I ask how to create a resource that I can access with LoadImage in my program I will go and look again to see if I can find Visual Studio help files somewhere to download and look in, but the help that Visual Studio provides appears to look through everything in God's creation for any search string I enter, and I end up with a lot of stuff that doesn't apply to Windows Mobile, a lot of stuff that doesn't apply to C/C++, and a lot of stuff that I can't even figure out how it ended up in the search results. Perhaps ...Show All

  • Visual Studio Express Editions Treeview with dataset

    Hi, I have a dataset with multiple tables (from Oracle) My Requirement: I have a root node say "Tables" Under which i have all the tables listed as "Parent nodes". When i expand it has to have all the colums listed under it Plz help me do it. vj_electric, There is an article in MSDN knowledge base that can help you with the problem. This step-by-step article demonstrates how to add multiple levels of nodes to a Microsoft Internet Explorer TreeView WebBrowser control by using a DataSet object that includes multiple tables. This article also demonstrates three ways to optimize how much data you send and when you send the data to the client. For a small set of data, you want to send all of th ...Show All

  • Software Development for Windows Vista Stange text encoding in the Registry for RC1

    I've got an application that provides similar functionality to the Device Manager. It displays the devices by "category" similar to the list view in the Device Manager. It gets the category string from the registry... specifically the "default" string value at each one of the keys like: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318} These string value at these locations used to be just normal unicode text, but with build 5600, the text is a bizarre unicode-wanna be "[xufkY][ VD/ D-ΓO ιν !!! ]" instead of "DVD/CDROM drives" It's almost readable as english, so that leads me to believe that the change was deliberate (I can't imagin ...Show All

  • .NET Development DLL paths

    Hello, I wrote a dll who has to write temporary files and load template files from a directory. I used relative paths, but it won't work when I use the dll in a new Website Project (ASP.NET). I don't know where the temp file is written and from where I have to load the templates directory. How do I solve this problem in your development server you may find it in C:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files Hope it helps Rgds Rodrigo ...Show All

©2008 Software Development Network