132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ashine80
Member Avatar for ScottieF
0
167
Member Avatar for shean1488

Hi everybody. My question is. I made an html template that I will extend in every other html pages. And this template have some variables. So my question is how to assign a function to this base template. Let me be more clear and give you an example: base.html ... …

Software Development python
Member Avatar for ScottieF
0
268
Member Avatar for Dewey1040

I've recently created a .dll project in Visual Studio using C++. I'm curious how Visual Studio is creating the ability to link the files. I got everything working properly but it seems I can get the project to work flawlessly regardless of where the .dll file is located. Once the …

Software Development c++ unix visual-studio
Member Avatar for mike_2000_17
0
185
Member Avatar for chinee

i am doing a group project concerning graph my part is finding the minimal cost the teacher tried to help us out with the group work by putting up code for the parts for use to follow. i have errors when i compiled the code that the teacher give. the …

Software Development java
Member Avatar for chinee
0
194
Member Avatar for peterparker

I am learning Python through LPTHW. There is an exercise where we need to create test scenarios. The following is the code for whom Test Case have to be made: ############################# # Sentence Parser # ############################# class ParserError(Exception): pass class Sentence(Object): def __init__(self, subject, verb, object): # remember, we take …

Software Development python
Member Avatar for peterparker
0
265
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 tony75

Hello Friends Creating library object. I have a library.txt that contain 20 books and every line in library,txt contain author ,title and loan , my questions is how to create class and object for library script with python. 1. search at title 2. search at author 3. Borrow a book …

Software Development python
Member Avatar for tony75
0
687
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 robertstan79

Hi, I am writing a program that uses post-order breadth first tree-traversal to give me a path navigating from one point in my house to another. Here is a map of my house: http://postimage.org/image/3vq80wdkx/. Here is the tree that I need to traverse and list all the possibilites of: http://postimage.org/image/nlbv9dp03/. …

Software Development c++
Member Avatar for deceptikon
0
106
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 wallet123

