132,726 Archived Topics
Remove Filter ![]() | |
hi i have a datagridview showing the data from a database. Now i have a problem because i want the selected row from the datagridview to be shown on another datagridview near it on button click. I managed to make it from datagridview to listbox but from datagridview to listbox … Software Development | |
Hi, I have installed Python2.6 and wxPython. I wish to use wxPython together with Matplotlib to generate times series graphs. I am unable to install Matplotlib it always throws the following error "Python 2.6 required, but not found in registry". Please help me Software Development python | |
Hi, I'm have to create a neural network concerning a work about Milling process, I have my inputs and outputs (cutting speed, cutting force, depth of cut, feed rate and surace roughness) but I have no idea what to put in Target ?? If you can help me please... Software Development | |
I seriously have no clue why it isn't working, it compiles but no luck getting any of the options to work besides input entry any suggestions will be so greatful![CODE]#include<stdio.h> #include<ctype.h> #include<string.h> #include<stdlib.h> #define NAME 30 #define ADDRESS 80 #define PHONE 11 #define EMAIL 50 #define SIZE 500 void Insert(); … Software Development c | |
I am a newbie Well i was just reading a book named c++ primer and got bored so i just wanted to create a c++ consol game just for some fun I have created this thing any more idea and some repair in code? [CODE] void welcome() { cout<<"Welcome to … Software Development c++ | |
Hi, Im trying to add a code which adds a record for me and then saves it. I am also trying to add a code which deletes the record for me. So far, my "Add" button, clears the form, which is what I want. Then when I click on save, … Software Development vb.net visual-basic | |
I created a program To return if a String entry is equal to "password". Sort of a password program. As you can see from the output the entry and expression are both equal. Why then does it print wrong?? [CODE]package Main; import java.io.*; class password { public void password() throws … Software Development java | |
We use Netmeeting alot where I work and to make life easier I am trying to write a program that will find the machine name, IP address and MAC address with just a login name. Right now I can get the IP address from the DNS entry. But I am … | |
Hey everyone, i've been trying to send some words seperated by spaces to a server and only the first word arrives. The connection stuff is all fine but i have absolutely no idea whatsoever how to make it send more than one word at once. This is what i'm talking … | |
Hi all I have two questions: 1) I want to create a custom report in VB6. The report format consists of labels for name, designation etc against which data has to be populated by MS Access DB. Below this a table has to be printed consisting of data from some … Software Development visual-basic | |
Hey, time_t sec = time(NULL); gives me the seconds since 1970. But... It works with the system clock... So maybe the system clock is not synchron on two computers... Is there a way to get the seconds since 1970 WITHOUT the system clock, so that it is synchron on two … Software Development c++ | |
Hi Experts I m trying to retry images from database. My code is as below [CODE] DataTable tab = obj.createtable("Select pics from picto");//obj is the class in which createtable(string query) is function which returns datatable according to query byte[] ImgByte = (byte[])tab.Rows[0][0]; FileStream fs = new FileStream("test.GIF", FileMode.Create); fs.Write(ImgByte, 0, … Software Development image | |
Hi :) I am Writing a program that takes text from a JTextArea and uses the string to do things upon clicking a button. I used an ActionListener for the button. My problem is that I recieve an empty string when I try to access the text from the JTextArea … Software Development java | |
Hi, I have been struggling with receiving events from a server to a client (using .NET remoting) for quite a long time now but I keep receiving the following message on client side (āException has been thrown by the target of an invocation.ā). This message is received as the server … Software Development assembly client-server gui | |
Hi Is there a way to hide the python source code from being copied or hacked? I am planning to write and distribute some python code to my team, but I would prefer not to reveal the code. Is it possible in Linux? In windows I wud probably create an … Software Development python | |
Hello there, I got some strings of "x10" "x11" "x2" and stuff like that. Is there a way to take only the number from the string and convert it to int ? lets say [CODE]label1.Test = "x11";[/CODE] I want to take the 11 to some int. Software Development | |
So i'm working on this program. And long story short, I need something that will allow the user to choose the dir/file and have the system set read-only to true. Here is a piece that I worked on. Only it crashes on the system line. [CODE]try { clear; char* dir; … Software Development c++ | |
how would i make a new type of variable, like instead of int or double? would i use classes or something like that? Software Development c++ | |
I'm just finishing up my project for school but I've seem to have hit a speed bump. Here's the code I'm working on : [CODE]Private Sub Command1_Click() cnt = 0 search = Val(Text1(1).Text) For cnt = 0 To 7 If search = memberarray(cnt, 0) Then memberLbl = "Member ID:" & … Software Development visual-basic | |
OK, so I am redirecting the input from a file. The input is read into a string. The problem is, when the input file ends, the program still reads empty lines and goes into an endless loop. I have added an if statement for it to detect 5 empty entries … Software Development c++ | |
i have an insert function: [code=c] template <typename T> void insert(T item) { string T_id = typeid(T).name(); int compare; if(T_id == "char *") compare = stricmp(this.item, item); else compare = this.item < item; // ... insert here } [/code] i'm trying to compare numbers,strings,classes but when T is <char*> i … Software Development c++ | |
Hi, I am fairly new to C++ but love to learn, so I wanted to create a simple program base on the group-party game mafia A.K.A "werewolf." Just so whoever is not familiar gets the background. I will use just an example of 10 players. In a ten player game, … Software Development c++ | |
Hello guys... I wanna write a program that calculates a customerās bill for the electric company. But there are two types of customers: residential and commercial. There are two rates for calculating an electric bill. Resident rates ā Bill processing fee = $12.50 Service fee = $30.50 Alternative energy fee … Software Development c++ | |
we are suppose to write a nice display code for natural numbers in Resolve its OSU version of C++, everytime I enter code and compile it though i get this error? heres my code [CODE] concrete_instance class Queue_Of_Naturals: instantiates Queue_Kernel_1a_C <Natural_Put_To_With_Commas_1> {}; concrete_instance class Sequence_Of_Queue_Of_Naturals: instantiates Sequence_Kernel_1a_C <Queue_Of_Naturals> {}; … Software Development c++ | |
I have a class with private strings and after I set information I want to the given strings in that class I need to push that data to a vector, which is stored privately in a separate class...I feel as though my code makes logical sense but obviously I am … Software Development c++ | |
I got an error in ths code... cannot implicitly convert type string to string[].... [code] public string[] SelectTable(String pSqlstmt) { string[] sTable; string str; if(pSqlstmt.Contains("from")) { int strlen=pSqlstmt.Length; int strindfrom = pSqlstmt.IndexOf("from"); if (pSqlstmt.Contains("where")) { int strindwhere = pSqlstmt.IndexOf("where"); sTable = pSqlstmt.Substring(strindfrom, strindwhere); } else { sTable = pSqlstmt.Substring(strindfrom, strlen); … Software Development | |
[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { int code; char name; float amount; int shares; float c_price; }DATA; typedef struct stockList { DATA stock; stockList* link; }STOCK; STOCK* insertStock(STOCK* pList, STOCK* pPre, DATA item); STOCK* buildList(char* fileID); void printList(STOCK* pList); void fprintList(STOCK* pList); bool searchList(STOCK* pList, STOCK** pPre, … Software Development c file-system | |
Here is my assignment:Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software). ⢠Create a product class that holds the item number, the name of the product, the number of units in stock, and the price … Software Development java | |
Well I'm trying to make a tool for a game for learning purposes and i can't figure it out, I have Checkbox1 and a button The button saves the ini with the checkbox1.CheckState correctly and when i open it the Checkbox1.CheckState is checked so it works, but when i Delete … | |
Is there a way to grab values from a basic stamp with python? I just bought a Accelerometer and want to read the values with python. Software Development python | |
I tried to change for loop to do while loop so that I no need to control the value of i in the future. But seems my program crashes. [code] #include<stdio.h> #include<stdlib.h> struct stock { char code[10]; char name[10]; float amt; int held; float price; struct stock *next; }; int … Software Development c | |
Hello everyone I have an issue here that I couldn't find much info about, I saw a lot about it when people where selecting a lot of data but not on an insert. Heres some background. I have an application that adds items from our in house order/inventory manager to … Software Development mysql | |
hi, can anyone help me with my assignment, I'm new in c++ and any help will be much appreciated: "You must design, implement and test a simple board game. The design should follow object oriented principles and use the UML tools that were introduced earlier in the module. The coding … Software Development c++ gui user-interface | |
Just when I thought I was comfortable with SQL queries, another one popped up that I can't get around with.... I'm ALMOST there but not quite. Here is the situation... I'm dealing with two tables [B]PoolTeams[/B] and [B]PlayerStats[/B] The PoolTeams table has two columns: [B]PoolTeamID[/B] and [B]TeamName[/B] The PlayerStats table … Software Development mathematics sql visual-basic | |
HI. I'm new to this forum and new to C++ programming so be kind !! I've got a program that reads in a batch load of tif files works on them one at a time and then outputs the files as .png. Problem l have is that the tif filenames … Software Development c++ | |
I'm writing a program which prompts the user to enter a sentence and then prompt the user to enter a single letter of the alphabet (into a char value). It's also supposed to count and display the number of words containing the letter entered (not case sensitive) and the total … Software Development java | |
Hello DaniWeb community! I come to you in need of some guidance on a quite frustrating problem. In a nutshell, I am building a java system in which users can keep track of weather forecasts at a list of registered locations, which they can add or remove from their "watchlist". … | |
Hi all, I'm working on a program for my data handling class and I have a quick question. I'm trying to write a method that prints a range of elements in an array. I have written it in such a way that I create a new, smaller array with the … Software Development java | |
How do you change the size of a listview when the number of rows grow when a different where select is commanded on textchange. I have a textchange on coustomer name which fills the listview with just the names that start with the letters as they are typed in, this … | |
i am trying to create a massive list of letters and numbers using this program. but for some reason i keep getting an error (sometimes this occurs, sometimes it doesn't) [B]error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.[/B] i also get(sometimes this occurs, sometimes it doesn't) [B]Unhandled … Software Development c++ microsoft-access | |
Im trying to add up 100 grades and get the averge but it wont compile because it "cannot convert from 'int' to 'int [100]. Can anyone help me?? [CODE] #include "stdafx.h" #include <iostream> using namespace std; int main() { int total, j; double average; int grade[100]= (56,97,73,59,68,79,86,67,79,66, 95,64,98,56,79,83,75,89,73,91, 52,72,63,81,62,85,37,78,100,89, 56,89,75,76,99,66,84,98,68,59, … Software Development c++ | |
I created 100 pictures boxes for my game with this code : [CODE] for (int p = 0; p <= 9; p++) { for (int o = 0; o <= 9; o++) { picsBoard[p, o] = new PictureBox(); picsBoard[p, o].Name = "emptyPicBox" + p.ToString() + "." + o.ToString(); picsBoard[p, o].Location … Software Development | |
hello I would like to know if it is possible to store an array within a structure. For examples for recording people with more than one name. Like this: Structure Product_Reccord Dim PNames(3) as string end structure It is giving me an error, help please!! Software Development vb.net | |
hi, can someone please tell me the approach i should take to find the distinct substrings of a string ? Software Development c++ | |
I'm supposed to allow the user to draw shapes based on their combobox choices (eg. line, rectangle, circle), colour, fill state, etc. However, nothing is showing up. Model class: [CODE]import java.awt.Color; import java.awt.Graphics; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JOptionPane; import java.awt.event.MouseAdapter; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.awt.event.MouseEvent; public class DrawPanel … Software Development java java-swing storage | |
this is my code for a simple link list...i cant solve the problem of the while loop.it is only working for "1".and i cant swap two nodes in the list and cant insert nodes in a given position...how can i do those???plz help....[CODE]//Pirate⢠#include<stdio.h> #include<string.h> #include<stdlib.h> struct list_element { char … Software Development c programming-construct | |
hi .. i wanna read text file in binary format ... 4 ex : lele and raz ..."in text file " l=10011001 e= 011110011 ..... "cmd (8 bit per letter)" and but them in an array ...i tried the type StringBuilder but it didnt work ... i need a method … Software Development java | |
Hi, I'm new to Java and am having a problem getting my program to run, any help would be greatly appreciated. Here is the program: [CODE]//This program displays a message asking the user if they //want to know the Top Premiership Players. If they say Yes, //they will then be … Software Development java java-swing | |
Hi, I try to convert a tuple into binary number but I keep getting the error like"ord() expected string of length 1 but tuple found" Can anyone help me in this? Software Development python |
The End.