132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ShailaMohite

Hi All, In my application, i have a datagridview with 5 colums, at the form load the datagridview contains one row, I am showing a combobox in each of the 4 columns to select the values (i doesnot type any thing in that 4 columns), when i press tab the …

Software Development
-1
329
Member Avatar for jingo1126

guys? im creating my own program..first im using tasm.. my problem is i have the code for cursor.. [code] ;set cursor location(dh,dl) mov dl, 16 ; column. mov dh, 16 ; row. mov ah, 02h int 10h ;symbol of cursor mov al, 'x' mov ah, 0eh int 10h [/code] my …

Software Development assembly
Member Avatar for jingo1126
-1
4K
Member Avatar for Alex_

Hey guys. I want to read from a file created by me from a specific position. But i don't know how to move the file cursor. [code=ptasm] TITLE ep1 .MODEL SMALL .STACK 10h .DATA text DB '1234567Start:7890.end',13,10 text_length equ $-text dir db 'D:\myfile.dat',00h buff db 17 dup('$') f_handle dw 1 …

Software Development assembly file-system
Member Avatar for NotNull
-1
1K
Member Avatar for markrezak

//Binary Search Tree Program #include <iostream> #include <cstdlib> using namespace std; class BinarySearchTree { private: struct tree_node { tree_node* left; tree_node* right; int data; }; tree_node* root; public: BinarySearchTree() { root = NULL; } bool isEmpty() const { return root==NULL; } void print_inorder(); void inorder(tree_node*); void print_preorder(); void preorder(tree_node*); void …

Software Development c++ programming-construct
Member Avatar for dkalita
-1
439
Member Avatar for rakeysh verma

I want the following. Write a program that implements the FIFO and LRU page-replacement algorithms ( Virtual Memory) 1) Read the size of reference string from keyboard 2) Generate a random page-reference string where page numbers range from 0 to 9 3) Create a input file with generated reference string …

Software Development algorithm c
Member Avatar for ajay.krish123
-1
250
Member Avatar for SamoaJoe01

Hi, I'm encountering a frustrating problem in Delphi. I've written several very long programs to demonstrate certain things related to neural networks. As such, the program GUI has many things on it that are updated per iteration of the solver: from labels, to memos, to editstrings, etc. The two main …

Software Development delphi gui ide pascal
Member Avatar for House_of_Dexter
-1
1K
Member Avatar for mainguy

Hello, I'm using Inno Setup for the first time and just a beginner in Pascal. My code: [CODE] XMLHTTP := CreateOleObject('MSXML2.ServerXMLHTTP'); XMLHTTP.Open('GET', myUrl, False); XMLHTTP.Send(); ... MyFileStream := TFileStream.Create(Path + MyFilename, fmCreate or fmOpenWrite); [/CODE] But,I don't know how to use MyFileStream to write XMLHTTP.ResponseBody or XMLHTTP.ResponseStream. Could you please …

Software Development pascal
Member Avatar for mainguy
-1
253
Member Avatar for KevinADC

Code snippet to generate random passwords. Avoids using confusing characters such as lower case L (l) and the number one (1), the letter 'O' and the number zero. Upper-case alpha characters could be added to the character set if mixed-case passwords are desired.

Software Development perl
Member Avatar for Prakash_8111
-1
432
Member Avatar for Peter_APIIT

Hello to all, i encounter an error like Error 1 fatal error LNK1107: invalid or corrupt file: cannot read at 0x2C8 C:\Program Files\OpenCV\bin\highgui110.dll Additional Include Directories C:\Program Files\OpenCV\cxcore\include C:\Program Files\OpenCV\otherlibs\highgui C:\Program Files\OpenCV\cv\include Additional Library Directories C:\Program Files\OpenCV\otherlibs C:\Program Files\OpenCV\lib C:\Program Files\OpenCV\bin Additional Dependencies cv.lib highgui.lib cxcore.lib highgui110.dll Error Message is …

Software Development c++
Member Avatar for Salem
-1
361
Member Avatar for stoymigo

Hi, we are running a windows server 2003 os on our network. The application i develop needs to be able to move files to folder that the user running the app can't access. The application already stores the user details of the administrator , how can i use those details(username,password …

Software Development windows-server
Member Avatar for stoymigo
-1
529
Member Avatar for Shaitan00

I have a class (NamedPipeManager) which has a thread (PipeThread) that waits for a NamedPipe connection using (ConnectNamedPipe) and then reads (ReadFile) - these are blocking calls (not-overlapped) - however there comes a point when I want to unblock them - for example when the calling class tries to stop …

