132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jamie6441

I'm currently writing a program where the program reads in words from a .txt file and stores the data into an array. The user then has the ability to enter in entries into array and the program then writes everything to the txt file where it can be read again. …

Software Development java
Member Avatar for jamie6441
0
3K
Member Avatar for djbuclkle

Hey guys, can't see what is wrong with my code, I keep getting the error Status: 500 Internal Server Error Content-Type: text/html <html><body><h1>500 Internal Server Error</h1></body></html> [CODE]import httplib import sys import time #Initial connection to the server def connectingToServer(port, message, path): connection = httplib.HTTPConnection('rpc248.cs.man.ac.uk', port) headers = {'Content-type': 'application/xml', 'Accept': …

Software Development client-server http-protocol python
Member Avatar for bishisht
0
321
Member Avatar for frivolous

Given below is the error which I am getting while running the code (which is in my previous post http://www.daniweb.com/software-development/python/threads/419674/import-wx-error ) in python 2.6. Can anyone tell about this error? .. i am unable to understand it. Traceback (most recent call last): File "C:\Python26\music_player_v1\player_skeleton.py", line 153, in <module> frame = …

Software Development python
Member Avatar for bishisht
0
245
Member Avatar for ganeshrnet

Friends, kindly help me how to update the progress bar in WX Widgets python while copying folder in windows... i tried searching a lot.. please do help me out.. Thanks in advance! Ganesh R

Software Development python
Member Avatar for bishisht
0
893
Member Avatar for orar

#include <iostream> #include<string> using namespace std; struct people { string fname; string lname; void input() { cin>>people.fname>>people.lname; } void output() { cout<<people.fname<<people.lname; } }; struct birthday{ int day; int month; int year; void output() { cout<<day<<birthday.month<<birthday.year; } void input() { cin>>day>>month>>year; } }; int i; int main() { cout<<"Birthday Program"<<endl; …

Software Development c++
Member Avatar for orar
0
374
Member Avatar for rikb53

guys - i cannot figure this one out. i keep getting the "wrong number or types of arguments in call" error & for the life of me can't figure out why. i've got dozens of other programs doing way more difficult stuff than this so, i'm officially stumped. 4 parameters …

Software Development open-source oracle vb.net
0
104
Member Avatar for longsaver

I had been code so far for the class of Calculator program (attacked zip file) Here is my code below:**Please Help!!!!** namespace Calculator { public class Calculator { public class Calculator { public decimal currentValue; public decimal displayValue; public decimal btnNumber; public decimal newValue; public string Add; public string Subtract; …

Software Development
Member Avatar for Mitja Bonca
0
155
Member Avatar for triumphost

Hey all, I've been searching Rohitab, CodeProject and various other sites to figure out how to write OPCodes to a file and cannot figure it out. I thought I'd ask here because it's the only site I have an account on and I usually get my answers here or hints. …

Software Development c c# c++ file-system
Member Avatar for mike_2000_17
0
308
Member Avatar for dwlamb

I am trying to write a script that will facilitate cataloguing various files on a backup medium. Looking at what's available, only **stat** seems suitable but it outputs the data with a lot of formatting I don't require and would take a lot of scripting to massage into what I …

Software Development shell-scripting
Member Avatar for L7Sqr
0
384
Member Avatar for RickCJ7

I have searched this forum and see that there are quite a bunch of topics related to files being used by another process. However, none of them seem to fit or work for me. This is my scenario - I have an XML file that is used as a template, …

Software Development asp asp.net c# client-server file-system
0
132
Member Avatar for Stjerne

Hello, How can I get a bigger textfield? What I mean is: Let's say that I'm going to register a bunch of cars in a program I made. I want to register things like name, model, when it's made etc + description. I can make simple JTextFields for most of …

Software Development java
Member Avatar for JamesCherrill
0
115
Member Avatar for Thermalnuke

IF someone can write this code out for me so i can use it as an example for the rest of my problems and question i have to do I would really appreciate it alot. and no this question is not Homework what so ever I am a visual person …

Software Development java
Member Avatar for Ezzaral
0
185
Member Avatar for algo_man

I have wikimedia tags in a text file. I need to get rid of these tags from starting to ending even when nesting. I'm using Perl. I'm facing a difficulty in nested tags. I'll give two examples of these tags that I could not to remove. Example 1: {{ text …

Software Development perl
Member Avatar for 2teez
0
170
Member Avatar for Alessandrorenzi

hi i connect to a web page with this code: Private Sub mnuCOLLEGAMENTO_Click() Dim TheBrowser As Object, I As Integer, orario As Date Set TheBrowser = CreateObject("InternetExplorer.Application") With TheBrowser .Visible = True .Navigate ("http://www.dir*****.com") End With end Sub then, how can i do to fill PASSWORD field and USER field? …

Software Development visual-basic
Member Avatar for Alessandrorenzi
0
238
Member Avatar for blivori

I have a GUI in which has a container for a JTable called 'listTable'. I want to populate the JTable with data stored in a linked list, using the AbstractTableModel. Basically, I have a LinkedList stored in Processing.java. It contains all the data retrieved from a text file. I created …

Software Development gui java java-swing linked-list
Member Avatar for ejosiah
0
1K
Member Avatar for triumphost

Does C++ Console apps have a TryParse equivalent.. I mean .Net has it for both C# and C++ but why does C++ Consoles NOT have this! Or am I just wrong and cannot find it? I was thinking of writing my own with templates that can be use for ANY …

Software Development c++
Member Avatar for m4ster_r0shi
0
2K
Member Avatar for dvirdc

Hey. I'm writing a script that processes some data. The script creates a HTML page which contains a form that calls (action=) the same script and changes according to data asked. So the user asks for something, the script goes to a DB, gets it and prints it into the …

Software Development python
Member Avatar for dvirdc
0
126
Member Avatar for Sadun89

I have a problem with netbeans.... Already I installed MySql. but in netbeans Services panal not mention anything about databases.. If I right click on their its not mention anything.. I want to add database through that. So how I can do it. What are the pre-Requirement to do this(Any …

Software Development java
Member Avatar for peter_budo
0
327
Member Avatar for Rasool Ahmed

Hi gueys, I have question searched in google but without something that can help. **How to get the binary stream from files ( especially executable files) using winapi (CreateFile , etc)????** I learned in these days how to read write files using Createfile, ReadFile, WriteFile , etc and all these …

Software Development c++ file-stream windows-api
Member Avatar for Nick Evan
0
2K
Member Avatar for jony90

Hi Is there anyone who could help to figure out how link regexbuddy to Delphi 7SE?

Software Development delphi pascal regex
Member Avatar for pritaeas
0
92
Member Avatar for venkates.99

I have Excel like #EmpId EmpName ProjName Date JiraId ***Thursday, March 01, 2012***# 1 test3 Project Name 4/11/2012 1810 5 2 test4 Project Name2 4/11/2012 1810 6 when I read data to DataTable the result will be like #EmpId EmpName ProjName Date JiraId ***40969***# 1 test3 Project Name 4/11/2012 12:00:00 …

Software Development
0
154
Member Avatar for dwarvenassassin

... to provide Email client reading pane functionality such that it can display an attached image as part of the message body. Is there a single control that will display text with an imbedded image or do I need to create a UserControl?

Software Development
Member Avatar for mariasemuel
0
113
Member Avatar for paoi00

hi there! can you please help me? this codes doesnt have any reponse from the database .. these codes is for case sensitivity of the usernametxtbox and if satisfied, the secretquestion textbox will automatically display the correct secret question. help me pls! Dim i As Integer Dim PassResult As String …

Software Development open-source vb.net
Member Avatar for poojavb
0
246
Member Avatar for tendaimare

my login code works fine but the it gives me problems when the username and password in questin are not on the first row in the datatable. This is because when the code in debug mode, I took the time to check the contents of the datatable using the datatable …

Software Development vb.net
Member Avatar for poojavb
0
136
Member Avatar for isaacjun16

Hi, I have a problem with a the imput of some data on a program Im making (FYI new in c++, homework). So basicly the progrma I have is to imput diferent type of data, this is what im doing. (Im using codeblock 8.02 in Ubuntu 10.04 ) #include <iostream> …

Software Development c++ ubuntu
Member Avatar for isaacjun16
0
269
Member Avatar for akoaysayo

how can i limit the borrowing of books in our system. the user is only allowed to borrow books 3 times a day.. so if the user reaches the limit,.the system will not allow the user to borrow books anymore. here is our codes but it does not work well..so …

Software Development open-source visual-basic
Member Avatar for QVeen72
0
244
Member Avatar for jhedonghae

How do I open my Crystal Report in VB code (RPT files) on password-protected Access 2007 database? Ever since I protected my database with password, my Crystal Report generates an error. Thanks

Software Development vb.net
Member Avatar for poojavb
0
688
Member Avatar for kiail

Okay, I've got an order form that needs to calculate the total each time a quantity is updated. I have it set up the way I think it should work. I've added one of my methods here for my QuantityBox_TextChanged. I have 3 quantity boxes like this, and I set …

Software Development
Member Avatar for kiail
0
122
Member Avatar for rigoalhn

Hi guys, im pretty much done with my program but im receivin an error that i cant find where it its. Im using a WPF application in visual studio and it uses a service reference that contains addresses and zip codes. The purpose of the program is for the user …

Software Development gui vb.net visual-studio
Member Avatar for rigoalhn
0
285
Member Avatar for programnoob

I am running into and problem where I am trying to pass an element in an array to a method to calculate the tax that is owed but all I get as a result is 0, which is not right. Here is the writeline: Console.WriteLine("Taxpayer # {0} SSN: {1}, Income …

Software Development
0
110
Member Avatar for kesh1000

Hi all, Im not sure if im posting this at the right place therefore please excuse if i have not. My Question is: Which position is a better or a senior position ie. Systems analyst or Developer ? I am established in the job market as the I.T systems analyst …

Software Development
Member Avatar for JorgeM
0
134
Member Avatar for BThomps

I'm a tutor that is helping one of my students with a simple guessing game program. It's supposed to be similar to the board game Mastermind. This program should prompt the user to enter 5 distinct digits, and it should return the how many digits are correct and how many …

Software Development gaming python
Member Avatar for BThomps
0
239
Member Avatar for VRamone

Hi there,i´m having troubles trying to make just a part of my string to be in bold. the code is: String tudo = ""; foreach (Ent_Proposta_Executada_Item item in neg_prop_exe.ItensProposta) { tudo += item.NumItem + " " + item.DescrItem.ToUpper() + "\n" + item.ConteudoItem + "\n"; } i want that the value …

Software Development
Member Avatar for skatamatic
0
909
Member Avatar for c.pentasuglia

Would anyone happen to know also if there is some predefined swing box for prompting the user to decided whether or not to overwrite an exhisting file? you know the basic "This file already exists, would you like to overwrite it?"

Software Development java java-swing
Member Avatar for c.pentasuglia
0
107
Member Avatar for salina786

I am also working in python 2.6 and i want to send SMS to a mobile while my cell phone i.e. Nokia E-72 is connected to PC via Data Cable. The mobile is connected through a serial port and the code prompts the correct port as well and there is …

Software Development python
Member Avatar for salina786
0
296
Member Avatar for 9tontruck

Hi guys, I am programming in C++ with NetBeans. It works fine when I playing with just one main.cpp file. But After I added an additianal class (1 .cpp and 1 .h), it makes an error even though I do not make any changes in the new files. (all I …

Software Development c++
Member Avatar for FelineHazard
0
146
Member Avatar for fishsticks1907

I'm not sure what i'm doing wrong, any help would be great. main.cpp(58): error C3861: 'preOrederHelper': identifier not found main.cpp(53) : while compiling class template member function 'void tree<T>::preOrderHelper(treeNode<T> *) const' with [ T=int ] main.cpp(9) : while compiling class template member function 'tree<T>::tree(void)' with [ T=int ] main.cpp(103) : …

Software Development c++
Member Avatar for fishsticks1907
0
844
Member Avatar for c.pentasuglia

In a nutshell i'm working with a program that uses JSCH and xstream to zip a file, and send it to a remote linux server. I'm using static folders, but when i send a file with the same name as one in the folder it will overwrite the exhisting file. …

Software Development java
Member Avatar for c.pentasuglia
0
182
Member Avatar for razamughal67

Hello everybody How to show usb drive letter when we attach my usb to my computer example: we use a label or textbox and one timer now we want to do this we start my project and attach a usb drive to my pc the lebel or textbox show much …

Software Development storage visual-basic
Member Avatar for razamughal67
0
2K
Member Avatar for Labdabeta

I am using code::blocks and have written a dll. I am currently testing it but am getting tired of having to compile it, copy the DLL, DEF, H and A files into a test project, and then compiling the test project every time I need to fix something. Is there …

Software Development c++ microsoft opengl
Member Avatar for Labdabeta
0
255
Member Avatar for nuclear

I was just wondering why do we exactly call glTranste command if its possible just to increase objects x, y or z. And its even stated in this tutorial: http://nehe.gamedev.net/tutorial/particle_engine_using_triangle_strips/21001/ that its even faster to only use Vertex3f() instead of resetting the Modelview Matrix. Anyways, maybe its just something particular …

Software Development c++ opengl
Member Avatar for nuclear
0
264
Member Avatar for Hitman Mania

Hey, so this is my final java assignment for 1st year comp sci program. I really want to get a decent mark before exams, so please I need your help. I've been working on it hard, but this assignment is making me feel dumb :( I'm supposed to make an …

Software Development java
Member Avatar for NormR1
0
278
Member Avatar for metaxx

Hello all! I have an old program from 2002, which was coded in Delphi 7. Now i would like to rewrite the whole program, and expand in Visual Basic. But, i am just learning the language, and it is very difficult to me after Delphi, so i would like a …

Software Development delphi vb.net visual-basic
Member Avatar for Sahil89
0
174
Member Avatar for T0pAz

This code: DomainThingy^ thingy = (DomainThingy^)_scriptDomain->CreateInstanceAndUnwrap(Assembly::GetExecutingAssembly()->FullName, DomainThingy::typeid->FullName); Produces this error: System.InvalidCastException was unhandled Message: Unable to cast transparent proxy to type 'Hook.DomainThingy'. Does anyone knows how to fix it?

Software Development assembly c++
Member Avatar for T0pAz
0
306
Member Avatar for razamughal67

Hello every one i think all is fine i want to open a folder with a file path Example: i have a file path c:\testfile.txt now we want to open folder of this file where save my testfile.txt file using a command botton i mean {open containing folder} please help …

Software Development file-system open-source visual-basic
Member Avatar for razamughal67
0
10K
Member Avatar for bettybarnes

Hi, I'm new to C# and trying to program myself a number guessing game. I've got a troubling problem with data type formats.. Here is my code private void btnOk_Click(object sender, EventArgs e) { String invalue; int guessedNumber; int secretNumber = RandomNumber(1, 100); do { invalue = textBox1.Text; guessedNumber = …

Software Development
Member Avatar for Mitja Bonca
0
214
Member Avatar for alanbrazil

hi everyone, how would i convert a console application (which reads records and sorts the data by date by loading from a textfile) to a windows application? and also what code would i use to load, edit and save the text file into a textbox via a 2nd form? many …

Software Development
Member Avatar for Mitja Bonca
0
131
Member Avatar for venkateshyeluri

Can some one tell me is there a way to convert vb.net code to c# in VS2010?

Software Development c# vb.net
Member Avatar for Mitja Bonca
0
94
Member Avatar for mehdimughal

I need help with this code Constructer is abnormally called again n again.... add these file 2 a project n run ...i've given given constant messages in da code to explain the problem! Hit (1) two tyms i.e GetInput function in da menu.... u'll get 2 knw wat da problem …

Software Development c++
Member Avatar for mehdimughal
0
410
Member Avatar for ponkan20

hi!! im a new to vb.net and im having a problem, pls help me ok here it is... i created a listview, and i have a button5 "view records" if i click the button, all the records should be shown to the listview but yeah i doesn't work here are …

Software Development dataset listview open-source vb.net
Member Avatar for Mitja Bonca
0
2K

The End.