132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for crag0

I am hoping someone might point me in the right direction. I am still very newbie with coding and python. I am currently trying to open a zip file and I keep getting "file is not a zip file". I have checked using “file” in terminal and it shows as …

Software Development python
Member Avatar for crag0
0
1K
Member Avatar for Gé48

Hi all, I build a scrolling text that starts running when I start up my Computer. I can stop it by clicking on it, no problem. Is it also possible to stop it when I start up another programm ?

Software Development vb.net
Member Avatar for Gé48
0
200
Member Avatar for yosia.tama

I want to build an application to compute operations research with linear programming simplex method using Visual Basic 6.0 I need anybody help to finish my project. sample program will be helpfull. thanks verry much I say to anybody who want to help me.

Software Development visual-basic
Member Avatar for Nutster
0
877
Member Avatar for nagatron

Hello to all vb programmers. I need a little help on how to run a dos command line using visual basic. I have this dos command line: C:\Documents and Settings\nagatron> echo Main-Class: ProgressBarStep >manifest.txt where it create a manifest.txt file inside the directory "C:\Documents and Settings\nagatron". How can I execute …

Software Development visual-basic
Member Avatar for Nutster
0
14K
Member Avatar for razree

Hi all I have a quite complex problem and I don't exactly know how to "step into it" so I really need your help. Little briefing: lets say I go on a business trip. My company gives me up to 2 advances in different currencys (but there also could be …

Software Development vb.net
Member Avatar for Nutster
0
175
Member Avatar for hedwards

Hi, so im writting a Python program, and ive hit a spot of bother "TypeError: unsupported operand type(s) for %: 'list' and 'int'" #if n is 1 the sequence ends #if n is even the next n of the sequence = n/2 #if n is odd then the next n …

Software Development python
Member Avatar for hughesadam_87
0
180
Member Avatar for toyotajon93

Hey guys, I've done alot of work coding a script that works great in Python. I hope to move it into java then hopefully into an android app. Any advice on getting started? I have searched and searched and cannot really find a good way to do this. I had …

Software Development android java json python
Member Avatar for M.S.
0
152
Member Avatar for emmanuell

what programming language can i use so that i make my files on a cd not to be copied?(ie.copy protect?).please help

Software Development c++
Member Avatar for np complete
0
147
Member Avatar for didi00

My Borland C++ vresion 3.1 isn't working. It works with simpler codes, but it doesn't works with graphics and animations. Is there any settings that will make Borland work? I'm using Windows 7 but the same happened with Vista and XP also, so help? Please? Thank you all!!!

Software Development c++ windows-vista
Member Avatar for gibson.elliot.5
0
254
Member Avatar for jefferson9

Say i have a complete mp3 file with 10 seconds of silence at the end of the track. How can i chop off the X seconds from the end?

Software Development
Member Avatar for jefferson9
0
105
Member Avatar for coolikedat99

I decided to get rid of windows xp and switch over to Ubuntu entirely. In order to do so I had to uninstall XP and Ubuntu so I could start over on my computer. I did this, and everything has been working better. Except for the most important part: my …

Software Development c++ ubuntu
Member Avatar for np complete
0
233
Member Avatar for I_m_rude

hi.. can anybody please tell me that how can i print the execution time for my code ? Actually, what exaclty i want is that my program should also print the time which is elapsed while executing it or for maupulating any i/p. any pre-defined or user-defind function which can …

Software Development c
Member Avatar for I_m_rude
0
107
Member Avatar for swathys

Hi. i have an application which send email upon submission of the loan application. if the recepient email ID is yahoo or hotmail i dont have any problem but when the email ID is **gmail. it treated it as spam.** How do i get rid of this. Please help me …

Software Development email vb.net
Member Avatar for Reverend Jim
0
153
Member Avatar for Gus_19

Right now if a user closes the form (either by clicking 'X' or chosing exit from a menu option) and changes are detected in the form, a messagebox will display asking the user if they would like to save any changes. The user has the option of clicking "yes, no …

