132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dummy C#

i am newbie in C#. i would like to make a button to function as search button to search by name and search by date. When i key in data inside textbox1 for search by name ,then press search ,can get the data from database. Same case to textbox2 for …

Software Development
Member Avatar for hijohncena
0
349
Member Avatar for Nyaato

I'm a little stuck on this particular piece of code that I'm working on. I'm supposed to check the contents of 1 text file (original), and compare it with another text file (filter) to see if there's any words that matches up. What I have now is a so-called working …

Software Development python
Member Avatar for Nyaato
0
450
Member Avatar for arun_354

[code=cplusplus] #include<fstream.h> #include<iostream.h> #include<iomanip.h> #include<stdlib.h> #include<string.h> #include<stdio.h> #include<conio.h> #include<process.h> using namespace std; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { …

Software Development c++ dataset ios windows-server
Member Avatar for tux4life
0
131
Member Avatar for tomtetlaw

[code=python] def prints(value, ..., seps='', ends='\n', files=sys.stdout): print(value, sep=seps, end=ends, file=files) print = prints [/code] Would this permently overwrite print or just overwrite it while my program is running?

Software Development python
Member Avatar for shadwickman
0
131
Member Avatar for jainnynipun

hello friends , i m in b.tech (I T) .. ! presently i am learning j2EE in a private institution. According to their norms a mini projects should be submitted based on java or j2EE.so,any body help me

Software Development java
Member Avatar for ithelp
0
39
Member Avatar for Dio1080

Hello, I'm trying to figure out how to convert this php file_get_contents command to visual basic script. I tried googling it but no luck. This is the command down below. <? $page=file_get_contents('http://www.example.com/page?user=cwarn23&pass=820578wxz56240358'); ?>

Software Development php visual-basic
Member Avatar for ithelp
0
129
Member Avatar for EvilDavo

Hi. You've probably been asked this a million times in one form or another but, .... What is the correct way to write a C++ OOP program (eg. for a game)? I've researched the concepts of OOP several times over a long period of time and I have a (seemingly) …

Software Development c++ oop
Member Avatar for EvilDavo
0
206
Member Avatar for FthrJACK

Hi, thought it time i stopped lurking :) Im currently building a project in .net and im having issues with check boxes. On one form i have a few text boxes for username, password, initials. Then check boxes to tick (these will be to allow/deny access to various forms later) …

Software Development vb.net
Member Avatar for kvprajapati
0
3K
Member Avatar for Your_mum

Hi, I am pretty new to python and I have a really noobish question: What does %s mean

Software Development python
Member Avatar for Your_mum
0
91
Member Avatar for Sushma21

hi, i am having a problem with file input/output..the file created in the program using open command is not getting listed in the command line directory..also, the file created in one program cannot be retrieved in another program...how do i solve this problem??is this a problem with the operating system?? …

Software Development c++ file-system operating-system
Member Avatar for Sushma21
0
122
Member Avatar for derekn

Ok, I am about to pull all my hair out. I have written many many perl scripts and have done it all pretty much. All of a sudden, I have hit a real problem, and I DON'T know why! I am doing a very simple array declaration by reading a …

Software Development perl
Member Avatar for KevinADC
0
296
Member Avatar for binfPerl

Hello, I'm fairly new to PERL and this is my first post - so be kind. I'm working through a book called Beginning PERL for Bioinformatics, and one of the exercises asks to "Write a program to read a file, and then print its lines in reverse order, the last …

Software Development perl
Member Avatar for binfPerl
0
227
Member Avatar for SP IT

