473,544 Members | 143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

24
2,247
thread by: Joseph Geretz | last post Nov 17 '05 by: Joseph Geretz
Up to this point, our application has been using Windows File Sharing to transfer files to and from our application document repository. This approach does not lend itself toward a secure environment and so we are in the process of imposing a WebService gateway between our application client and the repository. (As a starting point, the...
3
3,449
thread by: Mrinal Kamboj | last post Nov 17 '05 by: Kevin Yu [MSFT]
Hi , I am doing some experimentation , so i created a winform exe , that on load event creates a NotifyIcon object for System Tray Icon . Now if i run that application normally by VS.net or double click , it works as expected and can be debugged . Now , i created a Web App. containing a button , which invokes the winform exe using...
0
2,583
thread by: roiavidan | last post Nov 17 '05 by: roiavidan
Hi, I'm having a bit of a problem with a small application I wrote in C#, which uses an Access database (mdb file) for storing financial data. After looking for a similiar topic and failing to find one, I'm posting the question in hope some one of you guys out there will have the answer for me...! I'll start with what I have, then I'll...
3
8,710
thread by: Chris Fink | last post Nov 17 '05 by: Brendan Grant
How do I create an on screen display using c#? By on screen display I mean text that appears above all windows, usually in the upper right hand corner of the display (For example, an OSD indicating that the current CHANNEL).
3
1,173
thread by: Ollie Riches | last post Nov 17 '05 by: Prakash M
I am currently working on a large code base that has several classes\methods that are never used. Does anyone know of a tool that will generate a list of classes & methods that are not used or referenced? Cheers Ollie
17
3,012
thread by: Peter Olcott | last post Nov 17 '05 by: Thomas Bruckschlegel
http://www.tommti-systems.de/go.html?http://www.tommti-systems.de/main-Dateien/reviews/languages/benchmarks.html Why is C# 500% slower than C++ on Nested Loops ??? Will this problem be solved in the future???
2
1,545
thread by: am | last post Nov 17 '05 by: Jeff Louie
Hi to all. I have a little problem. I need to shutdown, restart, or suspend the system. How should I do? Thanks a lot.
0
1,160
thread by: Frank Rizzo | last post Nov 17 '05 by: Frank Rizzo
Hello, I have a vb6 app that needs to access a bunch of business-layer .NET libraries. Initially, I wanted to Interop with the .NET libraries, but the downside is that all the .NET libraries (and their dependencies) must be strong named and in the GAC, which is a lot of work to be done on a set of software that is very important to the...
1
1,799
thread by: Daniel | last post Nov 17 '05 by: Chris Dunaway
System.IO.StreamWriter Close or Flush method to shut down the computer in such a way that just part of the file is written? or an empty file is written? Also if the Close or Flush is to a streamwriter writing to a network share, is it possible for the network to go down in such a way that the tartet file is only partialy written? or are there...
0
1,482
thread by: robmcdan | last post Nov 17 '05 by: robmcdan
Hi, I'm using RegNotifyChangeKeyValue() (via DllImport) to detect changes to registry keys and subkeys. However, in addition to catching changes, I would like to know what the changes were. Any tips? I think that RegNotifyChangeKeyValue is not going to help me. Can I do this (detect changes and enumerate the changes) with WMI? I was able...
1
1,575
thread by: Erland | last post Nov 17 '05 by: Floyd Burger
Hi all, Are there any GPS components/library that i can use in .NET. Any help will be highly appreciated. Thank you for your time and concern. Regards, -Erland
0
1,038
thread by: Sumit | last post Nov 17 '05 by: Sumit
Hi, I have a MDI Windows form. I have a menu bar on the from. The requirement is that the menu items that i put in the menu bar should come in the normal way (i.e start from left to right or say "left alligned") but the last one of the menu items i want at the right most part of the menu bar. for eg. if there r five menu items say...
4
39,952
thread by: Rachel Suddeth | last post Nov 17 '05 by: Bruce Wood
What is the difference between a managed/unmanaged resource, and how do you tell which is which? I'm trying to understand how to write some Dispose() methods, and we are supposed to put code that deals with managed in one place, and code that deals with unmanaged in another place, but I can't seem to find anything that clearly explains what...
0
1,247
thread by: Sharon | last post Nov 17 '05 by: Sharon
Why wont TabControl move tabs to the top right when RightToLeft set to true ? Thank you Sharon
1
2,600
thread by: Mike P | last post Nov 17 '05 by: Ollie Riches
I have some login code that works fine on several local machines, but always fails when uploaded. I think it has something to do with encryption. Here is the Submit_Click event which when the code is uploaded always sets newUser to null, so I always get 'Login failed'. PhilePrincipal.ValidateLogin is called to set the value of newUser and...
1
1,912
thread by: mikelostcause | last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
I am writing a timesheet program for my office and I am trying to keep a portion of my code synchronous during shutdown (so that it registers the time a user shuts down the computer) , but webBrowser1.Navigate("www.webpage.com"); starts, then the app shuts down before the navigation is completed. I've tried: while...
5
62,423
thread by: Assimalyst | last post Nov 17 '05 by: Assimalyst
Hi, I have the following string written in c#: string strAddressAll = strAddress1 + ",\n" + strAddress2 + ",\n" + strAddress3 + ",\n" + strCountry + ",\n" + strPostcode; But it all appears on one line? I've also tried adding in :
1
12,810
thread by: cfyam | last post Nov 17 '05 by: Derrick Coetzee [MSFT]
How can I create virtual com port by my c# ap?
3
4,158
thread by: Jefe | last post Nov 17 '05 by: Ian Frawley
Hi group I'm trying to implement a console application which work just lie "Dir" instruction in MS-Dos prompt window so I need to display Volume Serial Number and also the free space, how can I get Volume Serial Number and other related informations and is there any function in .Net which will return the available free space in a specified...
0
220
thread by: am | last post Nov 17 '05 by: am
Hi to all. I have a little problem. I need to shutdown, restart, or suspend the system. How should I do? Thanks a lot.
3
2,250
thread by: Marius Rus | last post Nov 17 '05 by: Vadym Stetsyak
I have an application write in c# and i want to offer to the user to create himself shortcuts with icons for the main menu items. I will very much appreciate if will receive an helping hand. Thank you
6
4,397
thread by: Droopy | last post Nov 17 '05 by: Droopy
Hi, I want to add unit tests in my application using NUnit. At first, I thought to add unit tests in the class that is tested, enclosed in a conditional attribute to remove these unit tests from release code. Though, there is (at least) 2 problems working like that : 1) the class can becoming very large if there is a lot of tests 2) when...
6
2,103
thread by: ankurw | last post Nov 17 '05 by: Willy Denoyette [MVP]
Hi All, I am experiencing a frustrating issue with hooking into COM events from a Windows service writting in C#. I create a COM object in the service and hook into an event exposed by the object. The event gets raised a few times (3 times on a Win2k box and only once on a Win. 2003 box to be precise) and then simply stops. My setup is:
2
2,912
thread by: Subu Anantharam | last post Nov 17 '05 by: Subu Anantharam
I have a .NET app that connects to a third-party server on a socket and sends data. This works with a test server on the local network, but does not work across the frame connection to the third-party server. They see a connection, but never see any data coming across. This works with Win32 app using winsock. However, if I use and call a...
0
1,084
thread by: Dave | last post Nov 17 '05 by: Dave
The question I have is how to -=> Effectively <=- and -=> Efficently <=- bind a DataGrid to a 1 deep organizational chart, where "R" would be a row of data and 1..N would be the columns of the row. I need to have the data displayed and updated/added, so I will need 2 way binding. +---+ | R | (View this in NotePad) +---+ |

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.