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

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

MDesigner

Member List

moonguy
Jos Warmer
tsalikivenu
A.Gharighi
pieter-kun
Steve "The Bug Magnet"
Chrisjwood
blueboss
LiLo
Igor Lemsky
Asan
John Holliday
_Raj_
Waseem Aslam
Rhonda MC
Frank Haymes
MA Tester
JonnyDeep
John Penberthy
faith_a2Z
Only Title

MDesigner's Q&A profile

  • Visual C# How to pass a variable from a form to a user control

    Using VS 2005 c# I have a windows form and an assigned variable (string name = "test";) I have on this form a user control - i want to access the form1.name Can anyone show me how to do this - thanks in advance. All controls derived from Control should inherit (or override) a function called FindForm() that returns the form the control is on. The return type is 'Form' but you know your form is of type Form1 so you should be able to cast the result into the appropriate type. Form1 f = FindForm() as Form1 ; Console .WriteLine(f.name); ...Show All

  • Visual C# problem with getting MSNdis_80211_datarates

    i have the following code that does not display the correct datarate but showing system.byte[]after Ndis80211Datarate String query = "select * from MSNdis_80211_DataRates"; ManagementObjectSearcher searcher = new ManagementObjectSearcher("root/WMI", query); ManagementObjectCollection collection = searcher.Get(); int count = 0; foreach (ManagementObject item in collection) { foreach (PropertyData property in item.Properties) { // since /nometa was not specified // write the propert name ...Show All

  • Visual Studio Team System What is the best way to get our CSR's onto TFS?

    We really don't want to buy more licenses for .NET for our CSR's to access our TFS Work Items, reports etc. Currently, all members of staff: Sales, CSR's, Secratary, CEO, Managers are able to enter issues in our current Product Tracker system. We want to keep this with TFS, however we do not want to purchase additional licenses for people that might only input a few issues a month. Is there some sort of client that can access TFS We do not want to use our office licenses to put excel on all these computers. Nor do we want our sales people looking at MS project because they will get confused... very quickly... I remember heari ...Show All

  • Visual C# Implementing IDisposible, question mainly about releasing managed resources.

    I wonder if someone with more knowlage then me about the following can check, and possibly clear up that i'm coding the following correct. The following code is a code fragment, and it shows how I implement my own Dispose method, as you can see from the class it's inheriting the IDisposable interface. I have two questions. A) First could someone check over this code and make sure everything appears correct, I check over I'm refering to the Dispose methods, contructor and deconstructer. B) Second i'm a little unclear what resources should be released inside 'performDisposeManaged'. I'm under the impression it's any resource thats man ...Show All

  • Windows Forms AutoRun from CD

    Hi I have developed a VB.NET application which needs .net framework  installed on the machine to run. I created autorun file on the CD to enable the customers to run the application from the CD directly . I provide the dotnetfix with the CD for those customers who have no .net framework on there machines. How can my program detect the .net&n ...Show All

  • Smart Device Development How to get the shared path

    this might sound a bit dodgy but i'm trying to run some tests on WM5.0 emulators and to speed up the process, the emulators share some files with the desktops is there any way i can get hold of the shared path within my CF2.0 application I understand this is not supposed to work because on a real device there is no such thing as a shared directory, but i still hope that someone can come up with a smart hack :) thanks in advance! Please see this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=252831&SiteID=1 ...Show All

  • Visual FoxPro Report Form noreset

    I have a series of reports to chain together in a FOR loop. For simplicity, I tried to issue a single REPORT FORM with a NORESET. The first time I run the report in the app, the first page of the report is 1. If I run the same report again, the first page is not 1. It will not revert to 1 again until I exit VFP and re-run the app. I am using the ReportListener. The RL object is created on each report run, and released after each run. _PAGENO is 1 before the RL creation. The 'fix' was to make the first REPORT FORM not have the NORESET. However, it appears there is a system variable or something that is not getting re ...Show All

  • Visual Studio Express Editions MD5 checksums for Visual Studio .Net Express Edition Beta 2 Download

    Can anybody please provide MD5 checksums for various Visual Studio .Net Express Edition Beta 2 products available for download http://lab.msdn.microsoft.com/express/maninstall/default.aspx I only have a dial-up connection and I want to make sure if my download is corrupt or not. I hope anybody could help me. Yes, you can find them on this thread :   Thanks, Dan Fernandez Product Manager http://blogs.msdn.com/danielfe/ ...Show All

  • Visual Studio Debugging unit tests using the ASP.Net development web server

    Hi, we're having issues while attempting to debug our unit tests for ASP.NET apps, i.e., there is no support for automatic debugging in VS2005. The current msdn documentation on the subject has been deemed incorrect, with forthcoming amendments posted here: http://blogs.msdn.com/vstsue/articles/556002.aspx#DebuggingOnIIS The procedure for IIS works, but after following the steps for Cassini to the letter, i still cannot get the debugger to attach. the Break() is ignored in the unit test, and the Debug dialog never appears. However, another post suggested using this as a workaround: System.Threading.Thread.Sleep(10 * 1000) - givi ...Show All

  • Windows Forms regarding windows forms layout

    Dear All, Is there any design guidlines to implement standard layout in windows form, I want to implement resizing/relocation of controls according to the form size. I'v tried few solutions my self but its preety difficult to control them, i'v tried using infragistic's layout managers. Plz advise regards faraz Salam You can do this by using the ANCHOR property of the control. Your control will Resize/Relocate itself according to the form size. Hope this might help you. ...Show All

  • Software Development for Windows Vista DirectShow Semantics Troubles.

    I am working on a project for school and have been having some issues with DirectShow and was wondering if anyone can offer some help. I added my filters to my filter graph and connected my pins and verified the HR results succeed but it’s just not working. I am trying to put a filter together to use ATI X1800 AIW to show some input from the composite connection of the card. I verified that I have all the filters I needed through GraphEdit. First, when you find the filter you need by enumerating by class, you get the filter and hold on to it correct What I mean is that you don’t release it (before program termination.) Do ...Show All

  • Visual Basic problem in vb.net VSS automation

    when i created and automated add method in C# sharp I did not have this problem and was able to add the desired file to the project. I have a problem with using interfaces in vb.net and creating an instance of an object. can anyone help. this is the last piece of code, when i get it to work Im home free. any help may gain me some weekend free time :-) thanks -JP here is the error that i am getting System.NullReferenceException: Object reference not set to an instance of an object. at DBConnectionLib.DBConnectionLib.VSSDomain.addItem(String parentProject, String itemPath) and here is the code in question: Function addItem( B ...Show All

  • Visual C++ [c++/CLI] create a wrapped managed dll for purely unmanaged code

    Hello, I am trying to create a dll that internally uses managed types but exposes a plain unmanaged interface. (vs2005 beta 2 - c++/CLI) All the managed stuff shall be "wrapped out of sight". So that I would be able to use that dll from pure unmanaged code (for example inherit from classes in that dll) that has no /CLR flag set. Is something like that possible. I heared something called ManWarp tried that approach. If it is possible, how can I do that. Maybe there is a small litttle sample project around Use #pragma unmanaged. Write a function that uses your managed stuff and exposes its name via extern "C" either witj declspec exp ...Show All

  • Visual Studio Express Editions error building application...

    Hi, I'm trying to build a simple winsock application and it is failing. I did a typical install. I'm pointing include to PSDK/include. I removed all framework references from project dirs. Still showing this ambiguity error. help. ------------------------- Compiling... c:\program files\microsoft platform sdk\include\servprov.h(93) : error C2872: 'IServiceProvider' : ambiguous symbol could be 'c:\program files\microsoft platform sdk\include\servprov.h(48) : System::IServiceProvider IServiceProvider' or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::IServiceProvider' c:\program files\microsoft pla ...Show All

  • Visual Studio Express Editions registration of express products

    Could anyone describe procedure of registration of express products in case when i don't have link to internet from computer where express product is installed. I downloaded VC# Express today at my faculty, but at home I don't have internet access Thanks Dragan I think it'sn't possible. Becouse the code is generated also with some infos of your installation and of your user's account... But I'm not so sure about that... That is what I learn activating my Express products. ...Show All

©2008 Software Development Network