Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > january 2004 > threads for saturday january 24

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Error-bubbling
Posted by Jesper Stocholm at 1/24/2004 11:37:55 PM
It was my impression, that .Net supported Error-bubbling, that is, any errors would - without error-handling - be transported to the upper class. However, it doesn't seem to be so. The case is: I have an ASP.Net-page that loads some controls to render content to the page. Some of these cont...more >>

Dot Net for Unix?
Posted by Sharon at 1/24/2004 10:51:22 PM
is microsoft going to develop .Net for Unix? or at lest CLR for Unix? 10x ...more >>

viewing an Office document in web form
Posted by VM at 1/24/2004 10:37:41 PM
Is it possible to view an Office document in a web form? I'm looking for a control that will allow me to show a Word doc or PDF dynamically.in my web form. It's like an document embedded into the webform itself. Thanks. ...more >>

asymmetric encryption
Posted by Paul Fi at 1/24/2004 9:03:11 PM
I have this encryption scheme that I want to implement: I have an authentication server, which takes clients' credentials to complete authentication but first I have to encrypt the credentials, I want to use asymmetric encryption which the server creates the key pair (public and private keys) ...more >>

architect question
Posted by andrewcw at 1/24/2004 8:41:04 PM
Can someone share some insight on this: I have a class A. It needs functions from class B. Option 1: instantiate A by passing in an instance of B [ I think this is less memory than option 2 ] Option 2: Have A create an instance of B. other ideas - some form of interface, but then some ...more >>

