141 Topics

Member Avatar for
Member Avatar for PomonaGrange

Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone …

Member Avatar for fxm
0
3K
Member Avatar for ayesha789

hi this is a code for [B]export to excel[/B]. I want to color the headers light blue and all result of query like one white then one grey and repeat. [CODE=php]session_start(); $a= $_GET["id"]; function cleanData(&$str) { $str = preg_replace("/\t/", "\\t", $str); $str = preg_replace("/\r?\n/", "\\n", $str); } # file name …

Member Avatar for pritaeas
0
3K
Member Avatar for iamthwee

I don't know if this is helpful for moderators but I've put together a code formatter in dotnet which automatically beautifies someone's code. Numerous times you will see newbies posting without code tags. Now the moderators can easily quote the post so the indentation is preserved, but sometimes the posters …

Member Avatar for iamthwee
3
226
Member Avatar for leverin4

I am working on updating a database where some measurements are stored as text. The updates I'm making are to let the engineers that use it convert their measurements into different units. Long story short, the numbers must be kept as text for a couple reasons that I won't go …

Member Avatar for jhai_salvador
0
185
Member Avatar for TrustyTony

Here is my newest baby, the pretty.py module, born today, which I start to use instead of pprint module. Reason to make this (in addition to that it is possible to do) is that I had this problem, sorry long, LONG example: UPDATE: take out the [CODE]or j[/CODE] that was …

Member Avatar for TrustyTony
0
1K
Member Avatar for chandruswami

Hi, In C#, i got sql Exception which consists of 2 lines. I need only the 2nd line of that Exception only. Ex: The transaction ended in the trigger. Table Validation failed - Name: x; Condition: m!=0 i need "Table Validation failed - Name: x; Condition: m!=0" only. I have …

Member Avatar for chandruswami
0
139
Member Avatar for theweirdone

Hi, I'm trying to take a date, add a day to it, and then convert it to a string. The date's format starts out like: '10/1/2009', and should end like: '2009-10-1'. I can do that part, but then I can't convert it to a date format and add a day. …

Member Avatar for TrustyTony
0
253
Member Avatar for irmak1771

Hi, I am extracting data from datagridview to Excel. But for columns with so many numbers Excel turns the format to 6,45646E+11 Is there a way that I can prevent this. I tried to use worksheets but I could not even save the data by using that. Here is my …

Member Avatar for DdoubleD
0
164
Member Avatar for Cap'nKirk

Hi, I am trying to build a simple calculator to get x^y, I have found that the '^' symbol is not used in C# and I have to use 'Math.Pow' instead. I have a form with 2 text boxes for input, an rtf box for output and a button for …

Member Avatar for Cap'nKirk
0
374
Member Avatar for EddieC

Users of GoogleDocs will soon have reason to celebrate. Google this week announced in a [url=http://googledocs.blogspot.com/2010/01/upload-and-store-your-files-in-cloud.html]blog post[/url] that its free online document collaboration platform will soon store files of all file types, rather than just those it can edit (plus PDFs). To understand the significance of this news, you'll first …

Member Avatar for EddieC
0
299
Member Avatar for ghprogrammingco

I should write a program to combine the huge number of images side-by-side. The source images are jpeg and png formats images. I think no any direct way to combine png or jpeg images to gather, unless first convert them to bmp, or any raw format, and perform combination and …

0
130
Member Avatar for Mapper99

I have a simple web page. Looks great in Firefox and Chrome. I can't figure out what is happening when viewing this page in IE! Anyone have this problem? Here is the page for review: [url]http://www.laudontech.com/office-floor-plans/[/url] Thanks in advance, M

Member Avatar for laura_ci
0
117
Member Avatar for spidey

HELP PLEASE!! I got 2 partitions C and D. C: is my main drive. Both have OS installed. A week ago, C: is not starting up. Since then, I'm using D:. When I was trying to retrieve a file stored in C:, a message appeared saying C is not formatted …

Member Avatar for sparkax
0
221
Member Avatar for sravan953

Hey All, I have made a program called "Pymailer", I have even made a GUI version... now what I want to do is to convert it to .exe format... how do I do it? I googled for some info, but in vain!

Member Avatar for sravan953
0
1K
Member Avatar for Jimmalmquist

i need help with a maskedtextbox in a C# applikation. I want want it to display the date in the following format "00.00.0000" but it refuses to show the "." instead it shows "00,00,0000". I have tried several different solution but none of them works. The mask is correct but …

Member Avatar for ddanbe
0
174
Member Avatar for AbsoluteCPP

[URL="http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680"]Code View[/URL] In the linked page u can see that source code is properly formated, how to do that?? I am making my web, i want to know that how can i show the c++ source code on my web with proper format. Q: How to show a formated source …

Member Avatar for codejoust
0
132
Member Avatar for arelius

Hello all, I am taking a course in C++ and in Ada. Our professor has given us the choice to be tested in language profficiency in either C++ or Ada. The test format will be of simpler programming problems and more geared towards shortanswer concepts. I was wondering if anyone …

Member Avatar for dgr231
0
234
Member Avatar for tig2810

Hi all I want to create a method that converts from one time or date format (as a string) to another by specifying the inputformat and the outputformat. I can do the output as below but I'm struggling on how to specify what the input format is. Can anyone help? …

Member Avatar for tig2810
0
177
Member Avatar for John A

The DVD format war continues, with neither side determined to give up. So who seems to be winning now? Well, this article [URL="http://www.pcmag.com/article2/0,1895,2104850,00.asp"]seems to claim that Blu-ray is winning[/URL], and will soon displace HD-DVD, as were a number of other articles I read in the last few days on the …

Member Avatar for jackson191
0
269
Member Avatar for John A

In response to [URL="http://www.foxnews.com/story/0,2933,241557,00.html"]this article[/URL], claiming that the DVD format war may soon be over, I highly doubt it. In the article: [quote]The high-definition DVD format war, which has slowed consumer acceptance of the new players, may soon be over.[/quote] They go on further to state that hybrid players coming …

Member Avatar for trueorfalse9
0
418
Member Avatar for Catweazle

Nikon seems poised to be the first company to bring 'cordless' digital still cameras to consumers, it seems. The Coolpix P1 and Coolpix P2 cameras will use 802.11 Wi-Fi technology to transfer images to your PC or printer. The cameras are due to arrive in retail later in September. The …

0
184

The End.