132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Bumpehh

So, i wanna try graphics, and i was wondering if sfml or sdl is better? I cant find any good tutorials on sfml and its kinda confusing. i havent used sdl so im asking your opinion. and also, **What did you start off with, and why?**

Software Development c++
Member Avatar for Bumpehh
0
125
Member Avatar for Lemony Lime

I've recently started college at Digipen, and have developed carpal tunnel already from all the writing/coding/etc... but fortunately for me, I'm learning to be a programmer, and have already made a few programs to assist with things like opening command prompt/bat files faster/without clicking, etc. Since clicking the mouse is …

Software Development c
Member Avatar for np complete
0
177
Member Avatar for Sasquadge

Hey guys I'm having a minor issue here, I'm having an issue with my sterling.cpp in the add functions sterling add(sterling s1, sterling s2) my question is how do I get it to realize when my shillings is > 20 to goto pounds and when my pence is > 12 …

Software Development c++
Member Avatar for Sasquadge
0
1K
Member Avatar for nitin1

**Because it is a compile-time operator that, in order to calculate the size of an object, requires type information that is only available at compile-time. This doesn't hold for C++.** i have read this statement roght now when implementing one library function. why it doesn't hold for C++? secondly, i …

Software Development c
Member Avatar for myk45
0
269
Member Avatar for silverastrid

I have read online that the CalendarExtender doesn't trigger a postback when inside an UpdatePanel. My page is similar to this: <UpdatePanel> <ContentTemplate> <UserControl /> </ContentTemplate> </UpdatePanel> Inside the UserControl is a textbox that has a CalendarExtender hooked to it. It causes a postback even to be triggered, so my …

Software Development
0
48
Member Avatar for jaimin4829

Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Try Dim usr, pswd As String Dim i, n As Integer obcon.con.Open() obcon.cmndcon() obcon.cmnd.CommandText = "select count(*) from users " n = obcon.cmnd.ExecuteScalar MsgBox("n=" & n) For i = 1 To n Step 1 obcon.cmnd.CommandText = "select usr_name …

Software Development vb.net
Member Avatar for Begginnerdev
0
145
Member Avatar for tspga

i want to display data from text file in list view and in tree view root will be file name, but i dont know how to do it, the problem is with displaying text file data in list view, i don't know anything about that. text file data is very …

Software Development c++ display file-system
Member Avatar for tspga
0
319
Member Avatar for ayat abukhadra

Hey, I'm using Addins to loop through access forms and create an equivalent to access controls and add them to the active window if it was a form , the only problem I'm facing is my access form language differ's from the default language for windows form application , is …

Software Development vb.net
Member Avatar for Begginnerdev
0
143
Member Avatar for Binary1010

Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this function. This was my assignment this week and I am just at a loss I don't even know where …

Software Development c++
Member Avatar for Binary1010
0
926
Member Avatar for vaibhav1983

Hi All, I have configured a spring JPA project but when I deploy and start the tomcat I get the exception nin stacktrace as shown below. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/database-config.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: …

Software Development apache api google-api java java-jsp
Member Avatar for vaibhav1983
0
382
Member Avatar for subrat_p

I want to do a project on hotel management. But I can not know how to take the print of the bill of a customer. After I entered data in textfield how to take printout those data in a money receipt format.

Software Development java
Member Avatar for subrat_p
0
122
Member Avatar for Kunal Lakhani

I have created an application using swing. On clicking a particular menu item, a form is loaded,and after saving it a pdf generates. For reporting, i am using iReport. Here is the code snippet MyiReportViewer.java package sms.ui.ireport; import java.awt.BorderLayout; import java.awt.Container; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import …

Software Development file-stream java java-swing oracle pdf
Member Avatar for Taywin
0
316
Member Avatar for dboxall1234

hi i've recently been learning about python on cssciencecircles.com. After a while i decided to download it so i can save some of my programmes. When i make a programme in the IDLE shell and save it, even the most simple instructions, eg. print('hello world') , when i try to …

Software Development os-x python
Member Avatar for dboxall1234
0
750
Member Avatar for edgar5

