132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for edivadin

i want to create a warehouse program for school using the random access file management. i built a class called product(prodotto) with many private var and i must create a new record. The function checks if the product already exists with the seekg pointer and reading the file. After u …

Software Development c++ file-system ios
Member Avatar for Ancient Dragon
0
134
Member Avatar for mumaga

Hello, I have built a GUI for the world of Zuul, the input can be taken by pressing buttons and enetering text commands. the output is both a change of images and text output using System.out.println(). When I press the directions buttons, the central image changes correctly. but the script …

Software Development gui java
Member Avatar for mumaga
0
193
Member Avatar for mark.scutt.7

Has anyone used a card reader with vb6 and can you recommend one to get? I want to issue cards with names for players so they clock in to start the poker game and during poker slide to clock out where the program will determine their position and any points …

Software Development visual-basic
Member Avatar for mark.scutt.7
0
113
Member Avatar for john.halbert.37

My problem I am having is when I use execl, it close my main program. I want the program I create can open other programs or create other actions with linux. I am looking to help getting on the right path. Should I be using execl? Why does it close …

Software Development c++
Member Avatar for john.halbert.37
0
217
Member Avatar for dheeraj.mangrah

Hi, Could anyone solve this for me. I'm using VB 2010 and Access Database file. The database consists of a table called 'usertbl' with 'username', 'type' and 'level' fields. The records are as follows: Record 1 - Username: admin Type: admin Level:1 Record 2 - Username: user1 Type: user Level:2 …

Member Avatar for dheeraj.mangrah
0
130
Member Avatar for bilal_afzal

hi..! i'm using xampp and i want to take backup of my database using java code.How can i do that?

Software Development java
Member Avatar for peter_budo
0
85
Member Avatar for WDrago

All, I am pulling my hair out with this. I need to make a constant String avaiable to all classes in my program and I can't figure out how to do it. This is a simple console app... I've tried the obvious, `public static const myString = "whatever";` but I …

Software Development
Member Avatar for WDrago
0
106
Member Avatar for smitmail22

Why does the function *def human_move(board, human)* need to receive board *and* human? won't it work the same if it just receives board? *def human_move(board)* # global constants X = "X" O = "O" EMPTY = " " TIE = "TIE" NUM_SQUARES = 9 def display_instruct(): """ Display game instructions. …

Software Development legal python
Member Avatar for smitmail22
0
209
Member Avatar for mumaga

Hello,,, How to make the GUI frame visible? I have looked and this is what I came up with: Interface gameInterface = new Interface(object1Instance, object2Instance, this) gameInterface.getFrame().setVisible(true); is this the way it should be? I have refrained from using a singleton class because I wanted to pass instances of other …

Software Development gui java
Member Avatar for mumaga
0
124
Member Avatar for ironbrew

Hi, i'm new to c# and need help on designing a programme. I need to create a 2d array which has to accept 12 values (3 verticalx4 horizontal)(with decimal places) . I have to be able to input the values of each element in the area using the console. I …

Software Development
Member Avatar for ddanbe
0
399
Member Avatar for bnitishpai

I am currently working on a very simple project. But I am having problem with special characters. The one character which I find very annoying is ' . This single quote / aphostrophe is ruining my project while entering names like "James D'souza". Can anyone please help me in recording …

Software Development sql vb.net
Member Avatar for pedders
0
2K
Member Avatar for killer88
Member Avatar for AndreRet
0
4K
Member Avatar for SQLpower

Hello, I have a datagridview, connected to my database using Nhibernate and my question is how can I exit the Select Mode after I update? Cause at the moment after I click update and it updates, the edit mode is still on, I would wanna turn it off when I …

Software Development c c# c++
Member Avatar for SQLpower
0
549
Member Avatar for magyarosi.botond

Hi guys. I was wondering how Cnet Downloader, and ninite.com works. Is there a backend server which compiles the exe file before every download? Is there any other way to modify something in an .exe file without recompiling? Thanks.

Software Development c++
0
120
Member Avatar for animesh

how to subtract two dates to find no of days .

Software Development c++
Member Avatar for deceptikon
0
3K
Member Avatar for Depreciated

Hello people, I am new to crystal report. Normally, I would insert columns in the crystal report viewer and then look at the records at the Main Report Viewer. All the rows/records in that particular columns of that table will be shown. And then I found out about this SQL …

Software Development sql vb.net visual-studio
Member Avatar for Depreciated
0
331
Member Avatar for thanadaray

At first, I have "C:/test02.txt" too good positive a film for stunt scheduling i think objective My codes with open('C:/test01.txt') as words: ws = words.read().splitlines() with open('C:/test02.txt') as file_modify4: for x in file_modify4: sx = map(str.strip, x.split("\t")) ssx = sx[0].split(" ") ## list for w in ssx: if w in …

