43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Viped

Hi, my codes if statement returns false for some reason. I tried different variation yesterday and today morning and nothing works. Could someone look my code. I got File file users.txt where the usernames are stored. public static void checkUser(String userName, char[] passWord) { FileInputStream fIn; DataInputStream dInput = null; …

Software Development java
Member Avatar for Viped
0
161
Member Avatar for cyberdaemon

Good day.. i was stuck a moment realizing what went wrong to my project. I'm currently developing a enrollment system. I have 3 tables in my DB namely course_code,curriculum and pre_requisite tables. on the course_code table i have fields course_code(PK),course_desc. on the curriculum table i have but in this table …

Software Development open-source vb.net
Member Avatar for imless
0
111
Member Avatar for JamesArhy

Hey Guys, I'm building an asteroids-like game and I'm needing to be able to apply the same operation too all of the different "aliens" on the screen. When I had two aliens on the screen I performed all of the functions manually but that is bad program design. I created …

Software Development c++
Member Avatar for sfuo
0
805
Member Avatar for bobytch

Good day to every one. First here is my code so far import java.io.*; public class Program2 { public static void main (String[]args) throws IOException{ BufferedReader bv = new BufferedReader (new InputStreamReader(System.in)); String a, b, c, x; Float d, e, f, g, h, i, j, k, l, m, ave; System.out.println("ENTER …

Member Avatar for bobytch
0
432
Member Avatar for loserspearl

I've been working on a a math tutoring program, I have the problem generator and solver working but I'm trying to have my random operator generator to use a check and change protocol so there isn't ALL add, sub, mult, or div in a problem. Some math problems will have …

Software Development assembly
Member Avatar for loserspearl
0
209
Member Avatar for Begginnerdev

Hello my fellow DaniWebbers, I have a question for you. Problem: I am troubleshooting an ASP.NET (some one else wrote) page that has an insert form. The user can insert, using linq, into the database. I want to check the database for the values before inserting the values. (Safeguarding from …

Software Development asp.net vb.net
Member Avatar for Begginnerdev
0
328
Member Avatar for perllearner007

Hi I am trying to convert .qual and .fna file to fastq using the script provided here. http://seqanswers.com/forums/showthread.php?t=2775&highlight=fasta+qual+fastq The code is as follows: #!/usr/bin/perl use warnings; use strict; use Data::Dumper; use File::Basename; my $inFasta = $ARGV[0]; my $baseName = basename($inFasta, qw/Reads.fna/); my $inQual = $baseName . "/Users/myfolder/Reads.qual"; my $outFastq = …

Software Development perl
Member Avatar for Kwetal
0
348
Member Avatar for grh1107

Currently I'm working on Euler Problem 62, Permutations of a cube, the program is searching for a cube that 5 of the permutations are other cubes, I did some online research and found that the cube that im searching for is within the range of an int64, Actually its 12 …

Software Development
Member Avatar for grh1107
0
239
Member Avatar for DarkMonarch

hey guys, i was looking into rewriting the php custom framework at work into java. i was going to download the J2EE but there is 2 versions. J2EE SDK (regular) and J2EE Web Profile SDK http://www.oracle.com/technetwork/java/javaee/downloads/index.html i've look at the descriptions and the includes and it look the same. whats …

Software Development java oracle
Member Avatar for ~s.o.s~
0
133
Member Avatar for lj81

Hi, I'm currently creating a pool game which is nearly complete but I want to have it as a 2 player (human vs human) game. All that I want the program to perform is that when the game begins then the two players are asked to enter their names (I …

Software Development java
Member Avatar for Philippe.Lahaie
0
419
Member Avatar for sharath_137

hi all, wat is session in c++. when do we want to create a session. regards, Sharath.

Software Development c++ session
Member Avatar for sharath_137
0
93
Member Avatar for gemini88

Hi all experts ... I have a question .... How can i call a function of Class A from Class B without creating any objects,static menthds or using any inheritance.. like if class A has a variable of classB then classB can call a method of class A.... explanatory code: …

Software Development
Member Avatar for gemini88
0
570
Member Avatar for Na'Vi

String q = new String(“Cat”); String r = q; String s = new String(r); I understand that the first line would equate to `String q = "Cat";` and the second would be `String r = q;`, but what would the last one equate to without using new? I originally thought …

Software Development java
Member Avatar for JamesCherrill
0
125
Member Avatar for Sendy Hipo

hi guys, i want to do this task given by ebook : **Modify the SimpleVector class template presented in this chapter to include the member functions push_back and pop_back. These functions should emulate the STL vector class member functions of the same name. (See Table 16-5.) The push_back function should …

Software Development c++
Member Avatar for Sendy Hipo
0
961
Member Avatar for PhilEaton

Can anybody help me out, show me where to look or a keyword or something? I'm trying to figure out how to write simple programs that can manipulate other programs. To keep it simple, and as a start, I'd like to be able to run the program to insert a …

Software Development java
Member Avatar for PhilEaton
0
124
Member Avatar for ThePythonNoob

Hey guys im need some help with this binary calculator, you enter the amount of bits or n in and then it calculates the number? In order for you to understand my problem more I will explain why I am making this, I asked my dad how big 128 bit …

Software Development python
Member Avatar for ThePythonNoob
0
256
Member Avatar for DEAD TERMINATOR

So I'm working on a checkers like game that involved moving two different types of pieces around the board to try and capture the opponents pieces. One of these pieces is a ball, and it's movement rules are that it can move up and down only one space per turn, …

Software Development java legal
Member Avatar for JamesCherrill
0
623
Member Avatar for godzab

I have made a simple web browswer in java. The problem is it's to simple. How would I add things like HTML5 support in my web browser?

Software Development html-css java web-browser
0
110
Member Avatar for Tarqish

I hope someone can point out to me what I am doing wrong here. I have a set of picture boxes in an array. If I use the following code with the PictureBox array declared in the private sub, there is no issue. If I put the array as part …

Software Development vb.net
Member Avatar for Tarqish
0
173
Member Avatar for I_m_rude

hi, 1. actually i was reading some text from my book and i come across this expression. I am not getting what it means. here it goes, typedef int (*HIG) (int,int); And "sizeof" can't be used in #if because the preprocessor does not parse type names. What this statement means …

Software Development c
Member Avatar for Perry31
0
116
Member Avatar for Lord_Migit

Hi folks, just a queary about checking chars. I have a char[] variable. I ask the user a question and the user types a response and presses enter. I need to check the variable to see if it said particular things and more importantly if it said nothing. #include <iostream> …

Software Development c++
Member Avatar for Lord_Migit
0
197
Member Avatar for Oneryavuz

i wanna search items like MS windows search for example if i wanna search mp4 files i should write "*.mp4" its enough my searching but if i ll use filter function i cant do this on datagridview couse when i want to search something i need to know full name …

Software Development vb.net
Member Avatar for Oneryavuz
0
111
Member Avatar for benjaminpelc

Hi, I am trying to write code to read a text file containing velocity vector data in the form x, y, u, v. An example of the data file I am opening is: 0 1.0 3.24 45.64 1.5 2.5 54.34 23.45 ... I have a function which can read the …

Software Development c data-structure file-system
Member Avatar for benjaminpelc
0
274
Member Avatar for samsylvestertty

Hi Friends, I have created a small C# program to "SendKeys" to the active application. I use it to automate the cheat code typing for games. I have assigned cheats to some keys in the keyboard. Problem is the `SendKeys.Send()` works with notepad (i've tested) but not working with GTA …

Software Development gaming
Member Avatar for samsylvestertty
0
379
Member Avatar for astian

For a few days I was trying to solve a problem with my WCF Service. The thing was that after publishing the reading of the dbf file, which was implemented using oledb or odbc and using microsoft jet and vfpoledb drivers (a few distinct ways each of which not working) …

Software Development publishing
-1
161
Member Avatar for writerervin

I apolagize if this question has been asked before, but I was looking to see how I would go about writing an editor that saves the file on a server instead of on the harddrive. I would appreciate any and all help.

Software Development client-server java
Member Avatar for trishtren
0
171
Member Avatar for TheBusDriver

B works, A does not. Is there any way to make A work without using new (that includes placement new)? The code is more or less identical and I'm sure my overloaded new/delete are being called. The only difference is that A doesn't call the constructor but that shouldn't matter …

Software Development c++
Member Avatar for sepp2k
0
657
Member Avatar for gahhon

i've linked the database correctly, but i can't view the value after i drag the table from data source, and my database already saved data. why? :(

Software Development vb.net
Member Avatar for gahhon
0
256
Member Avatar for Eruditio

I'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few …

Software Development file-system microsoft-office vb.net
Member Avatar for Reverend Jim
0
1K
Member Avatar for messynaddy

public class Stack extends LinkList{ public Stack(){ public void push (Object element) { insertAtFront (element); } public Object pop(){ return removeFromFront(); } public Object peek(){ return getFirst(); } } Im trying to create a movieApp using pop push and peek method(Stack). But once the class got compiled, it shows a …

Software Development java
Member Avatar for messynaddy
0
288
Member Avatar for MasterHacker110

I have this encryption code, it encrypt the file but doesnt want to decrypt it: it gives a segmentation fault error. By the way i am using linux... #include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <sstream> #include <vector> using namespace std; int n, c, l; void gen_code(string word1, …

Software Development c++ encryption ios
Member Avatar for MasterHacker110
0
2K
Member Avatar for KE50

Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used …

Software Development delphi pascal php
Member Avatar for pritaeas
0
683
Member Avatar for karoke

CAN anyone help me in knowing the differences between J2EE, J2SE & J2ME... I am a newbie to Java. Please explain me in detail. Thankz in Advance !!!

Software Development java
Member Avatar for JamesCherrill
0
5K
Member Avatar for RobBrown

Hi All, I have a program for a multiplication table that requires a user to indicate the table they want to see with an integer between 4 and 12 and I would like the final array (MultTable) to look like the following, is this possible? 0 1 2 3 4 …

Software Development c++
Member Avatar for RobBrown
0
287
Member Avatar for deshazer.jad

I'm trying to load a PNG file into a BufferedImage like so: BufferedImage image = ImageIO.read(new File("smile.png")); When I use this line of code alone, it produes the error: Unhandled Exception Type IOException... I can fix this by surrounding the statement with try/catch like so: BufferedImage image = null; try …

Software Development image java
Member Avatar for deshazer.jad
0
854
Member Avatar for kerek2

Hi all... I'm new in vb.net and just create a listview project . I wan to display item from database(.mdb) into listview.how to make the next item going below and not auto sorting by id?...please help me...thank in advance Do While IBSSDR.Read() If IBSSDR.Item("USERDEFINED10").Equals("Y") Then ListView1.Items.Add(IBSSDR.Item("CARDHOLDERID")).ToString() ListView1.Items(ListView1.Items.Count - 1).SubItems.Add(IBSSDR.Item("NAME")).ToString() If …

Software Development listview vb.net
Member Avatar for kerek2
0
141
Member Avatar for bmfinn

I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end …

Software Development gui vb.net
Member Avatar for bmfinn
0
938
Member Avatar for astian

Ok, I think Im missing something Big in programming logic when comes to web applications. Once again Im clueless about how to proceed in the curent situation. I have a Bing Maps application that connects to a WCF Service to read and write to a database. In this application I …

Software Development open-source
0
118
Member Avatar for bmfinn

I am trying to create an applicaiton that will verify that a large text file used far a CNC machince has all of the operations in order (someone may have edited the file by mistake) I wish to bubble sort the lines of the file while ignroing other lines. I …

Software Development file-system vb.net
Member Avatar for Reverend Jim
0
426
Member Avatar for Skate Bart

okay. Here's my problem. I have a form in which a Microsoft Hierarchical Flex Gid (fgdCompany) is used to display records taken from a database to relavent textboxes on the same form. When a record from fgdCompany is clicked, then the data in that record is shown on the textboxes. …

Member Avatar for AndreRet
0
583
Member Avatar for Valiantangel

hi my complier showing me that i am having 4 errors.In **t1.drawHexagon(int width)**; & **t1.drawPentagon( int width )**.Its says .class and ";" expected. Help. Thank you import java.util.*; import java.awt.*; public class Turtle extends SimpleTurtle { public Turtle (int x, int y, Picture picture) { super(x,y,picture); } public Turtle (int …

Software Development java
Member Avatar for corby
0
136
Member Avatar for Viped

Hi, I am trying to make simple gui which switches jpanel inside jframe but my IDE says "Cannot make static reference to non static method setPage(int) from the type Main". Why is that? There is no static modifier on actionPerformed or at setPage or actually anywhere else than public static …

Software Development gui ide java java-swing
Member Avatar for JamesCherrill
0
168
Member Avatar for ZNERB

Hello, I am getting these constant annoying errors in Visual Basic .NET 2010 Express. I'm pretty sure I'm not the only one, but these errors are always relating to images and resources! [QUOTE][B]The Type 'Global.ExampleProject.My.Resources.Resources' has no property named 'example.png'[/B][/QUOTE] I am pretty sure these are bug, due to the …

Software Development vb.net visual-basic
Member Avatar for jsurefo
0
503
Member Avatar for Mike Askew

I'm after some advice really. I wish to create an application for myself and a friend using DropBox as a means to store and sync a CSV with data in. Is it possible to programatically search through a computers directory to locate folder called 'Dropbox' without hardcoding its location? If …

Software Development file-system seo
Member Avatar for Cap'nKirk
0
149
Member Avatar for srinivas88

Hi, I am trying to use mysql select query in a shell script but i need to know how to store a particular value from the output of the query in a script variable. my script file is given below. I need to store the value under field CheckSum in …

Software Development mysql shell-scripting
Member Avatar for srinivas88
0
3K
Member Avatar for themaj

Trying to figure out the best way to do create a CSV export file from my source files and need some input. I'm trying to build a CSV export file for import to an Accounting System where there are 3 different tables mapped to a single field in the main …

Software Development dataset vb.net
Member Avatar for themaj
0
276
Member Avatar for triumphost

I'm learning how to detour-hook functions from tutorials online but when I follow along, my DLL says symbols not found. The error I get says: > Linking dynamic library: bin\Debug\GLHook.dll > Cannot export GLHook_glAccum: symbol not defined > Cannot export GLHook_glAlphaFunc: symbol not defined I don't know why though.. I've …

Software Development c++
Member Avatar for triumphost
0
761
Member Avatar for viktor.baert

Hello, I'm trying to make a very basic + - calculator in java using constructors after watching thenewboston video tutorial I tried to experiment with it. My litle project is almost finished my only problem is that the boolean I use is being reset after I assign it. If someone …

Software Development java
Member Avatar for viktor.baert
0
939
Member Avatar for trishtren

Hey, I have a need to define a new type such as int,short etc. I have the class with all the base methods it must perform somewhat equivelant but different from the Integer class, Short class etc. However im not sure whether this is an interface i need to define. …

Software Development java
Member Avatar for sepp2k
0
135
Member Avatar for poloblue

Good Afternoon, I'm having some difficulties on an assignment where I need to write a program which will generate a list of signed random numbers, find the average of all the numbers, the average of the positive and negative numbers and the largest e number. So far I have this …

Software Development c++
Member Avatar for poloblue
0
330

The End.