132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 … | |
![]() | 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 ![]() |
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 … | |
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 | |
#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 ![]() | |
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 ![]() | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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++ | |
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 … | |
Help please. how can i get the value in treeview.. Thank You! Software Development vb.net | |
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 | |
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 | |
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 | |
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 | |
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 | |
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. … | |
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 | |
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 … | |
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 … | |
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 … | |
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) { … | |
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# | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 … | |
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 | |
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++ |
The End.