Groups | Blog | Home


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# > august 2003 > threads for friday august 1

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

Looking for Newsgroup on .Net and Crystal
Posted by Dave Girvitz at 8/1/2003 9:46:18 PM
Does anybody know of a newsgroup for Crystal and .Net. Thanks, Dave Girvitz --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.502 / Virus Database: 300 - Release Date: 07/18/2003 ...more >>


Disposing question
Posted by Patrick De Ridder at 8/1/2003 8:37:54 PM
I have been looking at an example, and there is something I don't inderstand. Given: form1 calls form2 --------- Question: What is the use of having these lines in form2 -------------- using System.ComponentModel; .... private System.ComponentModel.Container components = null; .... pro...more >>

Threads and Events (form oddness)
Posted by Drakier Dominaeus at 8/1/2003 7:08:53 PM
This is my first time posting here, so please forgive me if I do anything incorrectly. I've been learning C# and working with different things and decided I wanted to get into Multi-Threading. My problem is that I must not be doing it right because only some of the stuff works as would be expe...more >>

Regex help
Posted by Bibe at 8/1/2003 6:34:09 PM
I've been trying to get this going for awhile now, and need help. I've done a regex object, and when I use IsMatch, it's behavior is quite weird. I am trying to use Regex to make sure that a variable is only alphanumeric (no strange characters). Here's the code: Regex regExp = new Regex...more >>