Software Development c#
Member Avatar for Salem
-1
470
Member Avatar for smileyc

Hi, sorry to ask this, I know it has been asked before but despite reading the answers I still dont get it. I am using visual studio 2008, vb.net. I have a lable, label1. I want it to display the results of a calculation, a/b. The answer is a number …

Software Development vb.net visual-studio
Member Avatar for emint
-1
4K
Member Avatar for samaru

This book is excellent: [b]Sams Teach Yourself Shell Programming in 24 Hours (2nd Edition)[/b] [url]http://www.amazon.com/exec/obidos/ASIN/0672323583/qid=1034404576/sr=2-3/ref=sr_2_3/102-8089820-6681729[/url] It received good reviews. Here's my personal review from Amazon.com: This is probably one of the best books by Sams that I've read. If you want to start shell programming, you've picked up the perfect …

Software Development perl unix visual-basic
Member Avatar for jenn11
-1
478
Member Avatar for snakay

Hi to all, I like to reach all the cells by column name in a loop( foreach...) and compare the content of the cell in datetime type and add a value to another cell depending on the result of the comparison. I do this for all the populated rows. Question …

Software Development
Member Avatar for snakay
-1
251
Member Avatar for kartik14

Hi, I'm kinda new to development using visual studio. I have a c++ program and I want to specify command line arguments to it from visual studio. Can anyone please tell me how to do it? Thanks (The version I'm using is visual studio 2005)

Software Development c++ visual-studio
Member Avatar for tona70
-1
526
Member Avatar for pedro.alonsod

Help word automation with c# urgent please Posted: 07-21-2009 02:29 PM Hello I'm trying to create a doc from a template I can access bookmarks an everything is ok except when there is a bookmark inside a textbox in the template, I can't acces that nor the bookmarks in the …

Software Development c# microsoft-access microsoft-office
Member Avatar for pedro.alonsod
-1
904
Member Avatar for boyjim32

Problem 2: Write a program which will accept the price and description of three items. It will then display the total price of the three items as its output. Here is a sample output: First Item: ruler Enter price: P 32.50 Second item: notebook Enter price: P 25.00 Third item: …

Software Development c++
Member Avatar for tux4life
-1
250
Member Avatar for pltndragon

The question is to write a program that dynamically allocates an array large enough to hold a user defined number of test scores. Once all the scores are entered the array should be passed to a function that sorts them in ascending order. Another function should be called that calculates …

Software Development c++
Member Avatar for pltndragon
-1
2K
Member Avatar for umair125

i am doing bscs from GCU lahore PK.i have assigned a project name as MOVIE RENTAL STORE using OOP concepts plz help me to do my project i,ll b thankful to you, umair ahmad

Software Development c++ oop
Member Avatar for Ancient Dragon
-1
480
Member Avatar for S2009

Hi all, I am creating an Windows Application. I have two buttons. I have written the following code snippet. [code] frmRb obj = new frmrb(); private void btnPd_Click(object sender, EventArgs e) { btnCancel.Enabled = true; obj.btnRtn.Enabled = true; } private void btnCancel_Click(object sender, EventArgs e) { this.Close(); obj.BringToFront(); obj.Focus(); } …

Software Development perl
Member Avatar for kvprajapati
-1
297
Member Avatar for Aue

How do you copy and paste the text from every page of a book from Google books View plain text option: For example: [url]http://books.google.com/books?id=r70CAAAAQAAJ&printsec=frontcover&dq=true+devotion+blessed+virgin&lr=&as_brr=1&ei=cwB1SZOcI5j4MO6c-bkM[/url] instead of doing it by hand. Also how do you open a series of table of contents like this: [url]http://www.catholictradition.org/Classics/humility-text.htm[/url] and then 1. copy paste on …

Software Development google python
Member Avatar for leegeorg07
-1
1K
Member Avatar for mirfan00

I want to compare my password with the stored password but it don't compare correctly. WHY? Please someone correct it. [code] #include <iostream> #include <string.h> #include <conio.h> #include <cstdlib> using namespace std; int main() { string my = "programming "; string pass = ""; int s; int a; cout << …

Software Development c++
Member Avatar for tux4life
-1
256
Member Avatar for krishnampkkm