Software Development vb.net
Member Avatar for Reverend Jim
0
398
Member Avatar for gemanthony.gonzales

#include <stdio.h> #include <stdio.h> #include <stdlib.h> #define p printf #define s scanf int total( int q, int w); void gemar(void); void gem(void); int setfunction (int *team1score,int *team2score); static int team1score_set1 ; static int counter1_set1 = 0; static int team2score_set1 ; static int counter2_set1 = 0; static int team1score_set2 ; static …

Software Development c
Member Avatar for I_m_rude
0
215
Member Avatar for manishanibhwani

can anyone tell the output of following code and also explain it #include<stdio.h> #include<stdlib.h> union employee { char name[15]; int age; float salary; }; const union employee e1; int main() { strcpy(e1.name, "K"); printf("%s %d %f", e1.name, e1.age, e1.salary); return 0; }

Software Development c
Member Avatar for I_m_rude
0
109
Member Avatar for Metobu

Hi. I would like to convert empty string "" to zero in C#. The data is stored in (string) arrays. There is jagged array which contains all 5 string arrays. Could someone help? // Jagged array intialization string[][] all_prices = new string[5][]; all_prices[0] = nordpool; all_prices[1] = tvh; all_prices[2] = …

Software Development
Member Avatar for nmaillet
0
1K
Member Avatar for Manu Krrish

Hi , I am new to Dani Web after browsing so many sites i have found this site as usefull. Saw replied to all queries that posted here.In the same Hope i am posting my Query here. I want to automate a webpage using excel macros.The issues i am facing …

Software Development visual-basic
Member Avatar for Manu Krrish
0
150
Member Avatar for Newten

I am trying to write a script to grab images from my CCD camera. I can already do this with C++ usung VFW and OpenGL, but I want to find a way to do it with Perl. It needs to be able to run on windows though. I am pretty …

Software Development opengl perl
Member Avatar for vikitech
0
204
Member Avatar for DaveTran

I have two classes. One main Game class and an Entity class that needs to point to the Game class so it can call its various functions # Entity.h # class Game; class Entity { public: Entity(Game *game); ~Entity(void); void Draw(float dt); void Update(float dt); protected: Game *m_game; // Missing …

Software Development c++
Member Avatar for JasonHippy
0
409
Member Avatar for sathya88

1.in my project...if user want to exit from the application... it first check yes no cancel option,if the user want to choose ,no or cancel button .. the application is not closed..but my problem is what code placed for no or cancel button...to prevent closing window... code is...[CODE] class wl …

Software Development java
Member Avatar for hoon85
0
3K
Member Avatar for asadullah

Assumption: 32-bit Machine. Here I am going to explain How Virtual table, Virtual pointer for Virtual functions are internally working. First we have understand memory layout. Example 1: How the class's memory layout Code: cpp [code=cpp] class Test { public: int data1; int data2; int fun1(); }; int main() { …

Software Development c++
Member Avatar for kresimir
0
3K
Member Avatar for solomon_13000

I created an EJB project using Spring toolkit Suite. The JDK is version 7 and the JBOSS application server version 7. However I keep getting the following error message: 17:57:35,015 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 17:57:35,140 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 17:57:35,202 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final …

Software Development apache java java-jsp session
0
122
Member Avatar for bLuEmEzzy

Help please. how can i get the value in treeview.. Thank You!

Software Development vb.net
Member Avatar for AndreRet
0
106
Member Avatar for willjohn.wrar393

Hi I want to Clarify what is the Problem of this code? if you feel free to answer Thanks alot... Private Sub addakoordr_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles addakoordr.Click Dim tr As String = tID.Text Dim qo As String = tquanOrder.Text Dim arw As String = cdateselec.Text …

Software Development vb.net
Member Avatar for daniel955
0
106
Member Avatar for khair.ullah

