132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alex.myrick.39

I am working in Turbo delphi using VCL for aplication and I am in an urgent need of someone explaning me how to draw curves for parabolic shot. I need to learn how to make the line in a slow motion making it draw the flight from the starting point …

Software Development delphi pascal
Member Avatar for pritaeas
0
170
Member Avatar for alex.myrick.39

Hey guys I have a question and I hope someone can answer it. I've been having many problems in trying to find an answer to if I would be able to load a Turbo Delphi project I made this year into my ipod touch.

Software Development delphi iphone pascal
Member Avatar for pritaeas
0
70
Member Avatar for SQLpower

My Insert statement is not working for some reason and I cannot figure out why. Any help would be highly appriciated. Imports MySql.Data Imports MySql.Data.MySqlClient Public Class frmCreateUser Dim connectionstring As String Dim dbCon As MySqlConnection Dim strQuery As String = "" Dim SQLCmd As MySqlCommand Dim DR As MySqlDataReader …

Software Development mysql vb.net
Member Avatar for SQLpower
0
272
Member Avatar for hwoarang69

i want to how when is my player is jumping, statding, or falling. for some reason it only goes in fall == true if statment. in my paint method iam printing different images. bc testing what is player is doing. i have main_class and player_class. //in player class public void …

Software Development java
Member Avatar for NormR1
0
247
Member Avatar for Jawow