I am converting an app I wrote when learning VB (I primarily use C++). In VB it was trivial to minimize a window to the Taskbar: Private Sub GoButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GoButton.Click Me.WindowState = FormWindowState.Minimized Setting the window state in the "Go" button's _Click …

Software Development c++
Member Avatar for edgar5
0
209
Member Avatar for //Gonz

Hello Daniwebbers I have a 2 dimentional control array which gets added to it programatically. There's a lot to add to it but i have already stumbled at the first hurdle. I keep getting the standard "Object reference not set to an instance of an object." error when the first …

Software Development
Member Avatar for nmaillet
0
218
Member Avatar for kshahnazari

Im training for olaympiad and need a little of your help to know useful functions that You use . one of an important things I need , Is that to take a number base 10 to base 2 for example : 66 (base 10) , 1000010 (base 2) if available …

Software Development c++
Member Avatar for deceptikon
0
111
Member Avatar for Trebron

Hi can anyone see what the problem is below I am new to c# so not sure why this code does not excute? using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace Eight_Stage { public partial class Form1 : Form …

Software Development dataset open-source
Member Avatar for nmaillet
0
546
Member Avatar for jell28

Hi, I am an I.T student and currently working with my system. Please teach me how can i save the image link im my database using vb.net, i am done with the browsing, uploading and removing of image except saving.. please help i would be really ideas only on how …

Software Development image vb.net
Member Avatar for jell28
0
403
Member Avatar for akosivivas

Supposed i will input a string like "java"but the display will change instead of "java" the display will change every character and become **** please help.. :)

Software Development display java
Member Avatar for akosivivas
0
85
Member Avatar for stevensonnz

Basically the program is a database of student enrollments. I cannot get the the search delete/undelete and update functions to work and need help asap. Need to implement a bool field to the delete / undelete Please help #include <cstdlib> #include <iostream> #include <iomanip> #include <conio.h> #include <fstream> using namespace …

Software Development c c# c++ ios
Member Avatar for np complete
0
11K
Member Avatar for kothaisaravan

Hi, I am writing code for connecting to an access database in my windows 7 machine. Am using visual studio 2010 with access 2007. While debugging the code am getting the exception **"The 'Microsoft.Jet.OLEDB.4,0' provider is not registered on the local machine"**. Below is my code, Try connection = New …

Member Avatar for deceptikon
0
187
Member Avatar for arabgogs

Hi, I am trying to validate an XML file against a schema, which i can achieve without issue normally, however, in this particular schema, there is an imported namespace, that appears to be preventing the validation from happening, as the error being returned is pointing to node of the elements …

Software Development xml
Member Avatar for Mike Askew
0
262
Member Avatar for anglwthnati2de

