141 Topics

Member Avatar for
Member Avatar for RawrInYoMouth

I just needed some assistance on formatting the output into a specific fashion. I satisfied all the requirements of the assignment, except the output. I apologize for the bad format of this post, any suggestions and help is greatly appreciated. I need the output to look like: Mr. Random - …

Member Avatar for Pobunjenik
0
442
Member Avatar for Tinnin

Hi All, I've tried the following to format my date in 'dd/mm/yyyy' instead of 'dd/mm/yyy hh:mm:ss' when importing data from csv to DataSet. CONVERT(VARCHAR(10), [dateColumnName], 103) AS [DD/MM/YYYY] and CONVERT(DATETIME, [dateColumnName], 101) AS [DD/MM/YYYY] Both give me the error: Undefined function 'CONVERT' in expression What would be the correct method …

Member Avatar for Tinnin
0
540
Member Avatar for ImZick

Hi i'm having a trouble with this i got 3 textbox and i format it to Textbox1.Text = Format(Textbox1.Text, "Standard") Textbox2.Text = Format(Textbox2.Text, "Standard") Textbox3.Text = Format(Textbox3.Text, "Standard") which give something like this 1,230.00 2,500.00 1,245.00 and when i add it `Textbox4.text = Val(Textbox1.Text) + Val(Textbox2.Text) + Val(Textbox3.Text)` the result …

Member Avatar for ImZick
0
234
Member Avatar for glynntowler

please help im a vista 64 bit user and my spare internal hard drive wont format.it keeps telling me that the drive is in use but i know it is not virtual ram as i have put this to zero.i can quick format but this does not sort it out.please …

Member Avatar for Reverend Jim
0
186
Member Avatar for keitaurin

Let's say I have a user input a string. string = input("enter a string") and that string ends up being something like "hello world!" but with a lot more whitespace. string = "hello world!" I want to condense this user's input so that instead of all that whitespace I only …

Member Avatar for Lardmeister
0
182
Member Avatar for TrustyTony

Here is my celebration post for entering level 3 in Project Euler. Again I left in my debug prints. I am in process of adapting myself to new .format style of formatting. I have commented out the prints though to get visible the running time of the functions own action. …

Member Avatar for TrustyTony
0
684
Member Avatar for A Haunted Army

hey, just looking for a bit of advice on code readability, i've figured out a new and i hope better way to handle collisions but the when reviewing the code it all just blurrs together for me so is there some format teckneuqies i can use so its easier for …

Member Avatar for A Haunted Army
3
252
Member Avatar for code739

hi, i have a table in database that contains birthday column varchar()- i choose varchar because ecoder could input birthday like 1. 1993-14-03 2. 1993-03-14 3. March 14 4. March 14,1993 5.etc.... Now my problem i want to detect what month is their birthday could some help me?

Member Avatar for code739
0
196
Member Avatar for Lethugs

Hi, I let say I use this code to retrieve date from database SELECT Table.Date FROM Table The format is 01/09/2013 (dd/mm/yyyy) How will i format this to get 09-Jan-2013 output then print this format to crystal report? I'm using dataset to connect data to crytal report I just noticed …

Member Avatar for Lethugs
0
430
Member Avatar for neondroid

