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# > september 2007 > threads for friday september 7

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

Keyboard shortcuts
Posted by Rotsey at 9/7/2007 11:32:43 PM
Hi, I have windows app that I have a windows keyboard shortcut for. I am finding that the shortcut is not all that responsive. ie it takes sometimes more than a 5 seconds for form to appear or longer. Is this something I can improve or is it the windows messaging system that is causing...more >>


Click event with webbrowser control
Posted by Rotsey at 9/7/2007 11:03:06 PM
Hi, I have a form with a webbrowser control set to fill the form. I want to capture when the form is clicked. As the browser control is filling the form the user would click on the browser conttrol, but it does not have a click event. How can I trap the click event for a form like this?...more >>

Ajax in GridView
Posted by Raymond Du at 9/7/2007 10:55:34 PM
Hi, I am looking for a way to use Ajax inside gridview. I am not talking about putting a gridview inside an updatepanel and refresh the gridview, I want to use Ajax on per row basis, when user clicks on a dropdownlist on row number x, only row x will be refreshed. Can somebody give me some...more >>

AppDomain memory usage
Posted by william.w.oneill NO[at]SPAM gmail.com at 9/7/2007 8:50:51 PM
How do you determine the memory usage of an AppDomain? I am looking for something like System.Diagnostics.Process.PrivateMemorySize64 but using an AppDomain rather than a process. Thank you, Bill ...more >>

Writing MemoryStream binary to a file
Posted by Twistfactory NO[at]SPAM gmail.com at 9/7/2007 8:08:17 PM
Hi all, I'm trying to implement a voice recording function. Basically it's supposed to record the WAV and write it out to the file, at which point LAME will kick in and convert it to MP3. The only problem is that I'm having issues writing it out. I'm using this code as a base: http://www.eg...more >>

path error code, why?
Posted by vinnie at 9/7/2007 3:02:50 PM
I get this error: " Error 1 'calcolo_percentuale.Program.CalcolaPercentuale(double, double, out double, out double)': not all code paths return a value C: \Documents and Settings\Robert\Desktop\prova VS8\calcolo percentuale \calcolo percentuale\Program.cs" Why? I don't understand where is t...more >>

Pattern Matcher Again
Posted by konrad Krupa at 9/7/2007 2:56:56 PM
This message is a continuation of my previous post "Pattern Match" Doug - Thank you for your help. Doug Semler was able to solve my problem to some point but I still need some help. Doug's pattern is going to make sure that I don't get match of ddd dd embeded in number. For example ...more >>

shortcut
Posted by vinnie at 9/7/2007 2:32:27 PM
is there any shortcut available that i can use, without typing all the time Console.Writeline() all the time in C#? Thanks ...more >>



Display of Panels in Maximized Window
Posted by sippyuconn at 9/7/2007 2:02:01 PM
Hi I have multiple panels in a form. Some doched to the side and 1 panel doched to fill. If the form is Maximized on first display you can see the panel docked to fill resizing which is annoying to see Anyone have any suggestion on avoiding the resizing or hidding it from user??? Thanks...more >>

Center Button in PaneL
Posted by sippyuconn at 9/7/2007 2:00:04 PM
I have a usercontrol that has a panel as a band across the width of the user control When the usercontrol is diaplayed the button is not centered. If I anchor the button to the panel Left/Top/Right the button get's streched which I want to try to avoid. Anyone have ideas on how to center ...more >>

Open with, file reading
Posted by walter hausser at 9/7/2007 1:55:17 PM
Hi everyone! I have the following problem: My program saves data as .xml files. I want the following: When a user right-clicks on a .xml file (in Windows XP), and he chooses "Open with..." and then he chooses my program, the program should load itself and should open exactly this x.xml fi...more >>

Adding columns to a database table programmatically...
Posted by cdbiggs at 9/7/2007 12:22:02 PM
Hi, I've been tasked to write a windows app that allows people to enter transactions. For each transaction, there can be an unknown number of items, and as a person enters an item, the program asks if there are more items. If yes, a new set of input boxes are created dynamically. What I ...more >>

Member field could be one of two types...
Posted by RSH at 9/7/2007 11:34:11 AM
Hi, I have a situation where I have a class which manages different data connections. In trying to enforce encapsulation I have a member field called connection which could be a type of SQLConnection, or OleDBConnection etc. When I am setting up the field how can I say it might be type of ...more >>

Customizing Relations in a Typed DataSet
Posted by randy1200 at 9/7/2007 11:18:01 AM
I'm working in Visual Studio 2005. I'm looking at two tables in the Data Set Designer. There's a relation between the two tables that lists 7 matching columns. Works great. One of the key columns from each table is called "Team". Valid values are F1 through F7, and when they match, the res...more >>