Hi I have this code that performs error checking on initial values. Everythinbg works good but how would I go about allowing for user input? I am thinkging JOptionPane but where would I add that? public class Date { private final int month; private final int day; private final int …

Software Development java
Member Avatar for anglwthnati2de
0
345
Member Avatar for tirso

hi to all I have list of names in list view with corresponding unique employee id. The user could select more rows. In each employee id I will find it in database in retrieve all the details information and print it using crystal report. What I want is in each …

Software Development dataset listview vb.net
Member Avatar for maboho25
0
758
Member Avatar for mark.scutt.7

Hiya, Andre kindly showed me how to put my points into a listbox and sort in numerical order decending. I need a way, (Perhaps another list box) of adding a string, (Players Name) next to the points after they are sorted so we can clearly see who's first etc. Here's …

Software Development visual-basic
Member Avatar for AndreRet
0
177
Member Avatar for angel06

Hello everybody! I'm currently creating my first employee monitoring system here in Visual Basic 6. I have a problem with regards to my program, it has an error of no value given for one or more parameters. The code that I will show here is just a part of my …

Software Development visual-basic
Member Avatar for AndreRet
0
329
Member Avatar for semicolon

Hello i have a datatable |row|col2|col3|col4|col5| | 1 | val| val| val| val| | 2 | val| val| val| val| | 3 | val| val| val| val| | 4 | val| val| val| val| | 5 | val| val| val| val| | 6 | val| val| val| val| | 7 …

Software Development
Member Avatar for arunkumars
0
333
Member Avatar for london-G

Hi, I don't know what happen all a suden but all my textfiels variable are now underline in red. I have : st.setString(1, t1.getText()); st.setString(2, t2.getText()); st.setString(3, t3.getText()); Where t1,t2 and t3 are my textfields variable name but is says cannot find symbol. Everything was working fine, I don't understand …

Software Development java
Member Avatar for JamesCherrill
0
105
Member Avatar for xixi.li.7

I need a help with this Java project. And please note that Iam not try to cheating to complete this project,my teacher is give the permission to use any source to help do this project and I'm not plagiarism I will give the credit to the source code in this …

Software Development java
Member Avatar for JamesCherrill
0
95
Member Avatar for Yusuke00

Determinate,if it's possible,p numbers of n binary digits,so any 2 of this numbers to match in exactly m positions.There must no be positions same digit to appear in all the p numbers. Restrictions 1 <= p <= 25 1 <= n <= 25 1 <= m <= n a number …

Software Development c++
Member Avatar for Bob
0
232
Member Avatar for haqua

**Hello Programmers,** Your newbie programmer wants to ask a help regarding his program (That’s Me :D). My program is in Visual Basic 2010, I want to ask how I can search a words or strings. I use TextBox, ListBox and Button for my program. For detailed explanation about what my …

Software Development vb.net visual-basic
Member Avatar for Gé48
0
2K
Member Avatar for precision_lawns

A retail company must file a monthly sales tax report listing the sales for the month and the amount of sales tax collected. Write a program that asks for the month, the year, and the total amount collected at the cash register (that is, product sales plus sales tax). The …

Software Development business-entrepreneurship c++
Member Avatar for Yusuke00
0
948
Member Avatar for poojavb

Is there a way to set Max date in Java for the calendar control or restrict the user from selecting the future dates?

Software Development java
Member Avatar for JamesCherrill
0
205
Member Avatar for Tinnin

Hi all. This regards chapter 6 of "Accelerated C++". The program is intended to scan a document and find all the urls in it. I am testing it with just one string input "text http://www.page.com more text". The program is compiling but doesn't run beyond me entering the input. I …

Software Development algorithm c++
Member Avatar for Tinnin
0
289
Member Avatar for ImagingMachine

Hello All, I am writing an image processing application in C# that needs to be speed optimized for faster performance. I have been told that using Unsafe Code together with Pointers can speed my algorithm up significantly. Unfortunately, I have no experience with Pointers at all. How can I make …

Software Development algorithm c# image
Member Avatar for Momerath
0
539
Member Avatar for nagarjuna844

Hi, I'm new to C++. plzz help me with this error. #include <cstdlib> #include <iostream> #define clauselength 85 //we will use index number to find out the clause number. //there are 88 clauses. as we start using index from 1 we have to add one to 89. using namespace std; …

Software Development c++ queue
Member Avatar for np complete
0
351
Member Avatar for Alsobhi

Hello I'm new learner in java, and I'm facing a problem to develop a Java application that will ask the user for the time in terms of hour and minutes and display the time by drawing a clock. I have created two classes, and the code is below. Please could …

Software Development display java java-swing
Member Avatar for NormR1
0
502
Member Avatar for semicolon

Hello i have a database table | col1 | col2 | col3 | col4 | col5 | | val | val | val | val | val | | val | val | val | val | val | | val | val | val | val | val | …

Software Development sql
Member Avatar for semicolon
0
141
Member Avatar for rbsmith333

Having a hard time getting this to work. options = [ 'option 1', 'option 2', 'option 3' ] for x in range(len(options)): Opt = str(x + 1) print('(' + Opt + ')', options[x]) while True: try: playerOpt = int(input('input ')) check = 'fail' for x in range(len(options)): Opt = x …

Software Development python
Member Avatar for rbsmith333
0
195
Member Avatar for rtyui

How can we know the name of the stream to which output is being redirected through a C++ program? For example, I have a program 1.cpp whose output is being redirected to a file a.txt i.e., a.out > a.txt Now, I want to know the name of the file to …

Software Development c++ file-stream
Member Avatar for L7Sqr
0
278
Member Avatar for BoulderMen

I am trying to write a program to make a list of books using linked list. I am using C language. My program crashes as soon as I finish entering the list. It is supposed to print the list before exiting. Any ideas ? //Defining what libraries should be included. …

Software Development c data-structure linked-list
Member Avatar for sachi059
0
290
Member Avatar for fRodzet

How do i make a Vertical Scrollbar work for a Form ? i Tried Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load VScrollBar1.Maximum = (Panel1.Height - Me.Height) + 500 VScrollBar1.SmallChange = 50 VScrollBar1.LargeChange = 100 End Sub Private Sub VScroll1_Change() Panel1.Top = 0 - VScrollBar1.Value End …

Software Development
Member Avatar for fRodzet
0
69
Member Avatar for fariajan.siddiqui

hey iam writing this code in button's actionPerformed but it doesn't displaying any image . Can you identify what is problem in it??? JFileChooser chooser = new JFileChooser(); FileNameExtensionFilter filter = new FileNameExtensionFilter("Images","jpeg", "jpg", "JPG", "JPEG", "gif","GIF", "png","PNG"); chooser.setFileFilter(filter); if (chooser.showOpenDialog(this)== JFileChooser.APPROVE_OPTION) { File file = chooser.getSelectedFile(); ImageIcon icon = …

Software Development image java
Member Avatar for JamesCherrill
0
108
Member Avatar for supravat

Hi, I am writing some code for android using python. I want to control the visibility of bluetooth ( i.e on or off of the bluetooth visibility) using some python script. Can you please help me ?

Software Development android android-development python
Member Avatar for M.S.
0
313
Member Avatar for darkenmac

Guys I have to implement two algorithm using Pseudocodes in order to genarate formal concepts... but the implemented code doesn't give the expected results i want ... ![Inclose1](/attachments/large/3/Inclose1.jpg "Inclose1") ![Iscanonical1](/attachments/large/3/Iscanonical1.jpg "Iscanonical1") These are the two algorithms i wanted to implement and the expected result is Concept - 1 [0,1,2,3,4] [] …

Software Development algorithm c
Member Avatar for darkenmac
0
308
Member Avatar for Hazuan Nazri

Hello, i got this error when i click my button save. Error: .Net SqlClient Data Provider: Conversion failed when converting datetime from character string. please help me... this is my save button code: Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim check As Integer Dim …

Software Development sql vb.net visual-basic
Member Avatar for Hazuan Nazri
0
1K
Member Avatar for Termid

Straight to the point. I want to create a software, as a self motivation to do more programming. A SOFTWARE, doesn't matter how ugly it is, how simple it is, as long as software and not just a simple 'HELLO WORLD' program. The question is, if i have a source …

Software Development open-source
Member Avatar for Termid
0
134
Member Avatar for jim.lindberg1

Hi! I have a beginners problem I really need some help with. First of all, here is my current program: def texten(): filehandle=open ( 'savetonight.txt', 'r' ) text=filehandle.read() return text def smabokstavertext(): texten() print text.lower() I basically want my function smabokstavertext() to call the first function texten() and then print …

Software Development python
Member Avatar for hughesadam_87
0
138
Member Avatar for Fedhell

Hey guys, its been quite a while since ive posted here :-( Im making a game in java (nope not for school, just for fun) Anyway, ive created some logic for an enemySuicideBomber(spaceship game, prolly not what your thinking) to select the closest location. It works for the most part, …

Software Development gaming java mathematics
Member Avatar for NormR1
0
220
Member Avatar for abelingaw

Would be implementing a system which database is shared accross LAN nextweek. Scenario: All 5 units are of the same OS (Windows XP) * 1 Server * 4 Client Database is MSAccess 2007 * (but 2003 format in case of compatibility issues) Now here's my checklist: * Make sure all …

Software Development visual-basic
Member Avatar for AndreRet
0
187

The End.