132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for freon73

[COLOR=#555555]I am a newbie to Python and need to transfer files across an internal network. Are there any coding tips or code snippets that would be helpful? Any assistance provided would be appreciated.[/COLOR]

Software Development file-system python
Member Avatar for Tech B
0
196
Member Avatar for Merovingian

Title probably makes no sense :) I have a single picturebox button that I will be using to open new forms. Is there a way to set a variable and then have the button open the form name included in the variable I really dont know where to start as …

Software Development vb.net
Member Avatar for EvolutionFallen
0
185
Member Avatar for phillon

I'm fairly new to C#. I’ve recently embarked on a web project using asp.net Visual Web Developer. I'm having some issues with the commands for running calculations on a number of web forms. Some of the web form consist 10 or more numerical fields. Each form has a Total field. …

Software Development asp.net
Member Avatar for jatin24
0
88
Member Avatar for SAINTJAB

I am writing a code in C# to read, add, delete and update a sql database row by row. Whenever I try to delete an entry, i get a "[COLOR="Red"]concurrency violation error: the DeleteCommand affected 0 of the expected 1 records.[/COLOR]". Please help me to solve that error and also …

Software Development dataset open-source
Member Avatar for serkan sendur
0
184
Member Avatar for akkkk

Hello, I have my main program.cs with static void main and i want to call a method I have created in my misc_methods.cs. The method is string_split(string inputString) misc_methods.cs is in the same folder and looks like this: [CODE]namespace my_project { class string_split { public string_split(string inputString) { ...code for …

Software Development
Member Avatar for akkkk
0
5K
Member Avatar for NargalaX

I need a timer that checks every x ammount of seconds if the mousebutton is down. How would I do this? Oh, and it must be global. Not just on the form.

Software Development
Member Avatar for sknake
0
128
Member Avatar for iammfa

hi, i'm beginner in c++ and i'm using SDL with it, i started with beginner SDL tutorial, the 1st lesson learning me how setup SDL, i don't understand some steps from step 11 to 13, i hope some guides this a link: [url]http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet0508e/index.php[/url] regards iammfa

Software Development c c# c++
Member Avatar for GDICommander
0
143
Member Avatar for Rete

Hi again, I just had a really quick question. Is there any kind of goto command in Python like there is in Java?

Software Development python
Member Avatar for scru
0
770
Member Avatar for willingj

I am continuing work on a program for analysis of an entered array, I have got min,max,median and sorting the array working with some input parameters. I cannot seem to get the mode to work, i have attempted some code to do this. Your help would be greatly appriciated, i …

Software Development c
Member Avatar for akulkarni
0
117
Member Avatar for TuX4020

Hi All, So I'm working on a project that involves saving and opening of binary files. I've got both the save and open methods working properly - using SaveFileDialog and OpenFileDialog respectively. So when I explicitly call these methods to save or open a file, they work as they should …

Software Development
Member Avatar for TuX4020
0
129
Member Avatar for mohsindada

i want to program a downloader which works for slow networks. for example if i and a friend of mine are connected through a LAN .. i would want my downloader to download 1-50 % of xyz.file and my friend would download 51-100% of xyz.file ... (where xyz.file is any …

Software Development
Member Avatar for mohsindada
0
104
Member Avatar for anuj_sharma

hey guys, I want to develop a web application using Java but i don't know where to start from. From where i should start learning and what all should i learn??

Software Development java
Member Avatar for Majestics
0
99
Member Avatar for invisi

[CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <string> using namespace std; void RandomArrayFill(int* array, int size) { //int* array = new int[size]; cout << "Creating and filling the array with integers..." << endl; for(int i = 0; i< size; ++i) { array[i] = rand() % 101; } cout << "Array …

Software Development c++
Member Avatar for invisi
0
141
Member Avatar for netbeanguy

hi please i deperately need help been trying to compile this code on netbeans IDE but it keeps giving me error on the output code is: package gameapplication; import java.awt.Color; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; /** * …

Software Development api gui ide java java-netbeans java-swing
Member Avatar for VernonDozier
0
145
Member Avatar for tejasthacker

Hi this is a decompiled version of a guessing game which i am required to submit in assignment. can anyone please make it run anyhow. i hav also attached sample from which i generated code any help will be appreciated. Thanks [code=language] // Decompiled by DJ v3.11.11.95 Copyright 2009 Atanas …

Software Development java java-swing
Member Avatar for VernonDozier
0
174
Member Avatar for pilipino93

Hi there. I was wondering how I can store a file I have on my computer into my WFA project. I want to store a file in there so that when the user clicks on the button, it will distribute the file inside the program to the user's computer, in …

Software Development
Member Avatar for pilipino93
0
362
Member Avatar for broberts_az

First Off. Total newbie here and first thread so go easy on me. I used the tut from the Starting wxPython (GUI code) thread. I have converted it to a text editor and added some annoying features to mess with my boss. I am able to open a file, edit …

Software Development gui python
Member Avatar for broberts_az
0
199
Member Avatar for cmel89

[code]/** Computes the number of different groups of integers summing to value n * @pre n is a non negative number. * @post None. * @param n The number specified by the user to calculate. * @return The number of different groups of integers for the specified number. */ #include<iostream> …

Software Development c++
Member Avatar for Sky Diploma
0
101
Member Avatar for gcardonav

Hello everyone: As I stated previously I am learning my C++ on the run because is required for one of my classes and well any help I can get is appreciated. I created a code to read a .txt file containing a list of numbers. My problem is that the …

Software Development c++ file-system
Member Avatar for gcardonav
0
136
Member Avatar for latinajoyce

im working on this java program: Create a Java program that creates six random numbers between 1 and 10 and for each randomly generated number it displays the text describing the number rather than the numerical value. For instance, if the number generated was 3 then it should display three; …

Software Development display java
Member Avatar for javaAddict
0
114
Member Avatar for joisan

This is my problem: getCurves (a); vector<int> RA(a), SA(a); I need to determine the size of vector for "RA" and "SA" by using "a" which is a reference parameter that obtained from "getCurves" function. I will get this error message everytime I compile - "vector subscript out of range". However, …

Software Development c++
Member Avatar for Tom Gunn
0
98
Member Avatar for techly

Please help me to write a C++ program which finds the determinant of a n x n Matrix. I'm a beginner in C++ and have read all the posts related to this topic ,but it didn't help me at all. I know the code will be recursive, so i started …

Software Development c++
Member Avatar for Sky Diploma
0
214
Member Avatar for jooa

[CODE]double s = 1/(noOfPhases + 1);[/CODE] When I print the s the value I get is zero however when i print noOfPhases the value is 3. If i do the following [CODE]double s = (noOfPhases + 1);[/CODE] the value returned is 4. Why can I not not do 1 divided …

Software Development java
Member Avatar for Ezzaral
0
68
Member Avatar for avgVBUser

Could someone tell me how to include a timer inside of a class? I was trying to set up a panel class that has some generic information in it to be included in many of the form windows included in a bigger project. It would also have some other information …

Software Development vb.net
Member Avatar for avgVBUser
0
121
Member Avatar for Richy321

Hi, I currently have a crystal report (verison 10) with a linked ole object linking to an excel spreadsheet. I need to be able to programmically change the link path at runtime using vb6. You can do it in crystal by going view -> links ->change source so surely there …

Software Development visual-basic
Member Avatar for Richy321
0
112
Member Avatar for marcinkuptel

Hi, Is there a way to split the string: 'Autocolli\^sion:No^Pack\^age:10DB15' on '^' character, but not if it follows a backslash? I have tried a regular expression like '[^\\]\^' but it removes also the 'o' in 'No'. Marcin

Software Development python
Member Avatar for marcinkuptel
0
98
Member Avatar for gretty

Hello My program takes in a number & uses a recursive function to display that number backwards. eg input = 473, output= 374. I have to submit the program for marking, but they always throw in some curve ball test to make sure that your program will work for all …

Software Development algorithm c++
Member Avatar for Tom Gunn
0
98
Member Avatar for jempag

Anybody knows how to program a solution to hill cipher, its an encryption and decryption..I'm using 2x2 matrix to decrypt any word, can somebody give me some tips, suggestions or anything that could help me finish my job. Thank you very much!

Software Development c++ encryption
Member Avatar for Sky Diploma
0
472
Member Avatar for Ancient Dragon

I just finished installing Fedora 11 on my 64-bit Vista computer (dual boot) and see that it does not include gcc or g++. I looked on gnu.org, found something that described the gcc compiler package (briefly) but no links to where to download the binaries. Anyone have links to it?

Software Development c++
Member Avatar for Nick Evan
0
259
Member Avatar for aalto

I'm new to VB 2008 Express, but I want to produce a user interface (a form linked to an access database). Comboboxes and textboxes work fine. Each box being linked to a separate database column. My main problem is with duplicate entries in each database column. I want the 1st …

Software Development user-interface vb.net
Member Avatar for aalto
0
106
Member Avatar for jarrax

hi problem: I am extending a lua script engine. I would like the engine to be able to detect at runtime if a script has been modified and if so reload it. However I don't know how to detect if a file has been modified. my idea: My idea was …

Software Development c++
Member Avatar for Nick Evan
0
230
Member Avatar for chathu12

Hello Every one, I need to write a program to copy a part of a String from a specified place. Eg: if the first String looks like "This is a C program" I need to extract the part of "C program" How can I do this.Please help me. Can I …

Software Development c
Member Avatar for yellowSnow
0
138
Member Avatar for akkkk

Hello, i am new to using C# and I was wondering how if i set some variable in a from how i can transfer them back to the main method? for example if i have: [CODE]public partial class MyInputForm : Form { String name; Int ref_no; public ..... FORM IMPLEMENTATION[/CODE] …

Software Development
Member Avatar for akkkk
0
101
Member Avatar for hery

this is my code in vb6. How to in vb.net??? Please tell me?? Thank's [code] Public Function Tgl_Max(Month As Integer, YEAR As Integer) As Integer Tgl_Max = Day(DateSerial(YEAR, Month + 1, 0)) End Function [/code]

Software Development vb.net
Member Avatar for benson waweru
0
97
Member Avatar for umarmaqsood

alright here goes, i recently started reading the a c++ book and i was wondering, how so far i have only ran all the example programs in cmd windows. will i able to run outside or not in that horrible looking window or will i have to learn another language. …

Software Development c++
Member Avatar for Nick Evan
0
342
Member Avatar for tech291083

Hi, I have this code in C++ and it is not compiling in a terminal window on a Fedora Linux machine. Please help, thanks a lot [CODE] #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK); return 0; } [/CODE]

Software Development c++
Member Avatar for Nick Evan
0
2K
Member Avatar for laghaterohan

Hey....hello all i am writing a very simple function of calculating a square of a number entered by the user and then displaying it. While writing the function in c# i am getting n number of errors regarding conversion type....plz help me out of this .....here is the function... [code] …

Software Development mathematics
Member Avatar for ddanbe
0
116
Member Avatar for sephora

I am using VS2008 and I am trying to complete a tutorial found at [url]http://community.opennetcf.com/blogs/cf/200711/WCF/An%20Introduction%20to%20WCF%20for%20Device%20Developers.pdf[/url]. I am however stuck halfway as I get a debug error :- [I][U]UriException is Unhandled Invalid URI: A port was expected because of there is a colon (':') present but the port could not be …

Software Development dns pdf
Member Avatar for sknake
0
649
Member Avatar for stormshell

can someone help me with this issue i don't see why its not initializing but here is my error: [code]Object reference not set to an instance of an object.[/code] And Here is My Code: [code=language] Dim pic As New PictureBox Dim frm As New Form Public lbllist As Generic.List(Of Label) …

Software Development vb.net
Member Avatar for Arunabh Nag
0
100
Member Avatar for harshadaj

Hello, I need to generate graphs(nodes&links) on a web page in python. Please, could anyone suggest libraries/modules which could be used for it? I know about web graphics in Perl, but don't know about python.

Software Development perl python
Member Avatar for harshadaj
0
80
Member Avatar for erietha88

I have these code below for the button : [CODE] import java.awt.*; import java.applet.*; import java.awt.event.*; public class Coba extends Applet { Button button1; public void init() { Font font = new Font("TimesRoman",Font.BOLD,16); setFont(font); button1 = new Button("Level Easy"); resize(250,250); LevelEasy lvleasy = new LevelEasy(); button1.addActionListener(lvleasy); //button1.addActionListener(this); add("Left",button1); } private …

Software Development java
Member Avatar for erietha88
0
929
Member Avatar for coud_ren_26

I am doing a cash registry program and I want to use a multidimensional array. May someone give me a sample code for it. The sample code must be as simple as possible just for my reference. Reply will be appreciated very much.

Software Development java
Member Avatar for kvprajapati
0
131
Member Avatar for kehar

Hi, I am using Crystal Report 8.5 to prepare my Report and I want to convert the figures under currency to be converted automatically while printing the report. e.g If I enter 234 in my field kk than under text field hh it should be automatically written as two hundred …

Software Development visual-basic
Member Avatar for mustaf52
0
172
Member Avatar for realone

[code]' Add template and surname to database. Returns added template ID. Public Function AddTemplate(ByRef template As TTemplate) As Long Dim da As New OleDbDataAdapter("select * from Biodata", connection) Dim txtsurname As System.Windows.Forms.TextBox txtsurname = New System.Windows.Forms.TextBox() ' Create SQL command containing ? parameter for BLOB. da.InsertCommand = New OleDbCommand("INSERT INTO …

Software Development dataset vb.net
Member Avatar for kvprajapati
0
157
Member Avatar for goody11

Hey, I was wondering how (if it's even possible) to create my own compiler directives. Any help?

Software Development c++
Member Avatar for Salem
0
141
Member Avatar for tmc01

[B]I have a combo box to select different types of data in the database, the listview will be filled with data according to its category based on the combo box. The problem is, when i click on that first index of the combo box, it fills the listview with the …

Software Development listview microsoft-access open-source
Member Avatar for tmc01
0
614
Member Avatar for murid

i'm try to send many picture using socket programming in VB 2005 from client to server. but, after i run the program, only the first picture that reach destination server. and there is an error saying that my socket are no longer connected after the first picture are sent. client …

Member Avatar for murid
0
352
Member Avatar for tha_ratl

Hi all, I need help regarding following problem. I'm getting HTTP get responses from a program(Kannel) periodically. The HTTP is in the following format. "http://localhost/sms.php?A=10&B=abc" I want to know whether is it possible to get the values of A & B using a Java program (not JSP) as soon as …

Software Development java java-jsp
Member Avatar for tha_ratl
0
156
Member Avatar for hepsy.i

I want to update my database( using a file from my root folder ) every hour even when my web page /form is not opened in the browser.... Please help Thank u

Software Development vb.net web-browser
Member Avatar for kvprajapati
0
262
Member Avatar for swinefish

Hey All I'm having a tad of trouble with a couple of WCF services I've built, and it's with LINQ. Having written the service, which uses LINQ to SQL classes, I am now trying to test it. Now the Service builds perfectly, but Whenever I try to use any of …

Software Development
Member Avatar for kvprajapati
0
91

The End.