356 Posted Topics

Member Avatar for zubair khalil

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 …

Member Avatar for riahc3
0
531
Member Avatar for riahc3

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 …

Member Avatar for Taywin
0
485
Member Avatar for riahc3

Is there any easy IDE that lets you build a easy GUI with Java? I wish you could comply native Java using VS! :P

Member Avatar for ~s.o.s~
0
300
Member Avatar for sapure

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, …

Member Avatar for riahc3
0
232
Member Avatar for elzaz

> 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.

Member Avatar for riahc3
0
40
Member Avatar for VernonDozier
Member Avatar for riahc3
0
334
Member Avatar for riahc3

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

Member Avatar for riahc3
0
143
Member Avatar for riahc3

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?

Member Avatar for riahc3
0
118
Member Avatar for riahc3

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 …

Member Avatar for Taywin
0
226
Member Avatar for riahc3

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

0
53
Member Avatar for riahc3

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

0
67
Member Avatar for riahc3

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 …

0
54
Member Avatar for riahc3

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.

Member Avatar for riahc3
0
309
Member Avatar for riahc3
Member Avatar for pritaeas
0
66
Member Avatar for riahc3

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? …

Member Avatar for Taywin
0
263
Member Avatar for gm.rupert
Member Avatar for riahc3

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 …

Member Avatar for Dragennd
0
391
Member Avatar for riahc3

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...

Member Avatar for riahc3
0
195
Member Avatar for riahc3

Hey How do I run my web service as root? Yes, I know the security implecations of this. Thanks

Member Avatar for Irina54
0
163
Member Avatar for riahc3

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

Member Avatar for riahc3
0
340
Member Avatar for riahc3

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 …

Member Avatar for Ancient Dragon
0
131
Member Avatar for riahc3

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 …

Member Avatar for L7Sqr
0
152
Member Avatar for riahc3

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

Member Avatar for Mike Askew
0
56
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
184
Member Avatar for anotherdave

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 …

Member Avatar for goatnetworking
1
150
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
282
Member Avatar for riahc3

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 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Dani

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.

Member Avatar for TrustyTony
0
956
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
3K
Member Avatar for riahc3

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!

Member Avatar for pritaeas
0
75
Member Avatar for riahc3

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. …

Member Avatar for riahc3
0
111
Member Avatar for riahc3

<?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']) …

Member Avatar for riahc3
0
6K
Member Avatar for Ctechnology24
Member Avatar for riahc3

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 …

Member Avatar for pritaeas
0
399
Member Avatar for riahc3

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 …

Member Avatar for McLaren
0
297
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
178
Member Avatar for riahc3

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] => …

Member Avatar for riahc3
0
179
Member Avatar for riahc3

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

Member Avatar for riahc3
0
4K
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
726
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
172
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
173
Member Avatar for riahc3

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!

Member Avatar for riahc3
0
219
Member Avatar for riahc3

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?

Member Avatar for Airshow
0
303
Member Avatar for riahc3

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. …

Member Avatar for vibhaJ
0
149
Member Avatar for riahc3

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 …

Member Avatar for fobos
0
637
Member Avatar for riahc3

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 …

Member Avatar for emclondon
0
187
Member Avatar for riahc3

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 * …

0
84
Member Avatar for riahc3

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; …

Member Avatar for riahc3
0
5K
Member Avatar for riahc3

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 …

Member Avatar for happygeek
4
168
Member Avatar for riahc3

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!

Member Avatar for smantscheff
0
438

The End.