hiii In my program I'm reading the clusters in the volume using the appropriate physical offsets to the disk. [CODE]for( i=0; i< total_number_ of_ clusters;i++) { // convert logical offset to physical offset phys_offset= conversion(i); // this value I get correctly if(!SetFilePointer(drive_handle, phys_offset, NULL, 0)) { printf("\nSetFilePointer Failed: Error Number …

Software Development c++
Member Avatar for krishnampkkm
-1
392
Member Avatar for Punkis448

Hello there! I am trying to solve a problem for a project i took and i am in the final part of it...(view below for my until now code) Well the aim is to calculate the entropy of a file and then to use Hamming to code it. I managed …

Software Development c++
Member Avatar for siddhant3s
-1
935
Member Avatar for kuay

[code] package caesar; import java.util.Scanner; public class Caesar { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int key = scan.nextInt(); String str = scan.next(); String encrypted = encrypt(str, key); System.out.println(encrypted); } CAUSES public static String encrypt(String str, int key) { String encrypted = " "; for(int …

Software Development java
Member Avatar for kuay
-1
385
Member Avatar for mossaied

I am using visual c++ version 6, I have compiled the systemC library, then creates a new project contains multiple files then I try to build it but the building failed due to an error called "error C2679" and this the error message: "d:\systemc-libraries\systemc-2.0\systemc-2.0\src\systemc\communication\sc_signal.h(234) : error C2679: binary '<<' : …

Software Development c++ open-source os-x
Member Avatar for VernonDozier
-1
323
Member Avatar for aravasai

can any one please identify the mistake in my code??? my code is:: [code] #include<iostream> using namespace std; class Stack{ int *arr; int size; int top; public: Stack(){arr = NULL; top = 0;} Stack(int sz){ arr = new(nothrow) int[sz]; if(!arr) exit(1); size = sz; top = 0; } ~Stack(){delete []arr;} …

Software Development c++
Member Avatar for Stinomus
-1
18K
Member Avatar for Leila1

Very Simple Source Please Translate Thank You <snip>

Software Development c++
Member Avatar for Leila1
-1
462
Member Avatar for kostasxx

so guys, i was thinking about finding a way to create arrays, without knowing their size. for example create an app that takes unsigned long values until EOF and just saves them to an unknown size array. i was thinking that, because the array size could be big, to create …

Software Development c
Member Avatar for Narue
-1
2K
Member Avatar for polo_coins

Does anyone made such thing . I must make it for may classwork but it's too heavy for me Need your help :S

Software Development assembly
Member Avatar for jephthah
-1
777
Member Avatar for airey1988

Hi, i am a newbie at this and i am having problems with the following errors. U:\year 3\AssignmentFinal\Customer2.java:29: non-static method setName(java.lang.String) cannot be referenced from a static context i have inserted my code below any help would be greatly appreciated. [ICODE] // customer class import java.io.BufferedReader; import java.io.File; import java.io.FileReader; …

Software Development java
Member Avatar for birina
-1
1K
Member Avatar for jagdeep89

Q1: Write a program to implement a survey that prompts respondents to enter an integral value within a specified range to indicate how they like a new product. Since the program must be adaptable to any arbitrary number of respondents and value ranges, define macro MAX_RESPONDENTS to represent the maximum …

Software Development c c# c++ legal
Member Avatar for ndeniche
-1
365
Member Avatar for jbennet

Can anyone reccomend any good C++ books (available on amazon preferably). Im not a total newb (I know java, php and vb.net), i just dont know that particular language that well. A book which covers data structures and concepts too would be beneficial, as im on a comp/sci course atm, …

Software Development c c# c++ vb.net
Member Avatar for jbennet
-1
318
Member Avatar for redmaverick

I am trying to execute this program, but I am getting errors this is the code [CODE] import java.util.*; public class DateUtils { static final int MILLS_IN_DAY = 24*60*60*1000; public static Date getCurrentDate() { GregorianCalendar currentDate = new GregorianCalendar(); currentDate.set(Calendar.HOUR,0); currentDate.set(Calendar.MINUTE,0); currentDate.set(Calendar.SECOND,0); return currentDate.getTime(); } public static Date createDate(int year, …

Software Development java
Member Avatar for redmaverick
-1
289
Member Avatar for rainobw

can anyone of u guyz get me out of da problem m having m sure u guyz can ... i had the python re-captcha thingy to enter the captchas on a website but now tht website has putted some code on the captchas nd re-captcha script is not working someone …

Software Development python
Member Avatar for jlm699
-1
299
Member Avatar for Akis2000

ok iam working on a password protection for my program but i have a problem..... if the user set wrong password the program do this Wrong password!! The program will be terminated in 5 seconds but i want sec, (which is my seconds) at every second - 1 5-4-3-2-1 without …

Software Development c c# c++
Member Avatar for Akis2000
-1
797
Member Avatar for dammitjim30

Hi all! I am racking my brain trying to figure out why my code is not working for this TicTacToe board assignment. I keep getting the following error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at TTTBoard.makeMove(TTTBoard.java:79) at TTTGame.main(TTTGame.java:59) Java Result: 1 The assignment calls for a 3-by-3 2-dimensional array of …

Software Development java
Member Avatar for dammitjim30
-1
452
Member Avatar for jackiejoe

Ok, just need some guidance on this, I have an array and a few text fields but am unsure about how to actually insert the text from the fields into an array when the ok button is pressed . I thought I would have to use "getInputValue()" and create a …

Software Development java
Member Avatar for jackiejoe
-1
3K
Member Avatar for Caled

Hello Experts, I need to use JOptionPane a lot in my Java exercises. Instead clustering each Java files with this JOptionPane syntax plus the parameters, I've decided to use sort of class called showFrame which has the method to show message dialog and input dialog. At the moment, im putting …

Software Development java java-swing
Member Avatar for stultuske
-1
443
Member Avatar for lllllIllIlllI

I was just wondering, in all of the code snippets i see there is no #include "stdafx.h" in them, but i cannot compile a program without it. Is this a Microsoft Visual C++ that is the problem or am i just missing the point here?

Software Development c++
Member Avatar for lllllIllIlllI
-1
697
Member Avatar for shirish_kal

HI guys am completely new to java ... and have this couple of bugs am not clear of wt to do... can anybody help me with it i wud be gr8ful E:\j2sdk1.4.2_19\bin\JAR>javac Training.java [B].\Base64.java:39: cannot resolve symbol symbol : constructor InputStream (java.io.FileInputStream,boolean) location: class Base64.InputStream Base64.InputStream localInputStream = new Base64.InputStream(localFileInputStream, …

Software Development java
Member Avatar for prashant yadu
-1
268
Member Avatar for scru

Is there a gui library that has already been ported to python 3? I'm interested in using some of the new python 3 features in the back end for my project.

Software Development gui python
Member Avatar for Ene Uran
-1
270
Member Avatar for santhanalakshmi

Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name "table1" (only 2 fields …

Software Development asp asp.net c#
Member Avatar for anujtripathi
-1
2K
Member Avatar for kinv001

Hello, I have a combo box to select the ID, then it will display the particular record from from the database into the text boxes. And now I'm trying to make a update command button. Then I can just change the record which displaying in the text box. And click …

Software Development display microsoft open-source visual-basic
Member Avatar for Comatose
-1
3K
Member Avatar for nitu_thakkar

hello there... can any one reply me what is python

Software Development python
Member Avatar for Stefano Mtangoo
-1
355
Member Avatar for Aamit

category table id name date duration 1 aaa 12/12/07 1 2 bbb 10/10/08 1 ......... user_table id name date 1 aaa 12/12/07 2 bbb 10/10/08 ....... rating table id user_id name rating date 1 7 aaa 4 12/12/07 2 8 bbb 3 10/10/08 write now i am displaying these user …

Software Development java
Member Avatar for masijade
-1
307
Member Avatar for Awebb999

26. What is printed in the following code segment? [ICODE] I = 1; do { I = I + 25; } while ( I > 50 ); cout << I + 50; [/ICODE] a) 50 b) 51 c) 75 d) 76

Software Development c++
Member Avatar for Ancient Dragon
-1
503
Member Avatar for isaackhazi

Doing a small project in which data from warranty cards are entered into a database ie. warranty card number, salesman name and ID, etc etc......after all the data has been entered into the database I need to check and see if there are any duplicate warranty card numbers in the …

Software Development dataset vb.net
Member Avatar for isaackhazi
-1
342
Member Avatar for SlayerX

Need some help on text file compression.... Text File Compression. The text file compression must be able to perform the following functions: • Able to compress a text file and generate an index file • Able to decompress the file • Able to show the time taken for compressing and …

Software Development c++ file-system
Member Avatar for Salem
-1
323
Member Avatar for Tekito

I'm not quite sure how to tackle this problem. I have a form that displays the properties of a class. I have events for all the properties so the form gets updated automatically when the properties change. However, upon initializing a class, these events do not get called, and so …

Software Development vb.net
Member Avatar for Tekito
-1
373

The End.