Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
92% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
10
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
6 Endorsements
Ranked #299
Ranked #977
~21.5K People Reached
About Me

More likely not as good programmer as you are!

Interests
Unknown
PC Specs
Intel Core 2 Quad, 2GB RAM, 1 GB NVIDIA GeForce 9400 GT, 750GB HDD

41 Posted Topics

Member Avatar for laguardian

I would suggest to put your if statement in line 14 of your code to one of your Vehicle method. That way, the String argument in your method will make sense. Example: public static double Vehicle(String strVehicle){ double rate = 0; if(strVehicle.equals("Jeep")){ rate = 8.00; } else if (strVehicle.equals("Taxi"){ rate …

Member Avatar for stultuske
0
3K
Member Avatar for blackcathacker
Member Avatar for dimasalang

Hi experts, I just want to ask if it is possible to add images/videos when creating page in websphere portal 7? Tried searching but no luck. thanks in advance.

Member Avatar for LastMitch
0
85
Member Avatar for JWarren1996

Everything in your code is wrong. Your declaration of int[] array in line 4 is wrong. it should be int[] SearchSource = new int[6] also you can't make an int[] array to contain data with float data types. It won't compile. If you want an array with float data types …

Member Avatar for JWarren1996
0
2K
Member Avatar for losh177

Hi. This thread is already dead, it's 2 years old and has been solved! Maybe you would want to start a new discussion.

Member Avatar for dimasalang
0
310
Member Avatar for taylor.mitchell.353

maybe you should check first the string's length before using the substring method to avoid the OutOfBounds exception. :)

Member Avatar for JamesCherrill
0
158
Member Avatar for sephzy

have you tried public static void createEmpID() { JOptionPane.showMessageDialog(null,MyString.createEmpID(lastName)); } ?

Member Avatar for JamesCherrill
0
328
Member Avatar for veeeeebeeeee

I don't get it. You add "-" to text and then you want to delete it? Anyways, you could try using String's replace function.

Member Avatar for TnTinMN
0
304
Member Avatar for dimasalang

Hi All. I just want to ask how are reputation points acquired or given? Is it automatic? or is it given by fellow community members? I just can't figure it out. Thank you. :)

Member Avatar for Ancient Dragon
0
573
Member Avatar for taylor.mitchell.353
Member Avatar for OsaidAz

In your inner loop you should check whether the number of 1's you have is equal to the entered value. If not, continue changing 0's to 1's, if equal already, don't change the remaining 0's anymore.

Member Avatar for OsaidAz
0
145
Member Avatar for randmateweb
Member Avatar for rahul.ch

In the first two samples, you can add anything because the type that your list contains is a super class List<Animal>. All your classes that extends your Animal class can be added to your list since they are all considered as Animal. On the otherhand(3rd example) you can't add an …

Member Avatar for rahul.ch
0
336
Member Avatar for akosivivas
Member Avatar for drj08

I think there's no SqlDataAdapter constructor like SqlDataAdapter(SqlCommand, SqlConnection). Maybe it should be like Dim sql as String = "Select * from table1" Dim dataadapter As New SqlDataAdapter(sql, connection)

Member Avatar for dimasalang
0
2K
Member Avatar for gorgoro

Hi Sir, when I'm training with my present company today, We're asked to develop a simple Online shopping cart. I would suggest you try to develope something like that using JSP, Struts, Spring, and Hibernate(if you are already have a knowledge of this one). Hope this gives you an idea.

Member Avatar for gorgoro
0
269
Member Avatar for drj08
Member Avatar for diwanpujari

It's easy to find something like that on google. Try this article: [Windows 7 Vs. Windows 8: What's the difference](http://www.pcworld.idg.com.au/article/430154/windows_7_vs_windows_8_what_difference_/) :P

Member Avatar for dimasalang
0
113
Member Avatar for asrith001

Maybe you could post the error message that you are getting for us to help you, since we can't find any mistake in the that you've given.

Member Avatar for AndreRet
0
159
Member Avatar for Red_Rain
Member Avatar for dimasalang
0
149
Member Avatar for summey

Hi. You can continue with what you're doing using the Integer.parseInt(). You can try parsing each of the user's input. If it throws an exception, then you can consider it as String. You may consider something like: try { Integer.parseInt(input); } catch (Exception e) { System.out.println("It's a string!") }

Member Avatar for summey
0
1K
Member Avatar for compulove

Hi Sir. Based on your screenshots, it seems that you are using VB.net in developing your application. This is a Vb 4/5/6 forum. :) Anyways, I think you shoul decide first what are you going to use (VB6 or VB.net). Is my understanding is correct, that you are using text …

Member Avatar for AndreRet
0
206
Member Avatar for k22mac
Member Avatar for dimasalang
0
114
Member Avatar for jamesmadison43

Hi. You could try using something like bubble sort in sorting your integer array.

Member Avatar for jalpesh_007
0
302
Member Avatar for nsharif

Have you tried the add() method of the JPanel? example: In the default constructor you may put something like this: sc = new JScrollPane(); //define some properties of the JScrollPane //now add the JScrollPane sc to the Shelf class add(sc)

Member Avatar for dimasalang
0
173
Member Avatar for Prisms

maybe you could put the result of your calculations for each class in an array then when all the calculations for eahc class is done, get the GPA by looping through the array

Member Avatar for Prisms
0
3K
Member Avatar for NexG

Try this: [CODE] import java.util.Scanner; public class Fibonacci { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Enter no. of term: "); int n = scanner.nextInt(); int prevNo = 0; int no = 1; int fibo = 0; for(int i = 1; i<=n; i++){ fibo = prevNo …

Member Avatar for NexG
0
156
Member Avatar for dimasalang

hello.. just want to ask if it's possible to save html form field values in an xml file without using any server side script like ajax or php. i just want to use javascript and i want to do it offline witthout using any server like tomcat. is it possible? …

Member Avatar for dimasalang
0
2K
Member Avatar for mrjillberth

try this code. its result is correct for 10 i dont know for other nos.. [CODE] public class Prime { public static void primeNo(int x){ for (int i = 1; i <= x; i++){ int ctr = 0; for(int y = 1; y<=i; y++){ if(i%y == 0){ ctr++; } } …

Member Avatar for mrjillberth
0
168
Member Avatar for kheijhei

just set the timer interval property to 10000 for 10secs or 5000 for 5secs and make sure that Enabled property is set to true. [CODE] Private Sub Timer1_Timer() Unload Me End Sub [/CODE]

Member Avatar for SpiritualMadMan
0
1K
Member Avatar for vishalbhavsar

i don't know how to read .dat file but java.util.Scanner is used to read .txt files. Just for an idea

Member Avatar for JamesCherrill
0
177
Member Avatar for concepcionmark

maybe you could use a boolean variable to know if the form is already open.. example you declare boolean formVisible, when a button is clicked you could check if formVisible is true, if true, do nothing if false open the form. now when you close the form you should set …

Member Avatar for dimasalang
1
181
Member Avatar for ITHope

try this. but i think your code is correct except you should replace bool by boolena.[CODE]public boolean equals(int x, int y){ return (x == y); }[/CODE]

Member Avatar for dimasalang
0
248
Member Avatar for maverick420
Member Avatar for willywhomperz

try using [CODE]String.replaceAll(regex, replacement)[/CODE] by this you can replace all strings except the one that you want to count then get the length of the string remaining

Member Avatar for dimasalang
0
410
Member Avatar for isebas

1st error - semicolon after your IOException in you main method declaration 2nd error - i think it's in here [CODE]public static input in = new input()[/CODE] maybe you need to import the class where input type is located. by the way what are you trying to do? get input …

Member Avatar for dimasalang
0
197
Member Avatar for dimasalang

hi experts.. I'm new to javascript/ajax and i need to upload a picture to a server then the server will send a preview without redreshing the page..how can i do that? any suggestion? or sites for tutorials? thanks for help.. i need this ASAP..

Member Avatar for dimasalang
0
105
Member Avatar for dimasalang

..REALLY NEED HELP... me and my thesis group is wanting to make an alarm that can be connected trough the usb port..the question is, how can we send data to the usb to make the alarm ring ang stop ringing.. we need it in vb.net...needed it badly..asap..help will greatly be …

Member Avatar for dimasalang
0
63
Member Avatar for dimasalang

Hi...Is it possible to get a list of running application in a remote pc through wireless or wired network?? i tried this code but i get an error [CODE]Dim ps As System.Diagnostics.Process For Each ps In System.Diagnostics.Process.GetProcesses(remote_pc_name) ListBox1.Items.Add(ps.ToString) Next[/CODE] error is "Can't connect to remote machine", i tried to access …

Member Avatar for dimasalang
0
148
Member Avatar for dimasalang

hey..i'm developing an application..something like a custom desktop..now what i want to do is to disable alt-tab, ctrl-alt-del etc . i tried to set the registry value of "CoolSwitch" to disable alt tab, but i get an error..i think i need to run my application as admin to write in …

Member Avatar for dimasalang
0
181
Member Avatar for dimasalang

hey, i'm new here..need help is it possible to save your work from other applications (e.g. word, excel, photoshop etc.) using vb6?? thanks.. this is for our thesis.. ASAP

Member Avatar for AndreRet
0
524

The End.