Software Development objective-c python
Member Avatar for Lucaci Andrew
0
133
Member Avatar for christodoulos14

hello i have the following file: 11 Lockers, Daniel;Engineer;53500 Adamson, John;Manager;77500 Newhall, Bob;Programmer;40000 Brown, James;Clerk;28000 i need to put each employee into a struct and then each struct into an array. so far i did this: else { fscanf(sourcefile,"%d\n",&count); printf("%d\n",count); Array=(employeeType *)malloc(sizeof(employeeType)*count); for(i=0;i<count;i++) { fscanf(sourcefile,"%s",Array[i].name); fscanf(sourcefile,"%s",Array[i].job); fscanf(sourcefile,"%d",&Array[i].salary); } } for(i=0;i<count;i++) …

Software Development c
Member Avatar for christodoulos14
0
269
Member Avatar for ztdep

Dear friends: I download a c packge for my computation work. there is a function " aft2boundar(int *, double *)" in it. i write a "main.cpp" with vs2010, when i compile, it gives me the following error unresolved external symbol "int __cdecl aft2dboundary(int *, double*) but i have include the …

Software Development c++
Member Avatar for ztdep
0
156
Member Avatar for katrinavizconde

could you please help me find sites that offer free download of visual basic.net? your replies would really mean a lot.. thank you.. :)

Software Development vb.net visual-basic
Member Avatar for botitog
0
54
Member Avatar for Fame95

