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

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

InquiringMinds

Member List

Syed ghani
xied75
Martin Hueser
Ocrkass
Soteriologist
sonofseven
Paul Hemans
kpvgiri
Alexander Lowe
Bipul
Bill Reiss
NS_DICK
strDisplayName
Austin Ledbetter
Prometheus666
Greg B.
ashu_sharma21
kavita1000
Marcus Garcia
Endocare
Only Title

InquiringMinds's Q&A profile

  • Visual Basic PropertyGrid problems

    Hi, I am currently using the propertygrid control to browse an object containing many properties of different types, some being structures which contain properties of their own. The first problem is that when I create a class inheriting from ExpandableTypeConverter, and use this class as the type converter for a property in my base class, I cannot find a way to unbold the display text using the DefaultValue attribute... The second (more important) one is when I have one of these property (of the type of a user-defined structure) and I try to edit a property of the base property it does not change...The base property get m ...Show All

  • Visual C++ Open File Dialog

    Hi I`m trying to play a mp3 file with c++ a console application.. so i need the exact path to it.. i figured out how to show the open file dialog .. but i still have some problems CODE: OPENFILENAME ofn; char szFileName[MAX_PATH]=""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); // SEE NOTE BELOW ofn.hwndOwner = GetActiveWindow(); ofn.nFileOffset=1; ofn.Flags=OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT; ofn.lpstrFilter = L"Text Files (*.mp3)\0*.mp3\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN ...Show All

  • Visual C# How can I set a property value by name in runtime?

    How can I set an object's property value by name in runtime Here's a snippet that shows how to set the width of a form during runtime.         Form form = new Form();     form.Width = 100;     Type formType = form.GetType();     System.Reflection.PropertyInfo propInfo = formType.GetProperty("Width");     if (propInfo != null )     {         propInfo.SetValue(form, 200, new object [] { });     }         Debug.Assert(form.Width == 200); &nbs ...Show All

  • Windows Forms Debugging a VB.NET "Windows control"

    Hi, I created a simple "Windows control", with a few properties, in VB.NET (VS.NET Professional). To be able to debug my control, I added a new "Windows Application" project. I added my "Windows Control" to the references section of the new "Windows Application". After this, I can put my control to the form, so my Windows control ca ...Show All

  • Visual C++ std::exception dtor linker error

    I have an error when I'm linking my project, ported from VS7.1 to VS8.0 beta 2: LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" ( 1exception@std@@UAE@XZ) already defined in TestStdCpp.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " ( what@exception@std@@UBEPBDXZ) already defined in TestStdCpp.obj Here is my repro solution (350 kb zipped) http://loyso.m6.net/vs8_link_bug.zip Anyone - could you tell me, how to fix this Thanks, we are looking into it. I am also trying to understand who is using this #de ...Show All

  • Visual Studio Express Editions Decompile Prevention.

    Do you know if any ways to prevent my executables from being decompiled My 5 year old does this. She asks me a question, then says 'how do you know' There is a tool that will compile your .NET app to machine code ( not MSIL ) and therefore is as safe as C++ code. Given that you're posting in the Express Edition forum, I assume you didn't pay for a compiler, and this tool is probably outside your price range ( it costs a LOT more than visual studio does ). It's also a bad idea, IMO. If you want safe code, you need to use C++, simple as that. There are things you can do to try and help the situation, but you can't stop people from de ...Show All

  • Visual Basic Generating XML file for Event Logs using VB.NET

    Guys, Really need your help. Rite now I'm working on an application that can capture all the event viewer logs in the local machine (the logs should be in XML format) and send it to server. How can I achieved this objective using VB.NET Is it possible I just wanna know on how can we automatically generating the .xml file using .NET Thanx! ...Show All

  • Windows Forms How Can I make the event of Activate Windows to run only one time?

    In order to make the event of Activate Windows to run only one time, I write the code below this.Activated-=new System.EventHandler(this.Form1_Activated); Is it correct but It certain can work well. but it seems it is not a good code. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace WindowsApplication1 {   public class Form1 : System.Windows.Forms.Form  {    private System.ComponentModel.Container components = null ;    public Form1()   {    InitializeComponent();  &nb ...Show All

  • .NET Development Rendering Text from a SVG file

    I have problems rendering text from a SVG file in C# at the correct position. What is the correlation between the x, and y position attributes in the SVG file and the "origin" parameter in the GDI+ method GraphicsPath.AddString(...) Simply putting in the values from the SVG file shifts the rendered text. I don't see any other simple relationship either, like the origin beeing defined in the bottom left corner and the GDI+ window having it in the top left or something like that. I just noticed now that it might have something to do with the StringFormat tag in the AddString method. If I use StringFor ...Show All

  • Visual C# FileInfo.LastWriteTime issue: does not correctly evaluate

    Hello All, I'm currently having an issue when evaluating FileInfo.LastWriteTime between two files.  Basically, the two files in question have the IDENTICAL LastWriteTime values, however the following code evaluates to false: FileInfo f1 = new FileInfo ( "C:\\FileTest2\\IUS_GEN.MNV" ); FileInfo f2 = new FileInfo ( "C:\\FileTest2\\SubFolder\\IUS_GEN.MNV" ); f1.LastWriteTime == f2.LastWriteTime //this evaluates to false Strange thing is, if I convert LastWriteTime to string, it evaluates correctly, as in: f1.LastWriteTime.ToString() == f2.LastWriteTime.ToString() //this evaluates to true! Both files have the ...Show All

  • Visual Studio 2008 (Pre-release) "late binding" communication and more questions

    I have several more basic questions concerning indigo: 1. Does the WCF provide a way to communicate to a slick way to communicate to a web service which is discovered during runtime. As an example: somebody provides a WSDL and an operation he wants to call from this service as well as a XML message he sends to the service and a XSL that he wants to apply to the response message. Currently I do something like that with a manual HttpWebRequest. Is something like that possible with WCF in a better way or is the contract/a known interface a requirement for WCF communications 2. Is WCF supported on the Compact Framework or will it be 3. ...Show All

  • Windows Forms Appupdater Woes......

    I asked my hosting compant to allow file browsing for a specific folder, which they did. When I use the Appupdater component, I get the following error: 7/27/2004 11:26:46 AM:  UPDATE FAILED with the following error message: System.Net.WebException: The remote server returned an error: (403) Forbidden.    at Microsoft.Samples.AppUpdater.AppDownloader.Download()    at Microsoft.Samples.AppUpdater. ...Show All

  • Visual Basic Validating Event - Compare Current to Prior value

    Does anyone know the procedure for finding the previous value of a field then running a validation event I want to be able to Compare the Current value to the Prior value. This is on Visual Studio 2005 - Visual Basic. Thanks You need to use the DataRowVersion method it has the following const: Current Default Original Proposed Public Enum DataRowVersion As Integer Member of: System . Data Summary: Describes the version of a System.Data.DataRow. This will allow you to compare the Current, original, and proposed values to be used in the datarow Hope that helps! ...Show All

  • .NET Development IPermission.Demand not called

    I've implemented an IPermission derivative and a corresponding CodeAccessSecurityAttribute class. I register my class with caspol and gac it. My test driver has a method I attribute with my CodeAccessSecurityAttribute and request SecurityAction.Demand. Just prior to making the method call, I see the constructor for my permission class is called, then FromXml() and IsSubsetOf. Demand() is never called. Why Curiouser and curiouser...  I see the Demand call even with that attribute.*  Given that the problem doesn't seem to lie in the code, I guess we'll have to fall back on possible registration issues.  Try adjusting the ...Show All

  • Windows Live Developer Forums Worlds Best App Contest Winners

    It’s time to announce the winning applications for MSNR Messenger’s Worlds Best App Contest , which MSN ran from September through December 31 st , 2005. There were a lot of great entries, hard work and interesting new ideas for building new applications and games within Messenger. Submitted applications were judged based on the official rules and judging criteria which included creativity, launches during the contest, suitability for the medium and best use of other MSN services. The following identified winning applications still subject to verification and acceptance of their winning prizes : Grand Pri ...Show All

©2008 Software Development Network