43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Diamonddrake

I recently started messing with tcp socket programming. I hacked up a little instant messaging application that seems to work has some little problems but the world isn't in need of more IM clients. but I wanted to know a good practice for sending large files over tcp sockets. i …

Member Avatar for sknake
0
4K
Member Avatar for pinsickle

Ok guys, i'll say this first. I got it 99% working (100 % working if I test it with the much shorter name list that we are suppose to use for the homework.) For some reason the code skips the very last name. Honestly, I think I am over thinking …

Software Development c++
0
64
Member Avatar for serkan sendur

hi guys, do you have any valid, tested example about how to run windows installer in silent mode? i want to see an example which to be told to six year old. i am fed up with implicit stuff, aliases and all other ambiguity. Thanks. By the way, the english …

Software Development
Member Avatar for mac1546
0
442
Member Avatar for shahab.burki

Hi, I am newbie to network programming in C. I want to implement a file transfer program in C on a Linux environment . I am sending the file name to the server and tries to print it on the server. But the server doesn't print it. I think I …

Member Avatar for Dave Sinkula
0
116
Member Avatar for Grn Xtrm

Hello friends. I'm trying to write a program that accepts an odd number from 1-9 and outputs the diamond of asterisks as follows [code] user enters 5 _ _ _ * _ _ _ _ _ * * * _ _ _ * * * * * _ _ _ …

Software Development c
Member Avatar for Dave Sinkula
0
4K
Member Avatar for TechSupportGeek

Hello guys, it's me again :) This time I want you to show me a way to hide the Windows taskbar in Visual Basic 2008. To be more specific, I created a button in my application that says "Enable Full-Screen". The code I used so far in order to make …

Software Development vb.net visual-basic
Member Avatar for TechSupportGeek
0
2K
Member Avatar for Diamonddrake

I have been working with desktop server/client applications today, making pretty good progress when I came across a problem. the webserver I use for my website is shared and doesn't allow me access to start programs so I must use my desktop as a server. The problem with this is …

Software Development client-server xml
Member Avatar for Diamonddrake
0
244
Member Avatar for locked_twilight

package MyJava; //change package name according to what the name of the package //the class would be installed to import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public class [B]Calculator[/B] extends JFrame implements ActionListener{ private JTextField displayText = new JTextField(30); private JButton[] button = new JButton[16]; private String[] keys = …

Software Development java java-swing
Member Avatar for locked_twilight
0
953
Member Avatar for ritu verma