I have the following 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; namespace PentruTestari { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { richTextBox2.Text = "int int"; richTextBox2.SelectionStart = …

Software Development
Member Avatar for Fame95
0
372
Member Avatar for minipop4747

I need a example code to display one form input textbox value in another form textbox when button click event on form one. In simply form one contain textbox and a button, form two contain only one textbox. My requirement is when some one put text into form one textbox …

Software Development
Member Avatar for ChrisHunter
0
175
Member Avatar for MasterHacker110

I have this code in C++ but I dont know ho to do it in C. Any Help? Code #1: #include <vector> // for vector #include <sstream> // for stringstream #include <iostream> #include <string> int main() { std::stringstring ss; std::string input, temp; std::vector<string>; comand; std::cout << ": "; std::getline(cin, input); …

Software Development c++
Member Avatar for Gonbe
0
136
Member Avatar for saurabh.mehta.33234

how to print the foll string without using any kind of variable "How are you %dad%"

Software Development c
Member Avatar for Gonbe
0
157
Member Avatar for kw42chan

Dear all I write bubble sort program for inputing 9 numbers. However, when compile and run it, it only allows me to input one number only. Could anyone see any fault in my code? I think the problem is on the first loop. #include <stdio.h> int main(void) { int num1 …

Software Development c
Member Avatar for kw42chan
0
268
Member Avatar for t2nator

I have a function that reads a text file that contains information about the sql database it connects to. It has to be invoked across multiple forms. How could I make it to where it is invoked once and then stores into variables that the program can continue to use …

Software Development vb.net visual-basic
Member Avatar for t2nator
0
1K
Member Avatar for plang007

Has anyone found any compilers to work with windows 8 besides Microsoft studio? I have tried downloading Dev C++ and code::blocks but keep getting build errors? I have used both of those compilers on window 7 for multiple programming purposes

Software Development c c# c++ windows-vista-7-8
Member Avatar for plang007
0
335
Member Avatar for lewashby

The following line of code should result in GROUPS holding a number from 1 to probably 4 or 5. I need the next line to simply add 1 to whatever this lines results to. I've tried a lot of tings in bash but I can't make it happen. Any ideas? …

Software Development shell-scripting
Member Avatar for L7Sqr
0
108
Member Avatar for butthole55

I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image. Thanks :)

Software Development image
Member Avatar for butthole55
0
427
Member Avatar for krystosan
Member Avatar for krystosan
0
1K
Member Avatar for dannyboy.rizaldo

Hello can i ask,.because i am a student of java programmer i want to asking how to fast learner of the program,.please help me i want to be a proffesional programmer,.thanks,..

Software Development java
Member Avatar for tux4life
0
138
Member Avatar for saaz

Hello, I have created a program where a user can input a recipe, and then press a button and this will then be written to a file. On the other side of the interface, the user can select this previously saved recipe and the contents will be read from this …

Software Development user-interface vb.net
Member Avatar for saaz
0
201
Member Avatar for new_developer

Hi there, I am using code blocks and working on bank account programe. I have three classes but just included main function code. My programe works all fine, in which user create account and then deposite initial balance **but before end of do while loop, there is getline function to …

Software Development c++
Member Avatar for deceptikon
0
1K
Member Avatar for Frederick Sekyi

am frederick sekyi and am new to this website.can any of you help me with computer programing?

Software Development c
Member Avatar for <M/>
0
168
Member Avatar for bwaha

Hi, I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point. I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the …

Software Development client-server mssql open-source sql vb.net
Member Avatar for adam_k
0
3K
Member Avatar for rishif2

hello experts . . . there is one textbox , one label and one command button i have written following to print textbox content to label `label1.caption=text1.text` and when & is inputted in textbox then underscore(_) is placed in the place of &. and i know that we use & …

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

Hello there Good Day Guys! I need your expertise for vb6 guys i made a small program with command search button. Its working. My problem now when i search again with different category it shown this error [COLOR="Red"]Run-time error '3001' Argument are of the wrong type, or out of acceptable …

Software Development visual-basic
Member Avatar for AndreRet
0
2K
Member Avatar for LDaneil

I am working on a project about data mining. my company has given me 6 million dummy customer info of twitter. I was assigned to find out the similarity between any two users. can anyone could give me some ideas how to deal with the large community data? Thanks in …

Software Development c social-media
Member Avatar for Adak
0
970
Member Avatar for anukavi

Hi, I had previously posted many question on SSID and have been solved successfully with your help. Once again the question is related with SSID. When i have my wireless router attached to PC, i can see the router name . Is there anyway to stop broadcasting the SSID name …

Software Development c++
Member Avatar for anukavi
0
118
Member Avatar for mumaga

Hello I am trying to write to a text log file for my world of zuul game. I have created a Class Logger to write into the file, here is the code: import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; public class Logger { private BufferedWriter out; public Logger() throws IOException { …

Software Development java
Member Avatar for Taywin
0
11K
Member Avatar for muna.nassr

how ca send the packet using button send to the serail port i recieved the packet but how send this packect through the serail port thanks for your reply the code is Imports System Imports System.ComponentModel Imports System.Threading Imports System.IO.Ports Public Class frmMain Dim myPort As Array 'COM Ports detected …

Software Development vb.net
Member Avatar for tinstaafl
0
369
Member Avatar for poojavb

Hello Friends, Can anyone tell me how to increment a String variable by 1 in database. Suppose the database table has value as SL1000 and we want the next value to be SL1001. What should be done for such type of requirement in java.

Software Development java sql
Member Avatar for mrsathishkumar
0
720
Member Avatar for 03hasnam

A person wishes to add a NEW Job to the database. A `Combobox` list the existing employers already in the database for the new Job to be added against. But if an employer is not present customers have the option click on a button to add an employer. Once added …

Software Development gui java
Member Avatar for DavidKroukamp
0
677
Member Avatar for lewashby

I've got an array CALENDER=(31 28 31 30 31 30 31 31 30 31 30 31) I have two if statements that Need to get an index from the array above but when I feed a value into the brackets e.g. ${CALENDER[${SECONDDIGIT}]} or ${CALENDER[${FIRSTDIGIT}]} it seems to only be getting …

Software Development shell-scripting
Member Avatar for lewashby
0
119
Member Avatar for 111100/11000

http://en.wikipedia.org/wiki/Transposition_cipher#Columnar_transposition This is wiki site of what am trying to do #include <iostream> #include <cstring> #include <cmath> using namespace std; char GRID[3][80]; int MENU(int menu_choice); int REVIEW_OF_GRIDS_FIRST_79_CHARACTERS(int four); int main() { cout << " This is RAIL FENCE CIPHER\n" << endl; //----------------------------------------------------------------------------------------------------- //filing GRID with asterisks(*) char asterisk='*'; int k=-1; …

Software Development c++ encryption
Member Avatar for Gonbe
0
2K
Member Avatar for tom.scott.73113

Hello I am trying to write a multiplication table into a function but am not getting the result i want ive been looking at it for about 3 hours now and cant figure what is going on im not getting errors it runs fine but isnt givig me a neat …

Software Development c++
Member Avatar for Gonbe
0
198
Member Avatar for nmakkena

Hi I am populating my combobox with table's data (example table name is "ITEMS" and table is having only one column and that is displayed as combobox items). In my form i am having i combobox,button and textbox. I will enter a new item in textbox and if i click …

Software Development
Member Avatar for 03hasnam
0
3K
Member Avatar for you207

My program is nearly done.But my function SumN doesnt print the correct output. SumN have to output the Sum of numbers that belong to the interval [a;b]. Example: input a=1 b=10 1 4 13 45 10 output sum=15 but im getting 60 and in should be 15. Can sameone help …

Software Development c
Member Avatar for deceptikon
0
330
Member Avatar for Rachna0309

I am populating datagridview(10 columns) with dataset.I am changing 7th column from textbox to comboboxcell at run time if some value(say caste) in database table for row is null. If caste field is not null in database, then comboboxcell should display that value for that particular row.Below is the code …

Software Development dataset vb.net
Member Avatar for Rachna0309
0
165
Member Avatar for nigelturk

how can i take 1's complement in making a java program?

Software Development java
Member Avatar for Taywin
0
4K

The End.