132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AnjaliThukral

I have windows xp operating system at my home with python 2.5 and same operating system with python 2.4 at my computer lab. While working in python IDLE suddenly this error message --socket error:connection refused-- pops up and then python IDLE does not work at all.To make it work again …

Software Development operating-system python
Member Avatar for vegaseat
-1
1K
Member Avatar for heavy.is.happy

Hello! My first post here. I have a problem. I want to make a Windows form that it's exist a button, and if you click that button, then the mouse cursor will move to a choosen X and Y coordinates and after that the cursor will click left or right. …

Software Development vb.net visual-basic
Member Avatar for heavy.is.happy
-1
4K
Member Avatar for samueal

This is the code snippet used to get the files/folder present in a particular folder/sub directories.

Software Development
Member Avatar for CsharpChico
-1
490
Member Avatar for y2kshane

i want to detect if listview has been updated eg: there are listview1,listview2 and a button1 .u can send items to listview2 from listview1 .if the listview2 has an item button1 will enable if the listview2 is empty button1 will disable what is the suitable event for this?? (there is …

Software Development listview vb.net visual-basic
Member Avatar for Unhnd_Exception
-1
2K
Member Avatar for campuzcrazyness

[code] #include <stdio.h> main() { int ctr, bin, quotient, deci=0, binary,octal,hexa; float rem; char mark_magic; clrscr(); do { clrscr(); quotient = 1; binary = 1; gotoxy(32,3); printf("-=< MAIN MENU >=-"); gotoxy(15,5); printf("from any Number System to Decimal System conversion"); gotoxy(5,6); printf("------------------------------------------------------------------------"); gotoxy(5,7); printf("------------------------------------------------------------------------"); gotoxy(26,9); printf("[A] Binary System"); gotoxy(26,11); printf("[B] Octal …

Software Development c
Member Avatar for campuzcrazyness
-1
553
Member Avatar for serkan sendur

According to [url]http://msdn.microsoft.com/en-us/library/bb384093.aspx[/url] Microsoft.Smartdevice.Connectivity.dll needs to be under drive:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Bin\Microsoft.Smartdevice.Connectivity.dll. but i dont have that, do you know where to download it?

Software Development microsoft
Member Avatar for khachool
-1
706
Member Avatar for mike888

Hello, I am new i vb .I need to . Each asterisk represents $100 in sales by using for next loop. also i have a problem i do not want it to go next store until the data in the first store is correct, and so on the problem say …

Software Development vb.net
Member Avatar for Unhnd_Exception
-1
372
Member Avatar for judithSampathwa

hi there, i have a project which is build in visaul studio 2008 with the database used the mdf file. how can i keep the mdf file in a local network so that everbody can access if from the application. how can i do this. i want the mdf file …

Software Development c c# c++
Member Avatar for historymaker333
-1
809
Member Avatar for webmasts

HI, I need some help on using the math.pow() function to solve the following problem: a^n = p(1+ r)^n how would I translate it using math.pow() Thanks for your suggestions and any help!

Software Development java
Member Avatar for Donkerster
-1
1K
Member Avatar for anjoz

im trying out using malloc in array of characters by reading each word from that text file and putting it in a array so the array size is exact my problem is when i run the program it makes segmentation fault im not sure where the problem is and if …

Software Development c
Member Avatar for Narue
-1
551
Member Avatar for anjoz

Ok heres my problem the code is working fine but i cant read extended ascii characters i got a tip that the problem is that extended ascii characters are 16 bits not like the original 8bits per character i dont know where to start can you gets give me tips …

Software Development c
Member Avatar for abhimanipal
-1
1K
Member Avatar for colts18

Hey guys I cannot figure out how to add collision detection can someone explain how I just want my tank to stop moving when it hits the other tank. Can anyone help? Thanks.

Software Development python
Member Avatar for raptr_dflo
-1
473
Member Avatar for DotNetUser

I have to pass a pointer to a callback function. When the callback function is not a member function in my class, the argument &callback works. When I make the callback function a member function, I get a compiler error: "error c2276 '&' : illegal operation on bound member function …

Software Development c++ gui
Member Avatar for pseudorandom21
-1
2K
Member Avatar for sandeepparekh9

A Function To Concat String Array Values By Specified Delimiter Let 's Say I have Following Array: string[] st = new string[5]; st[0] = "Animation"; st[1] = "Action"; st[2] = "Romance"; st[3] = "Drame"; st[4] = "Comedy"; Now I want to Merge all of it with ',' Delimiter Like Below: …

Software Development
Member Avatar for maximocn
-1
284
Member Avatar for samueal

HI, I am new to webBrowser tool in C#. If i use this code to navigate, and get the page source. Webbrowser1.Navigate("http://www.google.com"); HtmlElement he = Webbrowser1.Document.Body; string pagesource = he.InnerHtml; But i am not getting the webbrowser fully loaded and i am not getting the full pagecontent. Help me?

Software Development c#
Member Avatar for sandeepparekh9
-1
282
Member Avatar for sagngh8

have implemented robot to take the screenshot of the desktop. [code]Robot objRobot = null; try { objRobot = new Robot(); } catch(Exception ex) { } BufferedImage objBufferedImage = objRobot.createScreenCapture(objRectArea); [/code] The problem with robot is when my computer is locked the image comes as black.That is what is displayed in …

Software Development java
Member Avatar for turt2live
-1
437
Member Avatar for shadowscape

Heres a interesting question for you guys, is it possible to check a file to see if its signed in c++ and if you wouldnt mind could you write me a function how to do this as it would really help alot, thanks. Kindest Regards, Nathaniel Blackburn

Software Development c++
Member Avatar for template<>
-1
266
Member Avatar for crackruckles

Hi all, i have a problem reading from a file in vb.net. I want to read from a file bit by bit so the file i write to is exactly the same, well almost because im planning on merging two files together but i can do that if i can …

Software Development file-system vb.net
Member Avatar for Unhnd_Exception
-1
487
Member Avatar for breezi3

1. Create a Coffee class to represent a single hot beverage. Every Coffee object contains the following instance fields: a. A protected double variable named basePrice. This variable holds the cost of the beverage without accounting for any special options (cream, sugar, etc.). b. A protected ArrayList variable named options. …

Software Development java
Member Avatar for Ezzaral
-1
367
Member Avatar for Jimmyteoh

. A small airline has just purchased a computer for its new automated reservation systems. You have been asked to program the new system. You are to write a program to assign seats on each flight of the airline’s only plane (capacity: 10 seats) Your program should display the following …

Software Development c++
Member Avatar for Narue
-1
929
Member Avatar for Real Engineer

hi i need your help in these programs using C++ programming language. 1.write a program to enter some numbers and display the count of how many odd and how many even you entered. 2.write a program to store 10 numbers in an array and then display the sum of digits …

Software Development audio c++ publishing
Member Avatar for mohamads
-1
261
Member Avatar for nodnil

Hi, Python v2.7 Tkinter Windows 7 I am having some troubles drawing a line. I have called create_line inside a for loop, in which I gave it coordinates that are returned from another function. However, instead of drawing separate lines, it joins the lines together. Here is a snippet of …

Software Development python tkinter
Member Avatar for nodnil
-1
267
Member Avatar for aplh_ucsc

I do Get errors with combo box selections. here is my combo selection attach to a button. [CODE] def Btn9(self, event): # wxGlade: Appli.<event_handler> if self.combo_box_4.GetValue()=="1": numglobals.frame_12.Show() elif self.combo_box_4.GetValue()=="2": numglobals.frame_13.Show() elif self.combo_box_4.GetValue()=="3": numglobals.frame_14.Show() elif self.combo_box_4.GetValue()=="4": numglobals.frame_15.Show() elif self.combo_box_4.GetValue()=="5": numglobals.frame_16.Show() elif self.combo_box_4.GetValue()=="6": numglobals.frame_17.Show() elif self.combo_box_4.GetValue()=="7": numglobals.frame_18.Show() elif self.combo_box_4.GetValue()=="8": numglobals.frame_19.Show() elif self.combo_box_4.GetValue()=="9": …

Software Development gui python
Member Avatar for Gribouillis
-1
327
Member Avatar for prvnkmr194

Get_Number function is a function to get input from keyboard, this function restrict the user to pass wrong input........... How to use -> For example we need to take input in any integer variable n call Get_Number() like this [CODE] n=Get_Number(); [/CODE] With Full Back Space support Please comments on …

Software Development c c# c++
Member Avatar for TrustyTony
-1
285
Member Avatar for garber

[CODE]#include <iostream> using namespace std; int main() { int sum = 0; // Declare an int variable sum to accumulate the numbers int lowerbound; // Set the initial sum to 0 int upperbound; // Sum from 1 to this upperbound // Prompt user for an upperbound cout << "Enter a …

Software Development c c# c++
Member Avatar for mir wasif
-1
3K
Member Avatar for Dorayaki

Hello, I got a problem, I can save my data to access database and in the access database field I set it to date/time. But problem is when I get the value out from the database.. the format is always month/day/year hour:minutes:seconds example today: 5/2/2011 12:00:00 How to get the …

Software Development listview microsoft-access vb.net
Member Avatar for Unhnd_Exception
-1
3K
Member Avatar for Kuroshi

I made a program using Sockets, pretty interesting, but I have found some "problems" that bother me, my game is threaded and in its run method it has a lot of if statements for the different behaviors when it receives a certain String from the server. Is there any other …

Software Development client-server java
Member Avatar for Kuroshi
-1
1K
Member Avatar for cse.avinash

Hello Sir, I have an assignment to do, my question is:-- Given the set of integers, find the sum of all positive integers in it. [B][U]Input[/U][/B] t – number of test cases [t < 1000] On each of next t lines given a integer N [-1000 <= N <= 1000] …

Software Development c
Member Avatar for cse.avinash
-1
553
Member Avatar for yapkm01

m reading c++ primer 4th edition by Stanley Lipmann and I'm on page 92 about value initialisation. I just don't understand when about value initialisation. I browsed around and I know there are also default initialisation and zero-initialisation. Can anyone explain about value initialisation? Coming to this paragraph .. clause …

Software Development c c# c++
Member Avatar for yapkm01
-1
321
Member Avatar for XCC111

Hi can someone please this code for me because i have the same error Here is the code: [icode] // Work please.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include <Windows.h> #include <wchar.h> #define ThreadMake(x) CreateThread(NULL,0, (LPTHREAD_START_ROUTINE)&x,NULL,0,NULL); #define ThreadMakeParam(x, param) CreateThread(NULL,0, (LPTHREAD_START_ROUTINE)&x,param,0,NULL); #define BEEP_ACTIVATED Beep(2000, …

Software Development c++
Member Avatar for Ancient Dragon
-1
408
Member Avatar for fadi_1234
Member Avatar for WaltP
-1
272
Member Avatar for tnccjavaMatt

I have two issues that I need to solve on this program that are giving me some troubles. I have scanned google and my text book and so far coming up empty. Problem #1 - My program works for palindrome words and 2 word palindromes like "race car". But I …

Software Development java queue
Member Avatar for stultuske
-1
4K
Member Avatar for Drakswan

Hey there , I have a problem about saving information, which is read from a text file, to an char array.I have to read the file character by character.I could't use getline() function and string, I have to use get() function.There is a sample of the all data : " …

Software Development c++ dataset file-system
Member Avatar for Ancient Dragon
-1
1K
Member Avatar for izabwlla

I've got a small bit of code I need to convert to C#. However my experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of any converters or is willing to …

Software Development c# python
Member Avatar for vegaseat
-1
839
Member Avatar for lotsofsloths

Ok, im not that much of a geeky smart guy in C++, but i've got some skillz.. so im trying to make a [B]very[/B] [B]simple game[/B] that will randomize 1 number for the computer and 1 number for the person using the program and whomever(person or computer) gets the highest …

Software Development c++ first-post
Member Avatar for ichigo_cool
-1
1K
Member Avatar for codeyy

Hi! I am supposed to only use the "procedural fragment of C++", i.e. no object-oriented programming (like cin, cout etc). Vectors are not allowed either. So, one of my goals is to count the number of lines in a text file (let's call it train1.in) which contains data like: [ICODE] …

Software Development c++
Member Avatar for Adak
-1
562
Member Avatar for Jaseem Ahmed

can u help me regarding listview control in vb 6... i want to use listview as datagrid.. i have 3 textboxes, and a list view with 3 coloums. now when i enter data textboxs, it asks "do u want to add another data?" when user enters so data, how much …

Software Development listview visual-basic
Member Avatar for peter_budo
-1
300
Member Avatar for Menace 83

Hey Guys I was wondering if anyone can help me with this assignment like completely walk me through it? I would really greatly appreciate it....... I have tried doing it and have came up with nothing. I have been having a lot of trouble understanding this material this school year. …

Member Avatar for Menace 83
-1
554
Member Avatar for CrimsonGT

I have been trying to figure out how to build this library on Windows for damn near 6 hours, and I am at a complete loss. I have found a lot of answers on these forums before, so I joined up hoping someone might have some idea. The INSTALL file, …

Software Development c++ cybersecurity pdf visual-studio
Member Avatar for vladoX
-1
494
Member Avatar for g_u_e_s_t

[CODE]void cubes(int n) { for (int i=1; i<=n; i++) cout<<i*i*i<<' '; } [/CODE]

Software Development c++
Member Avatar for rubberman
-1
482
Member Avatar for glfnute

Still fairly new to XSLT would like to ask for some expert direction on how to solve what I think should be easy, just not for me ... I am parsing several different input sources to output one result XML structure. During the parsing, I am doing some pre-checks and …

Software Development xml
-1
323
Member Avatar for samhitha.44

i tried to get some programs in google but the theory part was mentioned in it without programs

Software Development c google
Member Avatar for jnawrocki
-1
269
Member Avatar for cyberjorge

I am a programming student and active volunteer for a foundation, if anyone out there is kind enough to share some help please read below. I will need your help guys for a Simple Inventory System for a foundations' furniture and jewelry store. The software of course should follow the …

Software Development monitoring-software vb.net visual-basic
Member Avatar for RenanLazarotto
-1
644
Member Avatar for plang007

I have seemed to get the first function tagReader to work, but can't get the others to work. The other functions are bolded. [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; // function prototypes void tagReader ( ifstream& inFile, int&count); void getEmployee ( string& who, double& rate, …

Software Development c++
Member Avatar for plang007
-1
292
Member Avatar for rogba

How do I make this program work promptly. For some reasonafter it tells me to input the 10 digits, it just closes out anddoesnt run to give me an output. Why does the program does notcontinue to run, and also my teacher specified that it should printout each element in …

Software Development c++
Member Avatar for Ezzaral
-1
613
Member Avatar for derek123

I am really trying to pass this class, and am simply struggling majorly with C, I need help with these 3 problems that are due today by midnight, please help, will appreciate it greatly, and even pay if thats what it takes. I did problem 1, but used math.h, which …

Software Development c c# c++ pdf
Member Avatar for Ezzaral
-1
604
Member Avatar for borkarparesh

[code]private void webpage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { SqlCommand cmd = new SqlCommand("SELECT * FROM [blacklist] WHERE BlackListed_Sites = '"+ webpages + "'", cs); cs.Open(); cmd.Connection = cs; SqlDataReader reader = null; reader = cmd.ExecuteReader(); if (reader.Read()) { CheckState.Checked.ToString(); MessageBox.Show("Blocked"); } else { string url = ComboAddress.Text; if (url == "") …

Software Development c#
Member Avatar for Wegginho
-1
709
Member Avatar for purepecha

/* this program compiles is almost done, but i cannot get the las function to sort numbers from the array. the output should have the even number on the left and odd numbers on the fright.*/ [code=cplusplus] #include <stdio.h> #include <stdlib.h> #define N 9 void revArray(int *a); /* reverse an …

Software Development c++
Member Avatar for arkoenig
-1
1K
Member Avatar for spoonlicker

Because I honestly feel like I'll never understand them(it's been years by the way). So I just want to know if it's possible to make any program you fully desire with out pointers or any other complex OOP such as encapsulation and typedefs. I just can't work with that logic. …

Software Development c++ oop
Member Avatar for katokato
-1
695
Member Avatar for Noorul Ariff

Dear friends... I need a urgent HELP... I applied for a job... They asked me to do a PROJECT, vb with access... In that they asked me to create INSTALLER file with 32bit & 64 bit support. I don't know how to do this... i have to finish it and …

Software Development visual-basic
Member Avatar for AndreRet
-1
417

The End.