I'm working on a homework in which i need to create a Pizza order form. I've created the form along with the code but when i debug it, it gives me error. Errors below:(i've attached my code) C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(113) : error BC30451: Name 'txtSurname' is not declared. …

Software Development vb.net visual-studio
Member Avatar for Reverend Jim
0
846
Member Avatar for coroshea

The prgram will only display one number. In this case 9. I switched, 9 with 6.71; and only 6.71 displayed. So what this means, only the 2nd to last node's value is displayed. Note that the display function is able to display the original order of the array passed to …

Software Development c++ linked-list
Member Avatar for coroshea
0
220
Member Avatar for zachattack05

Greetings again friends! It's been a while since I've visited. I had to take a while off from working because of family issues, but things are getting better and I'm starting to work again and that means I get to come back and exchange Q&A with the best programming web …

Software Development gui web-design
Member Avatar for zachattack05
0
702
Member Avatar for coding101

Im starting kernel programming and need info on the read and writing function to a /proc file. When a program writes to my /proc module, I need to store the contents. When I read the contents of the /proc file, it only return the most recent entry, and not the …

Software Development c linux-kernel
Member Avatar for Ancient Dragon
0
298
Member Avatar for zarifin99ska

hello, i'm doing a searching form, here is my code [CODE] Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim rd As OleDbDataReader con.ConnectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Bengkel\Project\db.mdb") cmd.CommandText = "SELECT * from Book where authorName like '%" & textsearch.Text & "%'" cmd.Connection = con con.Open() rd = cmd.ExecuteReader …

Software Development display listview open-source vb.net
Member Avatar for sinsarith
0
2K
Member Avatar for Carc369

I will be posting bits and pieces of my code that is relevant. //Function Prototype int binarySearch(char*); // Binary search of dictionary. the Function I'm passing to. char* reverseTruncateCipher[80]; <---- variable I'm passing. /*I have these variables stored in them reverseTruncateCipher[0] = all reverseTruncateCipher[1] = generalizations reverseTruncateCipher[2] = are reverseTruncateCipher[3] …

Software Development c++
Member Avatar for Ancient Dragon
0
227
Member Avatar for Matigo

Hello everyone Is there any way to kill the python.exe in Task Managaer "On Windows" using visual basic The Problem is that i do open more than 1 python file at the same, But on task manager it's hows me something like this Python.exe python.exe python.exe python.exe I have got …

Software Development python visual-basic
Member Avatar for Lardmeister
0
1K
Member Avatar for Tomi1988

I give the value of three reference types (Integer,String,List) to a function to change it. But only the value of List changed, but Integer and String are reference types too. Why can't I change their values too? public static void main(String[] args) { Integer i = new Integer(1); String s …

Software Development apple java
Member Avatar for JamesCherrill
0
242
Member Avatar for LeNenne

Hello How to change the resolution in VB6 ??? If one have 1200x900 and other have 800x 600 how can VB6 change or know what resolution the user have. Thanks Lenny

Software Development visual-basic
Member Avatar for LeNenne
0
197
Member Avatar for tieties

ok i need help with this code i more than triple checked the spelling so i dont know what is wrong anymore and i have checked that i inserted the right data also. This is my code i use to insert into my DB when i break it i get …

Software Development sql vb.net
Member Avatar for Reverend Jim
0
283
Member Avatar for andrew mendonca

Define a getStandardDeviation() function with the specification and prototype shown below: // Calculate the population standard deviation of the scores // That means... // 1) For each score i, add pow(scores[i] - mean,2) to a running sum. // 2) divide sum by the number of scores. That's the variance. // …

Software Development c++
Member Avatar for Lucaci Andrew
0
989
Member Avatar for rithish

i have a doubt in graphs whelther incident matrix and adjacency matrix r they same?????

Software Development c
Member Avatar for deceptikon
0
181
Member Avatar for julm

I am writing a java program that solves for program complexity using Halstead metrics. I just want to know what java keywords are considered "Operators" and "Operands" in halstead metrics. Any help from you guys will be appreciated...

Software Development java
Member Avatar for dansm88
0
922
Member Avatar for vindom

Hi every one I'm trying to retrieve UserID (which is autonumber in ms access database) using C# and assign it to string u.I'm totally new to C# and trying to get more skills.... here goes.. string connStr, selectCmd; connStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=..\\library.accdb"; selectCmd = "SELECT * FROM users WHERE First_Name …

Member Avatar for vindom
0
331
Member Avatar for daino

Would anyone know how to install pre-compiled binaries. I want to use GLIB and have downloaded the pre-compiled binaries. I'm running Windows XP and have a MinGW compiler. I've googled this but i'm having trouble making sense of it. There must be a standard way of doing this. Thanks

Software Development c++
Member Avatar for daino
0
137
Member Avatar for venet

Hi, I'm getting an error when trying to deserialize my XML file. The error message is "There is an error in XML document (2, 2)." Below is the code in question and the XML file. Could someone please explain why this is? Thanks in advance! <?xml version="1.0" encoding="utf-8"?> <Objects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" …

Software Development
Member Avatar for venet
0
129
Member Avatar for oateye

I am working on a minesweeper project and everything is working fine EXCEPT for when you click on a cell and it contains a 0 (no mines around it) and it is supposed to open all the other "0" cells around it using recursion. Right now, I keep on getting …

Software Development java
0
295
Member Avatar for gaurangj

import java.io.*; import java.io.Reader; import javax.servlet.*; import javax.servlet.http.*; import org.w3c.dom.*; import javax.xml.parsers.*; import java.net.*; import org.xml.sax.*; public class HelloWorldExample extends HttpServlet{ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ response.setContentType("text/html"); PrintWriter out=response.getWriter(); URL url=new URL("http://cs-server.usc.edu:10724/my1.php"); URLConnection urlConnection=url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream())); String xmldata; while ((xmldata = in.readLine()) …

Software Development java
Member Avatar for NormR1
0
174
Member Avatar for izabella.pearson

I've built this up but it will not run completely. When executed the program promts the users for the questions then print nothing of the calendar. this is my code so far. //Izabella Pearson //CIS 150 //Program 6 #include <iostream> //Header Files #include <fstream> #include <string> #include <iomanip> using namespace …

Software Development c++
Member Avatar for Ancient Dragon
0
160
Member Avatar for Bowdown28

Hello, I am new to using windows form application in c++ and i am having a problem with making my program work. I have three textBars and one button. The first textBar is for the user to input a double. When the button is pressed i want it to perform …

Software Development c++ microsoft
Member Avatar for Ancient Dragon
0
341
Member Avatar for mahnaz0098

Hello i have a printer cable that i connect to it some LEDs . i want to use CreateFile and WriteFile functions but i don't know that i should use LPT1 and LPT2 or COM1 and COM2 in CreateFile function. h = CreateFile( L"LPT1", // pointer to name of the …

Software Development c++ printer
Member Avatar for Ancient Dragon
0
1K
Member Avatar for jude416

Hi guys. I am currently making a Question and Answer multiple choice Program. So far it is good. I used Array to shuffle 50 questions. the problem of the program is it cannot count the right answers and display it. This is the part of the program that has an …

Software Development c++
Member Avatar for DeanMSands3
0
283
Member Avatar for taylor.mitchell.353

I have been working on this method for six days without any luck. I should have talked to you earlier. This method is from the book, but it only is deleting California. I cannot figure out why. I tried a couple different methods(recursive and others) and none of them worked. …

Software Development java
Member Avatar for NormR1
0
219
Member Avatar for funtoosh

I'm trying to load an image in an Applet.The code goes fine and the Applet Window starts but it just gives a blank window instead of showing the image.I put the html file,.class file and the image file in the same directory.Can u figure out where I went wrong?? Here's …

Software Development image java
Member Avatar for shanker31
0
1K
Member Avatar for hust921

I am trying to solve a problem 3 on project euler. For thoes who don´t know the site, here is the question I am trying to solve: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ---------------------------------------- …

Software Development c
Member Avatar for Adak
0
162
Member Avatar for Aninda

Iam trying to implement ternary tree in java but i have got exception in printnode method..i couldnot figure out the exception it will be great help if any one help me to figure out this Thanks in advance here is the the code exception Exception in thread "main" java.lang.NullPointerException at …

Software Development java
Member Avatar for NormR1
0
191
Member Avatar for muhammad.khan.3576

1. You are required to make a structure named “section”. The names of the two sections are secA and secB. 2. There are two members of this structure i.e. numberOfBoys and numberOfGirls. 3. In secA there are 48 boys and 6 girls while in secB there are 50 boys and …

Software Development c++ data-structure
Member Avatar for Ancient Dragon
0
280
Member Avatar for crownedzero

I see this example frequently and thought I'd give it a shot but I've got something unexpected happening with my Queue. I have multiple threads utilizing my producer class but the output doesn't show that it is being written to by each thread. protected Queue<ProductMessage> prodQueue = new ConcurrentLinkedQueue<>(); @Override …

Software Development java multithreading queue
Member Avatar for ~s.o.s~
0
284
Member Avatar for xcindiix

Hi everyone... im using C++ Microsoft visual studio and would appreciate if you can help me out here. Ive been trying to do this the whole day ... and canttt figure it outtt PLEASEE HELPPP !! I am a total beginner so sorry if i have very stupid mistakes. #include …

Software Development c++ visual-studio
0
114
Member Avatar for loldafuq

Sorry my English is bad.Im beginner in programing with c/c++ I have to write 2 codes and want some help **1. Write a program with a function main () and selecting a menu of functions: Generate a programming-random number generator data for lottery ticket / max 100 / with six-digit …

Software Development c++
Member Avatar for laura90
0
218
Member Avatar for WDrago

All, I am working on a simple program that reads temperature, humidity, and dew point from a sensor and logs the result to a .csv file. I am using netbeans and using alt-enter to surround code with try-catch whenever netbeans suggests. The result is pretty ugly and I can't imagine …

Software Development developer-tools java java-netbeans
Member Avatar for WDrago
0
1K
Member Avatar for hwoarang69

AffineTransform tx = new AffineTransform(); tx.translate(0, 100); tx.rotate(233); tx.setToRotation(34, 333, 333, 222); g.drawImage(player_image, x, y, x+width, y+height, 50*(int)frame, 147, 50*(int)frame+50, 189 ,Sprite_Sheet.m1); not sure what iam doing wrong. this code below just display image g.drawImage(player_image, x, y, x+width, y+height, 50*(int)frame, 147, 50*(int)frame+50, 189 ,Sprite_Sheet.m1); now how can i flip it …

Software Development image java
Member Avatar for JamesCherrill
0
118
Member Avatar for nUmbdA

Hello again, I am working on another homework problem for my fundamentals class and my brain just isn't working. Like always I am looking for direction not for someone to do the work for me. So I have to create a program that asks for 5 test scores and will …

Software Development python
Member Avatar for Lardmeister
0
333
Member Avatar for tooGr8

Can someone please show me how to get the Odd number using the For..Next loops in VB I have declared the following; Dim intCounter As Interger Dim intStartValue As Interger Dim intEndValue As Interger Dim intSum As Interger intStartValue = 0 intEndValue = 50 intSum = 0 Iam trying to …

Software Development vb.net visual-basic
Member Avatar for khair.ullah
0
76
Member Avatar for KRUX17

Hello, I'm having trouble with the ArrayList add method it seems to be giving me an error in BlueJ. It say's no sutiable method found for add(int) method java.util.ArrayList.add(int,Order)... And how would I create a new object inside a method which will add the parameters to the arraylist. Thanks Here's …

Software Development java
Member Avatar for KRUX17
0
175
Member Avatar for angelo.uknown

I am new to this but i have downloaded and installed GMP library. The problem is that i have no clue on how to use it! Want to get a number larger than 18*10^18 (unsigned long long) but i dont know how! I am confused with all the mpz and …

Software Development c
Member Avatar for deceptikon
0
246
Member Avatar for Kingcoder210

Hi! How should I get date, month & year in ascending order there in Crystal report? I have written following code there in my form to show report. Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class Income_Sheet_Report Private Sub Income_Sheet_Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cmbisrbdt.Items.Clear() …

Software Development vb.net
0
128
Member Avatar for hwoarang69

i create a program using java and jframe. now how can i put it on desktop so that i dont have to keep on opening eciplse to run the program. is there a way to put it on desktop with a icon. so i can click it any it will …

Software Development java
Member Avatar for JamesCherrill
0
280
Member Avatar for Gus_19

I have a loop to look for the key i.d. "veh2." The loop is there because even though the next line in the text file is where it should be, it is not there in all cases. The problem I'm having as far as wording or a way to go …

Software Development vb.net
Member Avatar for Gus_19
0
134
Member Avatar for shihab2555

I have created a table named student including column stu_id, stu_name & Blood_group.I created a delete button to delete rows and I used the following code when delete button is pressed.I take input using jtextfield.But this can only delete by taking input in stu_id.But now i also want to delete …

Software Development java mysql sql
Member Avatar for shihab2555
0
240
Member Avatar for andrew mendonca

Define a getMean() function with the specification and prototype shown below: // Return the sum of all scores divided by the number of scores. // This know as the "mean" or average of the scores. // Assume that numScores > 0. double getMean(double scores[], int numScores); Here is the driver …

Software Development c++
Member Avatar for vijayan121
0
208
Member Avatar for tingwong

Hello all. For my project I have to create a snack machine with mints and cookies. So far I have gotten an array of cookies with the code below. However an interesting problem I'm having is my output: OATMEAL cookie LEMON cookie null CHOCOLATE_CHIP cookie OATMEAL cookie LEMON cookie null …

Software Development java web-browser
Member Avatar for JamesCherrill
0
1K
Member Avatar for manjushcool

I am doing my c++ program on hospital data base management. I have users of type admins,hospitals,doctors and patients. Each have their own username and passwords. I used files in order to maintain data base. It does not enter if the user name and passwords does'nt match. But my problem …

Software Development c++ ios
Member Avatar for happygeek
0
4K
Member Avatar for krunal1986

hi all, i am not able to redirect/login to my owa page. when i run my code below commandd windoe comes and disappears nothing happens. please seemy code below: Sub main() Dim strServerName As String = "12.345.56.789" ' my owa ip Dim strPassword As String = "password" 'my password Dim …

Software Development microsoft-access vb.net
0
166
Member Avatar for pratik65

i am trying to get crystal report of my Marks_master Records From Table . I tried Following Code But It is Giving Me Exception As : System.IO.FileNotFoundException was unhandled Message=Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one …

Software Development assembly dataset open-source vb.net
0
121
Member Avatar for andrew mendonca

Define a getScores() function with the specification and prototype shown below: // Get scores from console and return the number of scores recorded. // A negative value signifies end of input. // If more than MAX_SCORES values are entered then discard entries beyond the first MAX_SCORES. // Assume that MAX_SCORES …

Software Development c++
Member Avatar for faroukmuhammad
0
214

The End.