ASALAM ALIKUM Dear !... I'm doing INVENTORY PROJECT... I'm using Ms sql 2005 as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering datas in form and when i click submit, the data stored on database... but when …

Software Development vb.net
Member Avatar for daniel955
0
232
Member Avatar for Xcelled194

I've noticed an "awkward" issue in VB.... how to escape from things like nested loops or nested IFs, where the standard Exit Loop, Exit For, or Exit If simply starts a new iteration. For example, assume we have a 3-dimensional array (TheArray) that we want to brute-force test to see …

Software Development vb.net
Member Avatar for basharyassin
0
358
Member Avatar for mikewyatt

I have a jtab that contains 3 items: a jtextfield that the user will enter a integer value(1-100),and press a jbutton which takes that value and thru a series of if tests generate a text response in a jtext area. example: Input = 1 Output = My Dog has fleas. …

Software Development java
Member Avatar for mikewyatt
0
231
Member Avatar for ronnel09

Is main(); function included as loop statement? for example i have a program with subprograms then if I finished a subprogram i will use main(); function to go back from the main program. is that considered as loop? thanks!!

Software Development c
Member Avatar for _avishek
0
106
Member Avatar for gAb1

Hi, first i need to download a good compiler, what can you recommend me? I always used dev-c++ but in windows 8 don't work, it gives this error: "gcc.exe: Internal error: Aborted (program collect2)". Well, i need to get content from json files to make a sql sentence, insert into. …

Software Development c json
Member Avatar for _avishek
0
200
Member Avatar for Vish0203

hey, i've been trying to insert the element in the linked list, but I don't understand why the element is inserted at some other position i.e. it is not inserted at the position which i pass. is there any error in the insert function? template <class T> void insert ( …

Software Development c++ linked-list
Member Avatar for Vish0203
0
141
Member Avatar for giannoui

Hello, I would like to know if anybody could help me with this program that im trying. I have a text file with data inside and i want to display one data line per time with 2 sec delay. The data should continue show infinitely. This is what i have …

Software Development display vb.net
Member Avatar for Reverend Jim
0
545
Member Avatar for Shashank clic

** # is it possible to creat threads in c-programming? # ** ## Sub-Heading Here ## yes,then how? no, then why not?

Software Development c
Member Avatar for nmaillet
0
111
Member Avatar for jarrodoliver1

Hey guys, Im making a program that will be used by graffiti collectors. There will need to be an import picture button l which will import a picture from your selected drive, and there will also be a take picture button, which i am having trouble with. Any help would …

Software Development vb.net webcam
Member Avatar for Hpsvtw_1
0
146
Member Avatar for b saaj

hi all, i am working on small RMS and got problem to print receipt using pos printer. the expected out put is like that. 1. XYZ Ltd 2. London, Uk 3. 4. 5. 6. Transaction #: 100 7. Date: 11/12/2008 Time: 09:10:10 8. Cashier: Fred 9. 10. Item Qty Unit …

Software Development printer vb.net
Member Avatar for nmaillet
0
288
Member Avatar for Alexkid

Hi there, I’m fairly new a c++ and am having trouble figuring out how to use a returned function variable. Here’s my code #include "stdafx.h" #include <stdlib.h> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <algorithm> #include <iterator> using namespace std; std::string OMPS (char const* path) { …

Software Development algorithm c++
Member Avatar for phorce
0
296
Member Avatar for vinnitro

I am beginner with C# language & currently using WROX's beginning Visual C# 2010 But sometimes it is hard to understand. Is there any book that can help me?

Software Development c#
Member Avatar for vinnitro
0
214
Member Avatar for Viped

Hi, I can't figure how to detect collision between Ellipse2D and Rectangle2D. I have tried intersects and contains methods with and without getBounds and getBounds2D methods but nothing works. Here is some code, ball and bat are overlapped. package net.viped; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.Toolkit; …

Software Development java java-swing
Member Avatar for Taywin
0
912
Member Avatar for myk45

Hi all! This is w.r.t the thread [How to make my C++ program executable on other computers](http://www.daniweb.com/software-development/cpp/threads/431194/how-to-make-my-c-program-executable-on-other-computers) I didn't want to continue the discussion there, so i created the new thread. I had faced the same problems in the past. I needed some clarification on the following: 1)`The option shown …

Software Development c c# c++
Member Avatar for myk45
0
319
Member Avatar for diptid

Does anybody work with namespace LogFileControl???

Software Development
Member Avatar for diptid
0
79
Member Avatar for niall_heavey

Hi all, I'm currently trying to use an inherited excel macro. I did not write it (and would not have the skills to write VB either) But i've been getting a number of errors while running this code. I've got through a lot of them but now can't figure this …

Software Development visual-basic
Member Avatar for AndreRet
0
179
Member Avatar for PinoyDev

Good day! I have this class for Players: #include<iostream> using namespace std; class Players { public: char Level[2]; float SetPower(); }; Players Pl, float Players::SetPower() { switch(Pl.Level) { case '1': return 5000; break; ......... } } int main() { Pl.Level='1'; cout<<"Your current Power is: "<<Pl.SetPower()<<endl; system("pause"); return 0; } Now …

Software Development c++
Member Avatar for Vish0203
0
142
Member Avatar for ellosbibu

I created a program that : 1)write by keyboard a number A of 5 number digits 2)write all the combinations ( 2 digit ) using digits of number A 3)order the combinations MY PROGRAM DO ALL THIS , but i don't know how to limit the combinations from 4 digits …

