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# > july 2006 > threads for tuesday july 4

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

TripleDESCryptoServiceProvider
Posted by Alex at 7/4/2006 11:14:01 PM
Hi, I am using TripleDESCryptoServiceProvider to encrypt a value in the querystring and my only concern is whether will the ampersand character appear in an encrypted string. Using POST is not an option so I really need help on this. Thanks In Advance, Alex...more >>


DirectX on C# express
Posted by Jeff at 7/4/2006 8:50:13 PM
Hey is it possible to create DirectX projects in C# express or are there some limitations built into the express version which makes this impossible?. Jeff ...more >>

Create a helper control to modify existing forms controls.
Posted by CodeLeon at 7/4/2006 6:15:03 PM
I am designing an enhanced GUI suite, and i need to know how to: * Make a user control a "helper" control, ie, one that sits at the bottom (like timer or process) * Make this control modify the behavior of the painted controls already on the form. (ie, make my control handle the painting o...more >>

Adding midi to AVI file
Posted by ahjiang NO[at]SPAM gmail.com at 7/4/2006 6:08:46 PM
Hi all, I would like to know if there is any library in C# that is able to add midi music into an avi video. Appreciate any help ...more >>

Converting text and detecting encoding
Posted by Flix at 7/4/2006 5:53:58 PM
Hello. What I want to do is simple: correctly reading a text file whose encoding is not known (it can be Ascii,UTF7,UTF8 or Unicode). I'm thinking of something like that: 1) Read the text as Ascii: string text=""; System.Text.Encoding encoding=System.Text.Encoding.ASCII; using (Strea...more >>

Detect Wireless Access Point
Posted by Coffmans at 7/4/2006 5:27:25 PM
Hello, I am new to this community and I apologize if I am posting this message under the wrong group. I am interested in writing a C# application that can be used to detect unauthorized wireless access points in my company's network. The basics behind the application is to run a scan on a rang...more >>

Problem with namespace
Posted by Massimo Gentilini at 7/4/2006 5:19:10 PM
I have a problem with namespace: I've a class in a namespace namespace.Foo that's used in a web method when I reference the web method from a web service the namespace changes because of the wsdl compiler, so now my class, in the code using the web service reference.cs becomes web...more >>

How to compile in visual studio C#?
Posted by Chr at 7/4/2006 5:13:01 PM
Hi, How can I compile in visual studio c# with sql express DB setup? Thanks Char...more >>



Beginexecutereader, endexecutereder, executereader
Posted by Robert Bravery at 7/4/2006 4:23:40 PM
HI all, Whats the differe between useing Executereader() and Beginexecutereader()...endexecutereader() for asyncronys running of a SP Thanks Robert ...more >>

Sliding panels
Posted by Lennart at 7/4/2006 3:24:15 PM
I want to add sliding panels, like the ones VS uses for Propery, Toolbox and son on, to my Windows Forms. Can anyone help me? /Lennart ...more >>

Designing an add-on based application
Posted by fullxml NO[at]SPAM gmail.com at 7/4/2006 3:16:14 PM
Hello NG, I have a feeling that this question might not be right for this NG but I got pointers in the past regarding where to look to find the solution so again I have hope someone will point me in right direction. I am trying to create an application (for my own learning experience) that ...more >>

DataGridView unbound cells loose content
Posted by Rainer Queck at 7/4/2006 2:05:33 PM
Hi NG, Why is it, that in my DataGridView all columns which are not bound to a "DataProperty" loos thier content in a couple of occasions? This happens if: - Underlaying DataSet.AcceptChanges() - DataGridView bound columns -> Click on header for sorting ...more >>

Retrieving values from Data Reader by column name
Posted by Dylan Parry at 7/4/2006 12:29:51 PM
Hi, At the moment I use code like the following: string myString = this.dataReader.IsDBNull(2) ? null : this.dataReader.GetString(2); With a record from the DB that looks like: ..---------------------------. | id | name | email | phone | '-----------------------...more >>

IWindowsFormsEditorService question
Posted by http://www.bit-kit.com at 7/4/2006 11:54:35 AM
I have created an image selection dropdown editor for use in a PropertyGrid. My selector form is called dropdown by a IWindowsFormsEditorService and so far it's all sweet. On my selector form I have placed a lot of pictures the user can select from. I have also placed a button with "From File....more >>

pdf generations using .net c#
Posted by DBC User at 7/4/2006 11:04:27 AM
I would like to write a simple code which should pool an exisiting scanner and if there are any documents I would like to scan it and put it i a PDF. Is it possible to do with .Net c#? Could some point me to some documents? Is there a opensource tool available to do this? Thanks. ...more >>

Regex expression to get href value in c#
Posted by Indian Offshore Company at 7/4/2006 10:38:30 AM
Hi, I want to parse html with multiple <a href> .. text...</a> tags as follow: "... some html... <a class="1" href="city1.html" onclick="etc."> click for info on city1 </a> .. some html.. <a class="1" href="city2.html" onclick="etc."> click for info on city2 </a> .. etc etc......" I want...more >>

Elusive randomly occuring exceptions
Posted by Jeff Shepler at 7/4/2006 10:10:57 AM
This is probably not the right newsgroup for this, but this is the only one I read and there are a lot of smart people that "live" here. Please don't berate me if you think this should have been posted in another newsgroup. The web application I'm currently working on will (seemingly) randomly...more >>

MouseMove fires continuously in VS2005
Posted by Dave at 7/4/2006 8:22:02 AM
I have a listview control in a form, and I use the mousemove event (to set a tooltip). This worked fine in VS2003, but when I ported it to VS2005 I found that when the mouse hovers over a populated row in the listview the mousemove event fires continuously - but not when it hovers over an empt...more >>

Outlook and CreateProcess issues, Cause Big Headache
Posted by stefan.sedich NO[at]SPAM gmail.com at 7/4/2006 4:11:52 AM
Hi im trying to open a saved email in outlook, im using createprocess, to open outlook and pass the saved email as an argument, my problem is, im trying to wait until the process ends so my program knows outlook has closed, trouble is if outlook is fully closed down it will work, but if outlook ...more >>

RPC Server is unavailable by computers under xp
Posted by Stropher at 7/4/2006 2:46:57 AM
I have the following code and if I enter the name of a computer running under windows xp I get an exception that rpc server is not available although the services are running void userGroups(string computerName) string compName = computerName; if (!compName.StartsWith(@"\\")) { ...more >>

Windows Service
Posted by Rui at 7/4/2006 2:29:03 AM
How do I pass parameters to a service using WMI when starting? ---------------------------------------------- string ServiceAction = "StartService"; ManagementOperationObserver observer = new ManagementOperationObserver(); BlackBoxManager.ServiceHandler oServiceHandler = new ServiceHandl...more >>

Reading excel data cell by cell
Posted by Shilpa at 7/4/2006 2:19:40 AM
Hi, I want to read excel data cell by cell using C#. I do not want to use a connection and say "select * from Sheet1" I do not want to use the COM Excel 11 library. I do not want to create an Excel .Net project. Please let me know if there is a way along with sample code. Thanks, Shilpa ...more >>

Operator Performance
Posted by Stephan Rose at 7/4/2006 1:17:40 AM
Still been beating on my Multi Unit Scalar structure and...it's coming along well. Since it is a core component of my app that virtually everything builds on, even the smalles amount of performance gain is worth it. But I think I have hit a wall. One million operations now average around 98...more >>

Alternative to try / catch?
Posted by Tantr Mantr at 7/4/2006 1:01:01 AM
I want to convert a string to a DateTime type. The user can enter the date in various formats and I am not sure if it will be a valid Date. Is it possible to check if a string can be converted to a DateTime type without using a try / catch block. I was thinking of maybe something like is or as...more >>

SQLDataAdapter from 2 tables
Posted by Alan T at 7/4/2006 12:00:00 AM
I want to get records by joining 2 tables: SqlDataAdapter da = new SqlDataAdapter ("select p.ID, p.Name, c.Name from Product p left join Category c on p.catID = c.ID"); DataSet ds = new DataSet(); da.Fill(ds, ....); How do I fill the dataset ? Or is there a better way to do that? ...more >>

How to stop a BackgroundWorker thread that calls a C++ dll
Posted by Torben Laursen at 7/4/2006 12:00:00 AM
Hi My interface calls a C++ dll that runs a slow calculations. So I call the dll inside a BackgroundWorker thread, and that all works fine. But how can I stop the thread if the user wants to? I can not tell the dll to stop so CancelAsync() will not work? I need a way to simply kill the "...more >>

sending mails
Posted by Zeeway at 7/4/2006 12:00:00 AM
hi,every one! I have a question about sending emails.My codes works well over some smtp servers,but doesn't over the others. My codes is listed belowed: try { MailMessage mailObj = new MailMessage(); mailObj.To.Add(receipientAddr); mailObj.From = new MailAddress(sender...more >>

XML Serialization
Posted by Sjaakie at 7/4/2006 12:00:00 AM
Hi, I've read some articles on serialization, but I don't see how to serialize the xml-structure below (if it is possible at all). Could you point me in the right direction? TIA <?xml version="1.0" encoding="utf-8" ?> <Settings> <ApplicationTitle>...</ApplicationTitle> <DebugEmail>.....more >>

Udp receive problem
Posted by Daniel Lindberg at 7/4/2006 12:00:00 AM
Hi, im a beginner in C# and i just cant seem to get my udp broadcasting to work. What happens is that it just locks down on the Receive call and never gets any data. I have the code for the server who answers the broadcast, so i know that it sends a reply, but i cant figure out why my C# client ...more >>

ado.net help
Posted by Michael at 7/4/2006 12:00:00 AM
it is very strange£¬ when i pressSaveUpdate£¬if only change txtState£¬it's not problem£¬ but if i change txtContactName,it will be show error£¬ rj.mdb £º id auto date string content string £¿ thanks! using System; using System.Drawing; using System.Collections; using System.Com...more >>

HTML to XLS
Posted by Mystique at 7/4/2006 12:00:00 AM
I have a project in which i generate and display HTML files in AxWebBrowser How can I convert the HMTL to an Excel file (XLS) ? Regards, Mystique ...more >>

SQL Server Timeout running long SP
Posted by Robert Bravery at 7/4/2006 12:00:00 AM
Hi all, I want to execute a rather long SP from within my app. (Its an import routine). Problem is that the SP can take quite a while to complete, +-6.5 minutes. I get a server timeout error. How can I work around this. Or is there a way of executing the SP and then Notifying my app on compl...more >>


DevelopmentNow Blog