[Solved] Buffered Socket Reader doesn’t wait for data from remote connection

[ad_1] You shouldn’t be using ndataServerReader.ready(). Your do/while loop (which should almost certainly just be a while loop) appears to assume that ndataServerReader.ready() indicates there’s more data to be read, which is not what it’s for. The Javadoc for Reader describes the ready() method as: Tells whether this stream is ready to be read. Returns: … Read more

[Solved] How to put Image into directory imagejpeg()? [closed]

[ad_1] You have to choose between the two – either show the image or save it to directory. You cant do both. imagejpeg($gd_object); //shows the image, requires content-type to be image/jpeg imagejpeg($gd_object, $filepath); //saves the image, to $filepath You can try to save the image and then redirect the use to the image if you … Read more

[Solved] Implementing jquery in rich fcaes 4 on jsf< h:datatable

[ad_1] Ok, here is how it should work: <script type=”text/javascript” > $.noConflict(); jQuery(document).ready(function() { jQuery(‘#example’).dataTable( { “sScrollY”: 200, “sScrollX”: “100%”, “sScrollXInner”: “110%” } ); } ); </script> Of course you need to include jQuery files, example: <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js”></script> 2 [ad_2] solved Implementing jquery in rich fcaes 4 on jsf< h:datatable

[Solved] browser specific css for internet explorer 7,8,9 [closed]

[ad_1] Use conditional comments: <!–[if lte IE 8]><link/><![endif]–> More info: http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx For just one IE version use <!–[if IE 9]><link href=”https://stackoverflow.com/questions/15355735/ie9.css” rel=”stylesheet” type=”text/css”/><![endif]–> Change the version (“9”) to your desire. If you want to address all versions less than or equal to a specific one, use: <!–[if lte IE 9]><link href=”https://stackoverflow.com/questions/15355735/ie0-9.css” rel=”stylesheet” type=”text/css”/><![endif]–> This will … Read more

[Solved] how to put value in buttons? [closed]

[ad_1] So this is very crude, but it is one way you can do what you are trying to do: <table> <?php while($row=mysql_fetch_array($check2)) { ?> <tr> <td><?php echo $row[‘wTitle’]; ?></td> <td>Click to edit</td> </tr> <tr> <td style=”text-align:right;”><?php echo $row[‘wContent’]; ?></td> </tr> <tr> <td colspan=”2″ height=”202″>&nbsp;</td> </tr> <tr> <td colspan=”2″> <form action=”view.php” method=”post”> <input type=”submit” name=”submit” … Read more

[Solved] java, “do this if passes then do this” [closed]

[ad_1] you’re not looking for an if statement are you? if(error.Colour() == /*insert value to check here*/) { calculate.setKey(key); calculate.setQuantity(QuantityInt); double cost = calculate.calculateBill(); information.append(“\n\nTotal cost: £” + pounds.format(cost)); } 5 [ad_2] solved java, “do this if passes then do this” [closed]

[Solved] How can i center my css menu?

[ad_1] Because your menu wraps to two lines you won’t be able to center it with CSS. To do so with fewer (or narrower) elements that fit on one line: <header class=”grid_11_REMOVED”> <div class=”cssmenu clearfix” style=”width: auto;”> <div style=”background: [styles from menu]; text-align: center;”> <ul class=”level1″ style=”display: inline-block;”> … </ul> </div> </div> </header> Menu elements … Read more

[Solved] Not able to get sum of array in C#

[ad_1] Your error is from these lines: Console.WriteLine(rea.ReadLine()); ad.Add(Int32.Parse(rea.ReadLine())); What’s happening is you are getting the count of the number of lines in the file. Say your file has 10 lines. When the loop reaches the last line and you call ReadLine method in Console.WriteLine(rea.ReadLine());, it returns the last line. But then you call Readline … Read more

[Solved] Calculating elapsed time [closed]

[ad_1] You may use the System.Diagnostics.Stopwatch class to time operations precisely in .NET. Dim stopwatch As New Stopwatch() stopwatch.Start() ‘Perform timed operations here stopwatch.Stop() The elapsed TimeSpan may now be retrieved as stopwatch.Elapsed. For a direct analogue to your C code, you would write: Dim elapsed = stopwatch.Elapsed.TotalSeconds 2 [ad_2] solved Calculating elapsed time [closed]

[Solved] Query sql in oracle [closed]

[ad_1] Your question is a little ambiguous.Is it what you want? SELECT WELL_DPROD_DATE, FORMATION_NAME, CASE WHEN R1 = 1 OR R2 = 1 THEN FORMATION_NAME ELSE NULL END AS FORMATION_NAME_F FROM (SELECT WELL_DPROD_DATE, FORMATION_NAME, RANK() OVER(PARTITION BY FORMATION_NAME ORDER BY WELL_DPROD_DATE ASC) AS R1, RANK() OVER(PARTITION BY FORMATION_NAME ORDER BY WELL_DPROD_DATE DESC) AS R2 FROM … Read more

[Solved] I Have a database in “.Sql” format. I would like to convert this database to “.sqlite” format .in runtime [closed]

[ad_1] Hier a list of converters for you http://www.sqlite.org/cvstrac/wiki?p=ConverterTools you can convert them in your server and download the .sqlite file in your phone [ad_2] solved I Have a database in “.Sql” format. I would like to convert this database to “.sqlite” format .in runtime [closed]