132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NT.

Hi, I am new to c# and I am trying to read a file which is of format: 1 2 3 3 4 5 6 7 8 1 2 3 4 the problem is I am not able to read file in given format, I am not able to tell …

Software Development file-stream file-system
Member Avatar for Antenka
0
216
Member Avatar for aimankhoury

Hi, I'm developping an application that reads emails from a server. I have set the interval of the timer1 to 1000 *30 (i.e. 30 seconds). In the timer1_timer () subroutine I called another subroutine which makes a connection with the server using Winsock1.RemoteHost "hostname" Winsock1.RemotePort "hosr port" Winsock1.Connect and then …

Software Development visual-basic
Member Avatar for aimankhoury
0
333
Member Avatar for moyphus

Hi to all I've formula like this one,., (((10000*5000)-2000*3000)*30/100),.,Can anyone sove this using prefix postfix notations,.,.,I can't find this,.,

Software Development java
Member Avatar for moyphus
0
75
Member Avatar for redreed

how do check whether a particular file is present in a folder in c++(turbo )

Software Development c++
Member Avatar for redreed
0
308
Member Avatar for mansi sharma

1)What are different types of Cursors? Explain me in detail plz. 2)What are diff types of locks? In some sites- Four types of locks availbale in ADODB 1.Optimistic 2.pessimistic 3.batch optimistic 4.readonly In some sites Forwardonly , lock,adLockUnspecified What are exact locks,can somebody tell me? 3) What is Z order …

Software Development vb.net
Member Avatar for sknake
0
153
Member Avatar for Geekitygeek

I have a Panel on a form to which i have added a selection of controls with (x,y) coordinates. The panel has Autoscroll enabled. If there are enough controls to require a scrollbar, and the bar has been scrolled down when the paint event fires, the controls all move down …

Software Development
Member Avatar for Geekitygeek
0
722
Member Avatar for EvilLinux

Hi, been working on this project and just confusing the heck out of myself with classes and stuff and was hoping maybe someone could lend a hand on what I might be doing wrong? The general idea of this is to get the arrow (int 231-234) to point in the …

Software Development
Member Avatar for ddanbe
0
658
Member Avatar for Xamas

I wrote a Java program, and it successfully compiles and runs in NetBeans, but I'm not able to do the same in the [B]command line[/B], on Windows XP. It works ok with 1 class, but when I have few files 'package' I have a problems. 1.Start -> run -> cmd …

Software Development java java-netbeans
Member Avatar for Xamas
0
176
Member Avatar for dammysky

how can i change the path of my database, because if i move my program to another computer it complains of database error. i use this code to add record to the database. adodc1.recordset. addnew please assist thanks

Software Development visual-basic
Member Avatar for AndreRet
0
225
Member Avatar for welcomepro

Hi to all, i want to save an array of tchar with his value in the map, as std::map<TCHAR [100], int> word; but when i say [CODE=C++]insert(pair<TCHAR [100],int>(text,1))[/CODE] the error is: cannot specify explicit initializer for arrays... Why????

Software Development c++
Member Avatar for welcomepro
0
381
Member Avatar for DEATHMASTER

Hi everyone. I'm new here and would like some help with some Python code. I'm trying to use modulus to shift decode an input line (regular sentence or word like "Bill") but I keep going over the regular alphabet in ascii and the "B" becomes an "=" How do I …

Software Development python
Member Avatar for jlm699
0
183
Member Avatar for Darknessssss

A simple used car market Design and implement a used car market program.Store the following information for a car: a. ID (unique, can be used as the key) b. Brand c. Model d. Year of manufacturing e. Driven kms f. Price Valid operations are add/update/delete a car and search. User …

Software Development c
Member Avatar for wineandcars
0
150
Member Avatar for facadie

Hi, I'm using a table template[header and side] to display all my detail etc in the content place holder. how can i make the web application auto scale to the size when we minimize and maximise..

Software Development
0
76
Member Avatar for gretty

