141 Topics

Member Avatar for
Member Avatar for blue ocean sky

Hi all, first post here. I was wondering if anyone knows how to format H1 headlines (titles of blog posts) when they are long. The problem is, if the headline goes onto two lines, it appears all scrunched up and squished. I could jsut make them all h2 tags instead, …

Member Avatar for JorgeM
0
96
Member Avatar for shapam

Hi in my database data stored in the below format. r{iq7, z|th{op, xzqiiu. i want to know the which type of format is this one and how to get orginal data using these texts... Thanks in adv.. ..

Member Avatar for adam_k
0
80
Member Avatar for razamughal67

Hello everybody please tell me How to format a write protected usb . we format in windows 98 and windows xp and we use a ghost bootable CD and try to formate in boot time But it cannot formate. i know many virus in my usb but when i attach …

Member Avatar for razamughal67
0
250
Member Avatar for Begginnerdev

Hello my fellow daniwebbers, I have yet another question. I have a date, which is pulled from a database, that I need to convert to another form of that date. Example. Date1: 1/2/2001 Date2: 01/02/2001 What i am wanting to do is turn the current date format into two digit …

Member Avatar for Begginnerdev
0
158
Member Avatar for mtho

Hi Guys Im a newbie and a somewhat beginner in PHP Here is my problem I want to insert this date format - DATE_FORMAT(news.updated, '%%M %%e, %%Y') AS formatted FROM news into this already existing sql statement - $sql = "SELECT * FROM authors aut, news new WHERE aut.aurthor_id=new.arthor_id AND …

Member Avatar for rajeevphp2011
0
187
Member Avatar for razamughal67

Hello to all i want to format usb drive in vb6 we use a drive box 1 command botton 2 labels 1 check box and 1 loading bar we want to do when i select a drive in drive box example: D:\ Drive the label caption show drive memory size …

Member Avatar for Jx_Man
0
457
Member Avatar for emreozpalamutcu

Currently I have this code: [CODE]public static class SizeUnit { public static string FileSizeToString(long size) { double FileSize = size; string[] format = new string[] { "{0} bytes", "{0} KB", "{0} MB", "{0} GB", "{0} TB" }; int i = 0; while (i < format.Length && FileSize >= 1024) { …

Member Avatar for emreozpalamutcu
0
163
Member Avatar for dcalladi

Hi Guys, I'm looking the syntax for a input mask that will allow me to input 1.23, 12.34, 123.45 into the JFormattedTextField i found something like ###.## but that doesn't work but something like ###-## wud work. just wondering if anyone knows how to do this with a mask or …

Member Avatar for mKorbel
0
349
Member Avatar for darkelflemurian

Hello everyone, i have the following problem and I come here looking for some advice. I am using c#, but i have a dll that creates the excel file in Visual Basic. i have a datagridview and the information there is exported to excel file. No problem there. the problems …

Member Avatar for darkelflemurian
0
460
Member Avatar for yongj

I'm trying to validate the correct format for a phone number in a text box: (000) 000-0000 For a test, i made it so that a messagebox shows up saying "correct" if the format is correct. This test works well WHEN the format is correct. BUT when the format IS …

Member Avatar for nitin3
0
3K
Member Avatar for syekimubeen

hi want to know how read date from a file and take the data into a 2D array and again convert it in 1D array and covert the data format like 15-02-2012 or 15 02 2012 or 15s02s2012 into 15/02/2012 format and write it to other file

Member Avatar for JamesCherrill
0
221
Member Avatar for jbutardo

Hi, I just want to know how can vb.net validate the format of a certain string for example, i have a string with 2011/13/02, and I want to check if it's format is in yyyy-dd-MM format,. how can this be done? Thanks

Member Avatar for Reverend Jim
0
2K
Member Avatar for softDeveloper

Dear all, I'm passing a javascript String variable varname in a form inside a jsp to another page. [CODE] <form name="form1" action="nextpage.jsp" method="post "> <input type="hidden" name="varname" value="teste" /> <input type="button" value="button" onClick="document.form1.varname.value = function(window);"> <input type="submit" name="button" value="test1" /> </form> [/CODE] When I get the String in the next …

Member Avatar for softDeveloper
0
194
Member Avatar for natehome

can someone help me make my code more simple. i uploaded the source to my website in a zip file with all the images because i used pygame and if you want to test it you will need the images. you can download everything here [url]http://2nh.co/Tk[/url] or here is the …

Member Avatar for natehome
0
291
Member Avatar for aishapot

How can I simply format the contact number in vb.net The format that I want is (123)456-78-95 Thank You.

Member Avatar for M.Waqas Aslam
0
193
Member Avatar for imsinu

if i hav to input time of clock as formatted style(HH:MM:SEC) using cin how can i write its code???? a question from @robert lafore(sams publication) . hope to get a best answer soon :)

Member Avatar for imsinu
0
179
Member Avatar for bikashdas

Hello. I stored dateFrom & dateTo as String '11/11/2011' and '11/25/2011' [mm/dd/yyyy] format. now when i fired query as below [code] select (case when pp_send_date_to_district between '11/01/2012' and '11/25/2012' then 'Dec/2012' else 0 end ) as Months, sum(case when pp_send_date_to_district between '11/01/2012' and '11/25/2012' then 1 else 0 end ) …

Member Avatar for smantscheff
0
191
Member Avatar for FALL3N

[CODE]public class Example { private static void createAndShowGUI() { JFrame.setDefaultLookAndFeelDecorated(true); JFrame frame = new JFrame("Window"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JLabel emptyLabel = new JLabel(""); emptyLabel.setPreferredSize(new Dimension(175, 100)); frame.getContentPane().add(emptyLabel, BorderLayout.CENTER); frame.pack(); frame.setVisible(true); } public static void main(String[] args) { javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { createAndShowGUI(); } }); } }[/CODE] In The above …

Member Avatar for FALL3N
0
196
Member Avatar for vegaseat

Is it Mother Date and Father Time? Any way, getting all the different date and time displays working can be imperturbably perplexing at times. You take a look at it in this Windows Console Application.

Member Avatar for Tsawm
0
915
Member Avatar for fatalaccidents

Hey guys, This is a quick formatting question that I'm having trouble with. I'm trying to create columns of numbers, but I want the columns to only be as large as the largest number in that column. I was trying to use format() width, but that is creating a width …

Member Avatar for fatalaccidents
0
160
Member Avatar for sibymary

hi,i want to insert date into mysql table..but the date must not be current date.for example if i am giving 12-3-2003.then ,this date should be insert into the database...... thanks advance

Member Avatar for pritaeas
0
72
Member Avatar for sammry

I am currently able to achieve number format as 1,000,000,000 but I want to get it as 1,00,00,00,000. How can I achieve this? can some one help please. Currently I use as below. [CODE]<? echo number_format($row["SUM(Amount)"],0); ?>[/CODE]

0
210
Member Avatar for ebanbury

Hi Can anyone see what is wrong with this: [CODE]<?php echo date_format($row_rs_propdetails['add_date'],'Y-m-d'); ?>[/CODE] The error message I get is: Warning: date_format() expects parameter 1 to be DateTime, Any help would be much appreciated. Basically wanting to bring back the date in add_date column, but just the y-m-d with no time. …

Member Avatar for mschroeder
0
215
Member Avatar for tehhax0r

I have an assignment for a class i'm having trouble with heres the prompt: Research reports are required to conform to a given standard (e.g., APA, MLA). These standards specify rules such as the size of the margins, formats for titles, paragraphs, references, page numbers, etc. Consider a program that …

0
93
Member Avatar for charlybones

Greetings. Ok so my problem is that I get a "Currency" formatted value from the database and this value sometimes comes as a whole number (without decimals) and sometimes it doesn't. But, when I output the information as "string" into an XML File, I [B][I]always need to show the 2 …

Member Avatar for charlybones
0
213
Member Avatar for msrd

I have a label that displays information from my database and I need to format it. It displays a number format like so: (53389) and I just need it to display (53,389) it uses the SQL to COUNT or SUM the data from the datasource. My first question is, is …

Member Avatar for Momerath
0
254
Member Avatar for mah300274

At the time of when I installed Debian on my computer I also had 2 other windows restores / boot. I still have windows but I did another install of windows to clean my drives / get everything organized. When I formatted the old drive where the windows were installed …

Member Avatar for JasonHippy
0
260
Member Avatar for TrustyTony

What does this print statement produce and why? Learned it today, I still must be a newbie. [CODE]print('%0*d' % (3, 7))[/CODE]

Member Avatar for Purkinje
1
191
Member Avatar for naffan

Hi all, Quick question, Is there a way to store a GregorianCalendar object in a hard-coded array? Such as you do an int or String ? Or do I have to send 3 ints for dd/mm/yyyy and then create a new GregorianCalendar object in the Constructor? If this is the …

Member Avatar for naffan
0
208
Member Avatar for ravigautam

Hello, I am new to C++ programming. Till now I have done some toy programs and classroom exercises. I want to develop a Virtual Drive software like PowerISO/Magic ISO. I searched Daniweb but couldn't get a thread where such problem was discussed. So from where should I start to develop …

Member Avatar for Ancient Dragon
0
269

The End.