Software Development assembly
Member Avatar for ellosbibu
0
221
Member Avatar for Frensi

I have a function and want to use time.sleep(2) everytime an attack happens, but what ends up happening is the time.sleep(2) will work for the first player and enemy attack, then the program will print the rest of the attacks instantly. Does anyone know what I'm doing wrong? def attack(player, …

Software Development python
Member Avatar for Ene Uran
0
7K
Member Avatar for onlineboy18

Hello everyone. I am new in coding and db so i am facing a problem regarding of fetching the data from 3 tables. Please suggest or help me. Thanks in advance. I was writing a query to fetch data from 4 tables i.e pat_table, test_table, doc_table, emp_table. In pat_table there …

Software Development
Member Avatar for onlineboy18
0
112
Member Avatar for Andyjava

Please can someone show me how to retrieve database tables and add them as items to my JComboBox?.i have this app that i'm creating and it has a database which contains tables with their names and i want to add them as items into my JComboBox to aid file insertion …

Software Development java mysql
Member Avatar for Ezzaral
0
157
Member Avatar for rishad1418

how to edit textbox in visual c++ 2010,windows form application? please any one give me a perfect solution by details and it will be bater if you provode me tutorial link. thanks Rishad1418 [email snipped]

Software Development c++
Member Avatar for np complete
0
58
Member Avatar for sarelnet

Hi, I have a HTML page in one variable. I need build a mehod that will extract a tag content (dif extract_tag(self, tag_name)). For example, given webpage: <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <!-- content --> <div id="content" class="mw-body"> <a id="top"></a> <div id="mw-js-message" style="display:none;"></div> <!-- sitenotice --> <div id="siteNotice"><!-- centralNotice …

Software Development html-css python regex
Member Avatar for ryantroop
0
253
Member Avatar for //Gonz

I have written a program which allows agents of a call centre the ability to access a database (ms access) containing names of solicitors to allocate to. the database is stored centrally and i need a way to update the local dataset on the agents machine when a change is …

Software Development dataset microsoft-access
Member Avatar for //Gonz
0
204
Member Avatar for 'AnKo

Hey there! I just want some hints for some program I'm trying to make. Say we have a 1GB file full of 0 and 1. What I want to do is to find the patterns of them and rank them. It wouldn't seem so complex if I had to deal …

Software Development c++
Member Avatar for np complete
0
109

The End.