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

Software Development Network >> .NET Development

.NET Development

New Question

devEdit attributes
Detecting a Nullable Field or Property
Microsoft.XMLHTTP failing to uncompress a file
.NET 2.0 Xml Deserialization problem
Help on a Client / Server app using sockets over LAN
Unable to emit assembly: Referenced assembly 'Interop.FAXCOMEXLib' does not have a strong name
Error 25007.Error occurred while initializing fusion. Setup could not
version details
Call to SetAppDomainManagerType fails w/unknown HRESULT
Purpose of SecurityPermissionAttribute when implementing ISerializable

Top Answerers

Kartit
Michael Ruck
BDev13
bryanedds
wtmmag
Andy Jarvis
Emadkb
darknessangel
AmineYA
Jo_
sitemap
Only Title

Answer Questions

  • Sabrecat Uninstalling .NET Framework 2.0 on Vista?

    Having a problem with our new Vista Business install, where I can't seem to find a way of uninstalling .NET 2.0. 3.0 was easy to remove through Add/Remove Programs, but no entry for 2.0 unless I am missing something. Newb to Vista, relatively new to development. I have run the "cleanup tool" and it doesn't find 2.0, but it is installed: c:\windows\microsoft.net\framework\v2.0.50727 Thanks for any help/insight. C. I'm starting to think that maybe this is just not possible. From what I've "gleaned" approximately 4% of Vistas code is managed code built on .NET 2.0. If that's the case, maybe there is no way to unistall 2.0 w/o rendering the OS unstable ! ...Show All

  • Jassim Rahma client server communication exchanging of wide char over TCP sockets??????

    hi , i have written a client server pgm . the functionlity of which is to download a file from another client via server. here im passing the file path of remote machine (the file name is in Chinese Char eg : C:\\使能 折.txt, this path i need to send it via socket send. how can i do it. i tried may ways :- --> converting the char to wide char using wcstombs etc etc but of no use. how can i do it it is very urgent .. Pls help me waiting .. Sandeep A variety of schemes would work You can take the unicode - convert to UTF8 and then convert it back to the UNICODE on the processing side. Encoding.Utf8 class would this for you You can send the UNICODE directly if you wish, the receiving end must know that the b ...Show All

  • xRuntime IEnumerable.GetEnumerator()

    Greetings, I have some questions on IEnumerable.GetEnumerator(): 1. Should each invocation return a distinct enumerator object 2. If so, should the enumerators keep their state in sync or independent of each other 3. If independent, can distinct enumerators (returned by the same method) enumerate the underlying collection in different orders MSDN Lib seems to have left these unspecified, so maybe it's all up to the method implementer, but since the interface is tied to foreach sematic, perhaps there are specific answers/rule for the interface If MSDN Lib specifies the answers to these, I'd be grateful if you can point me to the URL. Thanks for any info, Dasa Thanks for the replies. ...Show All

  • USMCNJ Accessing one forms class properties from another

    I have a main form which has created instances of various classes it uses. When a menu option is clicked I want to open another form ,a bit like a dialog window, which enables the user to set various properties in those classes. How do I do this so that this second form has access to the properties of the first forms class instances The properties I want to access are not static. Regards, Gareth Pass a reference to the main form in the 2nd form's constructor. Something like this: Form1.cs: private void toolStripButton1_Click(object sender, EventArgs e) { Form2 f2 = new Form2(this); f2.Show(this); } Form2.cs: public partial class Form2 : Form { private ...Show All

  • Mturco11x Dedicated thread calls GUI thread directly

    In an app I'm debugging I've come across some code in which a method called from a dedicated thread directly accesses a property on a GUI control, created on the main thread. It has, so far, not caused any problems but I am told that this is bad. Before I fix it, could someone provide, or point me in the direction of, an explanation of why this is bad, and what kind of problems it can cause. Also, is there some kind of profiling tool I can use to monitor method calls across the threads and make sure that what I think is happening is actually happening Any help appreciated. Andrew.   nobugz wrote: The .NET 2.0 framework checks this and generates an InvalidOperationException, ea ...Show All

  • radhaps ::OpenEvent can't find events created in managed code?

    I wonder if people have experienced a similar problem. I have a client app which uses EventWaitHandle to create an event and see if anyone shuts it down: EventWaitHandle eventHandle = new EventWaitHandle(false, EventResetMode.ManualReset, Program.EventName); if (eventHandle.WaitOne()) // we recieved a shutdown event this.Close(); There is a C++ component that needs to signal that event like so: HANDLE eventHandle = ::OpenEvent(NULL, FALSE, _T("random-name")); if( eventHandle ) { ::SetEvent(eventHandle); ::CloseHandle(eventHandle); } The ::OpenEvent keeps stubbornly not finding the event by name. On top of that I can actually create an event with that name ! Thoughts ...Show All

  • Prajakta Chavan Fatal Flaw in the Large Object Heap?

    Hi All, After playing with the GC I find the following interesting. The problem domain I typically work in requires the allocation of very large arrays for image processing. We have discovered some issues when our processes are long running. We run out of memory and can not reclaim it. Our only recouse is to restart our processes. In an effort to discover why I uncovered the following: The LOH (Large Object Heap) is never compacted. I think this is a fatal flaw in the GC. I understand MS stated reason for this, but shouldn't there be someway to compact the LOH if necessary, at least a method call that forces the issue Does anyone know of anything that can be done Any workaround is better than killing the process... Here is a demo ...Show All

  • Ankini asp.net interview questions

    does anyone here has asp.net interview questions You can find unlimited ASP.net interview questions here: http://interviewhelper.blogspot.com http://interviewhelper.blogspot.com/2007/11/dot-net-interview-questions-part-15.html http://interviewhelper.blogspot.com/2007/11/dot-net-interview-questions-part-14.html http://interviewhelper.blogspot.com/2007/11/dot-net-interview-questions-part-13.html http://interviewhelper.blogspot.com/2007/11/dot-net-interview-questions-part-12.html http://interviewhelper.blogspot.com/2007/11/dot-net-interview-questions-part-11.html http://interviewhelper.blogspot.com/2007/11/dot-net-interview-questions-part-10.html http://interviewhelper.blogspot.com/2007/11/dot-net-interview-ques ...Show All

  • Ather. Passport RPS Implementation - ASP - using COM compoent

    Hi I am using RPS 4.0 on a web site using ASP After a successful login, my return URL gets appended by the following query string: wa=wsignin1.0 Why does this happen and how can I get rid of this The wa=wsignin1.0 is appended to the return URL As this is ASP but not .NET, PAL 4.0 can not be used. only RPS component acts as a wrapper for asp. Thanks in advance Crish Hi Rajesh RPS4.0 with ASP, please choose the com version in passport sdk. ie in rps reference go for COM reference (ASP) and not managed code reference (.net) This querystring looks like in asp its a still open issue Thanks Crish Crish, I see the query string appended to even .NET applicati ...Show All

  • Charlotte Adam Desktop Notification using Windows services

    Hi How to create Desktop Notification using .NET windows services,C# in Windows Vista Operato System Regards Govardhan http://msdn2.microsoft.com/en-us/library/ms683502.aspx . You don't want to do this (for security reasons). You probably want to have a separate windows application that runs in the users context that uses some sort of interprocess communication (i.e. named pipes) to get notifications from the service. Best regards, Johan Stenberg Could you provide more detail What do you mean by Desktop Notification I believe you'd have to P/Invoke WTSSendMessage if you want the service itself to display the message box. Please note that this is not an optimal solution, and that you' ...Show All

  • Mr_White Start of two Processes

    hi I'm a bit confused. why is it the case that if i start the first pdf and after the reader has opened i start the second pdf it immidiatly fires the exited event (for the second process) although i didn't close the reader. it seems to work fine when i use to different app like adobe reader and winword private void toolStripButton3_Click( object sender, EventArgs e) { Process p = new Process (); p.StartInfo.FileName = "c:\\1.pdf" ; p.Exited += new EventHandler (p_Exited); p.EnableRaisingEvents = true ; p.Start(); } void p_Exited( object sender, EventArgs e) { } private void toolStripButton4_Click( object sender, EventArgs e) { Process p = new Process (); p. ...Show All

  • tattoo Create table access database?

    I have access database,one table Table1 and I wont to create another table but with the same structure as the table Table1 (columns: Broj iksice,Prezime,Ime,Broj indeksa,Broj pohadjanja). I used this code: Dim veza As OleDb.OleDbConnection = New OleDb.OleDbConnection(Global.Diplomski1.My.MySettings.Default.Studenti1Connection) Dim comm As OleDb.OleDbCommand = New OleDb.OleDbCommand("CREATE TABLE Marko ([Broj iksice] DOUBLE PRIMARY KEY UNIQUE, Prezime TEXT(30) NOT NULL, Ime TEXT(30) NOT NULL, [Broj indeksa] TEXT(20), [Broj pohadjanja] INTEGER)", veza) comm.ExecuteNonQuery() for creating table in the database. Code for creating table in the dataset Studenti1Data Private Sub Button6_Click(B ...Show All

  • John.Doe How can I disconnect Wireless Network Connection?

    Hello, I have started to develop a network application which will run on the notebooks.I need to disconnect the Wireless Network Connection when the user simply press a button. I searched on the internet but could not find a solution using c# or vb.net. How can I do it using .net framework (2.0) classes. Do I have to use API Thanks in advance. Oceaner. Hi Rizwan, You can disconnect from the wireless network the same way you do in a dialup connection. Simply find the connection on the taskbar of the Windows XP, double click on the connection, press the disconnect button on the window opened. I could not find a .net class for this action.I guess the only way to do this programatically will ...Show All

  • kcchesnut Create a Shell Extension Handler thumbnail extractor with .net?

    Hi, My application creates nice graphics see http:// www.mavericksplan.com/mavericks  and it saves a custom document type. I'd like to show the contet of the document in Explorer when the user switch to Thumbnail view. To implement this feature I understand I need to create a Shell Extension Handler Thumbnail Extractor that extract the image from my file type to feed Explorer thumbnail vew, which is not easy at all for me. I look on the web and I found 1 C++ example and none in C#. Does anybody have a sample code to create a Shell Extension Handler thumbnail extractor with .net in C# Thank you Andrea Thank you Jesse. I will go with unmanaged code then.  I'm positive I will ...Show All

  • RostaB how to access the sql server running in the remote server thru the windows service

    hi , i have a windows service which has the account property set to network service. i have to connect my windows serive to the Sql server . Please help me how to connect With what exactly are you having issues trying to establish a connection with sql server . i have used network service for service account property. in sql server also i have given the NT authority/network service. still it is giving time out expired error ...Show All

636465666768697071727374757677787980

©2008 Software Development Network

powered by phorum