141 Topics
|
|
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 … |
|
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 … |
|
|
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 … |
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 … |
|
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 … |
|
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 … |
|
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. … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 |
|
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 … |
|
|
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! |
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 … |
|
[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 … |
|
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 … |
|
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? … |
|
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 … |
|
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 … |
|
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 … |
The End.