Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Performance with 100,000 Polygons

I am having trouble with the frame rate dropping below 30 frames per second with 50,000 to 100,000 polygons. My space ships are around 7k polygons each, and when I have 7 of them on the screen at a...

View Article


Command-line arguments determining ascending or descending order.

Hello, I'm in the process of writing a .java program that reads in 3 integer command-line arguments (we'll call them a, b, c). The purpose of this program is to determine (by using a boolean...

View Article


Displaying the applet

I had created the code as a JFrame first to make sure the code worked. But as soon as I changed the extend part to Applet it stoped working. My original JFrame code that worked /* * To change this...

View Article

getting data from a device connected using usb cable

I have some complications obtained in our module the problem is that how can read a data from a certain device which is connected to system using usb cable. And next i wanted to use the same input in...

View Article

how to read information from RFID reader into our java program

I just wanted to know the ways of accessing the data from rfid reader to the system(java program). Upto my knowledge i came to know the two ways in reading the data from reader (connected using the usb...

View Article


Code is not working in webbrowser_navigated

This code is working in button.click event, but not in webbrowser.navigated. Why ? What I am doing wrong ? Dim cc As String = 0 For Each item As String In My.Settings.psites If item = site Then For...

View Article

Recursion in Tic Tac Toe Problem

Ok, I need help with my recursion method in TIC TAC TOE. I have just used 9 textboxes that check for either a valid input of 'o' or 'x'. I used a 2D array to represent the board. The problem is that...

View Article

ArrayList< float[ ] > how do I get the elements

Hi, How would I go about getting the elements in the arrayList? it does print back Verts: [F@4fe5e2c3 Any help would be appreciated public class Model1 { private ArrayList< float[] >vertX;...

View Article


For being expert at C#.NET

Hi, I'm totally new in here. I've joined in here for being expert at C#.NET. Basically, I ain't totally new in C#. I've learned something i.e Classes and Structs, Objects, Inheritance, Abstract Classes...

View Article


Image may be NSFW.
Clik here to view.

AI movement in plain Math

Hi, Im a sound designer who is creating a Game-Like sound experience. It's programmed in something called Max by Cycling74. My next step is to introduce more movement. When searching for how to make a...

View Article

Problem with catching error with try and catch

my problem is the once i input any character into the program it goes into a infinite loop, i can only guess its something to do with the scanner method i am using but i dont know. here the code....

View Article

How to certify pdf docs with a selfsigned certificate in vb.net

Is it possible to certify pdf documents with a selfsigned certificate using vb.net ? Any ideas or examples of how this can be done would be a great help. Thanks in advance :-)

View Article

drawing a polygon with doubles?

hi all so i have a challenge to make a pentagon inscribed in a circle and i have to use the method of working out the cosines and sines as i have, but now when i come to draw my polygon it says error i...

View Article


Remove top of title bar without removing bottom

Hey, I was wondering if there is a way to remove the top of a title bar without removing the bottom; What I mean by this is that it gets rid of the bar at the top with the _ [] X button doesn't remove...

View Article

Use Word enumerations

Hello. I have the following Word-Interop code. How can I use the Word enumerations in this code? At the moment I am use the integer 6 which I know to be the value of wdStory in the Word object library,...

View Article


Apostrophe in db searches

I am using a passed variable to search my db for a specific title. The title stored in the db has an apostrophe in the title (i.e. "Am I My Brother's Keeper") A var_dump shows the result 'string(26)...

View Article

Image may be NSFW.
Clik here to view.

how to use curl in php for json results from google places api

I used my API key for querying google places API for obtaining museums around a particular place and obtained the following results in JSON form: { "html_attributions" : [], "results" : [ { "geometry"...

View Article


How to display List<String> in FormView

I have a FormView that has a datasource bind as a object which is a WCF service. In the WCF Service i have a Object PublicationDetail which has a attribute List<string> authors; I want to join...

View Article

Variable value is not changing with array

I am still fairly new to Java and I am having trouble finding a problem with this code. public class Rooms { public static int myY = 2; public static int myX = 1; public static int x; public static int...

View Article

Error message local variable may not have been initialized

When I initialize an object in testClass.java (aClass aClassObject = new aClass(aIncome, aRevenue, aCost)) eclipse states that the local variables aIncome, aRevenue, aCost may not have been...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>