[code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim lCount As Integer For lCount = 1 To 5 ListView1.Items.Add(lCount.ToString) Next If ListView1.Items.Count > 0 Then ListView1.Items(0).Selected = True End If [/code] I have even write the code to select the first node,i want first row …

Software Development listview vb.net
Member Avatar for ritu verma
0
4K
Member Avatar for Dixtosa

can you tell me what differences are between c & c++?

Software Development c++
Member Avatar for Dixtosa
0
147
Member Avatar for MrNoob

hi i m sorry for this noob question but there something i don't get i was reading abt File format like PE for example i was wondering how is C unverisal on MAC win and unix since they use diffrent file format does C takes care of each file format …

Software Development c unix
Member Avatar for MrNoob
0
318
Member Avatar for jmark13

Maybe someone can help me with this. I've been working with python for less than a week, and it's my first programming language. I'm looking to figure out some basic things in python for an algorithm I wrote in a pseudo-code. I'd like to know how I can take an …

Software Development algorithm python
Member Avatar for jmark13
0
175
Member Avatar for farsen

Hi. I want to compare two arraylists with each other, but not with the compare method. The problem is that i am using .net remoting, and i gotta keep a clients arraylist updated. And it would be a waste of bandwith to send the arraylist as an object over to …

Software Development
Member Avatar for farsen
0
193
Member Avatar for ankiwalia

Hi all, i am new to java servlets. i simply created a login form with username and password fields. now when i deployed it on tomcat server, after i click on submit button it gives the following error: java.sql.SQLException: Column not found codin of this login servlet is attached below. …

Software Development java sql
Member Avatar for ankiwalia
0
209
Member Avatar for Mensa180

Hello, I'm very new to python but made this as a sort of exercise. It is a loan calculator that takes into account user input. [code=Python] r = input('What is your interest rate? ') t = input('How many payments will you make? ') la = input('What was the amount of …

Software Development python
Member Avatar for Mensa180
1
343
Member Avatar for EntangledDesi

If I have a form that is to resemble a standard dialog box that prompts for a name and I need to display the name on the main form when the main form is first run, how do I do that?

Software Development display visual-basic
Member Avatar for EntangledDesi
0
96
Member Avatar for triumphost

Yes I know its a long code and it will get longer but there is a compiler error in the [COLOR="Green"]int main ()[/COLOR] First Visual C++ 2008 Express edition error [QUOTE] ------ Build started: Project: MAC ADDRESS, Configuration: Debug Win32 ------ Compiling... MAC ADDRESS.cpp warning C4603: '_WIN32_WINNT' : macro is …

Member Avatar for triumphost
0
771
Member Avatar for ardent23

I am creating a simple program, I really need the code for this..here is my situation.. For example if I input a student no. in a textbox to perform search option then click the search button, I want to see the info of the said student to appear from the …

Software Development vb.net
Member Avatar for TomW
0
172
Member Avatar for C++NOOOB

Hi, I have class which has two bool vectors: [CODE] typedef vector<bool> my_bool_vector; class MyClass{ private: my_bool_vector bvec; my_bool_vector another_bvec; public: explicit MyClass(unsigned int size) : bvec(size, false), another_bvec(size, false) { } }; MyClass MyObject (10); [/CODE] I want to be able to access bvec and another_bvec in the following …

Software Development c++
Member Avatar for Dave Sinkula
0
157
Member Avatar for siddhesh123

Hi everyone, I am facing problems in updating controls using another thread created by another class (not Form1). I am able to update controls of main form by another thread if that thread was created by Form1 or main form, but when it is created by other class, i am …

Software Development client-server
Member Avatar for sknake
0
9K
Member Avatar for sebassn

Please, I'm not sure about this exercise, if someone can help me, thanks! I know it's something about .find() or .size(). and return the variable. Here is the exercise: ______ Write the code that prompts the user to enter a home web page address of the website that is used …

Software Development c++
Member Avatar for sebassn
-1
114
Member Avatar for pmennen

Sorry if this isn't the right place for this type of question (I'm pretty new to Python). If there is a better venue for this kind of thing, please let me know: I tried to run a few PyQwt demo, but it complained that there was no module named PyQt4. …

Software Development python
Member Avatar for vegaseat
0
2K
Member Avatar for dre-logics

I have Visual basic 8.0 and use Statusstrip . whenever I change the [COLOR="Red"]height to 50 [/COLOR]will change automatically changed back to default. What am I doing wrong I go to properties of Statustrip1 Size Width = 616 Height = 22 I change to Size Width = 616 [COLOR="Red"]Height = …

Software Development vb.net visual-basic
Member Avatar for TomW
0
442
Member Avatar for iamthwee

Hi guys, I've come to a road block so i need some help. 1)I have an exe which i need to run at start up. So I put the following bash file in the inid.d directory: [code] #!/bin/bash # # . /etc/rc.d/init.d/functions EXE_DIR="/root/monkey-0.9.2/bin/" EXE_NAME="monkey" ############################################################# #################### Functions ############################## ############################################################# function …

Software Development shell-scripting
Member Avatar for iamthwee
0
207
Member Avatar for low1988