I need help with my homework. The first part is to create two arrays that are random. Afterward I need to creat afunction that finds the Minimun and Maximum of the two arrays. Here is my code: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int int main(void) { …

Software Development c++
Member Avatar for csurfer
0
120
Member Avatar for lotrsimp12345

its in the num=="-". [code] #include <iostream> #include <cstdlib> using namespace std; int main() { cout <<"enter the problemset and number""\n"; //problems represents name and numbers string problems; char quote; char num; string number; //gather name if(cin.peek()=='"' || cin.peek() == ''') { cin >>quote; getline(cin,problems,quote); } else { while (!isdigit(cin.peek()) …

Software Development c++
Member Avatar for VernonDozier
0
202
Member Avatar for krishnampkkm

Hii I wanna copy an NTFs partition to another partition of same type and same size.And I tried with windows function Copyfile() and it worked but slow speed is a problem.Then I did with readfile() and WriteFile() instead of Copyfile() again speed is a problem. How can I get a …

Software Development c++
Member Avatar for krishnampkkm
0
174
Member Avatar for gretty

Hi :) I want to start creating windows applications. Can you tell me what editor is best to do this & [B]if I can just start coding right away or do I need to download libraries etc [/B]to do it? I am using Eclipse is this the best editor to …

Software Development c++
Member Avatar for gretty
0
301
Member Avatar for Eyo

Hello, please help me in such a stiuation I have a stored procedure that insert a new record after checking that this record does not exist.... TODO: I need to lock the row after the select statment executed on a specific row to ensure that no changes will occure between …

Software Development vb.net
Member Avatar for kvprajapati
0
116
Member Avatar for SP IT

Now Ineed help combining arrays. Please help. Here's the code Ihave so far. [ICODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int findmax (int a1[45], int a2[50], int i, int j); int findmin (int a1[45], int a2[50], int i, int j); int main(void) { unsigned seed = time (0); …

Software Development c++
Member Avatar for Ancient Dragon
0
185
Member Avatar for BigTurtle

I'm trying to learn wxPython. Unfortunately when I came to China in Jan I had to leave the nice wxPython book in Canada because it was too heavy for my suitcase. So I humbly ask you to bear with my ignorance. As practice (and because I have a practical use …

Software Development display file-system python
Member Avatar for BigTurtle
0
947
Member Avatar for SP IT

Does anyone know how to execute a programin C++ 2008

Software Development c++
Member Avatar for Ancient Dragon
0
71
Member Avatar for athlon32

I've decided to start my first real project in C++, so I picked something simple; to make a game just like Pong. I've got most of the GUI setup, but i have no idea where to start on programming the computer character that will play against the user. Does anyone …

Software Development c++ gui
Member Avatar for athlon32
0
137
Member Avatar for TobbeK

Hi I like some beginnerhelp in C# and the basics of OOP. I have coded a bit but need some further guidance to continue. This is an application with the purpose for my own training in capsulation, Inheritance and Polymorphism. Also see the attached image of user interface. I need …

Software Development oop user-interface
Member Avatar for TobbeK
0
95
Member Avatar for SP IT

I need help on two assignments that are due: 1. Initializing the elements of an array a1 and size n randomly, so that its elements have values between [1-45]. 2. Initializing the elements of an array a2 and size n randomly, so that each element is between 0 and 50 …

Software Development c++
Member Avatar for SP IT
0
205
Member Avatar for mackre58

I'am creating a visual basic program the project has the following controls: four buttons four labels two picture boxes It is a form that display two rooms one is standard room button, and the other is deluxe room button. when the user click on either button it will show the …

Software Development vb.net visual-basic visual-studio
Member Avatar for sonia sardana
0
63
Member Avatar for papanyquiL

