|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Socket error when passing a socket with an event
darthghandi -
24 Feb 2007 8:41 PM - 3 messages
I am trying to pass a socket object when an event is signaled. I have successfully bound to a network interface and listened on a port for incoming connection. I have also been able to accept that connection ...
Outside of the client region!
mehdi -
24 Feb 2007 9:46 AM - 4 messages
Hi folks, Consider a visual component that's being derived from Control, say MyCustomControl. This is opened-up whenever the user clicks a given button in the toolbar. How am I supposed to open up this control outside the ClientRectangle bounds? ...
macro for __FUNCTION__ style information
Zytan -
24 Feb 2007 1:26 AM - 9 messages
I realize there are no macros and no such thing as __FUNCTION__ in C#, and I know I can do this to get the current function name: System.Reflection.MethodBase.GetCurrentMethod().Name But, it's rather long. Is there a way to make something like a macro ...
Creating on-the-fly DataGridViews from SQL queries
michael sorens -
23 Feb 2007 10:43 PM - 3 messages
I am enamored over the visual designer's capability in VS2005 to create all the controls and customized code to fill and display a DataGridView just by dragging a data source onto the designer surface and then specifying a SQL ...
Send a message to a Single Instance Application
Mesan -
23 Feb 2007 9:42 PM - 3 messages
Hello everyone, Thanks to many useful posts in this newsgroup and others, I've been able to come very close to something I've been wanting to do for a very long time. I've figured out how to create a new custom protocol handler in ...
Large file handling in C#
pargat.singh@gmail.com -
23 Feb 2007 9:36 PM - 7 messages
Hi Everyone: I have a C# program [VS2005] which loop through No. of files. In UAT i had medium size files and every thing goes ok but in Production files are big and i notice that my program is very slow and it's ...
DataGridView only displaying data if cell selected
RichT -
23 Feb 2007 3:40 PM - 4 messages
Hi all, I am experiencing some odd behaviour with a DataGridView. The DataGridView is bound to a DataTable, which is populated with data from a csv file. The column Headings appear fine, but the data only appears if I select a ...
Busy Indicator
jez123456 -
23 Feb 2007 1:36 PM - 3 messages
Hi Experts I have a C# Windows application where sometimes it can take upto 20 seconds to switch between different forms. At the moment I show a 'Processing, please wait' dialog while the next form is loading. Using the background worker, I've tried including progressbars and other ...
Null reference exception - Query string
Zeba -
23 Feb 2007 11:12 AM - 11 messages
Hi .... I'm always getting stuck with null reference exceptions ! Can you tell me what's wrong with my code given below ? I'm getting the error that reference is not set to an instance of an object. protected void Page_Load(object sender, EventArgs e) ...
assembly / class library question
Rainer Queck -
23 Feb 2007 10:43 AM - 5 messages
Hello NG, I started to build me a little class library. This library I added to a Project which also surves me to test the library. This library holds a namespace: namespace <myLib>.<some function> Now I added a extended Namespace to my library like: ...
Getting password for encryption without storing it in the memory.
per9000 -
23 Feb 2007 7:12 AM - 6 messages
Hi all, I want to create an encryption program and started thinking about not storing sensitive information in the memory since I guess someone might steal my computer an scan my memory. So I wrote this method for getting a password from the console and ...
Sort colors by shade
Joe -
23 Feb 2007 3:35 AM - 5 messages
I have an array of colors and I would like to sort this array from dark to light. What is the easiest way to do this? Thanks, Joe ...
FileStream writes to C drive instead of UNC path given
Don Gollahon -
22 Feb 2007 9:18 PM - 6 messages
The following writes to my C drive instead of the server\path given: fstream = new FileStream(vpath+myFileName, FileMode.CreateNew); fstream.Write(myFileBytes, 0, myFileSize); fstream.Close(); Where vpath = "\\MyServer\MyDir\"; And myFileName is an XML file name. The file ends up in "C:\MyServer\MyDir\myFileName.xml". ...
Executing a JavaScript command from a web service
google -
22 Feb 2007 8:13 PM - 8 messages
I would like to execute a single JavaScript command from within a web service. The command is a mathmatical statement. I have a web page with some client side logic that does this and I'm now moving that functionality into a web service. ...
DataGridView
Chris -
22 Feb 2007 6:16 PM - 4 messages
I have a datagrid view with two combobox's. These are populated by lookup tables. I need one column to change what is loaded into the other. How do I do this on code? I don't thnk this method will work: ...
How to change (set) border color on a form in an application...
ClaesWedin -
22 Feb 2007 10:27 AM - 3 messages
I want my application to have a special color on the Window forms borders. Not the standard one (which the user has set up in his desktop-properties)... How can I do this? I can change background/foreground colors etc and the ...
Drag & Drop - Order of files/folders when multiple selection
Hartmut Dippon -
22 Feb 2007 7:31 AM - 4 messages
Hi all, I hope somebody can help me with following problem: I have an application where I can drag&drop files/dirs from within explorer onto my form. If multiple files/dirs are selected I can see that the order I get in my ...
Check what PC a user is logged into
fomalhaut -
22 Feb 2007 2:47 AM - 4 messages
Hi All, I am building a tool for one of our company's service desks, and one of the functions I'm hoping to add is the ability to enter a username and find what PC that user is currently logged into. ...
Re: How do I use AppDomains and add search paths to it?
Eric Renken -
21 Feb 2007 11:10 PM - 14 messages
OK, now I am trying to implement this and it just isn't working. Here is my basic code: System.IO.FileInfo fi = new System.IO.FileInfo(path); AppDomainSetup setup = new AppDomainSetup(); ...
c# cannot change registry value
Chris -
21 Feb 2007 10:33 PM - 4 messages
I have Visual Studio 2005 Express Edition. I am trying to change registry value by: RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\My_app"); key.SetValue(name_of_value, new_value_string); I am getting error: System.UnauthorizedAccessException: Cannot write to the registry key. at System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource ...
Launch Printer Control Panel
Eric Renken -
21 Feb 2007 10:20 PM - 3 messages
Is there a way to Launch the Printer Control panel from a C# application, and if so will the same command work on a Vista computer? I am thinking I will have to do a System.Diagnostics.Process.Start, but I don't know what I ...
Developing a WYSIWYG - IDE type application. How would you do it?
iKiLL -
21 Feb 2007 9:36 AM - 2 messages
Hi all I have been asked to develop a solution that is customisable by our clients. It is supposed to run on the Windows Mobile 5.0 CF2.0 environment using Merge Replication. I have looked into allowing the creation of Addin's but that has been ...
abbreviated version please
rodchar -
20 Feb 2007 4:55 PM - 6 messages
hey all, is there a shorter way to write the following: System.Data.DataColumn[] keys = new System.Data.DataColumn[1]; // Add the column to the array. ...
add the addin in the Tools menu of Excel
shantanu -
20 Feb 2007 7:53 AM - 3 messages
Hi all I have developed a ADDIN for excel 2000, now i want to add the addin in the Tools menu of Excel. How can i do that. regards shantanu ...
Logging off
Frank Rizzo -
19 Feb 2007 11:50 PM - 7 messages
I have the following situation: 1. Application X1 runs under a regular user account (this user is also the currently logged on user). 2. Application X1 kicks off Application X2 using an Administrator account and then quits itself. ...
SMS sending and receival
webster.fastian@gmail.com -
19 Feb 2007 9:22 PM - 4 messages
how do i send and receive SMS through a sms gateway? in other words how do i create an sms server? help. ...
HTTP Classes
yoni -
19 Feb 2007 5:24 PM - 10 messages
Hi All, I am using .net classes to download files over HTTP. in the old world, I would use WinInet, and the good think about that was that if the client was behind a proxy, it would already use IE settings ...
|
|||||||||||||||||||||||