Hello Can you assist me in developing my algorithm? I have to do this: [QUOTE]Write a C++ function balanced that uses a [B]stack[/B] to check that all brackets in a string are balanced. For eg: This is a balance string: [I]This (string) has (balanced {brackets[(now)]} [thanks])[/I] This string is not …

Software Development algorithm c++
Member Avatar for VernonDozier
0
1K
Member Avatar for SomewhereInKS

Basically I am creating a function to determine the perimeter of a polygon based on the vertices. The input parameter is an xyList that contains the coordinates, basically a nested list of coordinate pairs within another list, like so: [ [x1,y1], [x2, y2], [x3,y3], ...] I am using the good …

Software Development python
Member Avatar for snippsat
0
246
Member Avatar for duggydiggy

I have come across a strange behavior.. [CODE] #include <stdio.h> #include <conio.h> int strlen(const char *); int main() { char str[]="rahul"; printf("%d",strlen(str)); _getch(); return 0; } int strlen(const char *str) { const char *eostr=str; while(*eostr++); return eostr - str; } [/CODE] Outputs : In VS9 Length:6 // correct In gcc …

Software Development c
Member Avatar for duggydiggy
0
189
Member Avatar for Caglow

I've got a problem with this piece of iterating code: [CODE] /* Iterate to apparent position */ while (a1 != aT) { /* <-- assume a1 == aT here after the 3rd iteration */ a1 = aT; /* Recalculate position */ Venus_C(JDE - aT); /* Calculate */ ep = sqrt(pow(Venus_x(), …

Software Development c ide
Member Avatar for Caglow
0
380
Member Avatar for Triverske

I tried to start up python for the first time, but it said the handle was invalid, any clues?

Software Development python
Member Avatar for Stefano Mtangoo
0
108
Member Avatar for truviet911

hey guys. i have several problems but i stuck with these 2 problems. hope you guys can help me out. 1- [B]Max, Min, Average of Number String[/B] write a C++ program that reads in an unspecified quantity of real numbers, of quantity < 100, and stops reading them in when …

Software Development c++
Member Avatar for VernonDozier
0
97
Member Avatar for konohastar

hi guys, I am a new student in learning C, I have about a month of experience on it and i am learning now how to use loops. I wanted to write a program using loops in which i ask them to guess a password to a question i ask. …

Software Development c
Member Avatar for konohastar
0
241
Member Avatar for LinkMaster03

I packed a Python script (that uses pyGTK) into an .exe with py2exe. It runs fine, except that the normal GTK theme does not show up. This is what it looks like when I run the script: [url]http://img33.imageshack.us/img33/4080/16sepwed1827.png[/url] And this is what it looks like when I run the .exe …

Software Development python xml
Member Avatar for Stefano Mtangoo
0
583
Member Avatar for ddanbe

Hi all, Left of a TextBox I have a Label and the text changes during a run so I want the text to be right aligned. So I used the TextAlign property of a Label and set it to MiddleRight. It does not work. Looked for an answer, could not …

Software Development
Member Avatar for ddanbe
0
232
Member Avatar for dorkwad

I'm attempting to output a 7 digit number in a space 7 columns wide with cout, where loan is my 7 digit number: [code] cout << "$" << setw(7) << fixed << showpoint << setprecision(0) << loan;[/code] Any attempts fiddling with this result in the number being converted to 1e+006. …

Software Development c++
0
65
Member Avatar for Darth Vader

How is it possible to check if a String is a valid number. The number can be both an int or a double like: [code] String^ ValidInt = "5"; String^ ValidDouble = "5.01"; [/code]

Software Development c++
Member Avatar for Darth Vader
0
196
Member Avatar for mrnutty

It uses the idea of Seive of Eratosthenes. The code is basically does the following to find Prime Numbers : 1) Populate Array from 0 - > MAX 2) Find 1st Prime, which is 2 3) Delete all Multiple of 2, i.e set it to false 4) Find next prime, …

Software Development c++
0
378
Member Avatar for Friktion

hello every body i rewrote my game into pure opengl and pygame i have finished things like camera movement and other stuff. Now i really need help with the collision it basicly works even if the box/objekt is resized but now i want it to work when the objekt/box is …