Multiple File Upload W/ One <input type=file> control
Posted by Axe at 8/1/2003 5:41:23 PM
Here's the problem: I've got an ASP.NET (C#) web page that has a single <input type=file> control on it for uploading a file. The way the code works is that the uploaded file is then parsed for the path and file name. I then save the posted file to a temporary directory on the web server (for ...more >>

params question
Posted by Scherbina Vladimir Nickolaevich at 8/1/2003 5:11:55 PM
hello. I have a LinkLabel control in my form, it looks like vladimir_ns@ukr.net, so, how can I execute OutLook Express and to pass needed email to it for sending message ? I 'm trying to do this like System.Diagnostics.Process.Start(@"C:\Program Files\Outlook Express\msimn.exe sad_student@...more >>

PrintDocument.Print - how to stop 'Printing' dialog box from showing.
Posted by Hasani at 8/1/2003 4:59:09 PM
How do I stop or hide the 'Printing' dialog box from showing when the method PrintDocument.Print is invoked? ...more >>

DrawString Method
Posted by Mark Keats at 8/1/2003 4:39:30 PM
Hi there, I have some code for an ASP.Net page that produces an image of an e-mail address to prevent those programs that spider the net for e-mail addresses on pages grabbing it. The code is as follows (but on my version it gets the e-mail address from a database rather than QueryString...more >>



Are there corresponding functions in C# as MFC CFile:ReadHuge and WriteHuge?
Posted by jeff at 8/1/2003 3:47:49 PM
Hi, Are there corresponding functions in C# as MFC CFile:ReadHuge and = WriteHuge? I can't find something in C# that can read or write bigger = than int size of data. Thanks, -jeff...more >>

c# assign null to a struct
Posted by fuzzy333 NO[at]SPAM hotmail.com at 8/1/2003 3:31:26 PM
Ok. I'm not sure whether this is cool or perverted, I need second opinion ;) I define two classes as follows: /********************************************/ public sealed class Dummy { private Dummy(){} } public struct tInt { private Int32 val; private Boolean def; private...more >>

Formatter
Posted by Patrick De Ridder at 8/1/2003 3:29:08 PM
Which library should I include for the formatter in formatter.Serialize(output, record); Many thanks. -- Patrick De Ridder ngmail@freeler.nl...more >>

Private tutoring: C# and ASP.NET
Posted by tutoring at 8/1/2003 3:01:54 PM
Anyone who is new to C# or ASP.NET and wishes to gain more knowledge can email me at nuda@yahoo.com and we can set up private tutoring sessions. I have many years of programming experience and hold MCSD certification in .NET and C#. ...more >>

C# Tutorial
Posted by Michael Mayer at 8/1/2003 2:49:21 PM
This is not an ad for the best c# tutorial on the internet! And not from anybody world known. I just wanted to start a thread (to possibly gather more interest) based on a post Jon Skeet made earlier: <quote from Jon Skeet - skeet@pobox.com > I'm considering writing a C# tutorial. Any com...more >>

EventLog.WriteEntry(...) Cause Exception on Windows 98/98SE
Posted by John Lee at 8/1/2003 2:41:59 PM
Hi, Why EventLog.WriteEntry() works fine with Windows ME (where is the message being written or just ignored?) and throw exception on Windows98 and 98SE. Should it be handled at Framework level? Thanks! John ...more >>

defautl printer
Posted by Mike at 8/1/2003 2:25:17 PM
I have an Intranet application that I need to print documents from. With C# is it possible to either create a component or web service that will get the users default printer and print the documents to that printer without the user seeing the print dialog box? I will be passing the document na...more >>

Howto persist a DataTable
Posted by Plumer at 8/1/2003 1:54:40 PM
Good morning everyone Using C# I create a bog-standard System.Data.DataTable which I then Add to a System.Data.Dataset (At the moment I'm in the guess-and-test phase so the table has only one field called "ID" which is Int32.) I need to save this table to an SQL Server database. The Data...more >>

Aborting the program
Posted by Patrick De Ridder at 8/1/2003 1:38:09 PM
Given: I call Form2 from Form1. I throw an exception in Form2. A MessageBox ("Fatal error") is shown with an OK button. Question 1: I want to abort everything after pressing the OK button. How do I do this? Question 2: Alternatively, I want to return to Form1 after pressing the O...more >>

Distribute .NET
Posted by Pengyu at 8/1/2003 1:18:43 PM
Not all the user's computers are installed with .NET. How to create an installer for my program to have the following functions: (1) install my program (2) install .NET if .NET is not currently install. Any help will be appreciated! Pengyu...more >>

How to read the XML node and compare two XML documets
Posted by Naga at 8/1/2003 1:15:18 PM
Hello, I want to read two XML documents and compare the nodes. And I want to Modify the second XML File by deleting the Node. Here in the Example bothe Files has MessageID as common and If i see the MessageID Result Code Error then I need to Delete it from the First. How do I do this .... ...more >>

JScript Eval function
Posted by CGuy at 8/1/2003 12:19:22 PM
Hi, I need to use the Eval function of JScript in my C# code. I was thinking that I could write this as a seperate JScript.NET file, compile it as a .NET module and then later link it with my C# .NET module using AL to produce my final asembly. But the JScript.NET compiler does not have an...more >>

method overloading and references
Posted by Daniel Gustafsson at 8/1/2003 11:47:02 AM
Hi there, hmm, I've just started with C# and I'm experimenting with method overloading. It seems like it's not possible to override method using return types, only parameters. Is that by design, anyway around that or something? I.e. I'd like to have the same method return either a DataReader or ...more >>

Dynamic Invokes and Marshaling a "ref SByte*"
Posted by Stephen Gennard at 8/1/2003 11:36:28 AM
Hello, I having a problem dynamically invoking a static method that takes a reference to a SByte*. If I do it directly it works just fine. Anyone any ideas why? I have include a example below... -- Stephen Gennard email: Stephen.Gennard@microfocus.com D:\development>csc /unsafe ...more >>

.NET Multi Users Using DataSet Question!
Posted by Lester Moreno at 8/1/2003 11:35:04 AM
Hello All, I have a question, If two users are conected to the same Database and one make a change in hes DataSet, what happend with the other user?, he not gointo se the changes!!???? Any Ideas? ...more >>

txtbox not getting a key
Posted by Cosh at 8/1/2003 11:02:31 AM
Hi, I'm using a key down event to avoid my txtbox show any other character different from a number: private void tbxErrorId_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { // if is not a number if(e.KeyValue<48 || e.KeyValue>57) ...more >>

Help with updating & modify data
Posted by MikeY at 8/1/2003 10:34:06 AM
Hi everyone, I have posted earlier this week, but I'm still scratching my head trying to figure out how to change/modify my data back to my db. Using C# Windows forms. I am trying to learn how to modify existing data with in my DB/MSDE. In general, I have textbox's filled with existing data ...more >>

Convert a string value representing an HEX ....into a real HEX value
Posted by Filippo at 8/1/2003 10:27:47 AM
Hi there, I have a string with an HEX value "D3". I need to convert it to a real HEX value 0xD3. Do you know how? Thanks, Filippo....more >>

MySQL question
Posted by Santastp at 8/1/2003 9:38:44 AM
Hi! I would like to use the function mysql_insert_id of MySQL. I need help to know to use this in OdbcCommand. Thanks! Stephane ...more >>

HOWTO: Calculating and Summing HEX values
Posted by Filippo at 8/1/2003 9:33:10 AM
Hi Gurus, I have a date and I need to convert it into a HEX value with a checksum. SCENARIO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Starting point: DateTime aDate =3D new DateTime(2003,05,29) =20 Expected Result: 07D3051DFC Where the values represent: 07D3 the year ...more >>

Error in Walkthru for Windows Service
Posted by Troy Murphy at 8/1/2003 9:21:57 AM
I am attempting to follow the walkthru: Creating a Windows Service Application in the Component Designer. I get the error: JIT Debugging failed with the following error: Access is Denied. JIT Debugging was initiated by the user account 'NT AUTHORITY\LOCAL SERIVCE'. This is on an XP Profes...more >>

writeprotect a combobox.
Posted by J. Odgaard at 8/1/2003 9:07:50 AM
Hi I would like to prevent the user of my application from writing in a combobox. The user should only be able to select items from the combobox collection. I this possible -am I using the wrong control for this? thanx, J of DK. ...more >>

UnhandledException
Posted by Mike Strieder at 8/1/2003 8:52:17 AM
i want to catch all execeptions with my own handler, but the problem is, that the JIT-Debugger always start! i put also the <system.windows.forms jitDebugging="false" /> in the machine.config thx for help Mike using System; namespace SimpleEX { class Class1 { sta...more >>

Custom control appearence
Posted by R A at 8/1/2003 7:29:58 AM
Hi, I have a custom control I designed in c#. When I place the control in a form, it doesn't have an option to change its border. I would like it to have a 3d border so that it will look nice as other windows controls. How can I do that? A sample would help alot. Thanks, Ronen ...more >>

The problem of using Process Class...Help
Posted by Stanley at 8/1/2003 7:01:26 AM
Process p = new Process(); p.StartInfo.FileName = "a.exe"; //........... when it executes, it may be create segment error, and the error will be displyed on the screen. how can I make it just exit , rather than disply and, how can i get the exitCode... by the way, i write the code in...more >>

System.Web.Mail.MailMessage attachment problem
Posted by Trond A. S. Andersen at 8/1/2003 3:27:38 AM
Hi, all! I'm trying to use the System.Web.Mail. "package" combinded with System.Web.Mail.SmtpMail in order to send MS Excel spreadsheets attached to mail messages. However, sending one single spreadsheet attachment per message, seems to be causing som kind of corruption of the attachment,...more >>

can't run program
Posted by An Ony at 8/1/2003 12:37:39 AM
Hi, I made a console program in C# and it works for me. Now I sent it to someone else and he can't run it. Program error or something. His OS is in Swedish. What could this be? Does he have to have the .NET FrameWork installed to run ..NET programs? I sent it to him once as exe and another tim...more >>


DevelopmentNow Blog