132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for parthmishra

i hv to save some data in my sql table .. bt there is same prblm in my coding.. will you tell me the correct coding for this problem??

Software Development sql
Member Avatar for mughil
0
124
Member Avatar for justM

Hi I am trying to tokenize a string from a file. The file contains two lines that have different info. I need to tokenize the lines separately and compare the results of each line. Now, I think my problem is identifying the separate lines to perform operations separately [CODE] /* …

Software Development java
Member Avatar for justM
0
99
Member Avatar for Iam3R

hi , i have read that c99 introduced: inline,_Bool,restrict,_Complex,_Imaginary i have used _Bool here but do no how to use remaining all please any one used the above can help me. [CODE] int main() { _Bool b; b=true;// giving error true undeclared ,cant i use that way // with out …

Software Development c
Member Avatar for Iam3R
0
2K
Member Avatar for ganmo

Hi I've been struggling with this for a very long time now. And I can't seem to get it done. I want to make an array, dynamic allocted array. Which act something like an vector (I know c++ has vector). So my approach was to create a [B]list_add() [/B]function. Its …

Software Development c++
Member Avatar for mrnutty
0
127
Member Avatar for vbtryer

Hi guys, For the last 30 mins i have been trying to remove a part of a textbox, in this case i want to remove [url]http://www.youtube.com/watch?v=[/url] and remove anything after the end starting with &. do you understand what I mean? Any help appreciated, I really tried.

Software Development vb.net
Member Avatar for GeekByChoiCe
0
144
Member Avatar for michellspijkers

Hi! I'm a newbie in this community. I am developing a VB6 app which displays 100 pictures one at a time at random using a button click event. This works fine so far. Using the same random number generated to display the picture using a ' select case' routine, it …

Software Development visual-basic
Member Avatar for AndreRet
0
141
Member Avatar for mksakeesh

Hi, I have an text file "CD details" with content as below 1~ Cast Away~ English~ Thriller~ U~ 2~ Titanic~ English~ Romance~ A~ 3~ Forest Gump~ English~ Life~ U~ I am trying to add some additional data to the start of each line by using a code as below [code] …

Software Development c++ file-system ios perl
Member Avatar for mksakeesh
0
101
Member Avatar for SurviBee

I'm attempting to implement the trapezoidal method of calculating the integral of a curve. It's supposed to be the measure of water flow out of a tank's release valve. The water flow is a function of time in seconds where Y is the rate of discharge and X is time. …

Software Development c++
Member Avatar for sweetkim_2008
0
203
Member Avatar for btreksql

Hi, I need help, I am trying to connect from remote windows xp computer B to ms sqlserver2005 express edition in another windows xp computer A and got this error: java.lang.classnotfoundexception com.microsoft.sqlserver.jdbc.sqlserverdriver My software can connect locally to the sqlserver 2005 though in the local computer A, however when i …

Software Development java microsoft
Member Avatar for btreksql
0
305
Member Avatar for Warragul

The select case construct is moving to the Case Else line every time the programme loops, even though there are "Longvue" & "Roseleigh" entries in the worksheet.[code]Option Explicit Option Compare Text Sub Complete() Dim HOComplete As Range Dim Client As String Dim JobNumber As Range Dim workrange1 As Range Dim …

Software Development microsoft-office vb.net visual-basic
Member Avatar for Stevoni
0
165
Member Avatar for _dragonwolf_

I have file with a list of names in it and next to the names is a series of digits. The digits represent its level of popularity per every 10 years. The program I have asks the user to input the file path, then it asks for the user to …

Software Development file-system java
Member Avatar for kvprajapati
0
163
Member Avatar for dorotalp91

This program is supposed to ask the user to input a number and the print will read out the factorial. This code is wrong how do I fix it? Maybe not add much just jumbled up variables? Help! This was given to me created in BLUE J software i know …

Software Development java
Member Avatar for dorotalp91
0
163
Member Avatar for leoeroy

I need help with my java program. This program will generate Prime numbers. Class testerPrime will invoke Class Prime. Everything is working but i need my output to print in 10 columns then go to the next line. Here's my code Class Prime [CODE] class Prime { int number; int …

Software Development java
Member Avatar for leoeroy
0
141
Member Avatar for smnadig

Hi All, I am facing a problem with using the function [B]strtok()[/B]. Following is just a sample code. The code below stores the string [B]str[/B] delimited by comma into an array. I want to modify the code below so that array would contain an empty space/new line if a value …

Software Development c
Member Avatar for ABuNeNe
0
228
Member Avatar for Smith5646

I have a program that allows the user to add steps to a process (tabpages in a control). All tabpages are generated on the fly by duplicating a "template" tabpage and consequently have the same control names such as textboxStepDesc. Here is the hierarchy of the controls to get to …

Software Development vb.net
Member Avatar for kvprajapati
0
157
Member Avatar for El Duke

Hello all, I have been developing a code based on Google Translate Python Wrapper. I have done it all, perfectly, except for one thing, I will explain it by pointing to code: there is the defined global languages list, and there are two main functions (Translate(), and UserSubmitted() ) now …

Software Development python
Member Avatar for El Duke
0
129
Member Avatar for pankaj.garg

i have 4-5 forms...all of them are called by each other by some or other procedure...now i want to initialize an variable with an integer value only when my program starts.... my problem is where ever i declare the variable...the form gets called and the variable gets re-initialized... or can …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
107
Member Avatar for blackviper04

OK I have an assignment on my Access course, I find this site really good and require some help if possible. Basically I have a login screen which checks the Access Database I am using the code I have is this: [code] Username = txtUsername.Text Password = txtPassword.Text 'Following code …

Software Development microsoft-access vb.net visual-basic
Member Avatar for Smith5646
0
174
Member Avatar for Jalwes

Could anyone tell me why this code read an extra line? It duplicates some of the last line, only it changes the number. For example, the text file (set up as an inventory file) reads: 45 car 23 bus 1 truck 4 van After running the program, it displays that, …

Software Development c++ file-system
Member Avatar for Lerner
0
98
Member Avatar for cnote1287

I have a file of data that was put into a data file by another program with the same struct. for this program i want to take that data out of the .txt file and put it back into the struct array. is there any big code that is wrong …

Software Development c++ ios
Member Avatar for cnote1287
0
118
Member Avatar for awn

Hi, I'm writing an application in python to read data from a joystick and display it onto a screen with a background image overlay. i used the canvas widget to display the data to my screen. The problem is, the text keeps updating the entries without clearing the previous entry …

Software Development python tkinter
Member Avatar for awn
0
801
Member Avatar for plobby

I have an issue with a function not working properly in my code -- It is a calendar creating program and when I call the function from the menu it blips the first line of text that it outputs to the user (asks a question for some input) and then …

Software Development c++
Member Avatar for jonsca
0
102
Member Avatar for Archenemie

28 Minutes Ago | Add Reputation Comment | Flag Bad Post One last problem with my script, it returns this error message... [CODE]Traceback (most recent call last): File "C:/Python26/Renamer 3", line 23, in <module> os.rename(fname, b)WindowsError: [Error 2] The system cannot find the file specified.Traceback (most recent call last): File …

Software Development python regex
Member Avatar for Archenemie
0
217
Member Avatar for theCommander

I need to create java interface that prompts users to imput their username and password to access a component database using access or text file. then i need tohave search fields and buy field and then a contact us.....aahhh im trying but im reqal frustrated aaaaaa

Software Development java seo
Member Avatar for theCommander
0
168
Member Avatar for spear64

Write a C++ program that asks a teacher to input the number of students who took an exam and the scores for each student who took the exam. For each letter grade, determine the number of scores. Print to the screen the exam scores and the number of scores in …

Software Development c++
Member Avatar for jbisono
0
119
Member Avatar for spear64

[CODE]#include <iostream> using namespace std; void acceptedScores(int numOfstudents); int printedScores(); int main() { int students; int numStudents; int scores; int numOfStudents[100] = students; char cont; cont = 'y'; cout << "Would you like to begin (Y or y)" << endl; cin >> cont; while(cont=='Y' || cont== 'y') { cout<<"Please enter …

Software Development c++
Member Avatar for Clinton Portis
0
132
Member Avatar for kenji

Hey, I want to know whether it is possible to send a formatted string ie. [code=java] System.out.printf("%2d%6d%23f...",a,b,c); [/code] to a .txt file so that when I view the .txt it will appear properly justified with spaces and tabs. Thanks

Software Development java
Member Avatar for kenji
0
96
Member Avatar for Mattpd

So I have this project to program an "auto parts management" C program. Basically I need to be able to add and delete lines of text from a text file. Also, I need to be able to edit lines of text. Lines of text are in the format: PART NAME …

Software Development c
Member Avatar for Mattpd
0
151
Member Avatar for persianprez

I cannot find one example of somebody doing this, only sorting by the first item. Here is my code: [CODE] dict.sort() for key in dict.keys(): print key, "%8s"% dict[key] [/CODE] I'm only getting an alphabetical sorting of the left side of the dictionary.. like this: a:4 c:3 b:12 a 4 …

Software Development python
Member Avatar for persianprez
0
251
Member Avatar for micke

I have made a simple application to demostrate the problem I got in making a much more complicated one (didn't want to post all of it here). I don't know how to add character values longer than one letter to arrays. [code] #include <iostream> using namespace std; int main() { …

Software Development c++
Member Avatar for Clinton Portis
0
201
Member Avatar for fliggygeek

I have a system that needs a 7 bit character string converted to an 8 bit string of binary ones and zeroes, in this fasion: [URL="http://www.dreamfabric.com/sms/hello.html"]Encoding sample[/URL] My main task is to find a way of generating a boolean array of each character and its corresponding 7 bits in order …

Software Development c++
Member Avatar for Clinton Portis
0
885
Member Avatar for n3r3d

Hello, i have one question for reading from file. I get data from file ulaz.txt and i want to data in there would be stored like [CODE]some text;1934 text 2;2342[/CODE] for now its stored like [CODE]sometext 1934 text2 2342[/CODE] so i want to be able to use space between text …

Software Development c c# c++
Member Avatar for pecet
0
259
Member Avatar for NorthDakota

Hi all :) I'd like to make a little vb.net program that executes searches on a msaccess database. I use a textbox to get the value to search and than i'd like to search all the values that has the textbox value in the middle. So, the queries should look …

Software Development microsoft-access vb.net
Member Avatar for NorthDakota
0
184
Member Avatar for lookof2day

I've been trying to get a list of values from database using hibernate. I'm using MS SQL Server XE 2005 and using Hibernate 3.2.2 to fetch DB rows. I've tried JDBC drivers provided by Microsoft as well as jTDS but all I get is an empty list. Here is my …

Software Development java session xml
Member Avatar for lookof2day
0
827
Member Avatar for guest7

Hi, I am trying to replace the old_string with the new_string using sed. But i am unable to do it using the following script. [CODE]#!/bin/sh old_string="p cnf 10 20" new_string="p cnf 98 99" sed -e 's/old_string/new_string/' file1.txt > file2.txt [/CODE] Contents of file1.txt [CODE]p cnf 10 20 1 2 3 …

Software Development shell-scripting
Member Avatar for chrislee.980
0
95
Member Avatar for rukshilag

I would like to know a list of systems (standalone) that can be made using JAVA. For example payroll system, billing system etc. Please state some simple systems that requires basics of OOP and few swing codes. Thank YOU :)

Software Development java java-swing oop
Member Avatar for peter_budo
0
103
Member Avatar for chromatinpt

Hello again! I have a form (Form1) with some textbox, call it textbox1. With a button event I open a second form and hide de Form1. In this Form2 I dont use the value, I just make other things.. then open a another form, Form3 here I want to use …

Software Development
Member Avatar for chromatinpt
0
127
Member Avatar for bsc505

I need help i am tired of dealing with this program and trying to get it to work. All i am doing is reading each txt file i find in a direcory and finding certain strings in the text then counting how many i find in each file and then …

Software Development open-source vb.net
Member Avatar for Stevoni
0
101
Member Avatar for Stefano Mtangoo

Hi All, I'm trying to make commandline mp3 player using [URL="http://www.inet.hr/~zcindori/libwmp3/index.html"]libwmp3[/URL]. I use codeblocks and have tried alot and I get error below. I have tried to include libwmp3.h, add libwmp3.a try changing compiler; but no success :( Please help me to get through. I use the code for mp3 …

Software Development c++
Member Avatar for Stefano Mtangoo
0
207
Member Avatar for Mitja Bonca

I am learing programming for a bit more then 6 months, and recently someone told me my concept is not the best one, he proposed me that I rather split my code into business logic layer and data access layer. And now I would like to ask someone if he …

Software Development
Member Avatar for Mitja Bonca
0
238
Member Avatar for NguyenThai

I have question about the listbox. My listbox is binding to a database, and I use SelectedValueChanged to determine which my record I chose, I also get a couple button to interact with the sorting but the problem is whenever I change the database, like update new sql query, it …

Software Development
Member Avatar for Geekitygeek
0
219
Member Avatar for noktasizvirgul

Hello All, I need to make parallel processing with Java. I know there are threads but i need to examine a distributed-like system. I will implement the MST algorithim and with a distributed syncronizer I will merge those sepereted nodes with rounds to find best and minimum spanning tree. This …

Software Development java
Member Avatar for noktasizvirgul
0
579
Member Avatar for TheBeast32

Hi, I installed cygwin recently and wanted to do some network programming with it. Since I have never used unix sockets before, I'm reading Beej's Guide To Network Programming. I took this from section 5.1 and tried to compile it. I get a few errors that I can't figure out …

Member Avatar for developer_borja
0
671
Member Avatar for naziatarannum

Hi all, I have a simple question as it appears. But am unable to get the solution. Question is -how do I get the access time of a file in unix. please advise on the command. Thanks

Software Development shell-scripting unix
Member Avatar for Aia
0
109
Member Avatar for SSc

Hi! I'm new to programming and have difficulties in working out the following two examples: [IMG]http://www.pictureupload.de/originals/pictures/241109145734_Unbenannt.JPG[/IMG] hope someone can help me

Software Development c
Member Avatar for donaldw
0
85
Member Avatar for kfg20

I am new to C++ and I need some help getting this code started for this problem. I am asked to do this : Write a function template version of linearSearch, that can be used to search an array of elements of any type. Write the function prototype , the …

Software Development c++
Member Avatar for Narue
0
653
Member Avatar for IT_Techno

hi every one, i need your help how to upload and download any file type to/from sql DB (sql server 2005) using c# windows form application i need to upload and download image type and doc type or pdf type or any else type . i need these types to …

Software Development c# pdf sql windows-server
Member Avatar for eURe
0
2K
Member Avatar for Lukezzz

I have a code that is running like this and calling an event. The event is writing some lines to a textfile. But after each loop, the event is writing one more line each time. It seems that the += is filling the left side up. Is there a way …

Software Development c++
Member Avatar for Nick Evan
0
86
Member Avatar for whee

I want to use FileSystemWatcher to monitor directory containing log files, and parse them on changed. However, the bad person who wrote program creating logs, coded it so the log files are never actually closed. And though I can access them in FileShare.ReadWrite mode, the FileSystemWatcher actually never arises any …

Software Development
Member Avatar for whee
0
92
Member Avatar for gangster88

I need the function to display a set of eyes, so if i call the function Eyes(3,4) a graphics window opens with exact dimesions for 4 coloumns and 2 rows of eyes... [code] from graphics import * def drawCircle(win, centre, radius, colour): circle = Circle(centre, radius) circle.setFill(colour) circle.setWidth(2) circle.draw(win) def …

Software Development python
Member Avatar for battlecrab
0
113

The End.