Pattern Match
Posted by konrad Krupa at 9/7/2007 11:16:52 AM
I'm not expert in Pattern Matching and it would take me a while to come up with the syntax for what I'm trying to do. I hope there are some experts that can help me. I'm trying to match /d/d/d/s/d/d in any text. There could be spaces in front or after the pattern (the nnn nn could be with...more >>

Web Service and SSL
Posted by Looch at 9/7/2007 11:15:56 AM
Hi All, If I've configured a site on my web server (running IIS 5.0) to require SSL, when I add a web service in Visual Studio 2005 (C# Express) and use https://...in the URL when adding the service, will the windows app I'm building automatically use SSL when calling the web service or is th...more >>

Why aren't these objects being kept alive
Posted by MikeP at 9/7/2007 11:08:41 AM
Hi there, This is actually (probably) a C# or .NET issue. I'm working on an VS 2005 AddIn and at one point I'm caching all "EnvDTE80.ErrorItem" objects that result from compiling one or more projects in an arbitrary solution (which my own code carries out). These objects simply store each w...more >>

missig data
Posted by Phil Barber at 9/7/2007 11:06:00 AM
I have a Label control that I load some text into it on the page load event. when I navigate to a different page and then hit the "back" browser button the label is gone from the screen. I am assuming that the label control is still there but the text in the label has been some how cleared so ...more >>

I need a tool to find IDisposables missing Dispose/using
Posted by not_a_commie at 9/7/2007 8:07:34 AM
Are there any tools available to track down IDisposable objects that don't have a call to Dispose? I'm thinking this can be done with static code analysis. If the object is created inside a method, it should be created with a using statement. If it's a member of a class, that class should have a...more >>

Partial class problem
Posted by Phil Barber at 9/7/2007 7:45:00 AM
I have two web pages in a VS 2005 project. the first page has a struct defined and used in the partial class: public partial class InterIndex : System.Web.UI.Page { public struct TXMLData { public int DataID; public string FileName; public string FilePath; ...more >>

BackgroundWorker Does Not Fire RunWorkerCompleted
Posted by VAADADMIN at 9/7/2007 6:34:45 AM
I have a small app that I am working with to create LDIF files from text files. I have a pictureBox that has an animated GIF that will appear on the form when the LDIF are being created. The pictureBox appears and the GIF is there, but it does not stop when called. So when I debug, the RunW...more >>

question about the using statement: datareaders, and connections
Posted by WebBuilder451 at 9/7/2007 6:32:01 AM
consider these two using statements: using (SqlConnection sqlcon1 = new SqlConnection(constr)) { ...} and if (this.rbl_LTorST.SelectedValue == "0") rdr = rfcs.fn_SpecData(); else rdr = rfcs.fn_SpecData2(); using (rdr) {...} When...more >>

BackgroundWorker Does Not Fire RunWorkerCompleted
Posted by VAADADMIN at 9/7/2007 6:25:08 AM
I have a small app that I am working with to create LDIF files from text files. I have a pictureBox that has an animated GIF that will appear on the form when the LDIF are being created. The pictureBox appears and the GIF is there, but it does not stop when called. So when I debug, the RunWor...more >>

Pressing button
Posted by ReneMarxis at 9/7/2007 5:01:15 AM
Hello i need some hints on how to implement a small app that does click an "Ok" button on a form that comes up from one other app once every 10 minutes. Something like "Push the freaking button". Any ideas where to get some information for this? _thanks rene ...more >>

Interesting results in speed comparison with C++
Posted by Daniel Earwicker at 9/7/2007 4:30:26 AM
I wrote two trivial test programs that do a billion iterations of a virtual method call, first in C# (Visual Studio 2005): Thing t = new DerivedThing(); for (System.Int64 n = 0; n < 10000000000; n++) t.method(); Then in C++ (using Visual C++ 2005): Thing *t = new Deri...more >>

How do I get the dimensions of a graphic file?
Posted by CSharpie at 9/7/2007 2:30:03 AM
I have two jpegs -- one portrait, one landscape. I need the ability to tell the length and height of the graphic for further processing. How can I do this using CSharp? thank you...more >>

Identifying function name
Posted by AA2e72E at 9/7/2007 12:20:00 AM
Is there some generic property that will give me the name of a function within its catch block?...more >>

Playing FLV file?
Posted by Johnny J. at 9/7/2007 12:00:00 AM
Can anybody get me started on how to play an FLV file? Like you play e.g. mpeg files using the wmplayer control, I want a box on my form where the FLV is played and the playback is controlled byt the user. Cheers, Johnny J. ...more >>

Style or design question
Posted by Enkidu at 9/7/2007 12:00:00 AM
If you have a *small* console application that perhaps opens and reads a file, is it better to handle exceptions or test the returns from the opens, etc up front? Or is it six of one and half a dozen of the other? Cheers, Cliff -- Have you ever noticed that if something is adverti...more >>


DevelopmentNow Blog