Excel PIA C# - Format a Cell
Posted by Mike Strieder at 1/24/2004 8:14:14 PM
Hi, thx for reading this entry and for your help I select a cell in Excel (C#) and want to set the Text "ABC123". But in this Cell the Text "123" should appear in Bold! How can this work ??? Ciao Mike ExcelApplication excel = new ExcelApplication();excel.Workbooks.Open(@"c:\temp\xx.xl...more >>

.NET CF verbs (events?) and C#
Posted by chris at 1/24/2004 7:53:38 PM
I'm looking to load a file into a PPC .NET app when clicked: Anyone know the event (if there is one, or the correct function prototype if not) that is generated when a user opens a registered file type in .NET CF (C#)? I've looked into the Main function prototype with the args[] param, but ...more >>

html referrer spoofing
Posted by Aaron at 1/24/2004 7:22:06 PM
i would like to make a page thats only accessible from a certain website. so i did this if (HttpContext.Current.Request.UrlReferrer.ToString().Trim().StartsWith(http:/ /www.approveddomain.com)) method();//access page else accessdenied(); -------------- did i do this right? i kno...more >>



"dotNETFXRedist_x86_enu.msm must not be used..."?
Posted by jerryau50 NO[at]SPAM yahoo.com-dot-au.no-spam.invalid at 1/24/2004 6:30:22 PM
Hi all, I'm trying to create an installer for my project. The software is going to be installed on a machine without the .NET Framework. When I try to include the "dotNETFXRedist_x86_enu.msm" file in the dependecy folder I get the following error message: "dotNETFXRedist_x86_enu.msm must no...more >>

1st Insert in a Table via DataSet
Posted by mjpiedade at 1/24/2004 6:15:54 PM
I am using a windows form bounded with a dataset. It works perfectly! However, when I try to add the 1st record (when the table is empty, so is the dataset) it does not! Can anyone help? I am wrongly using the getchanges() method. Best regards, MP ...more >>

Need C# programmers with socket / TCP interest
Posted by Chad Z. Hower aka Kudzu at 1/24/2004 4:44:18 PM
A few of you may recognize me from the recent posts I have made about Indy <http://www.indyproject.org/indy.html> Those of you coming to .net from the Delphi world know truly how unique and "huge" Indy is both as a project, in support, development, and use. But Indy is new to the .net world....more >>

Get Created DataTables Name
Posted by Thomas Wang at 1/24/2004 4:23:23 PM
There are several public separated datatables in a form. How can i enumerate these tables name ? Thanks ...more >>

Images in HTML
Posted by T.Michelle at 1/24/2004 3:33:13 PM
We have few Mail templates (.html) which we use to send mails. We want to have some Logo in that ie ... when I send the mail to user the image should go as in-line embedded image in mail. I am not able to get this. I tried with Message.Attachments.add ... but its sending the image ...more >>

InvokeMember
Posted by Chris at 1/24/2004 3:04:09 PM
boolResult = (bool)typeofobj.InvokeMember("ReadString",BindingFlags.InvokeMethod, null, newobj, new object[]{HKEY_CURRENT_USER, "Software\\Example Reg Path", "Example String Value", strResult}); This returns True, which means the method was executed fine, but strResult is empty, it's suppos...more >>

Windows Forms: Nevigating between related tables
Posted by David K. at 1/24/2004 2:57:38 PM
Hello, I have a Windows application with ListBox and DataGrid objects in a form. The ListBox objects gets table A contents while the DataGrid object gets table B contents. They are both related. Whenever I highlight a specific row in my ListBox object, the related record in the DataGrid object ...more >>

Changing calling convention of delegates in C# 2.0?
Posted by AdamMil at 1/24/2004 1:56:06 PM
An oversight that affects me rather seriously in the current version of C# is the inability to change the calling convention of a delegate. The CLR supports it, and I have to resort to disassembling the assembly, hacking the source with a perl script, and reassembling it. This has the nasty side eff...more >>

C# Code Access
Posted by Sunny at 1/24/2004 1:56:05 PM
Hi, I wanted to find out if there is a way in VS.NET to encrypt the Source code (main solution file) so that other developers cannot tamper it or read it. That is, some sort of a security check, if one tries to open a solution file, the vs.net checks for the security and if the check fails, the sou...more >>

DateDiff
Posted by Jim Heavey at 1/24/2004 1:36:50 PM
What is the C# equivalent of the DateDiff Function in VB?...more >>

my program won't work on computer without framework, dow do i make a program that runs on every windows 2k/xp system ?
Posted by bart at 1/24/2004 12:19:35 PM
Hello, I'm so sorry, but i don't understand the concept of the .net environment yet. I made a simple program that retrieves the hostname and ipaddress of the local computer. But when i give thit .exe file to my friend he can't run it because he does not have the framwork 1.1 I thought tha...more >>

adding winwordcontrol.dll to toolbox
Posted by VM at 1/24/2004 10:59:54 AM
I'm trying to add a control to my web form that'll display a Word document and I read that winwordcontrol.dll will do the trick. The problem is that I can't find that dll anywhere in my drive. Where can I find this control? Thanks. ...more >>

Some problems by drag and drop.
Posted by opensource4ever NO[at]SPAM tiscali-dot-nl.no-spam.invalid at 1/24/2004 10:30:20 AM
When I compile the folowing: using System; using System.Windows.Forms; namespace ECEG { public class MainForm : Form { Label lFiles; static int Main(){ System.Threading.Thread.CurrentThread.ApartmentState = System.Threading.ApartmentState.STA; MainForm mf = ...more >>

ActiveX DLL Late Bind
Posted by Chris at 1/24/2004 10:22:56 AM
Greetings, I'm trying to late bind a ActiveX DLL that was made with VB6 in C#. Can you give me an example or URL of this? I've been trying to google it, just cant find a straight answer. Thanks! ...more >>

CallbyName in C#
Posted by MFRASER at 1/24/2004 8:50:21 AM
Is there any CallbyName function inside of C#. I need to shift my items in a collection Psuedo code aItem has hours 1-24 and I need to be able to shift the hours. foreach(MapItem aItem in aCol.Items) { } ...more >>

How many files in a directory?
Posted by tomlewton1 NO[at]SPAM hotmail.com at 1/24/2004 8:27:53 AM
if the following article is to be believed: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/supported_file_systems.asp a directory can contain 66534 files. however, .net seems to give up at 32767. given that vb6 happily lets you create directories with >>32767 files,...more >>

Cannot generate TLB file from IDL file to build interop assembly.
Posted by kwendex NO[at]SPAM yahoo.com at 1/24/2004 7:46:16 AM
Hello world, I want to make a *.tlb file from a *.idl file so that I can generate an interop assembly, but I failing. I have the exact same problem as laid out by the thread: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=e4644bc9d34d9f6e&rnum=24 I want to generate a *.tl...more >>

DataGrid Validation
Posted by Ann Marinas at 1/24/2004 5:37:45 AM
Hi all! I'm currently using a datagrid in my application. I was wondering if you guys have some information on cell-to-cell data validation and restriction, if available. Thanks a million! -A ...more >>

how delete array from memory
Posted by tony collier at 1/24/2004 4:45:49 AM
This is an array question but it is based in my web page so i shall give scenario: when the client navigates to the page, the page takes some figures and does loads of calulations in page_load which result in an array with 4.8 million elements. i then extract a mere handful which is all t...more >>

how to move cursor from one textbox to adjacent textbox using LEFT ARROW key
Posted by Seash at 1/24/2004 4:26:05 AM
Hi friends , here is the sample code private void txtbox_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if(e.KeyChar == 13) //enter { txtbox2.Focus(); } if(e.KeyChar == 27) //escape { txtbox.Text = ""; ...more >>

"With" equivalent in C#
Posted by Paul Brownjohn at 1/24/2004 3:24:38 AM
Hello I am new both to this group and to C# programming having spent the last 15 years or so writing C and VB. You will forgive I hope if I am asking the totally obvious but it is a question that I cannot find an answer to in the doc: Is there an equivalent in C# to the "With Me" syntax i...more >>

SQL DTS and C#
Posted by Herb Bartow at 1/24/2004 2:01:11 AM
Any place I can find some C Sharp examples of transferring sql server objects between databases/servers using DTS? Seems like Microsoft only provides samples in VB 6. Thanks. ...more >>

Here's a dumb one....
Posted by Tomas Vera at 1/24/2004 1:14:11 AM
OK. This is something that is probably simple, but has me totally confused. In all my previous work, whenver I needed on of my custom components I simply dragged it onto my form and all was well. But now, I need to develop a form that basically contains a panel into which I need to dynamical...more >>

About "Assemblies"
Posted by C# Learner at 1/24/2004 12:02:15 AM
At http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfinternalpg.asp , it reads that "The internal keyword is an access modifier for types and type members. Internal members are accessible only within files in the same assembly. For more information on assemblies, s...more >>


DevelopmentNow Blog