473,890 Members | 1,471 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

3
174
thread by: Ronald S. Cook | last post Jun 27 '08 by: =?ISO-8859-2?Q?Korszu=F1_Rafa=B3?=
Stupid q for the day, but if the user enters 2 in a textbox, I want to display as 2.00. If they enter 2.129 I want it as 2.13. I'm guessing will code in the validated method of the textbox, but not sure how to convert the number. Thanks for the help.
4
209
thread by: Veerle | last post Jun 27 '08 by: Kerem Gümrükcü
I want to write my own mp3 tagging software. Therefore I need to be able to connect to FreeDb to retrieve song information. I also need to be able to write to the ID3 tags of an mp3 file (v1 & v2) for the most common tags: song title, artist name, album title, album artist, track number, genre, comment and album artwork (cover). If I can find...
0
185
thread by: Vivien Parlat | last post Jun 27 '08 by: Vivien Parlat
Hello, I'm trying to create the equivalent of a textbox which could format different kind of "values" using a string. Currently i can do this: (myObject is an ItemsControl) <myObject> <myObject.Items> The value of abc is: <SomeHandler DataContext="{Binding abc}">
10
172
thread by: Jonathan | last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hi all, I have a file consisting fixed width records from which I need to extract only those lines meeting certain conditions. These conditions do change and I find myself recoding/compiling for each set of conditions then running again. e.g.
7
2,172
thread by: jehugaleahsa | last post Jun 27 '08 by: Arto Viitanen
Hello: I have been looking for a tool similar to Lex and Yacc for C#. I would like to be able to generate grammars so I can write a simple interpreter for another piece of code. However, I have to make many future grammars and was hoping to find a tool that would allow me to generate as many as I would like. I was hoping someone had made...
2
141
thread by: csharpula csharp | last post Jun 27 '08 by: Grant Frisken
Hello, I am trying to bind tree view. I got an object which is representing the tree nodes (hierarchical). How can I implement this? Thanks! *** Sent via Developersdex http://www.developersdex.com ***
1
231
thread by: shimonbh | last post Jun 27 '08 by: Nicholas Paldino [.NET/C# MVP]
I have encountered a problem in remoting when using IPCChannel, where i received an exception for an unexplained reason: "All pipes are busy" I checked whether it is the anti virus, causing this and this did not seem to be the problem. Breaking the server side in debug does not result in this error also on the client side. Any...
3
127
thread by: tshad | last post Jun 27 '08 by: tshad
Using VS 2005: Here is a piece of code that is saying that a variable doesn't exist which obviously does: public string UpdateTables(TableFieldList tableFields, UnmappedNamesCollection unmappedNames, DataView dv) { bool newSection = false; bool parameterExists = false; <---- Here is defined
15
125
thread by: tshad | last post Jun 27 '08 by: tshad
Do I still need to close an object in a finally statement after a catch if it is part of a using statement? For example: FileStream fs = null; try { using (FileInfo fInfo = new FileInfo(fromImagePath + "\\" + (string)dr))
0
144
thread by: jehugaleahsa | last post Jun 27 '08 by: jehugaleahsa
Hello: We are implementing a work flow system. We would like there to be one site hosting all the different work flows. Each state in the work flow is to be associated with a web user control (or something equivalent) that can be loaded dynamically and displayed. The control will provide events to allow the host web site to observe user...
3
289
thread by: gigs | last post Jun 27 '08 by: Martin Honnen
i have XpathNodeIterator iterator. and i have some "od" attributes when i took that nodes with that attribute i dont get anything when i call iterator.Current.GetAttribute("od", "") people please help, i cant do it anymore. this xml parser will kill me thanks!
0
161
thread by: Chink | last post Jun 27 '08 by: Chink
I am looking for the FTP address of the Microsoft web sites that they provide in the office live web site. Any help? I don't want to use their templates.
5
1,743
thread by: Jordi Maicas | last post Jun 27 '08 by: Jordi Maicas
Hello!! I've just started a new windows form in C#, but when I finished my Form1, I remembered that I would like to add a new form to login to the App. So, I need to load first a Form2, and if I login succesfully, show Form1. ¿How could I change the App, to load Form2, and not Form1? Thanks.
2
258
thread by: JP | last post Jun 27 '08 by: JP
In the table Employees of NorthWind database there is a column Photo (data type: image). I want to convert the first row image into a jpg file, but I can't open the file because is not a valid image. What I am doing wrong? this is my code... using System; using System.Data.SqlClient; using System.IO;
1
153
thread by: Peter Huish | last post Jun 27 '08 by: daveL
My application runs on a system that has 2 monitors. Currently if I display a dialog box it will display on the monitor that currently has focus. Is there a mechanism to have the dialog display on the monitor that the main form of the application displayed on? thanks pete
0
169
thread by: Jordi Maicas | last post Jun 27 '08 by: Jordi Maicas
Hi!! I'm doing a form to make a login, so, user and pass.... and so on. The problem is that first of all, I check how many records are in the table, and later I would like to make a do/while. With count it shows always '0' records, and there's 1 record. I've got a dataset called usuarios, and with:
0
196
thread by: mehafi | last post Jun 27 '08 by: mehafi
Hi, When i click on ScrollBar, to change it value, the delegate function ScrollBar_Scroll is called 2 times? When I click on TrackBar the TrackBar_Scroll is called 1 time. What is the difference between this controls? thanks in advance mehafi
2
194
thread by: gigs | last post Jun 27 '08 by: gigs
how can i set position to the beginning for another loop_
6
159
thread by: tshad | last post Jun 27 '08 by: Jon Skeet [C# MVP]
Can't use FileInfo in using statement? I have the following statement: using (FileInfo fInfo = new FileInfo(fromImagePath + "\\" + (string)dr)) and I get the following error: 'System.IO.FileInfo': type used in a using statement must be
0
129
thread by: rickbear | last post Jun 27 '08 by: rickbear
Hi group... I am having big difficulties with dataset and xsd schemas. First I dedicate a specific schema to a dataset. Then I use an adapter to fill each table in the dataset. But the problem is, when I use the write or getxml on the dataset, the result is NOT like the schema I provided the dataset which I think should not be possible. I...
2
7,797
thread by: tshad | last post Jun 27 '08 by: Jon Skeet [C# MVP]
I tried to put multiple objects in one using statements like so: using (fs = new FileStream(fromImagePath + "\\" + (string)dr, FileMode.Open, System.IO.FileAccess.Read) , BinaryReader br = new BinaryReader(fs)) But I get an error: ") expected"
9
2,329
thread by: john coltrane | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Is there way to create a formatted string in a similar that is similar to sprintf? The same for printing, printf? C,D,E,F,G,N,X for currency, decimal, exponential, fixed, general, numerical, and hex but these do not seem to allow for specifying the number of decimals, left/right placement, or string formatting. Thanks
2
1,900
thread by: Jon Harrop | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Does .NET provide an equivalent of memory mapped files from Linux? -- Dr Jon D Harrop, Flying Frog Consultancy http://www.ffconsultancy.com/products/?u
4
1,371
thread by: Mike Peretz | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
I am wondering if anyone out there is trying to use friend with C#, simular to the way C++ handles it. I wrote a blog about it and I wonder if someone can give me some feedback. http://mikeperetz.blogspot.com/2008/05/using-friends-with-c-or-should-i-say.html
1
162
thread by: gz | last post Jun 27 '08 by: Rain
Hi folks, I tried to find a sample application for how to create a Crystal Report Form Letter using C# .Net 2005 on Google and EE without luck. There are tons of samples for creating reports out there, but not single one for a letter. I even downloaded all the sample applications from the Business Object web site. There is no sample for...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.