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

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

Electrican_MV

Member List

MisterChief117
Boheme
Hassan Ghanem
slevytam
Gilberto_al
abrewerton
H.w.Hendrick
amiratish
Michael C
KesPeti
R Crosby
Esraa
David A. Coursey
Nabulaer
Neha Goyal
ShadeSeeker
PhillCloke
codeless
Hooman Safaee
enablerbr
Only Title

Electrican_MV's Q&A profile

  • .NET Development Object disposal while thread is aborting

    Hi All, Kindly let me know about object disposal in multithreaded program. I am particularly interested in knowing object disposal whenever thread is aborted. Any help (Explination, Articles and others) is very much appreciated. With Regards, kalai Do a Google search for: chris brumme reliability. Search in msdn for "Reliability Best Practices". Of course the most important issue is architectural. Do you really have to Abort threads This is a dangerous practice. .NET 2.0 makes code more reliable (critical finalizer, SafeHandle, constrained regions; http://msdn.microsoft.com/msdnmag/issues/05/10 ...Show All

  • Windows Forms Beta2 Deployment error

    I have published my applicaiton succesfully on IIS, and I can run it on my machine which has VS.NET 2005 installed. When I run this appliction on a machine which does not have any 2.0 bits, it installs the runtime and then after clicking install gives a dialog box which says "Unable to install or run this application. This application requires your system to be updated to...". I cannot see rest of the text. I also tried installing .net 2.0 redistributable manually, still no help. When you say you cannot see the rest of the text, why is that The text is mangaled No more text available on the window Maybe using the VS Spy++ too will hel ...Show All

  • Windows Forms OpenFileDialog problem

    I have an openfile dialog in my app. I normaly use relative paths. But after I use openfile dialog to get one path and then use Path.GetFullPath(""), it returns path of openfile dialog, not of my prgram.  Is there any way how to solve this  I need Path.GetFullPath("") to return me path of my program, nothing else Plaudeman, ...Show All

  • .NET Development Send files with remoting

    Hello, I am studying for exam 70-320 and I just did my first single application with remoting. I want to ask if remoting is the solution to send files I liked this and I would like to make a p2p utility.. Should I use remoting or sockets programming If I should use remoting can you please point me to the right information of sending files and everything I could need Thanks It depends how big the files you want to transfer are. If they are small and you can accept it blocking your thread then just make a single synchronous call and have the server send back a byte[]. But if the files are going to be large and/or you need a finer ...Show All

  • Windows Forms any way to determine if a control is a "container"

    to finalize my runtime drag/drop procedure i need, when dragging, to check on mouse up what the point i am dropping in is, ie like any designer, if the point the mouse is on, is a panel, group box, tabcontrol (or any descendant from these) instead of changing the location of the control for drag, i need to change the location and add the ...Show All

  • Software Development for Windows Vista How to display a Workflow in a Avalon Application?

    I try to embed the Workflow Designer to a avalon application. < Mapping   XmlNamespace="wfi"   ClrNamespace="System.Windows.Forms.Integration"   Assembly="WindowsFormsIntegration" > < Mapping   XmlNamespace="wf"   ClrNamespace="System.Windows.Forms"   Assembly="System.Windows.Forms" > <Window x:Class="AvalonWorkflow2.Window1"     xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 "     xmlns:x=" http://schemas.microsoft.com/winfx/xaml/2005 "     Title="AvalonWorkflow2"     xmlns:wfi="wfi"     xmlns:wf="wf">   ...Show All

  • .NET Development Is there XML editor, organized like form view, according DTD ?

    Is there XML editor, organized like form view, according DTD (or else XML scheme) I want to enter XML data, but not in pure XML, or in arbitrary  XML in form view like in Microsoft XML notepad, but to enter data by form fields according DTD. Is there such a good thing thanks. Visual Studio has an "XML Data Editor" that maps the XML to a DataSet then lets you edit the set using the WinForms DataGrid view. ...Show All

  • .NET Development HTTP Post with HttpWebRequest

    I'm trying to post some XML data to a remote server but I can't seem to get it working correctly.  When I walk through the code, I can see that the XML looks correct, but it's not getting the Response like I thought it would.  Does this look wrong in some way that I'm missing //Prepare Web Request for HTTP Post HttpWebRequest request = ( HttpWebRequest ) WebRequest .Create(server); request.ContentType = "text/xml" ; request.Method = "POST" ; UTF8Encoding encoding = new UTF8Encoding (); byte [] postBytes = encoding.GetBytes(postXml); request.ContentLength = postBytes.Length; try { Stream postStream = request.GetReque ...Show All

  • Windows Forms Binding ToolStripComboBox?

    How can i bind ToolStripComboBox to a DataTable There is no DataSource, DisplayMember & ValueMemeber property Thanks The answer here is to set ToolStripComboBox.ComboBox.BindingContext = Me.BindingContext. So With ToolStripComboBox.ComboBox .BindingContext = Me.BindingContext .DisplayMember = "DisplayMember" .ValueMember = "ValueMember" .DataSource = datatable End With Hooray ...Show All

  • Windows Forms IM NEW!!

    Finally a forum to talk about VB.net, thank goodness.      Im new with VB.net (14) and learning, is it ok if post questions here if i ever need to  Everyone can call me Steven by the way, nice meeting you all. (First project was a success - made a program that display everything about the user, username, IP, host name, screen resolution,&nb ...Show All

  • Visual Studio Team System Project Standard versus Project Pro

    My IS Support team removed Project Pro and installed Project Standard on my VS Team client workstation which interfaces to TFS. I have a Universal MSDN contract which includes Project Pro. The statement from IS is as follows: "After a lot of research with Microsoft, I have learned that the only benefit of using MS Project 2003 Pro is to interact with MS Project Server. Microsoft confirms that there is no benefit of using Project 2003 Pro with Visual Studio Team System Server. If you do not agree, please provide the details from an authorized source and I will reconsider your request." My understanding was that TFS would e ...Show All

  • Visual Studio 2008 (Pre-release) what's the future of ActiveX in Vista?

    I'm developing a framework in winfx which can move and rotate components (panel and its children). I would like to know if it can be possible (in the future) to host winfx ocx in another winfx application. For example, will it be possible to get an Excel ActiveX (developed in WinFX tech. for Vista) that I can host into my WinFX application (for rotate/scale/fade_it and interact) PS: Now, we are using activex hosting only for the reuse of forms in avalon application. This is not a final solution. I think this is a duplicate of another thread -- http://forums.microsoft.com/MSDN/ShowPost.asp ...Show All

  • Visual C# FAXCOMLib

    Has anyone had any luck to get faxing working with C# Here is the code I have using System; using FAXCOMLib; namespace ConsoleApplication3 { /// <summary> /// Summary description for Class1. /// </summary> class Class1 { public Class1() { } public void FaxDocument(String TheFile, string faxnumber) { FAXCOMLib.FaxServer server = new FaxServerClass(); FAXCOMLib.FaxDoc doc = null; int response = -11; try { server.Connect(Environment.MachineName); } catch(Exception e) ...Show All

  • Smart Device Development Possible Bug in Designer PPC Windows App

    Hi, I get a strange result when dealing with the designer in VS.NET 2005 (release). Reproduce: I place a label on a form. Than I assign a backcolor (like ActiveBorder or so). This works fine. But when I try to assign a Custom Color - it does not take it. It can be done if I assign a Custom Color to the Window. Next I can change the bkgColor to a custom color for the Label in Designer. The value in the property window changes to the same value assigned for the window. But it looks good showing the choosen color in designer - as long as I don't run (or close and reopen) it. - Than it has the same background color as the window. Takeing a ...Show All

  • Visual C# Valid colors

    hi.. In my application im taking a string from user as a color name. How can i validate that the string passed by user is a valid color. I was trying with System.Drawing for this pupose...and still not able to find solution ... Any sort of help is appreciated.. Thanks You can iterate over all the names in the KnownColor enum that will be user by parsing a color name to and color. public bool IsValidColorName( String input ) { String[] colorNames = Enum.GetNames( typeof (KnownColor) ); foreach ( String colorName in colorNames ) { if ( input.Equals( colorName ) ) { return true ...Show All

©2008 Software Development Network