Is there anybody could tell me what does this function use for?For example : [CODE] String strTemp = JOptionPane.showInputDialog(null,"Please Enter C To Open A Current Account \n Or J To Open A Joint Account"); switch(strTemp.charAt(0)){ case 'c': case 'C': //code statement break; case 'j': case 'J': } [/CODE] Basically if …

Software Development java
Member Avatar for low1988
0
708
Member Avatar for ShailaMohite

Hi, I am create one application using c# and Ms Access 2007 which is run on one machine how to run this application on LAN. suppose keep database on one machine how to access database from another machine Regards, Shailaja

Software Development
Member Avatar for DdoubleD
0
98
Member Avatar for yorro

Why am I getting this error during design time? [B]Error Number 5: Key cannot be null [/B] [CODE=vb] If Me.Visible = True Then If RetrieveSubjectsAndSection(Username, Subject) = True Then InsertSubjectsAndSection(Username,Subject) End If End If [/CODE] [B]RetrieveSubjectsAndSection[/B] function checks if record exist. The code is written inside a Usercontrol. Also I …

Software Development vb.net
Member Avatar for yorro
0
91
Member Avatar for MadSkyrim

I have an assignment due in 2 days and I've hit a bit of a wall. I have a client program which receives parts of a file from multiple servers and combines them into the original file. The client can receive the files without a problem but wont combine them …

Software Development c
Member Avatar for MadSkyrim
0
96
Member Avatar for avirag

hello Sknake......I need your help once again.......... In my application I have made forms on which there are two panels each having a picturebox. Here, when user enters the string in textbox for searching and the Text(caption) of the matched string are displayed. But I want that it should display …

Software Development display listview
Member Avatar for avirag
0
298
Member Avatar for yorro

I am coding like usual, haven't click anything I don't know. Then suddenly I got an error [B]"Could not find type 'LFRv2.AdminTabEdit'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has …

Software Development assembly vb.net
Member Avatar for yorro
0
655
Member Avatar for The-IT

Hello all, I have been doing some work on my HTML editor lately, and I have come to a (what seams like a) dead end. The file its self is about 3.7kb smaller than my text editor, ProssesIT, and yet it fails to run any where near as smoothly. When …

Software Development python tkinter
Member Avatar for jlm699
0
3K
Member Avatar for farsen

Hi. I am about to program a piece of software which contains a single server, and about 20-40 clients. All parts can be spread out on a lan, or on a wan. The server shall be able to broadcast/multicast to the clients in some way, and the clients should be …

Software Development client-server lan-wan
Member Avatar for farsen
0
110
Member Avatar for EvilLinux

Hi, its me again, I promise this should be quick and simple because I have an idea of what needs to be done. I'm working on my form (if you saw my other post its basicly a grade book with 5 forms). Is there any simple way to write the …

Software Development file-stream file-system
Member Avatar for EvilLinux
0
1K
Member Avatar for Dragazarth

Im really new to Python and I just learnt about Quadratic equations in maths, and so i made it made it my project to make a quadratic solver. But i have a problem i have a line [iCODE]if tocontinue == n:[/iCODE] I try to run it in IDLE and i …

Software Development python
Member Avatar for Dragazarth
0
91
Member Avatar for UmH

hi , i'm new in programming world i want to write c++ class in c it was ok .. when i change to c++ i've problems [CODE] #include <iostream> using std::cin; // using std::setprecision; using std::cout; using std::string; using std::endl; // using std::streamsize; class STD1{ int id; string name ; …

Software Development c c# c++ visual-studio
Member Avatar for dattu mhaismale
0
171
Member Avatar for sebassn

Please, can someone help me in this exercise, because I really don't know too much about swaping!...I dont need to write the whole code, only a part of it when it's shown how I swap and round them... _____ Write the code that swaps the value of two int variables. …

Software Development c++
Member Avatar for sebassn
0
113
Member Avatar for avirag

Hi i have created this thread for general information of Google.....!! Can anyone tell me how does Google works, I want to know the algorithm that works behind that, i mean how the Google search is working. Can anyone give me the idea regarding this............... Every answer is appreciated.........

Software Development algorithm google
Member Avatar for Diamonddrake
4
149
Member Avatar for C++ Beginner

I had a problem that I had to create a menu that asks for user's input and depending on that input it will calculate area of circle, rectangle, or a triangle. I got that part worked out but the last part of the problem is "Do Not accept negative values …

Software Development c++
Member Avatar for K0ns3rv
-1
3K
Member Avatar for triumphost

I think I have to the code right cuz it all compiles perfectly except when its done running, and I go to my documents, I dont see my directory... [code] #include <iostream> #include <windows.h> #include <winuser.h> #include <stdlib.h> #include <string> #include <stdio.h> #include "stdafx.h" #include <lm.h> #include <assert.h> #include <fstream> …

Software Development algorithm c++
Member Avatar for triumphost
0
197
Member Avatar for DustinS

For some reason, the row header is being automatically set to the same value that appears in the adjacent cell in the first column. I can set and get HeaderCell.Value, but it has no effect on what is displayed. [CODE] If I (manually or programmatically) enter: Length Radius Obj 1 …

Software Development vb.net
Member Avatar for DustinS
0
413
Member Avatar for Joe Hart

I had asked this question and thought that I had it solved but I could not get the text defined as variables. Below is the text file. I would like to specify a line and the length and set that to a variable. In the Example below the items in …

Software Development file-system python
Member Avatar for Joe Hart
0
123
Member Avatar for crazyboy

Hello friends ... i want to call mouse click event on any icon or button ... but i dont want to press click from my mouse.. i want to do it through code... any help plz???

Software Development
Member Avatar for DdoubleD
0
138
Member Avatar for infern0

I'm have serious trouble with this program. The average and the range do not work. The program runs...I just don't know how to fix this. Please help. I have to find the average and the range of an unlimited number of integers between 0 and 100. [CODE] #include <iostream> using …

Software Development c++
Member Avatar for infern0
0
101
Member Avatar for Kruptein

Can someone help me with this, if I run ftp, the page is downloaded and showed well, but the progress bar only shows 100% and doesn't progress at all.. [code] def progress_timeout(pbobj): # Calculate the value of the progress bar using the # value range set in the adjustment object …

Software Development python
Member Avatar for Kruptein
-1
157
Member Avatar for pymatio

Attached is a project that lets you control a sports league. If you enter these teams: [CODE] FOO A FOO B BAR BAZ [/CODE] & the restart the program it should print out something like this: [CODE] FOO A vs BAR FOO B vs BAZ [/CODE] but it doesn't it …

Software Development c c# c++
0
85
Member Avatar for why1991

I have my code and it compiles, and makes sense to me, but I must have something wrong because it only puts out 0's on everything except 1. There is something I am missing, and I don't see it yet. [CODE]import java.util.Scanner; public class MyBestFreon { static int max; static …

Software Development java
Member Avatar for VernonDozier
0
175
Member Avatar for Dixtosa

Hi all. i want to make separate process with python. for example i have python code. for example: [code] import time time.sleep(5) print "Time Over" [/code] named: t.py and i want to do all ^^that^^ just on other process :) i hope you understand. AND DONT GIVE ME LINKS PLS. …

Software Development python
Member Avatar for ov3rcl0ck
-2
265
Member Avatar for MrNoob

hey i m here supposed to extend calculator of K&R to support getline i made it but i dunno everytime i keep getting 0 poped not the numbers itself i debuged it i couldn't find where the bug is so hopefully someone will tell me what i m doing wrong …

Software Development c
Member Avatar for MrNoob
0
165
Member Avatar for naziatarannum

Hi, can anyone please help me on this. I dont understand as to why am getting this error.. Please, please help on this! fortesting purpose I have commented certain lines.. [CODE]"Pre_s2a_leadtime.sh" 55 lines, 1233 characters #!/bin/csh # Check if program is already running and echo a time stamp for the …

Software Development shell-scripting
Member Avatar for naziatarannum
0
772
Member Avatar for benkyma

I need to query a database of application titles and count the instances of each title. I've already got a list<string> of distinct values from a previous query, and now I need to count how many times each value occurs. I'm not sure if the query is correct, or how …

Software Development
Member Avatar for benkyma
-1
84

The End.