132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jremio

Hi there, I would like to implement a web based UI that allows people to drag and drop "chairs" and "tables" onto a floor layout (grids) and save it to their profile by storing in the database. I am wondering how do I start doing this? I am using vb.net …

Software Development javascript vb.net
Member Avatar for codeorder
0
214
Member Avatar for aadi_capri

hello friends, i am developing a windows application in which user has to answer 180 questions,through clicking on the labels defined in the windows, the problem which i am facing is, if the user redirects the form to another page and when comes back, i want that the previous choices …

Software Development vb.net
Member Avatar for aadi_capri
0
176
Member Avatar for Zssffssz

Ok I was reading a book on C++09 and saw this vareable auto that determins what kind of vareable it is. When I try to use it this comes up : "auto will change c++x09 plesase remove it" I did the settings stuff and know I have 09 but how …

Software Development c++
Member Avatar for Narue
0
186
Member Avatar for sunn shine

im studying recursive algos... teacher gave us assignment to write a recursive algo for the tower of honai............. what is TOWER OF HONAI????? :'(

Software Development c++
Member Avatar for Fbody
0
149
Member Avatar for Nakeo

So i got my code to compile with no errors but when i try to run it i get a segmentation fault and i am honestly clueless as to why. Any help would be greatly appreciated. [CODE] #include <stdio.h> #include <iostream> #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> #include <unistd.h> #include …

Software Development c++
Member Avatar for Nakeo
0
177
Member Avatar for pits

how to do this?? 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 plis help!

Software Development java
Member Avatar for hfx642
0
99
Member Avatar for getmet

I created a quote generator and when i click on a person's name, it prints out a random quote of theirs. Now the person has 20 quotes all stored in its own array. How do I get it to print out random quotes tat have not been used, once tehy …

Software Development java
Member Avatar for JamesCherrill
0
92
Member Avatar for ashanu

I am new to C++ coding. I want to know how hash_map and list can work together. My requirement is: I have a structure with address elements, name My hash key should be name of address object. Using the key I should find out structure. I have dynamic list for …

Software Development c++
Member Avatar for sundip
0
185
Member Avatar for vbengcolita

for serious thing , I have one question can someone explain or prove this : 22 divided by 16= 10 modulo 23. the answer must be 10.

Software Development java
Member Avatar for peter_budo
0
175
Member Avatar for Sharukh

My doubt is that is it possible to create incrementing bill no. such as ABC00,ABC01,ABC02,ABC03,ABC04... etc. in ascending list I already know how to increment with numerical numbers like 0,1,2,3,4,...in ascending list I tried concatenation of numerical part with string part.But it works only once;further run leads to error because …

Software Development vb.net
Member Avatar for Sharukh
0
396
Member Avatar for Misbah khan

hi i m working on a projct and i want to use images as background ...and i want to load the adobe photoshop image but its not working.. image1.picture = loadpicture("c:\image.PDD") but its not working .. nw what i do.. any other exple to for backgroung image but i make …

Software Development adobe image visual-basic
Member Avatar for debasisdas
0
107
Member Avatar for Mehwish Shaikh

Can anyone tell me what this following statement means in C++..[B] return (tos==0?1:0)[/B] where tos is a variable.. Thanks..!!

Software Development c++
Member Avatar for peter_budo
0
315
Member Avatar for vijaykavin10

[code]import java.awt.*; import java.applet.*; import java.awt.Event; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; //private Connection connection=null; //private Statement st=null; //private ResultSet rs=null; public class Example extends Applet implements ActionListener,Connection { public void init() { Connection con=null; Statement st=null; ResultSet rs=null; String qa="insert into demo1 values(' ',' ',' …

Software Development java oracle
Member Avatar for peter_budo
0
408
Member Avatar for udayangaS

hi, Im am new to smack-api and im going to create a xmpp client for voice chat using smack-jingle extension.in here im gonna use ICE transport with customized Jingle media manager. problem is. smack jingle extension doesn't have proper documentation for making voice call using Jingle protocol and also the …