i want to create a program that would translate number to words from 1-1 billion this is how i started: package app.runner; import javax.swing.*; public class EnglishNumberToWords{ public static void main(String args[]){ int inputNumber=0; String oness[]={"one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"}; String tens[]={"ten","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"}; String answer=""; String calculate=""; inputNumber=Integer.parseInt(JOptionPane.showInputDialog(null,"PLease Enter a Number: ")); int billion=inputNumber/1000000; int …

Software Development java java-swing
Member Avatar for JamesCherrill
0
249
Member Avatar for anuran

im using this code to send strings to serial port but this is very slow,the other end of communciation arduino board is not able to get those strings at realtime,how can i fasten this communication? there is no problem in arduino board or arduino code,it works fine for its sample …

Software Development c++ ide
Member Avatar for Ancient Dragon
0
329
Member Avatar for AmalaBtech

Hi, i want to call an msword apllication into a panel in vb.net.

Software Development vb.net
Member Avatar for Yogeshp
0
91
Member Avatar for harishjoy

public int insert(Order order) throws SQLException { PreparedStatement insert = null; int orderKey = -1; try { String method = new String("DBInterface.insert( Order )"); FileLogger.log(FileLogger.HIGH, method + " - Entering..."); int col = 0; int actionCode = getCodeKey("ORDER_ACTION", order._action); int statusCode = getCodeKey("PCO_AUTO_STATUS", order._status); int falloutTypeCode = getCodeKey("FALLOUT_TYPE", order._falloutType); orderKey …

Software Development java
Member Avatar for JamesCherrill
0
337
Member Avatar for uurcnyldrm

How can I print a BufferedImage? I mean how can I send a BufferedImage to the printer? I heard something like printJob but I don't get it. Please help me about this. Thanks in advance.

Software Development java printer
Member Avatar for dongiulio
0
643
Member Avatar for kimlong2012

Hi all, Could anyone help me to create function Encrypt and Decrypt username and password in vb.net? best regard, Kimlong.

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
90
Member Avatar for kimlong2012

Dear all; I have using VB.Net and sql server to develop an application. In the form I use controls to move record like First Rec, Previous Rec, Next Rec, Last Rec. But I'm not using Navigator Binding control. It's mean I use code to move.Anyone can help me, please. Thank! …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for Cenchrus

Hey everybody! I recently bought a book on developing for android. I got stuck on the main.xml file code when it gave me a bunch of errors... here's the code <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <SlidingDrawer android:id="@+id/drawer" android:layout_width="320dip" android:layout_height="440dip" android:orientation="vertical" …

Software Development android android-development xml
Member Avatar for Mike Askew
0
879
Member Avatar for barnum

Hi, I got a strange problem with a TextBox, which is in an Xpander in an XpanderList in a custom UserControl. (Using C#, .NET 4, Visual Studio 2010, WinForms, Windows 7.) I am making a simple "auto-complete", by starting a Timer in my TextBox TextChanged event. If this timer fires …

Software Development gui visual-studio
Member Avatar for barnum
0
1K
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 kimlong2012

Dear All; I would like to suggest for a function name getDataToGrid(). Example: I have table name tblStaff(StaffID,StaffName),tblPosition(PositionID,PositionName) and DataGridView anem dgvStaff. For my purpose is, I don't want to write the same code for each forms. That's why I want a function, just call to each form. It can …

Software Development dataset vb.net
Member Avatar for kimlong2012
0
426
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 RedSpyder

Hey guys. Im in my first week of class for Java OOP. This is what my first assignment looks like **1. Ask from the user: how many students take CompSci in summer, and store that number in a variable.** **2. Ask the user to input the name and mark of …

Software Development java oop
Member Avatar for delta_frost
0
185
Member Avatar for poojavb

Hello, Is it possible to disable the windows key when the application is running?? Suppose I am running a particular application....and if the user press the windows key or clicked on the windows key on the task bar it shud prompt a message box that user is not allowed to …

Software Development microsoft vb.net
Member Avatar for TnTinMN
0
2K
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 sandeepalankar

Hi, I have a problem in data structures I am stuck in this one .Please try to help me. Question : A man Joe has a habbit of eating pancakes & driving bikes.Once he went for outside by his bike,now he is EXACTLY IN THE MIDDLE OF A ROAD his …

Software Development algorithm c data-structure
Member Avatar for WaltP
0
181
Member Avatar for gem.gonzales.9

Please help me to make a program in turbo c that will let you guess the password. but if it is wrong the program will ask you do you want to continue y or n ,if y it will display again what is the password if no end the program

Software Development c
Member Avatar for WaltP
0
160
Member Avatar for Lucaci Andrew

Here's some simulation of the basic push_back and pop_back functions from stl vectors, "inspired" by this thread: http://www.daniweb.com/software-development/cpp/threads/427912/question-about-a-simple-vector-class-template

Software Development c++
Member Avatar for Rashakil Fol
0
501
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 cocoll

Hello! i have a windows form application which i have many controls such textboxes buttons and more. that i need is to draw or add a control on top of all the form.but i need that control to be transparent so the user can see the textboxes and labels behind …

Software Development
Member Avatar for cocoll
0
109
Member Avatar for rajshrimohanks

I came across [this](http://www.daniweb.com/software-development/cpp/threads/189901/screen-capture-program) program in the C++ section. How to do something similar in C? Let me elaborate. I want to read the colour values of individual pixels in at the rate of at least about 25Hz. I have a nVidia GeForce GTS450 graphic card and Windows 7 64-bit/Linux …

Software Development c display windows-vista-7-8
Member Avatar for rajshrimohanks
0
2K
Member Avatar for daino

Is it possible to create charts with XML. What I am trying to do is build a database application and it will need to be able to generate reports. I will need to be cross-platform and open source. Because I'm new to the idea of XML I will be reading …

Software Development open-source xml
Member Avatar for Mike Askew
0
117
Member Avatar for tendaimare

I am using the code below to bind my Gridview to a datatable and the code works well. However I now want to add data to the datable and its giving me an error "Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.". So …

Software Development dataset vb.net
Member Avatar for kRod
0
555
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 Krefie

Hey Hey I have found that in certain instances breakpoint just dont cut it for me...let me explain: The current program I'm working on in Delphi Codegear has some 2 mil lines of code under a button click, not bad coding btw, just a lot of fuctionality. Now, the program …

Software Development delphi pascal
Member Avatar for pritaeas
0
226
Member Avatar for fl415

here is the problem: Write a C/C++ program (call it string invert) that takes a string argument from the command line and outputs the string in reversed order. Here comes the twist: Each process can output at most one character. If you want to output more than a single character, …

Software Development c++ unix
Member Avatar for DeanMSands3
0
852
Member Avatar for iamnot

Sample Input: 20 10 2 5 2 Sample Output: 2 Explanation: An amount of 20 could be made in 2 ways: 10*2 10*1 + 5*2 I want to find out the number of ways a particular amount can be made with given coins.In the sample input 20 is the amount …

Software Development algorithm c
Member Avatar for sepp2k
0
137
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 speakon

Hello, I have just recently begun the move from Java (beginner) to C++ and have found an interestng project I would like to develop which should teach me some great c++ code. **Encrypted Console Journal** * Text File Encryption * File IO * Date && Time System Retrieval * Text …

Software Development c++ encryption
Member Avatar for Lucaci Andrew
0
173
Member Avatar for anuran

im using this code to detect face features,it works properly but after sometime of its run,video frame pauses and stops responding. im running it on microsoft visual cpp 2008 #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include <cv.h> #include <highgui.h> #include <conio.h> // A Simple Camera Capture Framework const …

Software Development c++ storage
Member Avatar for Banfa
0
261
Member Avatar for Cronicle8

Good morning, I'm having some trouble getting this to work, but i am using 1 color filter to detect a color in my webcam video, but to achieve what i want, is it possible to use 2 color filters? Thank you in advance.

Software Development webcam
Member Avatar for Kousha
0
1K
Member Avatar for avgprogramerjoe

This is a simple game of pong with made using pygame. You will need to make a picture of the pong for it to run properly. Simply make a cirlce in paint, 25x25. Joe

Software Development python
Member Avatar for astronautlevel
0
3K
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

The End.