Hi all, I'm learning how to format strings. I've made the following code, but the console screen just comes up blank. [code=c#] static void Main(string[] args) { DateTime ci = DateTime.Now; //instance of datetime Console.WriteLine("{0:D}", ci); string info = "Fred Savage- SSN: 143-14-8756 Phone: (281)414-3424 Email: fsavage@blah.com"; string format = …

Software Development regex
Member Avatar for papanyquiL
0
162
Member Avatar for kris4th

I need to create a program that adds two sets, hint: the set is composed of distinct (integer) How to do this using this Function: void add(int result[],int item,int *count); add result the value of the item. Please i really need ur immediate help...pls600x

Software Development c
Member Avatar for csurfer
0
129
Member Avatar for kharri5

Hello, I am currently writing a powerpoint presentation that is an interactive survey. It takes in a file of data, and adds it to a big dynamic array. When the user answers questions it picks the data from the array and populates an excel spreadsheet for a final output of …

Software Development file-system open-source vb.net
Member Avatar for jpeguet
0
159
Member Avatar for Moselekm

Okay, I've been trying to figure this out forever. And I've been avoiding asking for the longest, but I want to make an app that can remember personal information and retrieve it. I am used to mIRC's language where you can create, edit, and retrieve data from .txt files. I …

Software Development vb.net
Member Avatar for scsachira
0
169
Member Avatar for ludasha

In the first computer, a network is defined with 2 addresses: 1. 192.168.10.12 2. (a virtual address) 182.0.0.1 In the second computer, a network is defined with 2 addresses: 1. 192.168.10.13 2. (a virtual address) 192.0.0.1 in the route table I added lines : 192.0.0.1 ..... (interface) 192.168.10.12 182.0.0.1 ........(interface) …

Software Development c++
Member Avatar for tux4life
0
82
Member Avatar for leegeorg07

Hi I was asking around for ideas for programs and I was challenged to make a browser, but I have no idea how to do this, do any exist currently? and how could I do it please?

Software Development python
Member Avatar for leegeorg07
0
81
Member Avatar for arunjai

Respected users, i am working on a small project in VB6 following are some requirements, i am attaching the screen shot also ... 1. it gets the sql files in a list once click it opens in rich text box. 2. when the query is run it should populate the …

Software Development oracle visual-basic
Member Avatar for arunjai
0
99
Member Avatar for sravan953

Hey guys, I have some code here which checks the last three characters in the list: [CODE]site_list= ['C', ':', '\', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 's', ' ', 'a', 'n', 'd', ' ', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', '\', 'S', 'r', 'a', 'v', 'a', …

Software Development python
Member Avatar for sravan953
0
119
Member Avatar for art-1001

Build a program in C that accomplishes the following task: It reads from a file the names of some certain files and their size in MB, then it distributes these files to some folders each with a maximum of N MB. The way of distribution is such that a minimum …

Software Development c
Member Avatar for tux4life
0
93
Member Avatar for sam511

hello. In my project the students are added into two levels(1 & 2) each level has it's own linked list so if you choose to add a student in level 1 it will be added to list1, if you choose to add him in level 2 it will be added …

Software Development c linked-list
Member Avatar for s_sridhar
0
256
Member Avatar for valinux

I have never programmed before or used Linux (didn't even know what that was before a few days ago,) well I got a book for beginning C++ and a book for Ubuntu Linux. My stepdad says it would be best to learn C++ on windows and not to even mess …

Software Development c++ linux-kernel ubuntu
Member Avatar for tux4life
0
169
Member Avatar for sam511

hi , I'm trying to store linked list in a file . I opened a file with extension txt but when I opened it to read it . It was encrypted does anyone know why??

Software Development c file-system linked-list
Member Avatar for kvprajapati
0
91
Member Avatar for ramthegreatcv

Consider this code [code=c++] class A{ int i; public: A(){ cout<<"default constructor\n"; } ~A(){ cout<<"default destrutor\n"; } /* uncommenting this causes error A(A& obj){ i=obj.i; cout<<"copy constructor\n"; } */ }; A fun(){ A b; cout<<" address of b = "<<&b<<endl; return b; } int main(){ A a=fun(); cout<<" address of …

Software Development c++
Member Avatar for tux4life
0
193
Member Avatar for tomtetlaw

Whenever I run this code, it always returns an empty list, can someone tell me why this is happening? [code=python] ## Written by Tom Tetlaw ## Copyright (c) 2009 ## Written in IDLE<www.python.org> import sys, os import re sys.path.append('E:/Tom's Personal Project/engine') import shared.useful.Useful import shared.charactors ##TODO: ## Make the Monster …

Software Development python
Member Avatar for shadwickman
0
212
Member Avatar for Clawsy

As some of you know, there is a COM reference library called 'YahooMessengerLib'. What I have done with it until now was: - Login with user and password - Logout YM must be started for use to use this library. YahooMessengerLib has a lot of interfaces but I don't know …

Software Development c#
Member Avatar for Clawsy
0
147
Member Avatar for yun

I want to know that how many Student class objects in a file. plz help me out. Below is a class of Students and 2 function for read and write object in a file, in read function [code] while(in.eof()!= 1){ in.read((char *)&st,sizeof(st)); st.showData(); } [/code] st.showData(); always show the last …

Software Development c++ file-stream ios
Member Avatar for kvprajapati
0
461
Member Avatar for VernonDozier

I have a movie-player type application. You have a movie of JPanels that you can "play", that is you can have the frames change either automatically on a timer or by advancing a frame at a time manually. I've created 4 trivial frames (simple JPanels with different colors). It can …

Software Development java java-swing
Member Avatar for kvprajapati
0
3K
Member Avatar for Paua

Hi, I hope some-one can help. I am trying to create a mobile application that uses merge replication. I am having problems synchronising CE db to coporate db. I have had major trouble setting up my laptop for this, and have been unable to fix my final error. What I'm …

Software Development windows-server windows-vista
Member Avatar for Paua
0
171
Member Avatar for salesman91

hi, I m making a graph with all (x,y) printed on graph line..like from +x=1,2,3....so on and same with -x,+y,-y. below I tried u can try this too but I want clean graph with nos. on it. can someone solve it? [code]#include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> int …

Software Development c
Member Avatar for salesman91
0
107
Member Avatar for gretty

Hi I am learning windows programming in C++ . I just did a tutorial learning simply making a window appear & I am surprised by the all the things necessary to make a window appear. Maybe its just the tutorial that is too complicated with unecessary code. Is all this …

Software Development c++
Member Avatar for gretty
0
114
Member Avatar for coachHinesfan

Hello all. I have been reading / practising c++ and through the course of my journey I have been encountering some phrases that I don't understand. The phrases are : -> Binary operators -> Unary operators I have tried to search on google and also on other posts in the …

Software Development c++
Member Avatar for coachHinesfan
0
136
Member Avatar for snuppy

Hello! How to draw rectangle in Delphi (using [U]timer [/U]component). Thanx!

Software Development delphi pascal
Member Avatar for snuppy
0
293
Member Avatar for dzhugashvili

here is what I want to do: I want to read 104-character strings from a text file, one per line. I want to chop those strings in two, the first 32 characters being a string called schecksum and the last 72 characters being a string called sencdata. Then I want …

Software Development c++
Member Avatar for dzhugashvili
0
165
Member Avatar for XTRobot

Hi,first i must say this is not my homework,because i am to young (14 Years old)to have programming homework.I am trying to make application for automation of the dental surgery(i am testing my skills :D),this is the program menu : Ask for username and password and if it's correct it …

Software Development c c# c++
Member Avatar for Stefano Mtangoo
0
242
Member Avatar for mbox_96

Hello everyone, I'm new to pyhton and this is my first post. Please help me understand how can I tell python where my parallel module is located. parallel module I think is located under parallel folder. Any help will be appreciated... [CODE]import sys sys.path.append('C:\\Python26\\Lib\\site-packages\\parallel') class HelloWorld: _reg_clsid_ = '{BEA1AA48-1D0A-4D19-8E98-03C54F195B59}' _reg_desc_ …

Software Development python
Member Avatar for Stefano Mtangoo
0
137
Member Avatar for hotriver

I have to open a log file created by c++, which is 4G in size. I want to read it from C#, but FileStream.Read uses int as offset, that means I can not read bigger than 2G. I believe C# should have a solution for it. How can I read …

Software Development c#
Member Avatar for hotriver
0
108

The End.