Software Development api audio google-api java session
0
129
Member Avatar for Onlineshade

I want to do a project on Java. But I do not have any idea net based application in Java. I mainly want to do an application like messenger in Java. I had done a GUI application in Java using My SQL database server. But now how can I start …

Software Development gui java
Member Avatar for Onlineshade
0
160
Member Avatar for Shwetha Dali

Hi, In asp.net I have created a page which contains questions and answers..Answer for each question contains 4 radio buttons ..But i'm not able to calculate the total number of correct n wrong answers..Can anybody tell me how to do it??

Software Development
Member Avatar for Shwetha Dali
0
119
Member Avatar for jashbela

Hi,This place has solved lot of my problems , so here I come one more time. I have looked at this for long , can't fix this. I am copying my schema my xml and errors if you can help . Please and Thanks. <xs:element name="listings"> <xs:complexType> <xs:sequence> <xs:element name="listing" …

Software Development xml
Member Avatar for phpbeginners
0
1K
Member Avatar for nav07

[code]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.OleDb; using System.Data.SqlClient; using System.IO; using Microsoft.Office.Interop.Excel; using System.Reflection; namespace Dashboard { public partial class Form1 : Form { public OleDbConnection con,con1; public OleDbCommand cmd,cmd1; public OleDbDataReader dr; public OleDbDataAdapter db; public string …

Member Avatar for adam_k
0
444
Member Avatar for harsimran05

i have a program that has a database in access and i want to update data but when i click on update button on my frame nothing happens no error no exception and no work. here is my code [CODE]bUpdate=new JButton("Update"); bUpdate.setBounds(275,600,100,50); c.add(bUpdate); bUpdate.addActionListener(this); public void actionPerformed(ActionEvent ae){ Object o=ae.getSource(); …

Software Development java microsoft-access
Member Avatar for peter_budo
0
105
Member Avatar for Eternal Newbie

I'm using VB.net to create a Crystal Report and using DataGridView to show the data before print it out by Crystal Report. But now I want to: - Add another column into the DataGridView named: "Print/Not Print" - Using the value we add permanently into the "Print/Not Print" column as …

Software Development vb.net
Member Avatar for adam_k
0
1K
Member Avatar for champu8

[CODE]#include<iostream> using namespace std; int main() { int *number=new int[1000]; int c=0; int i=0; cout<<"Enter no sir\n"; cin>>number[i]; while(number[i]>0) { number[i]/=10; c++; } cout<<"\n\n"<<"TOTAL NO OF DIGITS = "<<c; delete[]number; return 0; } [/CODE]

Software Development c++
Member Avatar for champu8
0
116
Member Avatar for dwiniers

Hello there Good Day! I need your expertise in VB6 i have an assignment we made a small program with search button with combobox. I have a code with almost working. My problem is i want my search button enter any fiels to search with the combo box list. I …

Software Development visual-basic
Member Avatar for dwiniers
0
241
Member Avatar for twalton42

I have a form with multiple combo boxes and text boxes making an invoice.. I have the combo boxes linked to my database and I want each selection to fill a different textbox. The comboboxes fill on form load... How can I fill the textbox with the selected index from …

Software Development vb.net visual-studio
Member Avatar for lolafuertes
0
727
Member Avatar for johnnyboyslim

I have a two dimensional array that needs to be loaded from a data file that contains last names and phone numbers and then I need to load another array with the addresses of those elements in the array. Is there a certain way to load a phone number since …

Software Development c++
Member Avatar for johnnyboyslim
0
199
Member Avatar for b3hr0uz

I have been working on this code for a while and for some reason I can't figure out why it won't compile I get a lot of errors. [code] #include "rational.h" Rational::Rational () { _p = 0; _q = 1; } Rational::Rational (long P, long Q ) { if ( …

Software Development c++
Member Avatar for b3hr0uz
0
347
Member Avatar for Khodz

Hello All I'm not quite sure you can do this but it seems to me like something python is probably able to do. Basically, I need to assert that somewhere in my list of lists i have a '2', and a '1'. Now my lists in the biglist are all …

Software Development python seo
Member Avatar for Khodz
0
3K
Member Avatar for kleyva

I have to write a program that that reads an array of integer numbers, stores them in array, sort the numbers in ascending order, and print the sorted array: using the buble sort technique. Unfortunately I can't seem to get it to work at all, and I know <stdio.h> is …

Software Development c++
Member Avatar for WaltP
0
657
Member Avatar for JoshuaBurleson

Does anybody know how to clear all widgets; labels, buttons, etc. from a tkinter frame so that new ones may be put in their place? I've tried self.destroy() but that makes the frame unreachable, and self.grid_forget() followed by, "and without" self.grid() neither of these work, at least not as expected. …

Software Development gui python tkinter
Member Avatar for JoshuaBurleson
0
30K
Member Avatar for yakovm

I have the following code example (in windows): [CODE] int fd = _dup(fileno(stdout)); freopen("tmp","w",stdout); printf("1111"); close(stdout); char buf[100]; FILE *fp; fp = fopen("tmp","r");//in this line fd turns to be 0 if(NULL == fp) return -1; fgets(buf,100 , fp) != NULL ); fclose(fp); [/CODE] I need the value of fd for …

Software Development c
Member Avatar for D33wakar
0
143
Member Avatar for techlawsam

Ok I think im getting better at these but not quite still have these implicit convert from int to string problems and the usual "does not exist in the current context" dilemma. [CODE]/* * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Calories { class Calories { static …

Software Development oop
Member Avatar for arunkumars
0
210
Member Avatar for Asotop

Hey! I'm currently writing a program which converts a number from binary to int. That part is done, but I'm now trying to check wheither the input string only consists of 1 and 0. This is what I've tried so far, but it doesnt work the way I want. [CODE] …

Software Development
Member Avatar for arunkumars
0
194
Member Avatar for francisgan9

[CODE]# phonebook dictionary phonebook={'francis':'francis@gmail.com','iris': 'iris@gmail.com','karen':'karen@gmail.com'} name=raw_input('what name you want to check :') # check if the name is in the dictionary if name in phonebook.items() : name=key print phonebook.get(key) # if yes, print the email else: print 'not here' # check the correctness of the program # I could not …

Software Development python
Member Avatar for JoshuaBurleson
0
1K
Member Avatar for techyworld

Given the coin denominations 1, 3, and 5, what is the minimum number of coins needed to make change for a given value? Hint: Value 1 2 3 4 5 6 7 8 9 10 Min. no. Coins 1 2 1 2 1 2 3 2 3 2 Parameter to …

Software Development java
Member Avatar for techyworld
0
276
Member Avatar for Jonathan C

i don't know how use to a timer. I'm supposed to do is After the Roll button is pressed, a timer will be enabled to generate random die rolls every 1/10 of a second... [CODE] public partial class Form1 : Form { Random m_rnd = new Random(); List<int> diceResults = …

Software Development c c# c++
Member Avatar for Jonathan C
0
269
Member Avatar for andimiami

I am writing a Java program, and I need to be able to call these two methods, but I'm kind of confused. These methods need to be able to match the following data: This would be a sample input if what I am checking... LASTNAME "Rosemont" # LASTNAME "Rose Mont" …

Software Development java regex
Member Avatar for andimiami
0
116
Member Avatar for shawn.reynz

please help me.. contribute some codes for indegree and outdegree .. i need it badly

Software Development c++
Member Avatar for sfuo
0
97
Member Avatar for Curtisq

So my problem is writing a program that asks the user to input a number wich is stored with scanf then print the binary representation of that number in 32 bits, as in if the number is 1 i would need 31 0's and a 1. [CODE]#include <stdio.h> void dec_bin(long …

Software Development c
0
108
Member Avatar for schoolboy2010

Hi, could someone tell me what's wrong. The code works for the data set, answers but doesn't for data set answers2... the program crashes after displaying the data set2 and never gets data set 3, I will appreciate any help. Thanks. [CODE] import java.io.*; import java.util.Scanner; import java.util.*; import java.lang.*; …

Software Development java
Member Avatar for schoolboy2010
0
207
Member Avatar for supersport

i have to write a program for generating 20 tosses of a die and then grouping them by placing parentheses around them like this: 1 3 ( 2 2 ) 3 5 2 ( 6 6 ) 5 ( 1 1 1 ) ( 4 4 ) 2 3 ( …

Software Development java
Member Avatar for inthearmynow99
0
1K
Member Avatar for Tom_Weston

So, as you can see... [code] #include <iostream> #include <string> using namespace std; int main() { char comma = ','; string str1 = "hello,friend"; string str2 = str1.substr(str1.find(comma)+1, str1.length()); //i guess this line... cout << str2 << endl; system("pause"); return 0; } [/code] What is being output is str2, and …

Software Development c++
Member Avatar for gerard4143
0
137
Member Avatar for AndyPants

Hello, I'm currently working on an advanced 4x4 multilayer tic tac toe(will include servers, and accounts with levels and xp). Now the problem i have is that i have a image (.png) of a piece(representing X or O) and I want the button that you click to place your X …

Software Development asp.net gui vb.net
Member Avatar for AndyPants
0
489
Member Avatar for Labdabeta

What does it mean if my opengl objects are opaque from one side and translucent from another?

Software Development c++ opengl
Member Avatar for Labdabeta
0
88
Member Avatar for mohamed moamen

how i can convert my java code I do to a setup program work in other computer with example and please don't tell me use java launcher

Software Development java
Member Avatar for mohamed moamen
0
130
Member Avatar for Joe Shmoe

I wrote the following code in Python. It does not sort the list. Can anyone help me out? [CODE] theList = [] def simpleSort(): pos = 1 comps = 0 while pos < len(theList): comps += 1 if ord(theList[pos]) >= ord(theList[pos - 1]): pos += 1 else: temp = theList[pos] …

Software Development python
Member Avatar for JoshuaBurleson
0
116
Member Avatar for Ich bin würdig

Can someone help me in building a syntax for this problem Write a program that accepts a positive integer and gives its prime factorization that expresses the integer as a product of primes. Here's one that I did: [CODE] #include<stdio.h> #include<conio.h> void main() int N,R; clrscr(); printf("Please enter a no.:\n"); …

Software Development c
Member Avatar for rubberman
0
237
Member Avatar for AWorkTool

I am building a tool for my team at work to search a XML file for a particular item and return back the nodes associated with it. I have searched the web to no abounds and was wondering if someone would mind letting me know what I am missing. Here …

Software Development seo visual-basic xml
0
108
Member Avatar for Zssffssz

Ok the thing I searched into google brought up a ton of nonsense. I want to use variables from a function in main and (more important) variables from main in a function. I am already using file I/o as a loophole but I want an easier way. PS How do …

Software Development c++
Member Avatar for gerard4143
0
170
Member Avatar for J-Dub

I am trying to load a background in full screen mode, but when i run my program the screen is just white. Can someone point me to the reason why? [CODE]import java.awt.*; import javax.swing.*; public class DrawComponents { GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice device = env.getDefaultScreenDevice(); GraphicsConfiguration gc = device.getDefaultConfiguration(); …

Software Development image java java-swing
Member Avatar for sirlink99
0
258
Member Avatar for sjgood

I am having trouble with a python homework question. The problem is the following: You are to write a program that counts the frequencies of each word in a text file (text.in), and outputs each word with its count to a file (word.out). Here a word is defined as a …

Software Development python
Member Avatar for JoshuaBurleson
0
330
Member Avatar for Labdabeta

here is the question, what does str(X) become [CODE]#define str_(X) #X #define str(X) str_(X)[/CODE] when X is a string? is it ""string"" or "\"string\""?

Software Development c++
Member Avatar for Labdabeta
0
113

The End.