- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Android Development
53 Posted Topics
Re: I was paid within a couple of weeks after I reached $10. It's an OK site, but took a few months to reach $10, but I don't have a ton of traffic either. | |
An auto dealer has asked me if I would create an Android app for them. They already have a good website with images, prices, details, etc. I'm not really sure what all they would want, but for now, I'll will mostly deal with letting the users search through the cars … | |
How do you open a file from the root directory without have to type the complete path like C:\folder\subfolder\file.txt? I have [code] System.Diagnostics.Process.Start("file.txt"); [/code] It works fine when I type in the whole location but I need to send this file to another computer and it won't be in the … | |
What software does everybody use to create cool animated banner ads? I've tried some of the free online banner ad makers, but I would like something better. Any ideas? | |
I just graduated back in December with a Computer Science degree and have been looking for application developer types job. I have come across some on job sites that require you to submit sample code with your resume. Does anybody have any experience with this and recommend any certain type … | |
I'm running Ubuntu and have just installed PHP5, Apache2, and MySQL. I created a PHP Project in Netbeans and trying to echo "Hello World." When I run it, I just get a 404 Not Found error with this "The requested URL /PhpProject1/index.php was not found on this server." Any ideas … | |
Is it possible to display a web page inside of a java applet? It would work similar to a frame using html. I guess it would be like a mini web browser inside of a web browser. | |
I am working on an Android app for a company. Their website is hosted on godaddy and all of the info I need for a "news" section are in their MySQL database. What is the best way to show the latest news in the app? I figure the easiest way … | |
I've been using Mint 8 for a while on my Sony Vaio laptop without any problems. My laptop was recently stolen and I got a new Sony Vaio laptop, model VPCF127FX. I went ahead and installed the newest version of Mint, which is Mint9. Now the touchpad doesn't work and … | |
Say I have a pac-man applet and I have a counter that increments every time a dot is eaten, and I want to save that for every player, for every game, so there will be a total number of dots eaten from everybody combined. The counter will never reset, just … | |
| |
Re: Well, I haven't tried your code, or know what the problem is, but try this for getting your random number. [code] int diceRoller = (int)(Math.floor(Math.random()*(6))+1); [/code] I didn't see the above post. Glad you got it working! | |
I finally figured out that my applet needs to be signed for it to work. So I've spent the last few hours figuring out how to do that. I used the keytool to create my .crt file, then created the .jar file using jarsigner. After I did all of that, … | |
I've been working on an applet that gets all the links from a webpage. So far, I have it getting the source. I have found some regular expressions that supposedly will parse out the source, but it doesn't make any change to the original source. I also found some example … | |
Re: Try something like this [code] component.setBorder(BorderFactory.createLineBorder(Color.black, 5)); [/code] 5 is this size of the gap between components. | |
Re: Here is an example that was in my textbook. Maybe this will help. [Code] import javax.swing.*; import java.awt.*; import java.awt.event.*; class SketchPad extends JFame implements MouseListener, MouseMotionListener{ private int last_x; private int last_y; public static void main(String[] args){ SketchPad frame = new SketchPad(); frame.setVisible(true); } public SketchPad(){ setTitle("SketchPad"); setSize(450. 300); … | |
I found an application that gets the source from a webpage. That worked fine. I tried converting it to an applet, and it works great in netbeans. The problem is when I try to run it in a browser, it does nothing. As you can see from the code, I … | |
I've created a link checker in the past that checked all the links on a web page. I created it in C#, then made it work for an asp.net page. I've taking a Java class since then. I found this code on the internet that is supposed to check the … | |
I have several columns in each row stored with a user's information. I have put a checkbox at the end of each row and a Delete button at the at the bottom of the table. How can I check a box and simply delete the whole row from the database? … | |
I have recently made a program that gets the links from a webpage, then checks to see if they are valid or not. I used the HtmlElement to get the "HREF" attribute and stored all the links into a list. I also tried using the HttpWebRequest and stored the stream … | |
Re: [QUOTE=lebanese007;1110317]Hello, I have a web app that on a buttonClick event it goes and checks a database for a particular field. if that field = a certain value, the app does something. is there a way to make this app run every x seconds rather than on a buttonClick? do … | |
I just need to be able to get and read the text in my gmail inbox using c#. I've googled it but mostly all I found was how to send, which I already know how, email. I just want to connect to my own account. I don't need to get … | |
Is there a way to do this in PHP without using IMAP? All I need is to get who it is from and the text of the message. No attachments or anything. | |
I have been working on this a while and have tried just about way trying to delete a row from a database using a button. What I have is a list of websites and data about each on each row. Then next to the row is a Delete button. I … | |
What is the best way to create a banner ad using information stored in a database? I have the information I was to use and already pulled from the database using PHP. How can I put this into a 460x80 banner in .gif or .png? I want to banner to … | |
What is the best way to create a banner ad in .gif or .png from information in database? I just want to display how many members or or info enter from a user on the ad. Is this a fairly simple this to do? | |
Can somebody please explain this problem to me? A computer has 20 bit instructions with 8 bit addresses. Suppose that there are 12 two-address instructions. How many 1-address instructions are theoretically possible? Would the instruction set be set up like this? 0000|00000000|00000000 | |
Hey. I'm trying to simply input items into a list, then be able to sort them and do whatever. I've done this before for my previous classes, but we have we have to use class files out of the book and modify them to make this work and I'm having … | |
Can somebody explain to me or point me in good direction for some help on instruction sets and addresses? I have problems where it tells you that your computer has instruction that is 12 bits and addresses that are 4 bits. Then asks questions like is it possible to have … | |
I'm drawing a sphere and some ground. I used GL_POLYGON to draw a rectangle and colored it green. When I added a sphere, my ground just turned black. Is this because the sphere is a 3d object and the polygon is 2d or is there something else? Here is the … | |
I'm pretty new to opengl but been using c++ for a while now. How can I display variables using this? I can display single characters by using [code] glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,'0'); [/code] Why can I not use [code] int x = 0; glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,x); [/code] Compiles but won't display anything. | |
This is part of the code to a login form. The only file is index.php. The code continues but it what you get after you have successfully logged in. It doesn't matter what I put the the login form, when I hit the "log in" button, if just reloads the … | |
I have created a database. It just contains information about websites. One column has the path to an image, like a rating system(1-5 stars). I just need to display this information on a web page. Everything shows up fine, but I just need it to display the image instead of … | |
I'm trying to delete rows from my database by using an HTML form. I can retrieve the database and display it nicely in a table using this code: [code] <table width="889" border="1"> <tr> <td width="206" bgcolor="#999999"><div align="center"><strong>Site</strong></div></td> <td width="549" bgcolor="#999999"><div align="center"><strong>Reason</strong></div></td> <td width="112" bgcolor="#999999"><div align="center"><strong>Date Added</strong></div></td> </tr> <?php $row_count = … | |
I am having problem getting all the links from a webpage. I have successfully created this using just C#. I used [code] foreach (HtmlElement link in webBrowser1.Document.Links) { string linkItem = link.GetAttribute("HREF").ToString(); [/code] Apparently C# in ASP.net doesn't have System.Windows.Forms so I can't use HtmlElement. I've tried a couple of … | |
I've tried a couple of ways of getting the source of a page, but it doesn't return the whole thing. I'm trying to get it to return the the whole source like it does if you view it in a web browser. Mine just returns parts of it and leaves … | |
I have been working on this for a few days now. I'm just trying to make a deep copy of a template linked list. I have successfully copied the list, but when I enter a new item to the new list, it also adds it to the original list. I'm … ![]() | |
I have an assignment to use templates for a linked sorted list. The SortedType.h file is in our book and that is what we have to change. I understand how to do all of that and it compiles and everything. When I create a driver to test it, I just … | |
Hey. I have to write a Fraction class for homework and overload for the Fraction class the operators +, -, *, /, +=, -=, *=, /=, and << (the insertion operator). Can somebody please tell me what exactly the insertion operator is supposed to do? I've googled it and all … | |
Is there anyway to default the webbrowser control to IE with no add-ons? | |
I'm getting all the links from a web page and displaying them in a listView box. How do I prevent duplicates? I know how to block some links that I don't want by using the StartsWith and Equals and those functions. Do I do something with those or is there … | |
How do I save a string? Say I type in "sfrider0." How do I store that then retrieve it later? I've been messing around with it for a while and the most I can get it to do is tell me how many characters are in it. Any help? | |
My homework assignment is to convert this c++ code into assembly. Here is the code [code] void maxInt (int xVal, int yVal, int& big) { big = xVal; if ( big < yVal ) big = yVal; return; } [/code] I have successfully created a program that will find the … | |
Is it possible to display in image in a listView box? I'm working on a link checker all the links on a webpage are put in a listView box. Right now I just have the words "Good" and "Bad" by each link and would like to put an image next … | |
I created the first method, which gets and displays all the links in a web page in a listView when a button is pressed. I found the second method on a site that supposedly checks to see if a link is valid. I need help on incorporating it into my … | |
I'm trying to get all the links from a web page. So far I have the page source stored in a string. I have done similar things like this in Java, using a string tokenizer. I've looked around trying to find something like this for C# but apparently it doesn't … | |
I'm trying to figure out how to do template lists. I have this [code] GList<int> list1; GList<float> list2; GList<string> list3; ifstream inFile; inFile.open("data.txt"); while(!inFile.eof()){ [/code] The code keeps going but that is about all that is important. The data.txt consists of ints, floats, and strings, which are separated by "I"'s, … | |
I have created a POP3 email client. I am having problems viewing the html and attachments in the message. Can somebody point me to a tutorial or a good site for this? I have googled it and found many ways to send an attachment, but right now I'm more interested … | |
I'm trying to get this code from the microsoft msdn site working and having problems. [code] // Navigates to the URL in the address box when // the ENTER key is pressed while the ToolStripTextBox has focus. private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Navigate(toolStripTextBox1.Text); … | |
I'm creating a SMTP client. I'm entering the data(to, from, subject, body) in a HTML form. How do I pass that data into the actual Java SMTP client so I can send it? I know how to hardcode the data into the client and send it that way but having … |
The End.