Software Development opengl python
Member Avatar for Friktion
0
118
Member Avatar for vileoxidation

I am working on a program in C right now that deals with linked lists. Here is the assignment statement: [INDENT]"Write a C program called Assignment4.c, that creates a linked list of Customer data. Each entry in the list is to have the customer’s last name, first name, id (int), …

Software Development c linked-list
Member Avatar for vileoxidation
0
286
Member Avatar for low1988

I have try to get used to the database -java connectivity with a simple address book application below : [CODE] import java.awt.*; import java.awt.event.*; import java.sql.*; import java.applet.*; import javax.swing.*; /////////////////////////////////////////////////////////////////////////////// //Creates the main window with top Menu toolbar. //This is also the class for the main declaration ////////////////////////////////////////////////////////////////////////////// public …

Member Avatar for masijade
0
90
Member Avatar for james27

hi i want to make some auto login script. anyone can help me make this auto login script? i was tried but failed. anyone can make this one to work? thanks a lot [code] import sys,os import mechanize, urllib try: id = 'kimok222' pw = '1qaz2wsx' params = urllib.urlencode({'adult_yn':'N', 'encoding_type':'utf-8', …

Software Development python
Member Avatar for ov3rcl0ck
0
207
Member Avatar for XodoX

Hello, I need some help with this code. First of all, the program just closes after I enter the rows. It's not supposed to do that. Then, the coordinates (cards) 1,1 and 2,3 need to face up when I start it. How do I do that? I hope someone can …

Software Development c++
Member Avatar for XodoX
0
126
Member Avatar for The-IT

hi, I just created this awesome python application and i want to spread it around, but every one has python. I was just wondering if I could compile python source into a linux executable like py2exe, and then compile the executable into a .deb installer file. any help would be …

Software Development python ubuntu
Member Avatar for ov3rcl0ck
0
254
Member Avatar for mrsirpoopsalot

I am having a hard time grasping ADT using linked list. I have a struct node in a class where i have a node constructor. I cant create a link list without using the constructor. But thats where i am lost. This is what i have [CODE] #include <ostream> #include …

Software Development c++ linked-list
Member Avatar for mrsirpoopsalot
0
157
Member Avatar for AutoPython

Okay, I was thinking about making an encryption algorithm, now the thing with most algorithms is that they follow specific steps. Well, I was thinking, what if you made an algorithm that generated random characters (the kind you see on your keyboard, excluding characters that could crash the program), and …

Software Development algorithm encryption python
Member Avatar for ov3rcl0ck
0
574
Member Avatar for Gatayo

Design a drawing application (have a look at Microsoft Paint application on your Windows system). The application must have menus, and must be able to draw one or more sharps (e. g. point, line, rectangle, oval, etc). The application should use GUI components.

Software Development gui java
Member Avatar for majestic0110
0
101
Member Avatar for george21

I can't figure out why this won't put buttons 1, 2, and 3, on the top of the frame, with buttons 4, 5 and 6 on the bottom? I realize there should be space between the top row and the bottom row. import java.awt.BorderLayout; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JFrame; …

Software Development java java-swing
Member Avatar for majestic0110
0
157
Member Avatar for vortex24

Hi all, I have the following code written for work. The point of the program is to take input from the user as to which customer id (phone number) is required. Once the program has this data, it will open a specified folder to search through each line of code …

Software Development c++ file-system
Member Avatar for Lerner
0
133
Member Avatar for SuperMetroid

Here is the code I have so far: [code]import re from urllib.request import urlopen pg = urlopen('http://www.url.com') pg_r = pg.read() pg.close() print(pg_r) print(re.search('(?<=http://user.url.com/)\w+', pg_r))[/code] What I *want* to do with re.search is find the word between the strings '[color=#0080FF]http://user.url.com/[/color]' and '[color=#0080FF]"[/color]' but I'm not sure how to do that.. Can …

Software Development python
Member Avatar for Ene Uran
0
138
Member Avatar for Shaitan00

I have a windows service (Serv.exe) running as LocalSystem, at a certain point it wants to show the logged-on user that it is processing data, therefore I CreateProcessAsUser(Display.exe) which is a C# Windows Form that display information (this all works perfectly fine). Now, when the Service is finished I want …

Software Development c# perl
Member Avatar for Shaitan00
0
4K
Member Avatar for IAmLegend21

I am having a problem in displaying image to the web browser using html. I can only make it when the image and the html file is in the same folder. Is there a way to display an image getting it from the different folder of my hard drive?

Software Development hard-drive vb.net web-browser
Member Avatar for IAmLegend21
0
83
Member Avatar for anbuninja

so im creating a program on hours and minutes. and well my program basically works just that the output is a bit off. [code] #include <iostream> #include <string> #include <iomanip> using namespace std; void getHours(int& input1, string& s); void getMinutes(int& input2, string& s); void calcTotalTime(int& input1, int& input2, int& input3, …

Software Development c++
Member Avatar for Dave Sinkula
0
102
Member Avatar for globalizard

This is not a homework problem & my first post in 2+ years. I just got asked to do this in C# based on my asp & DB experience & I am tearing my hair out as they want in done in one day & 2 MS videos say to …

Software Development c c# c++ dataset ide microsoft-access
Member Avatar for sknake
0
207
Member Avatar for MxDev

hi guys, I'm writting a simple text editor using visual studio 2008. When I'm trying to make a new instance of the application using the following code which is existed in Main() method [CODE][STAThread] private static void newInstance() { //the following code also exists in Main() method Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new …

Software Development visual-studio
Member Avatar for DdoubleD
0
107
Member Avatar for kahaj

I'm attempting to construct an array of user defined information. For the life of me, I cannot figure out how to place the user's input into the array or how to disallow more than 5 values to be placed into the array?

Software Development
Member Avatar for DdoubleD
0
90
Member Avatar for localp

i need to a Scroll bar or JScrollPane to My Jtree... I have googled and gone through several examples, but non seemed to have worked... Please can some one help me to solve this problem .. I simply need to have scrollers when the content of the JTree increases .. …

Software Development java java-swing
Member Avatar for localp
0
3K
Member Avatar for Felicidas

Hi everyone, hope someone can help me or guide me since python really something new for me. I use argv to read some input from user. My problem is i don't know how to read the input as a list. Assume that user should give --n and --file as input …

Software Development python
Member Avatar for Felicidas
0
2K
Member Avatar for tmc01

i have a problem here with my code, it happens that if i save an ordinary text or number, it is working, but when i try to save time and dates, an error will occur and saying My Error Syntax error in INSERT INTO statement. here is my code. //DECLARATIONS3 …

Software Development
Member Avatar for tmc01
0
158
Member Avatar for dag7399

1.write a program that asks the user to type 10 integers and writes the sum of these integers.Using [B]for[/B] loop.Can anybody help me with this question??

Software Development c++
Member Avatar for siddhant3s
0
100
Member Avatar for gemgirl1972

Here is my whole problem can someone please please HELP Please 1. SPLIT THE PROGRAM IN 3 FILE NETWORK. H, NETWORK.CPP. CLIENTNET.CPP AS IN ADT. DONE 2. DEFINE A CLASS CALLED ADDRESS_T (done) with member for the four integers of an internet address and a fifth member in which to …

Software Development c++
Member Avatar for gemgirl1972
0
124
Member Avatar for spdr2006

Could you check this C language Code... The Output is not complete... it doesnt print the firstclas name n id? my assignment is Write a complete C program that will meet the following requirement: • Create student detail must contain each student’s name (as a string), id (as integer) and …

Software Development c
Member Avatar for yellowSnow
0
328
Member Avatar for tgreco

Hello, I'm not a programmer just a user of an application that won't work and gives a pythonw.exe error whenever it's run. I've tried asking for help on [URL="http://www.techsupportforum.com/microsoft-support/windows-vista-windows-7-support/415953-pythonw-exe-not-responding.html#post2357086"]windows tech forums[/URL] but they don't have any answers so I thought I would try here. Forgive me if this is not …

Software Development microsoft-access python windows-vista
Member Avatar for tgreco
0
493

The End.