Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score string.Format with strings as params?
carry - 9 Dec 2006 11:24 PM - 5 messages
Hi everybody, I need simple string formatting like string.Format() does, but just with strings what seems not to work. Can anyone tell me please why this doesn't work and how can it be done? This looked like the simple and good solution but no. ...
Score .NET 2003 / SQL Server 2005
Rahara - 9 Dec 2006 10:49 PM - 4 messages
Hello everyone, I have recently upgraded to SQL 2005 because a client has also upgraded to SS05. To keep the .NET Visual studio compatible I need to uprade to VS 2003 (7.1) with SP1 installed over that. One of the crucial things in V7.0 which ...
Score Update Row DataSet
samoore - 9 Dec 2006 10:27 PM - 8 messages
I have found two or three places where it states that to update an item in a dataset, all I have to do is do DataSet.Tables[0].Rows[0].ItemArray[1] = "String". When I attempt to do this it does not work. ...
Score LINQ implementing IEnumerable<T>, IEnumerator<T>
Shikari Shambu - 9 Dec 2006 10:07 PM - 6 messages
Hi,     I am trying to implement a collection that implements IEnumerable<T>. I keep getting the following error 'IEnumerator<...>.Current' in explicit interface declaration is not a member of interface. Please help me resolve the error ...
Score method to add an object to a list from a stream
dawn - 9 Dec 2006 9:08 PM - 4 messages
SO I am having issues with adding items to a list....I have created a file StreamReader which reads values from a file I have connected through streams.  WHat I am trying to do, is depending on whether the ...
Score Regex Question
chris.ciotti - 9 Dec 2006 7:23 PM - 2 messages
Hi - I'm trying to match a string like this: <Site Url="http://server" and extract just the http://server part.  I'm using the following regex: @"(((https?))(://)([\w]+)([\.\w+]+))" and it almost works.  It matches both http://server and http://server" -- I need it without the ending ...
Score Files
csharpula csharp - 9 Dec 2006 6:37 PM - 7 messages
Hello, I have a current directory and i want to retrive files drom Date A till Date B. How can I do it in c#? Thank you! *** Sent via Developersdex [link] *** ...
Score Design issues
csharpula csharp - 9 Dec 2006 4:36 PM - 6 messages
Hello , I have a function which gets 6 parameters and needs to check every parameter (existence of it and it value). What is the best design solution for it? *** Sent via Developersdex [link] *** ...
Score process.start - slow startup times
gazza67 - 9 Dec 2006 4:30 PM - 2 messages
Hi Everyone, I am writing a small .net forms app that rquires a word document to be opened. I use the command process.start(filePath). The command does just as it should and opens the document with word. HOWEVER the problem is that it takes forever - well about 20 seconds ...
Score Get properties on interface (runtime/reflection)
Anderskj - 9 Dec 2006 3:09 PM - 8 messages
Hi! I am developing a c# application. I have a interface (which can change therefore my problem) If i do like this: List<PropertyInfo> properties = new List<PropertyInfo>(); properties.AddRange(typeof(app.IView).GetProperties()); I get the correct properties on the interface (9 pcs) ...
Score Get list of the Groups a User belongs to
Jeff Williams - 9 Dec 2006 11:14 AM - 11 messages
How can I get a list of the Groups both Local and Domain groups a User belongs to. ...
Score can an owner of a window be changed?
Nayan - 9 Dec 2006 10:00 AM - 2 messages
Is it possible that i can pick a notepad window, change it owner to my application making it a child window of my app? ...
Score Add a Record at the top of a Dataset
Ivan Sammut - 9 Dec 2006 6:21 AM - 2 messages
I have an asp webpage on which I have a dropdownlist which I fill from my database using Datasets. Now I want to add an empty record in the dataset so the first option of the list is empty but I can only append a record at the ...
Score Application wide component
Joe - 9 Dec 2006 4:39 AM - 8 messages
Is it possible to have a component which is global to the entire application? I need to have a single component act sort of like a server which components in any of the forms can access. For example if I drop a component on Form1 & Form2 and that component has a ...
Score How to build a look up table?
Podi - 9 Dec 2006 2:27 AM - 17 messages
How to do this in C#? I want to have a lookup table (hash) of city by zip code (integer) or phone number (string), and it would look something like x = book[94555]; // x == "Fremont" x = book["510-818-8888"]; // x == "Fremont" ...
Score How to find owner process ID?
Nayan - 9 Dec 2006 1:29 AM - 5 messages
The base process owns this thread. But the visible window is owned by the thread. How do I get the owner Process ID from a Thread ID? To understand, look at this "<<--" pointer in the following code. sample code: ...
Score Public information
Gerrit - 9 Dec 2006 12:28 AM - 18 messages
Hallo, In my application, the user must logon with a username and a password. In all the tables in my database, there is a field user. By saving new or changed records, the username is writed to that field. Now I have a class Session with the User-information. ...
Score grouping regular expression
sri_san - 8 Dec 2006 11:42 PM - 9 messages
Hello,           I am trying to write a regular expresssion which validates against the URL and the textfield has 'http://' prefilled. I either want a valid URL or just leave the 'http://'  as it is. I figured an ...
Score What am I doing wrong with the compare
Jeff Williams - 8 Dec 2006 11:39 PM - 2 messages
How do I compare a array string value with an string private bool CheckRole( string sRoleName ) {     bool lIsInRole;     lIsInRole = false;     AppDomain myDomain = Thread.GetDomain();                                 myDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); ...
Score XML Serialization / Datasets
Paez - 8 Dec 2006 11:21 PM - 2 messages
Hi There. This post is a extension of thread "Serialize or not to Serialize", on 5 of December of 2006. The reason why my teacher insists that a WS cannot return a Dataset is due to low rate networks, not due to SOAP schemas. I think that's because a XML ...
Score listview- write to specific column
Eran.Yasso - 8 Dec 2006 11:18 PM - 2 messages
Hello all, This is my first time using listview. I was looking in google for a way to write to a specific column. I have 3 columns in my list view. I want to be able to write to a specific one. ...
Score Move from VB.NET to C#
msnews.microsoft.com - 8 Dec 2006 10:31 PM - 6 messages
Well, after many years of VB/VB.NET programming, I have decided to make the switch to C#.  No real reason why... just want to learn C#.  Anyone recommend any specific sites, tutorials, etc. to aid in this transition? ...
Score Web Application Project problems
Guido - 8 Dec 2006 9:44 PM - 3 messages
Hi all, i have a problem. I installed Visual Studio 2005 English version and the following files to use the web application project instead of the web site project: - VS80-KB915364-X86-ENU.exe - VS80-KB898904-X86-ENU.exe - WebApplicationProjectSetup.msi ...
Score hi?please help
FERHAT_A=C7ICI - 8 Dec 2006 8:18 PM - 10 messages
hi all! who know arrays on visual basic please tell me.... thanks.. ...
Score where to dispose of form when not shown modal?
Michael.Suarez@gmail.com - 8 Dec 2006 8:14 PM - 9 messages
Suppose I have a button on a form that opens up another form. the code in the buttons click event is: frmMyCustomForm frm = new frmMyCustomForm (); frm.ShowDialog(); frm.Dispose(); The form opens, user does what they need, the form closes, and gets ...
Score Asynchronsis socket or threads
Dan Holmes - 8 Dec 2006 8:13 PM - 3 messages
The following is the start of an application that will eventually run as a service.  It listens on port 23 and emulates VT100.  I would like some feedback on the network stream reading and writing.  I don't really know ...
Score How to calculate font size for a string to make it fit into a rectangle of a fixed size.
carterweb@gmail.com - 8 Dec 2006 7:38 PM - 8 messages
This is how I do it now. 1. Determine the dimensions of the rectangle. 2. Set a my font size to a fixed maximum size. 3. Apply the font my string and measure the string using the graphics object. 4. If string size is less than the size of the rectangle, we are done. ...
Score using reflection to set the value of a primitive.
Brian - 8 Dec 2006 7:23 PM - 8 messages
I need to figure out how to iterate through a list of fields and their properties and when i find what i'm looking for I need to set it. Everything works fine until I try to execute SetValue. I have created a simple test case ...
Score c# express support for adsi
freddy - 8 Dec 2006 6:19 PM - 2 messages
does c# express support Adsi? ...
Score Regular Expression help!!! - Math
cbmeeks - 8 Dec 2006 5:50 PM - 13 messages
I have a project that requires me to validate the syntax of basic math formulas. Something like:  ( ( A * B ) / C) - 10 I need to just make sure that parenthesis are correct. For example, you cant have a formula like:  ) ( A * B ( / C ( - 10 ...
Score Using SYN packets for a port scanning application
cornish.julia - 8 Dec 2006 5:49 PM - 2 messages
I have been asked to write a port scanning application and I would like to use a SYN scan rather than a TCP scan in order to be more efficient. Can anyone give an example of how to construct and send a SYN packet ...
Score How to share the same value across multiple instances of a class
Mike - 8 Dec 2006 5:46 PM - 5 messages
Class A    public objX I want to create 2 or more instances of Class A and have the same value for objX in all instances. Instance1 of  Class A Instance2 of Class A Instance3 of Class A ...
Score Guid.NewGuid '-' character
Praveen - 8 Dec 2006 5:31 PM - 6 messages
I'm using Guid.NewGuid() for generate unique ID will there be 4 '-' alway in guid? thanks, Praveen ...
Score Managing DHCP Servers using C#
Screenbert - 8 Dec 2006 5:16 PM - 2 messages
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. Managing DHCP Servers using C# ...
Score accessing more than 2GB of RAM
Senthil - 8 Dec 2006 4:51 PM - 3 messages
Is there a limit on the amount of Physical memory that a C# .NET application can consume ? If yes, how can I set/reset this limit ? I have a test C# application that tries to grab as much memory as it can by allocating memory ...
Score List as DataSource
WhiteWizard - 8 Dec 2006 4:02 PM - 3 messages
Ok, I'm going to have to do this for real in my app, but at this point I'm just trying to make sure how it works.  I have read that I can use anything that implements the IList interface as a DataSource to a DataGridView ...
Score How to get a process tcp port number
Werner Schmidt - 8 Dec 2006 3:57 PM - 6 messages
Dear group, I have the following scenario: I have an application - let's call it myApp.exe - that is listening on a specific port - let's say 10000. Now I need a way to get the port number of myApp.exe (perhaps with WMI, ...
Score Finding a variable in a non managed running executable's memory space.
garyusenet - 8 Dec 2006 3:28 PM - 5 messages
Some time ago I enquired about how I interface with a program written in an old version of C++ Any terms i use like list that follow are used in their common everyday usuage! One of the programmes features is that it displays a list. The contents ...
Score how do I exclude the control name from being displayed in property grid?
mjheitland - 8 Dec 2006 3:17 PM - 11 messages
Hello, when I use a property grid to display all properties of a control I want to exclude the control's name. (The name of my control shall not be altered) How do I exlude the name? Greetings, Michael Heitland ...
Score How do you set a minimum size on a usercontrol?
Mark Collard - 8 Dec 2006 1:06 PM - 3 messages
I've currently developing a custom container control that inherit the System.Windows.Forms.ContainerControl class. I want to be able to stop the control from being resized to small i.e. The control has must always have a width equal to or greater than 50. ...
Score Converting the function pointer to a .net delegate
priyank85 - 8 Dec 2006 12:38 PM - 2 messages
what is the equivalent of visual c#.net 2005 method Marshal.GetDelegateForFunctionPointer in visual c#.net 2003 ? regards, priyank... ...
Score Give feedback to application during stored procedure execution
Venkat - 8 Dec 2006 12:31 PM - 2 messages
Hi,     Is there any way to give feedback to the application while a stored procedure execution is in progress? I am using sql server and my application is built using c#. The stored procedure tries to delete around 200K records ...
Score steam url out to a client
pbearne - 8 Dec 2006 12:20 PM - 7 messages
Hi I need to load an url which should return an pdf/doc file or and html page if file not found I then need to return this file to the request(client) as ether as a download using Response.AppendHeader("Content-Disposition", " attachment; filename=" + ...
Score Problem!
parasurama - 8 Dec 2006 11:15 AM - 2 messages
[link] ...
Score Headaches with VS2005 conversion
MartinS - 8 Dec 2006 11:12 AM - 2 messages
Have upgraded to VS2005 Standard edition (from 2003), and the first task was to convert an existing web project, get it working and then start coding using some of the new functionality of ASP .NET 2 - opened the solution, conversion went without any problems, and spent the ...
Score Getting an XMLWriter from an XslCompiledTransform.Transform call - Please help :-(
Simon Harvey - 8 Dec 2006 10:50 AM - 3 messages
Hi all, I'm having a real problem with getting an XMLWriter as a result of an xsl tranform I'm attempting. My code is: private void btnPerformTransform_Click(object sender, EventArgs e) {     // Load the style sheet.          XslCompiledTransform xslt = new XslCompiledTransform(); ...
Score Struct a lightweight class type having value based semantics?
garyusenet - 8 Dec 2006 9:38 AM - 12 messages
I have 'cli via c# on order', and in the mean time am reading 'Pro C# 2005 and the .NET platform' (Andrew Troelson). I'm just reading about the 'five types defined in the CTS'. Specifically Struct. Now Troelson described the struct type as 'a lightweight class type having value ...
Score inserting images in richtextbox
farrukhqadri786 - 8 Dec 2006 7:28 AM - 2 messages
Hi!   I have an imageList and a richtextbox in a C# form.  I want to insert image from imageList into a richtextbox. I have found the following code on net but it does'nt work. InsertImage(EmotionsImageList.Images[0]); ...
Score how to find menu item selected on other C# page
imran - 8 Dec 2006 5:28 AM - 2 messages
Dear All, I am developing web Application using asp.net and C#(VS2005).i want to know how i can fetch menu item selected(which is desinged in master.aspx) on the other C# page (welcome.aspx.cs). ...
Score Binary value
Shawn B. - 8 Dec 2006 5:25 AM - 7 messages
Greetings, I've been up and down google on this one and clearly I don't know what search terms to use because I can't locate how to do this for binary values (or hex)... in C#, we can specify a floating value by saying 0.0f and a hex number by ...
Score C# library aware of HTTP.
arvind_kb100 - 8 Dec 2006 1:54 AM - 2 messages
My requirement is: Creating a normal windows dll that receives requests from other applications in HTTP form and returns the result of processing in XML format. eg http://server:port/dllname/uname&Password/Method?Para1=p1&Para2=p2... ...
Score GET WINFORM SUBSCRIPTIONS TO EVENTS
Jose Fernandez - 8 Dec 2006 1:25 AM - 5 messages
Hello. I would like to know how could i get all the subscriptions that my form has with the events of their controls. For example. I have a form with a textbox, a button and a dropdown. I create a ...
Score Regex - copy pattern from one string to another
redamazon200 - 8 Dec 2006 1:05 AM - 7 messages
I am looking for a way to copy a pattern (letter 'A' in the following example) to another string. string str1 =  "1111AAAA111111AA"; string str2 =  "1111000000001111"; After the copy str2 becomes "1111AAAA000011AA". Can this is done efficiently using Regex? ...
Score how do i shift focus?
dotnetnoob - 8 Dec 2006 12:51 AM - 3 messages
when the user log into my application, there is a dialog pop up with some paramereters that need to set. a radio button is default to checked and a textbox is right next to it. i want the cursor or the ibeam to flash on the textbox so user don't have to ...
Score Where are the errata for Microsoft books?
Mark - 8 Dec 2006 12:48 AM - 3 messages
Hi,    I am looking for the errata for "Programming Microsoft Visual C# 2005: The Language by Donis Marshall.       In [Table 6-1 Inheritance Table for Generic Types] on page 257 Base Class Generic (open) Derived Class Nongeneric should be 'Not Permitted", not ...
Score AddDays question...
Joe - 8 Dec 2006 12:11 AM - 7 messages
I am getting some strange results from the AddDays method. Here's the code. endDate.AddDays(1).ToString("dd-MMMM-yyyy"); So if endDate is October 31, 2006 then I would expect the result to be November 1, 2006.  What I do get is Dec  1 2006 12:00:00:000AM. ...
Score "CancelButton" property resetting itself
Jack Brown - 7 Dec 2006 10:46 PM - 4 messages
Hi there, Has anyone noticed that the "Form.CancelButton" property occasionaly resets itself to "(none)" in the form's property window for no apparent reason (at deisng time using VS 2005). Has anyone had this problem as well. Thanks. ...
Score Cross product of arrays
Robert Bravery - 7 Dec 2006 9:01 PM - 7 messages
Hi all, Can some one show me how to achieve a cross product of arrays. So that if I had two arrays (could be any number) with three elements in each (once again could be any number) I would get: ...
Score "The namespace <global namespace > already contains a definition for..."
Harry - 7 Dec 2006 8:27 PM - 3 messages
Using VS2005 on Vista. I added a file to and existing web solution and started getting this error: "The namespace <global namespace > already contains a definition for namespace.xxx" I may have added a class that was already in the solution and need to edit ...
Score writing a keyboard wedge
Sagaert Johan - 7 Dec 2006 6:33 PM - 6 messages
Hi Can someone point me the good direction to start a project that  injects keycodes, or (scancodes ) into the system as if the came from the keyboard. (like barcodescanners etc.. do) Johan ...
Score can constraint generics using string or not ?
SHEBERT - 7 Dec 2006 6:33 PM - 8 messages
// CS0703: `string' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter public class C<T>  where T : string { } Why can't I constraint using string but I can constraint like bellow and it ...
Score Using js file in asp.net 2.0
Frank - 7 Dec 2006 6:30 PM - 4 messages
Hi, I simply wish to code a JS function ONCE, in a .js file, include the .js file in the Master page, and then in several but not all pages, I wish to execute the function on pageload. I don't want to use the ...
Score No web app support on Vista?
Brett Romero - 7 Dec 2006 6:18 PM - 4 messages
Has any one been able to successfully install Web Application support for VS.NET 2005 on Vista: [link] The upate installs but the ASP.NET web application project never shows ...
Score Instantiate/Show Form From String (where the string contains name of the form class)
Merk - 7 Dec 2006 6:02 PM - 3 messages
I'm wanting to know if/how it would be possible to load a form based on a string that contains the name of the form (class). For example, instead of doing this:     myForm f = new myForm(); ...
Score Storing a Form in a Hashtable
tcomer - 7 Dec 2006 5:49 PM - 23 messages
I'm working on a chat client and this is what I'm trying to do when a message is received:         private void ReceivedMessage_Event(object sender, ClientEventArgs e)         { ...
Score How to use reflection to read an array in an unmanaged structure
bill - 7 Dec 2006 5:28 PM - 4 messages
All, I have the following: ......     [StructLayout(LayoutKind.Sequential)]     unsafe public struct Example     {       public double we;       public double mu;       public fixed double A1[9 ]; ...
Score StreamReader ReadLine alternate End Of Line
R. A. Gates - 7 Dec 2006 5:17 PM - 13 messages
Question: Is it possible to specify a specific EOL character(s) for ReadLine to determine the end of the line? I'm reading a CSV file that has a X'0D' inside a quoted portion of the string. (The data is being provided by the customer so I have no control over ...
Score user control
Xavier - 7 Dec 2006 4:52 PM - 3 messages
Hi, When I create a user control textbox (like "public class mytextbox : textbox") in C# and use it on another form, properties like font, colors, etc. are not inherited. Is this behavor normal ? Is there another way to achieve this ? What I would like is if I change the font type or colors in ...
Score TreeView and Sorted Lists?
rolf.oltmans - 7 Dec 2006 4:25 PM - 4 messages
Hello, I need to populate a TreeView control from SortedList(Winforms application). I've stored ID's as key and Nodes as value. A typical TreeView in my case would like like 1 Goal 1.1 Task1 1.2Task2   1.2.1 Goal1 ...
Score Delete a row from Excel via ADO.NET
Jan Lorenz - 7 Dec 2006 4:17 PM - 3 messages
Hi, I have a ADO.NET - Connection to an Excel file. UPDATE and INSERT works fine. Now I want to DELETE lines, but it doesn't works (I get an error message). Microsoft says, that there is no way to to this. ...
Score Readin/writing BIOS values
adi - 7 Dec 2006 3:36 PM - 2 messages
Hi Is there a possibility to read/write BIOS values? I develop an application that should start running at 6 a.m. every day, so I need to make sure that the computer will start at that time. So I ...
Score web service client without proxy classes
Steffen Heinzl - 7 Dec 2006 3:33 PM - 2 messages
Hi! Is it possible to invoke a web service with a client written in C# without generating proxy classes from the service's wsdl first? Apache Axis (for Java) provides a Call object which can be used. Is there something similar in C#? ...
Score Windows Service Account info..
net2tech - 7 Dec 2006 3:20 PM - 2 messages
How Can I find out the Account under which the Windows service is running prgramatically? The Servicecontroller object gives me Name, Status, Type but not the Account information... Thanks in Advance. ...
Score MD4 implementation ?
semedao - 7 Dec 2006 3:17 PM - 4 messages
Hi , someone know where there is MD4 imlpementation of HashAlgorithm ? ...
Score combining FontStyle
Roger - 7 Dec 2006 2:58 PM - 2 messages
I know this is probably an easy question. But in VB.Net when you instantiate a fontstyle object, the parameter for fontstyle, if you wanted it to be Bold and Italic, you would enter "FontStyle.Bold + FontStyle.Italics". But in C#, ...
Score Problems Running an Exe on multiple machines.
stunt016 - 7 Dec 2006 2:56 PM - 3 messages
I have a C# project made in VS2005.  The project is an ActiveXLink bridge between two pieces of software.  It uses multiple DLL's including 3 DLL's that were created by my company, all are listed in ...
Score Need advice about SDK vs Studio 2005...
Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ - 7 Dec 2006 2:30 PM - 3 messages
I have Visual Studio 2003 Enterprise Architect Edition. I have been away from the programming area for a while - since before Studio 2005 came out. I am financially tight and am wondering if going to Studio 2005 is warranted considering what I already have available? Is there ...
Score How to create transparent control.
Ananas - 7 Dec 2006 2:10 PM - 4 messages
Hi, I have created a custom control. It's a rectangle with transparent background. It's possible to see the container through the control. But when controls intersect one another then it's not possible to see the control lying under another. ...
Score xml and sql server 2k problem
Dhananjay - 7 Dec 2006 1:58 PM - 6 messages
hello everyone I have a problem with xml and sql server 2k. first thing i have a website  named this-> [link] when i am entering a value for keyword like this  -> ...
Score Edit and continue
Niklas - 7 Dec 2006 1:40 PM - 5 messages
Hi I have created a new Windows project and the only code I have written is: private void button1_Click(object sender, EventArgs e)         {             string test = "test"; ...
Score Change Application Icon [ Output file icon]
Avnish - 7 Dec 2006 12:09 PM - 2 messages
Hi, I have created an form based application in c# having some GUI. I have also added localization support to it due to GUI changes for different customers.Now the issue I have the Application icon can be set only through ...
Score Passing a number of integers between forms
nickcleary1 - 7 Dec 2006 12:00 PM - 5 messages
I need to pass 4 integers between two forms but am having trouble passing more than one.I am hoping to use the contructor approach as i need the variables straight away Any help would be great thanks Nick ...
Score GC.SuppressFinalize?
Rainer Queck - 7 Dec 2006 11:59 AM - 8 messages
Hi NG, I am not sure to evaluate what happens if I call the GC.SuppressFinalize(this) for a object. My question is: In case I call GC.SuppressFinalize(this) from with in one of my object, do I then have to somehow - if yes how - release instances created in the ...
Score Why use a delegate
garyusenet - 7 Dec 2006 11:56 AM - 4 messages
Following on from a previous thread in which types were discussed. I was interested to read more about these differeent types. I started by trying to learn about the delegate type, of which I had never seen before. I have so far managed to find out that a Delegate type is simmilar to a ...
Score need help about DataGrid View Control
Poornima - 7 Dec 2006 11:31 AM - 2 messages
Hello Iam new to .net languages.I want to create an editor(similar to ZelioSoft2 by Schneider Electricals) that takes input as electrical symbols .For that i need to create a table with 120 rows and 8 cloumns. Is it possible to create using DataGridView control at design time? ...
Score Special uses of delegate combinations/removals - your experience, please
muler - 7 Dec 2006 10:45 AM - 4 messages
hi all, Can anyone explain (possibly with examples) any special uses of delegate combinations or removals? In the very simple example below all delegate combinations/removals can be done with delegate assignments. So what's the use of having them ...
Score Detect 'End Process' in application
SeC - 7 Dec 2006 10:38 AM - 10 messages
Hi. Is there any way to detect if application is being killed by 'End Process' via Task Manager ? ...
Score memory allocation performance
semedao - 7 Dec 2006 10:22 AM - 3 messages
Hi, I have some loop that should copy X amount of bytes to some byte[] buffer. the byte buffer array is fixed length during the loop but outside the loop the length can change. the loop can be called also inside other loop... ...
Score Crystal Reports are not opening
KAMAL - 7 Dec 2006 10:01 AM - 2 messages
HI all,          In my project i have used crystal reports (Vs 2003). When i am running my project in a system with only frame work it was giving error " Invalid code Keycodev2.dll". Its very urgent. Any body know about this. Any ...
Score What is the null field used for in the streamreader class?
garyusenet - 7 Dec 2006 10:00 AM - 2 messages
way down the MSDN definition. The first entry is the Public Constructor StreamReader. I'm fairly happy I have a basic grasp on this. It is the part of the Streamreader class that creates a StreamReader instance for a given Stream. The next entry however I don't understand: - ...
Score Using a stored procedure and Datasets
Robert Bravery - 7 Dec 2006 9:12 AM - 3 messages
HI all, I'm relatively new to this. How can I get the results of a SP (returns a recordset) into a dataset Thanks Robert ...
Score MDI form and children form hierarchy
CDrue - 7 Dec 2006 8:25 AM - 3 messages
Hello, Is it possible to create inside MDIForms additional child forms which also have form children? For my application it is necessary to create a hierarchy of forms, e.g. MainMDIForm                  Child 1 ...
Score how to get the port number of "Default Web Site" from IIS
John Paul. A - 7 Dec 2006 6:45 AM - 2 messages
Hi, I want to get the port number of "Default Web Site" from IIS. Can you please tell me how to get it using  the namespace System.DirectoryServices. Thanks, John ...
Score Explore an assembly programatically...
Lloyd Dupont - 7 Dec 2006 2:58 AM - 4 messages
In my current project I want to replace a library I'm using by an other one I will write my self. 1st I want to write a skeletton library which feature all type/method I'm using (with no real code inside). ...
Score Cluster Automation Server: Access Denied for [NT AUTHORITY\SYSTEM]
Simon - 7 Dec 2006 1:45 AM - 4 messages
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster.  During invocation it's supposed to determine from the cluster which node is active (this is a ...
Score GetTimestamp()
Alan T - 7 Dec 2006 1:17 AM - 2 messages
Anyone knows how to convert the ticks into seconds or milliseconds? beginTick = GetTimestamp(); endTick = GetTimestamp(); totalTick = endTick - beginTick; How many seconds will be the totalTick ? ...
Score JavaScript From PageLoad()?
Frank - 6 Dec 2006 11:30 PM - 5 messages
Hi, I am working with VS.NET 2005 Ultimately, I wish to call a JavaScript function from a .js file In the Master page, I have: <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> ...
Score Connection pooling questions
crbd98@yahoo.com - 6 Dec 2006 11:19 PM - 18 messages
Hello All, Some time ago, I implemented a data access layer that included a simple connectin pool. At the time, I did it all by  myself: I created N connections, each connection associated with a worker thread that would ...
Score BindingList<> notification before delete?
Michel Walsh - 6 Dec 2006 10:35 PM - 5 messages
Hi, A datagrid has its DataSource set to a BindingList<CustomClass>. While the ListChanged event fires AFTER a deletion, I am looking for a simple way to be notified BEFORE the item would be effectively deleted (for performing ...
Score Currency exchange rates
Eric - 6 Dec 2006 10:10 PM - 2 messages
I've built a Currency class, more or less like Java's, a Money class to handle rounding and allocation, and a Moneybag  that should collect different monies and convert them to a given exchange rate on demand. Anyone encapsulated a strategy for capturing and using exchange rates in a ...
Hi
Next »