|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
problem with this?
John Salerno -
10 Sep 2005 9:15 PM - 5 messages
I was reading the "thread problem" post and maybe it has something to do with this, but I didn't quite understand it all. Here is the code I wrote: private void btnStart_Click(object sender, EventArgs e) { ...
Page.IsPostBack Property
nly -
10 Sep 2005 9:07 PM - 6 messages
Page.IsPostBack Property "The Page_Load subroutine runs EVERY time the page is loaded. If you want to execute the code in the Page_Load subroutine only the FIRST time the page is loaded, you can use the Page.IsPostBack property. If the Page.IsPostBack ...
PlugIn Architecture
CSharpNewBie -
10 Sep 2005 8:46 PM - 4 messages
Hi I am looking to create a Plugin Architecture. I looked at this extend or enhance the User Interface (UI) article [link] and It looks good and I would like to know if any better way to do. ...
compairing to null when operator is overridden
Pesso -
10 Sep 2005 8:41 PM - 9 messages
I'm having a difficulty compairing null to a class object whose "equal" operator is overridden.. Consider the following: class Foo { // ... public static bool operator==(Foo f1, Foo f2) { return (f1.n == f2.n); } Now the following throws: Foo foo = new Foo(); ...
Build HTML from MIME message
John Mark Howell -
10 Sep 2005 6:41 PM - 4 messages
I've got a MIME message that was originally an HTML email with embedded images. When the email is received (to GMail) it is now in MIME format. The HTML portion is now split out into the HTML and the images (each in a MIME ...
thread problem
Eps -
10 Sep 2005 5:35 PM - 5 messages
ok i have a timer object in my windows forms application, the app also makes use of a COM object which also uses threading. I have a seperate class that deals with COM object but this class has to pass infomation back to the main windows form from time to time, so i ...
Best structure for a tree class's children
ahaupt -
10 Sep 2005 5:31 PM - 3 messages
Hi all, Just a quick one: At the moment I use an ArrayList to store 'n Tree classes' children. Is this the best/quickest structure to use? What do you guys use? Best, Andre ...
How do tabular a ListBox that their property DrawMode is OwnerDraw
Christopher -
10 Sep 2005 2:57 PM - 2 messages
Hi... I would be very grateful If You could resolve my question, my question is "How do tabular a ListBox that their property DrawMode is OwnerDrawFixe?". I do know as tabular a listbox, but I don't know is as tabular a listbox in ...
Append Query Failing
Vignesh -
10 Sep 2005 1:22 PM - 2 messages
Hi, I have a AppendQuery as "Insert into Table1(Col1,Col2,Col3,Col4) Select 15,Col2,Col3,Col4 from Table1 where Col1 = 1;" Consider this table already has rows as 1 5 6 7 ...
Working with bits in file headers
VanBurg -
10 Sep 2005 1:04 PM - 3 messages
Hallo! I have to do the following tasks: 1) I need to read first 4 bytes from file 2) Get all 32 bits for editing 3) Change some bits and save its back to file For now i have to understand how to do only this: ...
Inverse Sine Calculation
Dan -
10 Sep 2005 1:03 PM - 3 messages
* 32 * * .5 * X * *********** I have a triangle with a Hypotenuse of 32 and height of .5. I am trying to ...
Can we transfer compressed dataset with Web Service?
ad -
10 Sep 2005 12:53 PM - 6 messages
We can transfer DataSet in Web Service. It will consume too much resource if the DataSet is large. I wnat to compressed the DataSet befer transferred, How can I do that? ...
How to determinate if the connection to internet is OK
ad -
10 Sep 2005 12:37 PM - 2 messages
Hi, It will fail to call a web service when the connection to internet is not OK. I wnant to check the connection to internet before call a web service. How to determinate if the connection to internet is OK? ...
Print MsChart?
perspolis -
10 Sep 2005 12:24 PM - 2 messages
Hi all I want to print content of a MsChart.. I think I can do that by getting an image from that.. How can I do that?or is there any better way to print MsChart? thanks in advance ...
What types can be transferd by web service
ad -
10 Sep 2005 11:59 AM - 4 messages
I found that DataTable can be transfered with web service, but DataSet can. What types can be transfer by seb service, struct? Array? hashtable? ...
How to share a definition between application
ad -
10 Sep 2005 7:27 AM - 2 messages
I have a definition of struct, I want to use it in both WebService and Web application. How can I share it between application? ...
Separating business logic from UI
Meya-awe -
10 Sep 2005 6:34 AM - 4 messages
I have a couple of questions, hopefully someone has come across this before and can help me. (1) What are the various ways i could separate my apps UI from business logic - could you provide bare bone example? (2)I am using a third party supplier library and one of the requirements ...
Ned help with marshaling (SendMessage, lparam, WM_MOUSEMOVE)
Ryan Ross -
10 Sep 2005 6:18 AM - 3 messages
Hello, I need some help with the SendMessage method. I've imported it into C# with the following statement: [DllImport("user32.dll", SetLastError=true)] public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, long wparam, int lparam); and the following for sending the message: ...
FolderBrowserDialog Help Plz
MikeY -
10 Sep 2005 12:09 AM - 5 messages
Hi Everyone, I'm getting stumped here. I've been trying to use the FolderBrowserDialog for the first time, but to no avail. Can someone please give me adive on how to use this. I don't know if I sould be having a component in my toolbox ...
What about ^0, $ in Regular expression
ad -
9 Sep 2005 11:27 PM - 6 messages
I found a Regular expression in [link] do the ^0, $ mean in the begin and end of Regular expression?^0[234679]{1}[\s]{0,1}[\-]{0,1}[\s]{0,1}[1-9]{1}[0-9]{6}$ ...
Can I set permissions on a registy key in .NET?
Mike Schilling -
9 Sep 2005 11:20 PM - 4 messages
What I really want to do is communicate among a number of web services, all running on the same machine (not necessarily in the same IIS instance) using the value of a registry entry. I'm have trouble with ASP.NET not having ...
Is it possible to create an ODBC connection in Code if one does not exist?
Henry Stock -
9 Sep 2005 10:09 PM - 2 messages
If so, can someone show me some sample code? ...
DataTable DataRow Delete Duplicate Rows
Vijay Pote -
9 Sep 2005 8:24 PM - 5 messages
Hi All, i have a datatable in which iam creating 2 datacolumns , one is SampleID and second is TestType. iam creating a datarow depending on a for loop, if the for loop goes 5 times it will insert 5 records. ...
ASP Question Restated
Zach -
9 Sep 2005 7:39 PM - 3 messages
With Studio .NET (using ASP IDE and C#) I have created a dll. The dll contains a form. I have a website. From that website I wish to call the form in the dll. Presumably I need a couple of script lines in an existing page of my website ...
problem in DLL calling
Jassim Rahma -
9 Sep 2005 7:25 PM - 6 messages
Hi, I am trying to create an eventlog DLL which uses vistaDB but I have a problem calling it.. can you please help... the DLL: using System; using VistaDB; namespace eventlogDLL { /// <summary> /// Summary description for Class1. /// </summary> ...
Recasting object from a variable or type object.
Phil -
9 Sep 2005 7:16 PM - 10 messages
I have a custom class that has been assigned to a variable and worked with, I now need to cast this class as a different class, which is in a separate assembly, not currently in the project. Normally if it was part of the ...
Error in a WMI Method
Bruno Renato -
9 Sep 2005 7:11 PM - 4 messages
Hi, I was implementing in a program WinForm write in C# a method that change the DNS Sufix of networkcard of PC, well I search in the .NET documenttion and I found a class that allow this feature, the class ...
Can function calling conventions be changed in unmanaged C#
apm -
9 Sep 2005 7:10 PM - 5 messages
Can calling conventions of functions be changed in unmanaged C# in a similar way that they can be changed using C++? ...
Bitblt - OK, I'll try try again
_R -
9 Sep 2005 7:02 PM - 6 messages
I need to establish a canvas for sorts, for painting primarily single line pictures. Lines and images are currently drawn into raw graphics space which is derived from a control, using LockBits. I'm wondering if there is a quicker way to do this (like a wrapper for ...
reading XML file?
VMI -
9 Sep 2005 6:40 PM - 3 messages
If I have an XML document, how can I find out what the contents of a certain tag is? For example, if I have this: <?xml version="1.0" standalone="yes"?> <NewDataSet> <Table1> ...
Session Problem..
sonu -
9 Sep 2005 6:20 PM - 3 messages
I have created session on .asp page like <% Response.write(Session("id")) Session("id")="amit" %> <form name="frm" method="post" action="dfd/shift.asp"> <input type="text" name="txt"> <input type="submit" name="home" value="home"> ...
Regex guru help please...
Richard -
9 Sep 2005 6:12 PM - 4 messages
Hi, We have a bunch of strings in the following format: [xxxxx] yyyy [xxxxx] yyyyy We would like to keep all of the "xxxxx" data - anything that falls within the square brackets. We know that Regex can do this but, whooaa - how do you ...
Installer getting triggered when files are moved.
Henry Stock -
9 Sep 2005 6:09 PM - 2 messages
I am not really sure what news group this should be posted to. It has to do with a visual studio install project for a c# application. We have noticed that if any of the files installed by the installer are ...
ADP question
Zach -
9 Sep 2005 5:50 PM - 5 messages
Maybe this is not the right ng for my question: in that case please redirect me. Question: using Studio .NET / ASP I have created a dll. I now wish to call say WebForm1 in that dll from an html file on the server. ...
Variable type Money/Currency
tshad -
9 Sep 2005 5:21 PM - 12 messages
What is the best way to handle money in C#? Do you use float type? Then how do you handle rounding problems with cents as well as how best to display it? Thanks, Tom ...
Null vs Not Defined
tshad -
9 Sep 2005 5:04 PM - 3 messages
How do you test if something is null or not defined? I have some data that I am looking at in the debugger and some of the data is showing as null and some as nothing. For nulls, I would do something like ...
How to display a picture on in a CheckedListBox
Val -
9 Sep 2005 5:00 PM - 2 messages
Is it possible to display pictures in the checked list boxes on the Windows forms? If yes, then how? If no, what are the alternatives? Thank ...
Copying file from a network drive to a local PC
ReidarT -
9 Sep 2005 4:21 PM - 3 messages
I have a copyfile x y and built this to a exe-file.' When I run the exe-file built in the bin-directory and copy it to other machines I get an errormessage concerning security policy. I don't need a setup file for application, its just a simple file copying ...
Validating Windows user
xc -
9 Sep 2005 4:16 PM - 2 messages
I´d like to ensure that the user that will connect to my program is tthe same as authenticated in my windows. Ex: I have user login frame and i want to ensure that the user name , login ...
IsDigit vs IsNumber
Jefe -
9 Sep 2005 3:55 PM - 3 messages
Hi Group Could you please explain to me what's the difference between Chars.IsDigit and Chars.IsNumber? Regards, ...
Gathering tray resident apps and ...
AlB -
9 Sep 2005 3:35 PM - 2 messages
Is there a way to gather all applications installed as tray resident and then walk through their handles and issue a gettooltiptext on each one to see what they would display as if a mouse pointer was waved over the tray app? ...
A Generic Generics Problem
Tom Jastrzebski -
9 Sep 2005 2:54 PM - 5 messages
Hello everybody, Here is the problem I came across experimenting with Generics. I would like to write a class or a struct adding integer to any other, initially undefined *numeric type*. So, my struct would look more or less like: ...
e-mail problems again
John J. Hughes II -
9 Sep 2005 2:51 PM - 2 messages
Ok I need to send e-mail from my application. I had some code working but now several of the e-mail system are requesting security that I don't support. Mostly I'm getting sick of fighting this battle. ...
Information About RAM..
sonu -
9 Sep 2005 2:42 PM - 5 messages
Is there any method in System.Management.DLL for getting information about RAM and CPU? ...
Binding object properties to datagrid
Tony Maresca -
9 Sep 2005 2:07 PM - 3 messages
I'm looking for a basic example that shows how to bind object properties to a datagrid (e.g., objects are stored in a collection, and the grid should show one object per row). TIA ...
delegate calling convention
apm -
9 Sep 2005 2:03 PM - 5 messages
Is there a way to change the calling convention of a delegate to Cdecl? Is it possible to define a callback function in C# that used the Cdecl convention? Thanks in advance. ...
How to get a Copy an object ? (Value, not reference !)
Steph. -
9 Sep 2005 1:34 PM - 2 messages
Hi, I have an object TFieldInfoList derived from ArrayList. How can I copy this object (the value, not the reference !) into an other one ? FieldInfoList.CopyTo() doens't work FieldInfoList.Clone() doens't work FieldInfoList2 = TFieldInfoList1; doens't work because it copy the reference and I want a "value copy"... ...
Grid column width
venky -
9 Sep 2005 1:21 PM - 2 messages
HI guys, In one of my columns in the grid, i want to set the width of the grid to the widest entry in the column when i click on the column seperator. How can i calcualte the column width if i know the lenght of the ...
MenuItem and click Event!!!
ucasesoftware@hotmail.fr -
9 Sep 2005 1:14 PM - 7 messages
Hi i create some mainItem with code with this method : AddHandler menuItem.Click, essai_Click As the menuItem is add with code... with a dataReader from a dataBase like : Name1 Name2 Name3 i need to know what name is click in my method !!! ...
Converting raw Bytes to String
Tom -
9 Sep 2005 1:08 PM - 8 messages
A have a set of bytes with values in a range from 128 - 255 (Each bit of each byte represents some device status). This set of bytes needs to be passed into an SNMP tool in which the input type is a string. For ...
Caching?
kevin -
9 Sep 2005 1:08 PM - 7 messages
Could someone explain, Caching. I understand Caching as simply saving a copy of something that is unlikely to change and to which you frequently refer as opposed to retrieving a fresh copy every time... like throwing something into Application["myValue"] in ...
how to programatically NOT show webform border...help
trint -
9 Sep 2005 12:11 PM - 10 messages
Ok, How can I NOT show the "titlebar" or the "border" at all on a webform (I have a transparent gif as the edges)? Thanks, Trint ...
Run dialog app froem menu
Macca -
9 Sep 2005 12:05 PM - 3 messages
Hi, I am writing a standalone dialog C# .exe app that i would also like to be able to invoke form the menu or button of another C# application. Can anyone give me assisstance on how i do this? Regards ...
Datagrid: Merge Cells
Peter Zausch -
9 Sep 2005 11:59 AM - 2 messages
Hello, is it possible to merge cells in a datagrid ? In the MS Flexgrid it was possible if cells have the same content. In the datarid i did not found any corresponding function. Regards Peter ...
How to Create a Splite Window in C#
harvie wang -
9 Sep 2005 11:47 AM - 3 messages
I want to create a splite window in c# like MFC CSplitterWnd thanks! ...
File Copy Question
Washington -
9 Sep 2005 10:31 AM - 6 messages
Is possible to copy file from some server for. e.g. brinkster to computer (on specified location) programmatically? I am trying to make some automatic update of my application... Thanks :) ...
stepping through a collection object in a foreach loop
David C -
9 Sep 2005 10:27 AM - 6 messages
This is very strange. Say I have code like this. I am simply looping through a collection object in a foreach loop. Course course = new Course(); foreach(Student s in course.Students) { Console.WriteLine(s.StudentID); ...
newbie trying to access a database from c# net script
Neil Evans-Mudie -
9 Sep 2005 9:55 AM - 3 messages
Folks, If anybody could healp I would be very grateful. I am trying to write a very simple script to prove a database (sql server first, then oracle afterwards) connection and simply return a row count. I am getting an error: ...
Active Form problem
Jason Huang -
9 Sep 2005 9:53 AM - 2 messages
Hi, In ASP.Net C# Windows Form, we have 2 forms, Form1 and Form2. In Form1, I have "Form2 MyForm2=new Form2()", then I "MyForm2.Show()", In Form2, I have "Form1 MyForm1=new Form1()", then I "MyForm1.Show()", When I F5, the Form1 is the Main Form. ...
Settings and resources
Mikaël_PLOUHINEC -
9 Sep 2005 8:48 AM - 2 messages
Hi, I would like to know how I can use the settings and the resources in C# (like My.Settings in VB). Thanks a lot for your help. Mike. ...
Q: Inheriting forms
Visual Systems AB (Martin Arvidsson) -
9 Sep 2005 8:32 AM - 2 messages
Hi! I have created a form called "TheBase" on that form i have a ListControl. The listcontrol is set to Protected. Now i have created a new form called InheritedForm like this public class InheritedForm : TheBase { .... } All the components and so on are inherited from TheBase, but what i want to ...
COM exceptions in C#?
Petar Popara -
9 Sep 2005 8:14 AM - 12 messages
How can I catch COM exceptions (IErrorInfo) in C#? What should be inside catch()? An example: try { .... } catch(What goes here?) { .... } ...
Type Casting With Generics
rajivpopat -
9 Sep 2005 7:56 AM - 3 messages
I've been reading a discussion thread at [link] regarding typecasting generic collections to classical collections and vice-a-versa I faced a similar problem and solved it slightly differently... The ...
CalcSharp
Nik -
9 Sep 2005 7:53 AM - 2 messages
CalcSharp is .Net application that evaluates mathematical expressions step by step. It uses a different approach from a conventional calculator, which is more natural to the way people calculate. When you calculate on a conventional calculator, each time you enter a new number you lose sight of the ...
Something very strange
Annie -
9 Sep 2005 7:39 AM - 6 messages
Hi guys, I have an object eg GlobalObject with some Public Static properties that I set them throughout the session from each page. I need these values to be shared among all the pages. The funny part is that even I stop the application and close the IE etc ...
question about scope of try variables
Abubakar -
9 Sep 2005 7:34 AM - 3 messages
Hi all, The variables declared inside try block cant be accessed inside its corresponding finally block. When I used to explain finally concept to anyone I would usually tell them (briefly) that the finally block is existing there cuz of the logic inside try block, if try is not there finally wont be there. ...
get drive letter( Win32_Diskdrive)
sanjana -
9 Sep 2005 6:24 AM - 5 messages
hi i m using the win32_diskdrive class for detecting a memory card insertion and removal..and this class detects memory card(sd card..etc) insertion removal from the device the deviceid attribute gives me \\.\PHYSICALDRIVE0 or \\.\PHYSICALDRIVE1 etc.. i m trying to get the drive name say(c: or d: ...etc)from the device ...
Using singleton class instance in another class
Eugene -
9 Sep 2005 4:21 AM - 3 messages
Hi, I got a singleton class. Then in another class (CA), i would declare a variable with this singleton class and get a reference to it. I would have another class (IA1) that would inherit from CA and I would want to allow IA1 ...
Can embed asm code in c#
harvie wang -
9 Sep 2005 3:17 AM - 14 messages
I want to embeded ASM code in c# code ,like C++ embed asm: _asc{ mov ax,3 ..... } how to do? thanks! ...
NameValueCollection, ArrayList, Hashtable ...
John Grandy -
9 Sep 2005 2:37 AM - 3 messages
What are good rules of thumb to use when deciding between a NameValueCollection, an ArrayList, or a Hashtable ? ...
Problem on using 2nd activex control created dynamically...
fumihiko -
9 Sep 2005 1:19 AM - 4 messages
Hi, I created an activex control (C++), and it uses another COM dll (C++). This COM dll links with a static library that dose some calculation. (both are debug multithreaded dll) I created a C# client having activex control embedded at the very ...
Windows messages - dead, or just hiding?
Javaman59 -
9 Sep 2005 12:59 AM - 4 messages
I've spent the last 3 years programming VC++, and learnt that Windows programming is all about messages. Now I'm doing C#, and there isn't a windows message to be seen! Now, I don't miss those messages at all - in fact I'm very glad to see the end of them, ...
System.Web.UI not exist in System.Web
ad -
8 Sep 2005 9:48 PM - 2 messages
I use System.Web.UI, but it resut in an error:System.Web.UI not exist in System.Web. Am I missing a using directive or an assembly ? ...
Instance and Inheritance Question
needin4mation -
8 Sep 2005 8:26 PM - 12 messages
I know this doesn't have much of a context, but, in this (take from Petzold's Programming Windows with C#) snippet: class DatePlus: Date { public DatePlus(){} public DatePlus(int year, int month, int day): base(year, month, day){} .. .. .. } I understand the default constructor for DatePlus(){}. My question is ...
Select records for printing
Alberto -
8 Sep 2005 8:21 PM - 2 messages
I have a report done with Crystal Reports where I print information from three tables. The trouble is that I don't know how to select the records. I also have to do the selection using three fields. Thank you in advance. ...
DTS VBScript help - please??
Richard -
8 Sep 2005 8:17 PM - 2 messages
Sorry about the cross post but M$ apparently does not have a "VBScript sucks" newsgroup and I know this group is heavily traffic-ed. Can anyone tell me how to make this script WORK? I have a deadline to meet and the only thing ...
File Watcher returns LOWER CASE only.
jimdscudder -
8 Sep 2005 7:56 PM - 5 messages
I am using a file watcher to watch for files changing. My problem is: the string file info returned is all LOWER CASE. Below is the important part of the code? Any suggestions? using System; using System.Collections; ...
Date set and compare
tshad -
8 Sep 2005 7:54 PM - 10 messages
I am trying to set a date in a DateTime variable that I get from a user: DateTime theDate; theDate = "08-15-05"; This gives me an error: Cannot implicitly convert type 'string' to 'System.DateTime' ...
Windows user name in a smart client
Erik -
8 Sep 2005 7:53 PM - 3 messages
I'm trying to get the login name for the user, and this is the code I use: string userName = WindowsIdentity.GetCurrent().Name; This works fine when the program is launched locally or from a network drive. However, when I run the program as a smart client from our intranet ...
Retrive Hardware configuration
sonu -
8 Sep 2005 7:52 PM - 8 messages
How can i get the system configuration of Client's Machine Like infoemation about Hard disk, RAM... ...
Dataset Problem
sonu -
8 Sep 2005 7:47 PM - 2 messages
I want to insert the Filtered data from dataview into dataset as a new table. how? ...
Dimension size error
tshad -
8 Sep 2005 7:08 PM - 3 messages
I am getting the error: **************************************************************************** Array does not have that many dimensions. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. ...
How to test null date output parameter returned from a stored proc
Vern -
8 Sep 2005 7:02 PM - 2 messages
I'm using the Microsoft Enterprise Data Access block to call the stored procedure. One of the values the stored procedure returns is the stop date. When the stop date is null, the program crashes. I would like to be able to ...
Assigned but never used
tshad -
8 Sep 2005 7:01 PM - 9 messages
I am getting the following error (VS2003): The variable 'ktr' is assigned but its value is never used How do I tell the compiler to ignore this? You used to have to use a Pragma ...
Convert from Delphi to C#
Mel Weaver -
8 Sep 2005 6:43 PM - 3 messages
Hello, I'm trying to convert these to functions to c# const C1 = 52845; C2 = 22719; function Encrypt(const S: String; Key: Word): String; var I: byte; begin setlength(result,length(s)); for I := 1 to Length(S) do begin ...
C# unzipping kind of
thewhoracle -
8 Sep 2005 6:27 PM - 8 messages
I have a C# application that essentially builds batch and text files and runs them from the command line, but i need to unzip something from the command line. What i need is either an unzipping program that does ...
what happened to my control toolbox?
Bob Weiner -
8 Sep 2005 6:07 PM - 3 messages
I am working on a windows app and want to put controls on a form but, alas, they are missing. The toolbox is visible and I have several tabs available (ie. Data, Components, HTML...) but not "Windows Forms." ...
Key down
ooooscar -
8 Sep 2005 5:41 PM - 3 messages
Is there any way to get a key press or key down from all the components of the form. A mean if a hava a 2 text bo and a press a key into the first i get a textbox1_keydown event, and if i press a key when i have the focus ...
Shorten Path name
Tony Maresca -
8 Sep 2005 5:31 PM - 5 messages
Is there any framework function or code floating around that someone knows of, that can take a long path name and remove the middle parts to make it fit in a given field of characters for display in my UI? ...
List of all tables in a database
Maziar Aflatoun -
8 Sep 2005 5:09 PM - 3 messages
Hello, How do you get a list of all tables in a sql server database using C#? Thanks Maz. ...
unrecognized escape sequence
Abraham Luna -
8 Sep 2005 5:02 PM - 5 messages
can anyone tell me why this string throws an error: strValues += "<tr><td><a href=\"\#\" onclick=\"javascript:" + strTextBox + ".value='" + drRDK[strValue].ToString().Replace("\\", "\\\\").Replace("'", "\\'").Replace('"', '""') + "';" + strDiv + ".style.visibility='hidden';" + my code edit colors it correctly but it throws an error ...
If Not myDataSet Is Nothing...
David -
8 Sep 2005 4:39 PM - 4 messages
I'm rewriting a vb client app to C# and need to convert: "If Not myDataSet Is Nothing Then" I can't seem to get the syntax right for this one... What would such a thing look like in C#? ...
c# events - 2 independent classes listening to each other?
gavin -
8 Sep 2005 4:23 PM - 7 messages
hi guys, I have a query about c# event handling that should be obvious I am sure - but I am confused :-) Lets say I have two classes. One is a user control with a tabcontrol on it The other is a user control with a treeview on it. ...
Parse out data in a cell.
Mike L -
8 Sep 2005 4:08 PM - 7 messages
This is for a Win form. In a datagrid, I want to be able to extract a cell, and parse out the data in the cell. The cell has a telephone number, and I'm able to get the full ...
What to put in paramName of ArgumentException when throwing from a property?
marcstober -
8 Sep 2005 3:30 PM - 4 messages
Hello, I have some code like: public int MyProperty { set { if (value < 0) { throw new ArgumentOutOfRangeException("??paramName??", "Value must be positive.") ...
how to check if a method has already been added as handler of particular event?
Ivan -
8 Sep 2005 2:41 PM - 2 messages
subject says it all. thanks in advance. Ivan ...
TransparentLabel
gh -
8 Sep 2005 2:30 PM - 3 messages
I have a jpeg image on the winform, that I am using for a background. When I drop a label on the form the label background is white. How do I get the label background to be transparent, so the image shows through it? ...
Webform Datagrid question - Altering text in a cell
Sam Evans -
8 Sep 2005 2:22 PM - 5 messages
All: I've looked all over (and probably not in the right places) to try and find some example code, or documentation on how I can modify the text in a cell of a datagrid. I've found information saying it's best to override the paint method, ...
HELP: expose Windows dialog from Windows Service
Hank -
8 Sep 2005 2:00 PM - 2 messages
I am writing a windows service in C#.NET which will manage image capturing devices, when client connects to the service, at some point the service need to expose a device dialog to the client for setting some device specific ...
Rendering a Bitmap object as an image in WebPart
Shreeram -
8 Sep 2005 1:57 PM - 4 messages
Hello, I have a chart object which returns the chart created as a BitMap object. I want to render this Bitmap object as an image in a WebPart iam developing. Can anyone please tell me how to go about doing it. ...
If my System.IO.StreamWriter Write method throws "The specified network name is no longer available.
if System.IO.StreamWriter write throws an exception, is there anyway to close the System.IO.StreamWr
C# - CSharp - WIN32 - WMI Progamming Issues with NT4 (Out of Memory) - "TSSSysInq.zip" (0/1) 375.5 k
Is there any way for System.IO.StreamWriter Write method to write out part of the string to file. su
Next »
|
|||||||||||||||||||||||