Answer Questions
mhr381 How to find a System Tray Process
Hi, I'm trying to retrieve a process from the System Tray programmatically. My program starts the process and then saves the Process object. Later, the program tries to locate the process and bring it to the front (in focus). For all processes that do not reside in the system tray, I can do this with no problems. When I call AppActivate on a process that is in the SystemTray, the ArgumentException is raised. Does anyone know how to ret ...Show All
rfinlay Class View Add Method / Property Wizard
Hello! This is my first time using Visual C# IDE, - Express edition. I would like to find out if the C# Express edition Wizards (or are they called templates) are available I see where one can add the code, but this is the error after typing in the code. The build fails as expected Error 1 Expected class, delegate, enum, interface, or struct ... public long Add( long val1, long val2) { } public ...Show All
Philip Painter FileSystemWatcher isnt watching a thing?
The following code compiles and runs, but when I create a file in the c:\ directory, or delete it, the event does not fire. Any ideas FileSystemWatcher watcher = new FileSystemWatcher (); watcher.Path = "c:\\" ; watcher.Filter = "*.txt" ; watcher.NotifyFilter = NotifyFilters .FileName | NotifyFilters .Attributes | NotifyFilters .LastAccess | NotifyFilters .LastWrite | Notify ...Show All
numbers65 How to determine file reading progress
I am using streamreader to read lines of text from a file. I would like to indicate on a progress bar the status of the reading process. What would be the best way to determine where I am within the file so that I could divide this number by the filename.Length member to display in my statusBar I'm having trouble finding the right method for indicating where the file pointer is... Christopher, Thanks. ...Show All
The Masked Blit How to assign 4 bytes of float to byte array
I need to assign each of the four bytes of a float type variable to four bytes of a byte array. Can someone suggest a way to do this In essence I would like to do this: byte_array[0] = float_byte1 byte_array[1] = float_byte2 byte_array[2] = float_byte3 byte_array[3] = float_byte4 This array will be sent via a USB transaction. On the other end I will need to re-assemble the float type variable... ...Show All
fredrikt adding Favorites Functionality from IE to a Form??
What needs to be done to add "Favorites" Functionality to a Form like in Internet Explorer I'm not sure what needs to be done to get that kind of Functionality in my Project.. Thxs for the Help in Advance.. Dont want too Access the Internet Explorer itself.. but just to emulate the Functionality... The XML i can do...But what needs to be added to the Form itself other than a Button in the T ...Show All
Robz How can we do
Namaste Everybody, I am working with ListView Controller. I want to know two things. 1. Can we override the sort() method of ListView Controller, if so can anybody give the code. 2. How the internal process of sort() method of ListView Controller works please expalin me using suitable pictures. Advanced Thanks to all who helped me to understand the above listed things. ...Show All
hasdkljakldjs ActiveX dll
i've developed a user control using C# and turned it into a dll so that i can use it on the web on an html page. however i need to put that dll in a cab file so that it registers itself correctly on client's PCs. each time i try to register it using regsvr32 it comes up with the error, that the file was loaded but the dllRegisterServer entry point was not found. and on client pcs the cab file is downloaded but is not registered with error m ...Show All
nzracer How to list a remote directory?
Hi there, How can I list the files in a directory on a server (I'd prefer .NET 1.1) Thanks, Finch82. I think if security is an issue.. I can think of two options 1. To write a windows service which runs with an identity that can map to the directory in a different server. So for example if you are logged on as 'joe', who doesn't have access to the directory on the remote server he could start ...Show All
Elhanna Error: allowDefinition='MachineToApplication'
Hi, I get the following error when I publish & run the website on a live server. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 68: by Microsoft that offers a single logon and core profile services for member sites. Line ...Show All
Ratheesh Files, how to compare
Hi @ll, I want to compare webfiles (html, zip, jpg, doc, txt, ....), but only the content which is shown in the Browserwindow (webbrowser control). How can I do it at best Tags, creationtime TCP/IP-adress and such infos must not be compared! Tank You for help Jo Hi, Can you be more specific about what you intend to do When you say "only the content that is shown in the browser window" how does that relate to a jpg etc Wha ...Show All
Quim88 class issue
ok, I have the following BasePage.cs that each page inherits using System; using System.Data; using System.Configuration; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Web.Security; using System.Web.UI.WebControls.WebParts; using System.Security.Principal; using Company.Users; using Company.UserInterface; using Company.Security; using Company.Global; namespace Company ...Show All
gladiaker RTC applicaiton is still running after close
I am making an application with the rtcdll.dll com object and i am having trouble with the disconnection to the server. If the application does not disconnect and closes, everything is fine. If the application calls "IRTCClientProvisioning2.DisableProfile(IRTCProfile2)" to disconnect the application is still running after the application window closes. I am following the C++ RTCSample application but with managed dot net and me coming from a C+ ...Show All
John W. Smith Event Handler
VS 2005 C# I want to create a handler for all text boxes on a form - so that when the enter key is pressed it will automatically go to the next text box. I need to the code for this - if you can. Thanks Write the method once, then you can select it as the event handler in the properties window: Go to the events, and instead of double-clicking an event, use the dropdown to select your event handler ...Show All
Didymus Data Sources not showing tables
Just installed Aug build VC#express. When in design mode on a form the data sources window does not show all my tables in my MSAccess database. They are showing the dataset and I can preview the data. But no drag drop available. Help ...Show All
