132,726 Archived Topics
Remove Filter ![]() | |
![]() | 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 |
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 | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
[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(' ',' ',' … | |
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 | |
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 | |
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 | |
[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 … Software Development dataset microsoft-office open-source vb.net | |
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 | |
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 | |
[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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
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++ | |
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. … | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 = … | |
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" … | |
please help me.. contribute some codes for indegree and outdegree .. i need it badly Software Development c++ | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
What does it mean if my opengl objects are opaque from one side and translucent from another? | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ |
The End.