How can TcpClient implement IDisposable and not have a public Dispose method?
Just as the title says: How can TcpClient implement IDisposable and not have a public Dispose method? ...
Just as the title says: How can TcpClient implement IDisposable and not have a public Dispose method? ...
Hello, Im currently working on Silverlight app, which resides on our ASP.NET webpage. I want to populate listbox with names of (audio wav) files that are on remote linux machine. I also want to be able to play those files using MediaElement. Im wondering if it is possible to get stream of remote samba enabled linux server. thx, for ...
Im deploying my website onto my new server (windows 2003) from my local pc (windows 7) and my local homeserver (windows 2008) and have run in to a issue. I have a process that starts up with the below code. It is passed a video file which gets converted. System.Diagnostics.ProcessStartInfo StartInfo = new System.Diagnostics.ProcessSta...
Currently we are using query-string extensively in our asp.net application. Few days back we were working on enhancing the website. In this we first of all decided not to show the complete url of the webpage on the address bar for this i asked this question regarding it on SO The best way we got was to use server.transfer(). But now it ...
Hello all, I am building a prototype application in Silverlight 4 Beta and I am using the Out-of-Browser (OOB) functionality. I need the OOB functionality to be able to access the local file system, and I would like to avoid writing an ActiveX component or Java applet. I have a requirement to be able to launch the OOB experience from t...
itemtemplate width not working. i make width="50" bit it is never 50but is always more then 50. is it possible to make with on td that gridview create? <asp:GridView ID="gwTemporaryCities" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateField HeaderText="Ime"> <ItemTemplate> <as...
Hi! I made context menu for UltrawinGrid, when i click right mouse button then the context menu open. This is the code that I use for my menu: Private Sub ShowContextMenu(ByVal mousePoint As Point) Dim cMenu As ContextMenu = New ContextMenu cMenu.MenuItems.Add("Delete") cMenu.MenuItems.Add("Copy") cMen...
hi. how can i provide F1 help support to .Net application. the application consist of several form with many fields. so i dont want to drop HelpProvider control on each form and set the properties. please tell me any component that can handle this. ...
I have a class that is inherited from List<T> and also has some properties, like this: [Serializable] public class DropList : List<DropItem> { [XmlAttribute] public int FinalDropCount{get; set;} } This class is serialized to xml as part of a larger class: [Serializable] public class Location { public DropList DropList{get...
basically using autoit, what happens is that IE windows pops up, and autoit clicks on stuff, and can control it and so on. what i'd like is a way to hide the browser and still let autoit do it's magic. the browser should not be visible in taskbar or system tray but should be visible as a browser.exe in process window. autoit solution w...
Is there a reason why I can't do the following: foreach (var Item in DataTable.Rows) { rather than having to do foreach (DataRow Item in DataTable.Rows) { I would have thought this was possible, like it is on other datatypes. For example: foreach (var Employee in Staff) { // string[] Staff etc... When I try the first foreach loo...
Hi All I Want Use a Panel in a Windows Form in C#.net. I Set Visible Property of this Control to false And When I Click on a Button, Panel is showed. I Want Show a Panel by some Effect. Please Help me for this ...
To illustrate the problem, here is a simplified version of my setup. I have a factory like this one : public interface IFactory{ } public class Factory : IFactory { public Factory() { Console.WriteLine("parameterless"); } //public Factory(int i) //{ // Console.WriteLine("with parameter : {0}", i); ...
Two tables (MainTable and EventType). EventType is represented in code as an enumeration and is foreign keyed in the database so that it looks like; Public enum EventTypeId As Integer Blah = 1 Blurgh = 2 Whoo = 3 End Enum I can run the following query fine; From M in dbx.MainTable Where M.EventType.EventTypeId = 1 But I...
We have a WCF service on a NLB cluster. The service is reachable via the NLB address but also via the specific node address. The problem is that the service also has some maintenance interfaces that must not be reachable on the NLB IP. I tried to configure this with <endpoint address="http://NODENAME:8440/Maint" ... but the endpoint...
Is it possible to include difxapp_x86.wixlib or difxapp_x64.wixlib in same WiX setup to install a driver in both 32-bit and 64-bit machines? Background is that we have a setup which needs to be 32-bit regardless of the target platform (it's a .NET application which uses 32-bit COM components, so we must build .Net assemblies as x86). S...
for 0->100 SplashScreen.SetCurrentTitle("Loading " + Math.Ceiling(procent).ToString() + "%"); //SplashScreen.Instance.Invalidate(); doesn't helps :( Application.DoEvents(); Thread.Sleep(20); that's splashscreen but I can see only 1->18 and then just wait 18->100 but can't ...
What is the best way to create an Empty DataTable object with the schema of a sql server table? ...
I am implementing an application which can be drag and drop images in a panel and so I want to make sure that the image is placed within the panel and it is visible the whole image when is dropped.In that case I want to get the current cursor position when I doing drag and drop event. So how can I get the cursor location related to panel...
First off we have the almighty code! List nodes = new List(); TreeNode Temp = new TreeNode(); TreeNodeCollection nodeList = treeViewTab4DirectoryTree.Nodes; while (nodeList.Count != 0) { Temp = nodeList[0]; while (Temp.FirstNode != null) { Temp = Temp.FirstNode; } if (!nodes.Contains(Temp.FullPath)) {...