new to I.T. need help about the problem analysis ,algorithm design, formatting the output package gasolinestation; import javax.swing.JOptionPane; public class GasolineStation { public static void main(String[] args) { float total, money; String yesno; JOptionPane.showMessageDialog(null, "Welcome to Gasoline Station!"); do { String select = JOptionPane.showInputDialog(null, "1 = Diesel .................... $ 39.00\n" …

Member Avatar for stultuske
0
268
Member Avatar for hotelsinger

Hi Folks, I'm brand spankin' new to developing but was assigned a web app to develop in ASP.NET 4 with C#. I am using JavaScript for validation. The problem I'm having is that the date validation alert box that pops up displays a lot of unneccesary time and timezone information, …

Member Avatar for hotelsinger
0
702
Member Avatar for ms061210

Hi. I want to create my date format but i dont know how. I want the user to input the date in format DD-MON-YY or else it will give him an error. How can I do that? any algorithm? ANy help would be appreciated. Thanks!

Member Avatar for Watael
0
88
Member Avatar for deleted1234

[COLOR="Green"][CODE]Private Sub Text1_Change() Text1 = Format(Text1, "#,###") Text1.SelStart = Len(Text1.Text) End Sub[/CODE] This code formats the textbox value to include a comma for every 3 digits to the left. Problem is, it doesn't allow to type decimals like 3,000,000.50 What can I do?[/COLOR]

Member Avatar for AndreRet
0
6K
Member Avatar for themaj

I am trying to insert new records into an Access DB and getting some weird stuff. I get the data from a DBF table and load that into a dataset table and DataGridView with no problems. Then I loop through the ds.table and insert it into the DB with this …

Member Avatar for Reverend Jim
0
201
Member Avatar for ar123

Hi there! I am new to daniweb.com and C++ CLI. I am trying to make a program that will tell the user the text for the ListItem number they type in. The ListItem information is stored in a text file with my custom file formatting, which is: <~ListItem 1> text.... …

Member Avatar for ar123
0
281
Member Avatar for amitash

Hi, I want to store today value in a string in VBA Word, e.g. today is Oct 04 2012, the string will be = "04102012". Any simple code can achieve that? Thanks!

Member Avatar for AndreRet
0
287
Member Avatar for Ritesh_4

Hello, am working with the date function in a php file, however the text "at" is not being rendered properly: Initial code: "Online reservation form submitted on " . date ("d/m/y \at\ H:i") . "\n\n" . Rendered value: Online reservation form submitted on 29/09/12 a30 11:52 Where instead of "at" …

Member Avatar for Ritesh_4
0
155
Member Avatar for SWEngineer

I'm trying to retrieve back information (i.e; emails, contacts, ...etc) of Microsoft Outlook 2007 after the hard disk (C drive) has been formatted? How can I do that? Thanks.

Member Avatar for caperjack
0
165
Member Avatar for garyjohnson

I have found the program ffmpeg and have been looking into it, and I can see that you can use php to convert the videos that are being uploaded but I want to know where I need to start with this program to get it working.

Member Avatar for LastMitch
0
187
Member Avatar for oA9999

hi, i need an idea. i need to create a video tutorial on installing any windows Operating System. can i use any software like camtasia on screencasting the installation process? can i use vmware on installing the OS? if yes, what specific product of vmware should i use? Any suggestions/idea …

Member Avatar for JorgeM
0
201
Member Avatar for mrabrar09

Hi to everyone. I have created jsp report in that date column is there where am showing the date format like this (02-01-2012) <% String Rcheckdate=""; SimpleDateFormat df = new SimpleDateFormat("dd-MM-yyyy"); Rcheckdate=df.format(rs.getDate("tr_dt")); %> <td align='center'><%=Rcheckdate%></td> In report i have given the excel button from there am exporting the data to …

Member Avatar for mrabrar09
0
303
Member Avatar for magicmarkuk

Hi I have a script which displays a price but currently is not fixed to 2 decimal places so a price such as $2.50 shows as $2.5 which to me looks wrong. The line of code is `amount += parseFloat($(this).metadata().amount);` Looking around I see there is a function `toFixed()` but …

Member Avatar for Troy III
0
213
Member Avatar for amitash

Hi, I want to change the numeric value in a cell to a string with 1000 Separator(,), e.g. numeric 1000 will to string "1,000" and 123456789 will change to string "123,456,789". How to do that in VBA? Thanks

Member Avatar for QVeen72
0
412
Member Avatar for thirumal.balu.3

im using jqgrid datepicker but date will show in mm/dd/yy in this format i have to change the format in runtime how i can change dis format anyone can help me

Member Avatar for pritaeas
0
132
Member Avatar for hackit

I am learning C. After completing the common core part. I found this unique program which will allow the user to create his own format specifier which will use "%b" as format specifier to convert a integer directly into binary. I want to know more about this code. How it …

Member Avatar for lil_bit
0
381
Member Avatar for raviaaaa

HI All my requiurement is: I am getting list, list consists of follwing id assetid name assstatusid seriescode matchedstring 10 1 ab 3 34 match1 11 2 some 3 67 mat 12 3 name 3 678 matchstring 12 3 name 3 678 matchstringone 12 3 name 3 678 matchstri 12 …

0
142
Member Avatar for nmges

I just want to make an automatic format in the textbox, this is only to set 4 number with 2 decimal in the textbox, when the user enter any number in the textbox, it will be the number format - 4 number with 2 decimal automatically, thanks.

Member Avatar for poojavb
0
167
Member Avatar for hwoarang69

warning: int format, pointer arg (arg 2) i have no pointers this function :( main.. functions.... functions. int test(char num) { int total[SIZE]; printf("%d",total); fflush(stdout); //no pointers return 0; }

Member Avatar for deceptikon
0
231
Member Avatar for jjoensuu

Hi, a question about stand-alone Java applications that do not have a background DB. In our Uni class we were asked to build a very small application using JOptionPane methods such as "showInputDialog". The application asks for users name and birthdate and at the end displays a summary of these …

Member Avatar for JamesCherrill
0
438
Member Avatar for akgeek

I think I have a relatively simple problem, but forgive me, I'm new at this. I'm trying to take output from a dynamically created checkbox in php to a foreach statement to make a new string that I can use to request an update from mysql. In the foreach loop, …

Member Avatar for diafol
0
3K

The End.