356 Posted Topics
Re: This is something I would like to do as well in the future. BUT I decided against it for several reasons 1: You can copy/paste things of course, but it seems you are working with XML files. Thats different in C# 2: Java web services USUALLY go against something like … | |
Hello Im trying to do some basic FTP work. What I am trying to do is: 1: Search for a folder named "hi" in "C:". If hi exists, enter it. If it doesnt, create it THEN enter it. 2: Inside hi, count FILES and see if there is greater or … | |
Is there any easy IDE that lets you build a easy GUI with Java? I wish you could comply native Java using VS! :P | |
Re: I wont try to be as rude as stultuske Lets say you have: public class soemthing { class hi { String hello="i say hello"; } class bye { String goodbye="i say goodbye"; } public static void main(String[] args) { hi h=new hi(); System.out.println(h.hello); bye b=new bye(); System.out.println(b.goodbye); } } (BTW, … | |
Re: > I am looking for a java code Noone is going to give you code here. Look around and when you have looked at something and/or written SOME code, then we will help you out. I looked at this library: http://htmlparser.sourceforge.net/ and it seems to have what you want/need. | |
Re: Daniweb has one of the WORST posting systems on the internet currently. Your best bet is to quote it. | |
Hello I have the following: String somestring="203/9834/345"; somestring.replace("/",""); System.out.println(somestring); But it does not remove the slashes. How can I remove them? Thanks | |
Hello Why does my cookie work offline but not offline? It simply stores text, nothing else. Is there some limit that can be blocking it or something? | |
Hello I want to be able to be on a page and have a favorite that points to http://localhost/export which is a web service. When I select that favorite, the current web page Im on should send all of its source code to the web service. The web service should … | |
Hey I want to make a Visual C++ program targeting x86 (and ARM) Windows CE .NET 4.20 using .NET Compact Framework. How do I do this? Thanks | |
Hello How do I write a C++ program targeting a x86 version of Windows CE in Visual Studio 2008? It doesnt show me Windows CE and more so, all it targets is ARM. Thanks | |
This one is going to be intresting.... Im trying to access the method of BeginAcceptTcpClient in a System.Net.Sockets.TcpListener type of object but it seems that the 3.5 .NET Compact Framework does not support it..... Is there a equivilent method or how can I emulate the method with other code? Thank … | |
Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks. | |
Whats the best way to port a Java web service to a C# web service? Multiplatform. Thanks | |
Hello Im using org.apache.commons.net's FTP object to make FTP transfers. The problem is that when the IP is down (example, the PC is turned off) a exception saying "No route to host" pops up and not only delays my program but gives a nasty error. How can I avoid this? … | |
Re: Why does making GUIs in Java suck so much? :( | |
Hey I want to make a website lets say http://www.mysite.com but before they view it, they have to login with username and password (those are stored in a DB). It doesnt matter if they access http://www.mysite.com/hello http://www.mysite.com/hello.html or http://www.mysite.com/hello/something/j.php ect the first time they access, they have to login, else … | |
I was going to start Apache/Tomcat as root but Ive rethought it and have gone against it. How can I make my web service read/write from "/"? I keep getting permission denied exceptions... | |
Hey How do I run my web service as root? Yes, I know the security implecations of this. Thanks | |
Hey Im looking for a easy and fast way to install Apache Tomcat and Axis 2 on a Ubuntu box. I followed a guide but it left my PC a mess (I couldnt get updates correctly) Thank you | |
Hello Im posting this in C because Arena is highly influenced by C.... Im trying to open a file using fopen but I cant get it to work. Ive made the permissions on the file 777 (all) just in case but it doesnt work. Can someone please test that it … | |
Hello I want to run a command as sudo (to be especific open a file) but I dont want to run the entire program as sudo obviously. How do i do a fopen with sudo previlges? I dont mind hardcoding the password (eg, so it wont ask me for my … | |
Im wondering if there is a program for building GUIs with XML where I can simply build it visually (WYSIWYG style) and copy/paste the code in my Android IDE. Thanks | |
Hello I want to make two shell scripts but they shell scripts isnt exactly my language :P The following is all pseudocode The first script will run every say 5 minutes: if /tmp/media/sda1 exists or /tmp/media/sda2 exists or /tmp/media/sda3 exists or /tmp/media/sda4 exists then do variable storage=what ever above first … | |
Re: First off, "4G" currently does not exist. Thats the first thing right off the bat that has to be understood. > In March 2008, the International Telecommunications Union-Radio communications sector (ITU-R) specified a set of requirements for 4G standards, named the International Mobile Telecommunications Advanced (IMT-Advanced) specification, setting peak speed … | |
How do i make a autorun usb that executes a shell script that is on the USB drive? This would be only for my system so if there is something i have to enable, no problem (i imagine something like this would be disabled for security reasons) I believe the … | |
Hey I want to make a multithreaded and multiuser web service in Java. Where do I even start looking? Currently I have a web service that is one user and one thread. I think Ill problably have to completely rewrite it from almost scratch so.... Where can I see some … | |
Re: REMOVE THE (EXPLETIVE DELETED BY ADMIN) FORMATTING. It is too annoying. Or at least give people a option of "text only": When Im copying and pasting something I complains about unformatted text or something like that. It is very very annoying. Give people options and dont force them. | |
Hey This is a stupid and very noob question but lets say I have something like: <script type="text/javascript"> /*javascript up here*/ var variable = new object("bla", "morebla"); variable.dosomething("evenmorebla", function(key, value) { alert("key is '" + key + "' and value is '" + value + "'"); }); alert ("alert 2 … | |
I have this line: document.cookie =textbox+this.getParameterByName("idProd")+'='+document.getElementById('name').value+'; domain=mydomain.com; expires='+dia.toGMTString()+'; path=/'; This cookie should work on the mydomain.com and all of its subdomains to read and write, correct??? Doesnt work online but works on local thats why I ask. Thanks! | |
Hey Im using Web Storage for my website and it seems to work locally but not online. Ive tried different thigns (which I shouldnt because it should just work) but it seems not to work. The only conclusion I can come to is that it has been disabled server side. … | |
<?php foreach ($_options as $_option) : ?> <input id="xyys" type="hidden" name="xyys" value="<?php echo($_option['value']);echo ($_option['option_id']);?>" /> <?php if($_option['label'] != 'Corte'): ?> <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?> <dt><?php echo $this->htmlEscape($_option['label']) ?></dt> <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?> <?php if (isset($_formatedOptionValue['full_view'])): ?> <div class="truncated_full_value"> <dl class="item-options"> <dt><?php echo $this->htmlEscape($_option['label']) … | |
Re: I found this: http://codeigniter.com/wiki/jQuery It doesnt work? | |
Hey When I try to interpret thru PHP, a Java web service that returns a boolean type, this error (more like a warning) pops up: Notice: Object of class stdClass could not be converted to int in C:\testing\page.php on line 29 How can I make the PHP page understand true … | |
I have this code: <?php foreach ($_options as $_option) : ?> <input id="xyys" type="hidden" name="xyys" value="<?php echo($_option['value']);echo ($_option['option_id']);?>" /> <?php if($_option['label'] != 'Corte'): ?> <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?> <dt><?php echo $this->htmlEscape($_option['label']) ?></dt> <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?> <?php if (isset($_formatedOptionValue['full_view'])): ?> <div class="truncated_full_value"> <dl … | |
Hey How do I correctly validate that a email is in the correct format? I tried using the Apache Commons Validator library but, since Im using a web service, it seems not to want to fix it up and use it. I comply the code, make the aar, put it … | |
Hey I have this code........ /*MORE THINGS ABOVE*/ <?php foreach ($_options as $_option) : ?> <?php print_r($_option);?> /*MORE THINGS BELOW*/ That print_r gives me this (the first time around, other times its the same but it just gives me different Xs and Ys which is expected): Array ( [label] => … | |
Hey I tried to access a cookie that has a [object HTMLImageElement] but when I try to echo it, it simply prints that out: [object HTMLImageElement] I want it to display the picture. How can I do this? Thanks | |
Hey When I try to interpret thru PHP, a Java web service that returns a boolean type, this error (more like a warning) pops up: Notice: Object of class stdClass could not be converted to int in C:\testing\page.php on line 29 It seems this is something PHP related. How can … | |
Hello Im trying to make a internal site (Called test.dev) but I cant get it to be viewed internally. I made a A record on the DNS server point "test.dev" to my IP which would be for example 192.168.1.45 but I try to access it on a client PC and … | |
Hey I tried to access a cookie that has a [object HTMLImageElement] but I found out that cookies have a limit on size so Im trying to do this with pure Javascript I can store the value of what I want in a hidden div and now I want to … | |
Hey Im seeing that I need to learn Javascript and using its classes, functions, declaring it, etc so I need something. What is a good way to learn Javascript (besides practice, because basically its all copy-paste so Im not learning what anything means)...... Thanks! | |
Im kind of confused because now Im posting Articles instead of threads, posts, etc....and when I try to use tags and stuff, it doesnt act like it normally does. Any way to go back to the old way? | |
Hey I have the following: <?php echo $_COOKIE["name"];?> <?php echo $_item->getId();?> With the $_COOKIE["name"] having a value of "hi" and the $_item->getId() having a value of "5" (or 5, irrelevent as it is all strings) what if I want to do something like (fake nonworking code): concat joins 2 strings. … | |
Hey I want to declare a variable that is global that I can use (and modify) all over my website. Ive read that I may be able to do it with jQuery but not sure how to (more importantly, where). Its a simple text field, nothing else. Specifically it must … | |
Hey Let me see how I describe this.... I have a textbox (inside of a form) and that form also has a button that calls a Javascript function that does some unrelated stuff. This is all inside of Lightbox. I want to be able to type in text in that … | |
Hey Im trying to add links in the images for EasySlide but I cant see to see where to put it..... Here is the .js code: /** * @author Bruno Bornsztein <[email protected]> * @copyright 2007 Curbly LLC * @package Glider * @license MIT * @url http://www.missingmethod.com/projects/glider/ * @version 0.0.3 * … | |
Hey I have the following code private void buttonInicio_Click(object sender, EventArgs e) { MySql.Data.MySqlClient.MySqlConnection conn; String constring = "server=localhost;database=bd;uid=user;password=pass;"; try { conn = new MySql.Data.MySqlClient.MySqlConnection(constring); string query = "COUNT (*) FROM table WHERE usuario=" + Globales.usuario + " AND pass=" + Globales.contra; MySqlCommand cmd = new MySqlCommand(query,conn); cmd.CommandType = CommandType.Text; … | |
No "hi" or anything as you have to act now and quickly. Microsoft for whatever lame excuse they present, are cutting out previous 25GB storage down to 7GB. So you can compare: Google Music allows 20,000 songs with a 250 MB limit per song which means in theory you can … | |
Hey I want to search for a text string but I dont know what table or column it is in. I just know the database that it is in. I know also that the type is a text type. Any query I can do or in MySQL Workbench? Thanks! |
The End.