|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Check for activity on TCP port
Sir C4 -
12 May 2007 8:40 PM - 5 messages
Can someone give a quick example of how to check for activity on a TCP port? For example, I'd like to watch and listen for activity on port 80. Once activity is detected, I'd like an event to be triggered. ...
what is best algorithm to check duplicated rows
Ryan Liu -
12 May 2007 8:04 PM - 7 messages
Hi, If I have tens of thousands DataRow in a DataTable and allow the end user to pick any DataColumn(s) to check for duplicated lines, the data is so large, is there a better API, algorithm can be used for this purpose? ...
Mouse capture in a third-party visual ActiveX
P. Meyer -
12 May 2007 5:49 PM - 3 messages
Hi I need to capture a mouse click event when inside a visual third party ActiveX which unfortunately comes without published events. In Win32 I used to manage such problems on Application level with WM_ messages, but almost beginner in .NET & C# environment, I don't see the ...
What tools to add?
Smokey Grindel -
12 May 2007 3:33 PM - 7 messages
Right now I have FxCop and Red Gate ANTS... any other good tools I should add to my toolbox or lot at? thanks! ...
Unary plus
Michael A. Covington -
12 May 2007 3:19 PM - 3 messages
Other than to create confusion, does the unary plus operator serve any purpose at all? All C# numeric types have a unary plus. The syntax is something like: x = +y; where +y is the same value as y, whether positive or negative. ...
Class to update db-structure
Thomas Kehl -
12 May 2007 11:17 AM - 3 messages
Hello. I am searching for a class which is able to update a sql-server db-structure about definitions for example in a xml-file. I have a database which structure have to be updated after a update of my application. Can anybody ...
please recommend c# and asp books
Eps -
12 May 2007 10:29 AM - 9 messages
I am starting a new job that involves programming in c# and using ASP.net. I have some experience with c# but have little knowledge of ASP, I would like to get a book about each so I can get some reading done before I start. ...
arrays
RobcPettit@yahoo.co.uk -
12 May 2007 9:49 AM - 9 messages
Hi, What is the best way to use an array to find moving averages. I want to calculate a 15 day and 41 day m/a. I know my array will need to contain 12 columns, but the rows need to be dynamic. The row size ...
Can I remove text from a StringWriter ?
Harry Haller -
12 May 2007 8:57 AM - 3 messages
Can I remove text from a StringWriter ? I have a StringWriter object, the content of which looks like this: "<div>Some other html which I wish to keep</div>" Can I remove the unwanted <div>, </div> tags? i.e. remove the last 4 ...
?? Basic C# Language Questions ??
Robin Bowning -
12 May 2007 5:02 AM - 11 messages
Hi all, I have two questions I was hoping someone could answer regarding C#. First, I noticed C# does not allow local readonly variables. For example, the following is illegal: void X() { readonly int i = 1; } I know that for this simple example I could have used const but there are ...
Tracking a memory leak.
Frank Rizzo -
12 May 2007 1:03 AM - 10 messages
I have an object tree that is pretty gigantic and it holds about 100mb of data. When I set the top object to null, I expect that the .NET framework will clean up the memory at some point. However, I am looking ...
default types
Mike J -
11 May 2007 11:34 PM - 2 messages
below is a code snuppet of a table server class i wrote this the best way to return default values for null from a datatable or is there a better way.... still learning all the net framwork tia MJ public object ColumnGet(string cname) ...
passing reference variable!!. out bug?
BERNARDO MEDINA -
11 May 2007 11:23 PM - 3 messages
Hi somebody cant tellme what is wrong here If i do this !!! This is the code Sample 1: using System; using System.Collections.Generic; using System.Text; namespace test001 { public class Program { public static void Main() ...
PropertyGrid - can't edit property
julia_beresford -
11 May 2007 7:53 PM - 2 messages
Hi I have a main class with a public property of type sub class, which has several properties of type int. When i assign an instance of my main class to propertyGrid.SelectedObject I cannot edit values for the properties of ...
help: messagebox-like delay?
Risa -
11 May 2007 6:09 PM - 3 messages
hi, i created a windows application that uses winsock control. in the closing event, it sends a "Disconnect" string message. the server (listening application) does not receive this message. also in the closing event, a Messagebox is shown when not all values ...
controls in groupbox
shilpichaudhry -
11 May 2007 5:25 PM - 5 messages
Hi: I need to have controls in groupBox, which should not be clipped as per the size of the group box. so if they are longer, the control like a text box should appear (unclipped) Thanks, Shilpi ...
How to convert string to InitCap
Timoti -
11 May 2007 5:23 PM - 3 messages
Given any string variable in C#, how to convert the result into Initial Capitals? Ex: Given, "how are you?" to be converted as "How Are You?" ...
How to convert text into InitCap
Timoti -
11 May 2007 5:19 PM - 2 messages
Given any string in C# as variable, how to convert that into Initial Capital Ex: "how are you doing?" to be displayed as "How Are You Doing?" ...
class / namespace hierarchy issue - don't want same name twice
Zytan -
11 May 2007 4:42 PM - 3 messages
I want to have a Win32 class (to dump my win32 dll imports in). I want this in it's own directory Win32 in the solution explorer (since I have other classes to put in this folder), which makes Win32 a ...
Sending a Sharing Invitation for a RSS Feed to a Outlook 2007 user
mc -
11 May 2007 4:31 PM - 2 messages
I would like to be able to send from an ASP.NET page an email which when recieved takes the form of a "Sharing Invitation for a RSS Feed" ([link]) ...
simple casting problem (with small code example)
buzzweetman -
11 May 2007 4:15 PM - 9 messages
Can someone explain this: void Test() { short x = 10; float y = 9.9f; ...
returning a string and bool type from a member of a class
Paul -
11 May 2007 3:51 PM - 12 messages
Hi I have the method below that returns a bool, true or false depending on if the conversion to date tiem works. It takes a string input. I am only returning the bool but would also like to return the string message ...
IStream interface
John -
11 May 2007 3:45 PM - 5 messages
Hi all, I am developing website application in asp.net , visual C# and atl com. I am using atl com component in visual C# application. One of the function of com component interface returns IStream interface. I want to read data from that IStream interface. I am new to visual c#. I ...
XmlSerializer and delegates
Beorne -
11 May 2007 3:16 PM - 2 messages
I'm serializing a class using XmlSerializer. I'm forced to use XmlSerializer because I'm working on compact framework and this is the only serialization supported. When I try to serialize a class with some delegate type member it ...
CSharp Source Code
shilpichaudhry -
11 May 2007 3:16 PM - 6 messages
Hi: I am trying to inherit a class from the C# class, and override a method, but before I can start coding, I need to know what goes on in the C# method, before I can make any corresponding changes to my ...
Serialize object to XML containing array
teddysnips -
11 May 2007 2:45 PM - 3 messages
Windows Application Visual Studio 2005 I am new to C# and have done very little XML or serialization. My client wishes me to store configuration data in an XML file. It will look something like this: <definition> ...
FileSystemWatcher and multiple changed events
D2 -
11 May 2007 2:07 PM - 2 messages
Hi, I have this problem when working with FileSystemWatcher class. I m using one of these objects to watch over a folder. Whenever i big file from another folder to the folder being watched, I get created event and multiple changed events. ...
Passing XML data as parameter of web service
Ludwig -
11 May 2007 1:09 PM - 15 messages
What's the best way to pass xml data to a web service: as XmlDocument, or as a string, or....? (the xml data is structured by XSD) Thanks, kind regards, ...
Wrap SSL Around Existing Socket... Externally
RobKinney1 -
11 May 2007 1:06 PM - 5 messages
Hello, My boss asked me if it is possible to wrap SSL around an existing socket which is running with a C++ program (I know it is, I have done it before). I am wondering if it is possible to do this in a C# application so that when ...
StackOverflowException with attribute
windsim -
11 May 2007 12:28 PM - 10 messages
Hi, I have a project based on .Net 1.1 and VS 2003,now I am trying to upgrade it to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but When I start Debug, it suddenly comes StackOverflowException and Debug stops. ...
Load an assembly using a relative path
timnels -
11 May 2007 11:56 AM - 4 messages
I would like to create a routine that loads an assembly only knowing it's name (like abc.dll) which I know is in the same directory as the executing assembly. Do all methods require an absolute path? Is there ...
Windows Forms Advice - same controls on different Tabpages
davidpryce123 -
11 May 2007 11:37 AM - 8 messages
Dear Windows Form Designers I am developing an application that uses a TabControl with several Tabpages. On the different Tabpages I wish to allow users to have the access to the same controls for instance a textbox to enter a date and time string ...
is a byte array Byte[] pass by reference
Peted -
11 May 2007 8:50 AM - 4 messages
In the default state ie somemethod(Byte [] array); is the byte array passed by method or by reference ? or do you have to use the ref keyword to be able to mod the contents of the orig array from inside the method ? ...
"sum" 2 bitmaps
MarcuEusebiu -
11 May 2007 8:45 AM - 5 messages
Hello... I have to bmps (100X100) and 1`st has an A on the left side and the other has a B on the right side. I want to "sum" this bitmaps to obtain a bitmap that contains "AB". I thought to use GDI32 SelectObject and BitBtl methods.... but I had ...
Service and Client
Jeff Williams -
11 May 2007 6:30 AM - 4 messages
I need to develop an application that runs as a service. Easy there are samples on how to do this. I need to have a client which updates information for the service. Easy to do. How do I notify the Service that details have been changed by the Client ...
Java to C#
David McCallum -
11 May 2007 5:23 AM - 3 messages
In Java you have an Action class to can assign to various things, e.g. button.setAction(myAction); menuitem.setAction(myAction); The advantage being if I change a property of myAction, e.g. disabled, caption, the change is reflected in the button and menuItem. ...
Inherited Form
EmilH -
11 May 2007 5:06 AM - 5 messages
Hi. I couldn't find it in msdn. I have a form AddCategory. Now I need EditCategory form which should look exactlay like AddCategory. I add an inherited form to the project. Now all controls' properties are read-only. I ...
Please give me a moment - How Employable am I?
GeekDrool -
11 May 2007 4:32 AM - 6 messages
I hope there are some team leaders/managers (or insightful grunts) out there that can give this post a little time, as this topic is a heavy weight on me. I owned a software company for about 6 years. I sold it about 5 years ...
Problem with ASP .NET
Dave -
11 May 2007 2:48 AM - 3 messages
I created an application in Expression Web. I have now opened that application in VS 2005. However, when I try to attach an event to to a control, the code defaults to VB. How can I change it to C#? ...
C# Web set time out question
Jason Huang -
11 May 2007 2:36 AM - 2 messages
Hi, I just started my C# Web application. In the Response.Redirect("frm2.aspx"), how do I set a 3 seconds timeout so that I can stay at frm1.aspx 3 secondes then go to frm2.aspx? Thanks for help. ...
VS2005 C# Formatting Options
Ian Semmel -
11 May 2007 12:40 AM - 3 messages
My VS2005 doesn't seem to remember the editor formatting settings for C#. I enter them all and it's ok, but next time I run VS they are gone. Has anyone else had this problem ? ...
XML Delete
Colin Williams -
10 May 2007 10:27 PM - 3 messages
I have just started working with XML , and am sure this is easy but drawing blanks on this one! e.g <Files> <File>C:\File1.txt</File> <File>C:\File2.txt</File> ...
Search and Index files...
PL -
10 May 2007 9:46 PM - 3 messages
I'm looking for a tool or library (that can be used with C#) that would allow me to index many HTML files and to perform a search on this index. I'm looking for something that could be used on a desktop application (not like ...
Re: Trouble with ShowDialog
Brian Schwartz -
10 May 2007 9:40 PM - 8 messages
Oops. Pressed the wrong key. You would instantiate your form like this: frmUserName f = new frmUserName (username); Alternatively, you could make the username a public property of the form. This would allow you to read it later, after the form is done. And/or you ...
Trouble with ShowDialog
Dom -
10 May 2007 9:29 PM - 4 messages
I have a Main form called frmMain which appears when the program starts, and a second form called frmUserName. frmMain has a button, btnUserName. When you click it, I have this code: frmUserName f = new frmUserName (); f.ShowDialog(this); ...
Multithread writes to a Rich Text Box
Ray Mitchell -
10 May 2007 9:25 PM - 3 messages
Hello, Sorry for the long-winded dissertation - but, I have an application where I need to write text to a rich text box using a common method, callable from anywhere in my application. The color of the text will depend upon the first ...
DllImport win32 and out string buffer parameters
Zytan -
10 May 2007 9:24 PM - 9 messages
When using DllImport to import win32 functions that have strings, I know you can use the native c# string type. But, what about a function that expects a string buffer, and writes to it? I've seen people use StringBuilder for this, but is string good enough? ...
Programmatically setting SqlServer vs. Windows authentication
michael sorens -
10 May 2007 9:11 PM - 3 messages
I am wondering how to programmatically select either SqlServer or Windows authentication when connecting to a database. Is this something in the connection string? Or is it some other parameter to a connection method...? ...
Saving DataGridView
Mel -
10 May 2007 9:02 PM - 3 messages
I would like to the save the column order of DataGridView. Thanks Mel ...
How to validate XMLDocument (not XMLReader) against a DTD?
engwar -
10 May 2007 8:56 PM - 2 messages
The title says it all. How do I use XMLDocument.Validate() against a DTD. In all my Googling about this I only find examples of how to validate an XMLReader or XmlValidatingReader against a DTD. The reason I want to avoid the readers is that I want an XmlDocument ...
Reading keyboard key presses on WinForm
JDeats -
10 May 2007 8:54 PM - 2 messages
I have a WinForm with a single command button in the middle, I have added a KeyDown event handler to the form and the method for this is: private void Form2_KeyDown(object sender, KeyEventArgs e) { ...
Reading text file problem
Tim Kelley -
10 May 2007 8:50 PM - 2 messages
I am using a streamreader to read a one line text file. The line looks like this: "99999","04/30/2007","XXXXXXXX","XXXXX, XX","XX","" When the line is read in I get this: i "\"99999\",\"04/30/2007\",\"XXXXXXXXXX\",\"XXXXXX, XX\",\"XX\",\"\"" ...
Problem with creating classes as runtime - PLEASE HELP
julia_beresford -
10 May 2007 8:42 PM - 8 messages
Hi I need to create the following class at runtime: public class MyCollection : CollectionBase { public void Add(MyItem item) { List.Add(item); } public MyItem this[int index] { get { ...
Using .Net 2.0 components in .Net 1.1?
Ethan Strauss -
10 May 2007 8:40 PM - 5 messages
Hi, I need to convert a big .Net 1.1 solution to .Net 2.0. There is a LOT of code here and I do not want to do the conversion all in one go. I would like ...
Creating a preference window
melon -
10 May 2007 8:36 PM - 10 messages
Let's say, I have a form class... public class MainForm : Form { private CustomClass cc; public MainForm() { DoSomething() InitializeComponent(); } /// Do something more public void ShowPreference() { PreferenceForm pf = new PreferenceForm(); ...
static & instance variables
Jordan Marr -
10 May 2007 7:22 PM - 13 messages
I have the following class: class ProvisionCollection { ... private int m_VarianceCount; public int VarianceCount { get { return m_VarianceCount; } } public static ProvisionCollection GetProvisions(...) { ProvisionCollection list = new ProvisionCollection(); ...
where to call savetoxml to run on object destruction
deciacco -
10 May 2007 7:21 PM - 4 messages
I'm using an object that has a dataset within it. When the object is instantiated I populate the dataset from xml files. I want the object to save the dataset back to the xml file before it is destroyed, but I'm not sure when to call this routine. Should I call it ...
Is it possible to remove "click" sound that occurs when WebBrowser control text changes?
JDeats -
10 May 2007 7:18 PM - 3 messages
Using VS.NET 2005, if you place a WinForms WebBrowser control on a form, then place a command button on that form and in the "click" even handler for the command you do: webBrowser1.DocumentText = ""; On every mouse click you were hear a "click" sound identical to the ...
Compile Questions
OldButStillLearning -
10 May 2007 7:07 PM - 2 messages
I am trying to teach myself how to compile my application at the command line with the csc.exe. I found a good article which steps you through the process, but I have some questions, which I hope someone can elighten me ...
Should I use TransactionScope?
hardieca -
10 May 2007 6:25 PM - 5 messages
Hi, I'd really like to use TransactionScope within the Business Layer of my web application. A book I'm reading makes a note that it should not be used in a shared web hosting environment because the server may get ...
Another noob question
azz131 -
10 May 2007 6:17 PM - 9 messages
Hi, i want to access an array of objects inside a method like this using System; using System.Collections.Generic; namespace ObjectArray { class MainClass{ class MyClass { public int x=0; MyClassTo[] obj=new MyClassTo[2]; public MyClass(){ ...
Question on a COM project.
Amit -
10 May 2007 6:00 PM - 9 messages
Hello group, I will appreciate it if you give me some advice on my question: I am asked to write a program. This program is supposed to act as "Adobe PDF" feature which some of you either have it or see it in your ...
sending PCL printer cmds from csharp
David -
10 May 2007 5:55 PM - 2 messages
We have a c# application that sends documents directly to the printer using PrinterSettings() and PrintDocument(). These functions do much of the printer and document configuration work needed, but it looks like we are going to need to use a PCL printer command to initiate Short-Edge Binding. Is there a ...
Leading 0s in an up/down control
Ray Mitchell -
10 May 2007 4:34 PM - 2 messages
I have a numeric up/down control with it's Hexadecimal property set to true. I would like to use it to represent 32-bit hex values and would like it to always display all 8 digits even if they're 0s. Is there a reasonable way ...
fundamental scope question
David -
10 May 2007 4:14 PM - 15 messages
I feel like an idiot asking this but here goes: I understand the 'concept' of scope and passing data by value and/or by reference but I am confused on some specifics. class example{ int i; //my global var ...
Outlook object
Mike P -
10 May 2007 4:13 PM - 6 messages
I am using the Outlook.MailItem object to extract fields such as ReceivedBy, SenderName and Subject from emails, but it seems like there is no way to get at the actual received by email address and sent by email address, I can only get at the actual name of the sender and ...
Processes attached to a file (like .dll or .exe)
luigi.amoroso -
10 May 2007 4:10 PM - 3 messages
Hi, Excuse for my English. I need to know which processes are attached to a file; for example if I open a txt file with notepad.exe, this process is attached to this file. Thanks a lot Luigi ...
Excel import with x64 machine
DC -
10 May 2007 4:00 PM - 8 messages
Hi, I easily ported a .Net 2.0 c# app to x64, but there is one major problem left: the app imports excel data via OleDB, and there are no Jet drivers and no ODBC divers (other than SQL Server) available for ...
DropDown List Box
Ruth Mark -
10 May 2007 3:29 PM - 2 messages
Hi all, Is there any chance to let the serverside DropDownList box to execute the JScript instead of writing the SelectedIndexChanged event. The reason i initiated this question is. by writing code at "SelectedIndexChanged Event" you are allowing the page post back and ...
Threading problem after migration from 2003 to 2005
Jeroen -
10 May 2007 1:49 PM - 4 messages
We converted our decently large (13 projects, compiled about 12 mb) VStudio 2003/.Net1.1 project to VStudio 2005/.Net2. My two colleagues have no problem starting the new solution, but I get an exception thrown at me. I only get the exception if I run in debug mode, in ...
Cursor is Black?
gwoodhouse@gmail.com -
10 May 2007 1:00 PM - 3 messages
Hello, Im using VS 2005, ive created a cursor file, deleted all the "layers" appart from 32x32 256 colors and added the image. I saved it and set it to be embedded as a resource. I use this line to call it: ...
DTD XML String
Steven Blair -
10 May 2007 12:49 PM - 2 messages
Hi, I am writing an application which communciates with a web service. The data I need to send to the service is an XML document over HTTPS. I have been supplied with a DTD file. My problem is how do I create a structure of some description (DataSet ...
32 vs 64 bit
Mark Chambers -
10 May 2007 12:47 PM - 4 messages
Hi there, Given the following in Win32 [DllImport("User32.dll")] internal static extern Int32 SendMessage(IntPtr hWnd, UInt32 Msg, UInt32 wParam, Int32 lParam); the return value and last two parameters then become the following in Win64: [DllImport("User32.dll")] internal static extern Int64 SendMessage(IntPtr hWnd, UInt32 Msg, UInt64 ...
Q: Overide OnPaint in textBox
Martin Arvidsson, Visual Systems AB -
10 May 2007 12:13 PM - 3 messages
Hi! I have a textBox on a windows form. Can i overide the textbox OnPaint directly in the form, if so how. Or do i have to inherit the textbox control and overide it there? Regards Martin ...
Save several DataTables of DataSet
Joe Kovac -
10 May 2007 12:05 PM - 4 messages
Hi! I change quite a lot TableRows in several Tables of a typed DataSet. Now I would like to know which is the best way to save all the rows. Currently I just use each TableAdapters Update() method. First, I think I should have some kind of transactions. ...
Nhibernate
IceMan -
10 May 2007 11:56 AM - 4 messages
Hi, I am using the configuration object and passing it a Assembly object to load. The assembly object i pass in is from a dll which is in a different folder then the Nhibernate dll. The AddAssembly(Assembly assembly) function throws me an Error saying ...
IEnumerator
EmilH -
10 May 2007 11:25 AM - 4 messages
Hi. I have read some examples of IEnumerator at [link] What if I have 2 arrays or collections, for example a DataSet which has 2 DataTables in my class which derives from IEnumerator? How to implement ...
Format Number as in ToString("#,###.00")
Bob -
10 May 2007 10:17 AM - 6 messages
Hello Folks, I am bring backa data reader dr from the database/ So I have a number of fields such as dr["ExtendedPrice"] To put this in a table I use "<td>" + dr["ExtendedPrice"].ToString() + "</td>" ...
DataAdapter
EmilH -
10 May 2007 9:43 AM - 2 messages
Hi. Is that a good practice for every table to have its own DataAdapter and DataSet? Emil. ...
forms looks different on different platform; limited things can change in OS theme
Ryan Liu -
10 May 2007 9:12 AM - 4 messages
Hi, I have a big urgent problem to solve. I used to use Windows 2000 Chinese version, now I installed Windows XP (English) system. The problem is not about 2000 or XP, it is about English and Chinese. All forms of my compiled C# desktop application, as well as in Visual Studio ...
transparent button upon an image
Hans - DiaGraphIT - -
10 May 2007 8:57 AM - 3 messages
Hi! I have a windowsform with an imagebox inside a groupbox. The imagebox shows a image of a man with joints (for medical purose - shoulder, ancle, wrist etc.). The user is able to mark the jonts by clicking on the spesific joint. ...
convert string to integer
jed -
10 May 2007 8:49 AM - 4 messages
in need an example of converting a string to integer ...
derive MouseEventArgs from EventArgs
Peted -
10 May 2007 8:14 AM - 5 messages
Hello this is the click event method of a radio button private void radioButton1_Click(object sender, EventArgs e) { } what i want to do is Within this event method check is the left mouse ...
Is Partial Class feature required
Dara P -
10 May 2007 6:29 AM - 13 messages
Would like to know from the crowd that why do we require a Partial Class. By having such feature aren't we going out of the scope of Entity Concept. Help me to understand in what context this feature is better and when it is ...
List Question
David McCallum -
10 May 2007 6:00 AM - 2 messages
Is there a DotNET equivalent to the Java package GlazedLists? TIA David McCallum ...
generic method that tests if array contains a value
Steve Richter -
10 May 2007 5:10 AM - 3 messages
Is it possible to write a generic method which returns true or false, depending on if the array contains a value? Is there already a framework method that provides this functionality? the following code does not compile. Error is: Operator == cannot be ...
noob question
azz131 -
10 May 2007 2:29 AM - 3 messages
Hi, i am trying to access a field in an array of objects but i get this error "Exception System.NullReferenceException was thrown in debuggee:Object reference not set to an instance of an object".What am i doing wrong? ...
Event Viewer Logging - Add a new overall type
Steven Nagy -
10 May 2007 2:26 AM - 3 messages
Hi, I have Enterprise Library and am using the Logging Application block successfully to log to the Event log. Currently I can only put enteries into the existing event viewer types (Application, Security, etc). Application is best for me currently. ...
general thanks
Mike J -
9 May 2007 11:54 PM - 5 messages
Thank you all for you invaluable help learning c3 MJ ...
preventing html encoding by server control
Amie -
9 May 2007 10:11 PM - 2 messages
Hi, It seems asp.net controls automatically encode the attribute values. For example, I need to have whitespace in OPTION tag. After binding data to the dropdownlist, the source html has the following: <option value="1">&nbsp; North America</option> ...
Fire up a click event inside a control
Tao -
9 May 2007 9:36 PM - 3 messages
hi.. group I have a user control A. How can I manually fire up an event (e.g. MouseClick) in A. That is the code looks like: class A : UserControl { private void Fireup() { //fire up an mouse click event. ...
How to connect .NET Server with JAVA?
privateson -
9 May 2007 9:35 PM - 4 messages
Hi guys, I am a coop student. We are going to convert a C# program into Java. My question is: Does anyone of you know how to connect .Net Server with Java? Since the business logic is inside the .Net server, ...
Reflection Issue / Question
knightrider -
9 May 2007 9:23 PM - 2 messages
I am trying to iterate through all of the assemblies in the share that is our production source code repository and gather information about the assemblies (number of classes and methods contained in each). My problem is that many of the assemblies reference other assemblies ...
Remote debug
Jo -
9 May 2007 8:48 PM - 3 messages
Hi all, Any one has experience to debug managed app on a remote machine. My app is built in .NET 2003. TIA, Jo ...
IL Security
ewingate -
9 May 2007 8:13 PM - 6 messages
It seems that C#.Net is not especially secure. What I mean is that if I were to write an application in C# and then try to sell this application, someone else could just come along and decompile it and ...
closing Modal Form inside form
Phil -
9 May 2007 7:31 PM - 4 messages
I have a modal form (ShowDialog()) that I may want to close when a user clicks a button. I already have an OK and Cancel button, so I can't use those options, but I want it to function just like an OK button press. See ...
How can i make the horizontal scroll scroll to end of page?
trint -
9 May 2007 6:53 PM - 2 messages
I have a series of gridviews (1 thru 6). At about gridview 3, I need the page to horizontally scroll to the end. Any help is appreciated. Thanks, Trint ...
Need To Disable Horizontal Scrolling - Why Is HScroll Property Ignored?
j0rd4n -
9 May 2007 6:37 PM - 4 messages
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to work correctly, I need the AutoScroll to not enable the horizontal ...
First chance exceptions...
msnews.microsoft.com -
9 May 2007 6:24 PM - 3 messages
VStudio 2005 Pro. In the Immediate window for a running application I continually see lines like A first chance exception of type'System.Runtime.InteropServices.COMException' occured in [program name.exe] These lines do not cause the application to stop functioning. I have also ...
Structure in CSharp
Yatin Patel -
9 May 2007 5:11 PM - 8 messages
Hi, I have a structure written in C++ / VC.NET and would like to convert that into CSharp. I am not getting any success. Can any of you please help me out. Following is the structure in C++: ...
After the Deletion of Google Answers, U Got Questions Fills the Gap Answering and Asking the Tough Q
Next »
|
|||||||||||||||||||||||