132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shean1488

Hi everyboy, I have a question how to add not boolean expression to the conditional loop, Imagine some situation where I have : while(some expression && another expression) { .... } So lets say I want to calculate how many times "another expression" was evaluated. I wish I would stick …

Software Development java
Member Avatar for shean1488
0
191
Member Avatar for paoi00

i need to compare two different tables which are Enlistment and Schedulings Table . in schedulings Table , there was a columnnmae AvailableSlots wherein the AvailableSlots in every sections in every year is recorded.. in Enlistment table, i used to count the number of records that satisfy my query : …

Software Development open-source vb.net
Member Avatar for paoi00
0
213
Member Avatar for nicolemarie

I need to count the number of votes for candidates... I'm getting an unreachable statement error on "int[] array = new int[6];" Scanner sc= new Scanner(System.in); int a= sc.nextInt(); return a; int[] array = new int[6]; int mitt; mitt= array [a]; int rick; rick= array [a]; int newt; newt= array …

Software Development java
Member Avatar for NormR1
0
244
Member Avatar for sarathsshanker

Hello,I need to read a file containing 161 commands and store it in a vector of strings using vector_pushback and then print the 161 commands.Which is the best way to proceed with this ?

Software Development c++ file-stream
Member Avatar for mrnutty
0
195
Member Avatar for nicewave

Could someone tell me why I can't use the following code? It kept saying 'string' does not contain a definition for 'Match' and no extension method 'Match'. string SearchText = "7,true,NA,false:67,false,NA,false:5,false,NA,false:5,false,NA,false"; string Regex = @"\btrue\b"; int NumberOfTrues = Regex.Match(SearchText, Regex).Count;

Software Development c c# c++ regex
Member Avatar for Mitja Bonca
0
194
Member Avatar for abu taher

all thing is ok. all ready 11 item was saved. in sr. no. 12 when I input all necessary thing and click in save button massage was show " save data". no error massage show. but the data is not save in database. I don't know why? So I need …

Software Development visual-basic
Member Avatar for abu taher
0
178
Member Avatar for fafa70

hi. i have some code in visual basic and i wrote some classes in c++ and i want make it dll but i don't know that when you use dlls it decreases the speed of process or not. thanks.

Software Development c++ vb.net visual-basic
Member Avatar for thines01
0
260
Member Avatar for msmriyas

this is my sourse code,i have indicated the error in the bottom of the sourse code . import java.io.*; public class Queue { private int maxSize; private int queArray[]; private int front; private int rear; private int nItems; public Queue (int s) { maxSize = s; queArray = new int[maxSize]; …

Software Development java queue
Member Avatar for NormR1
0
158
Member Avatar for karthik_ppts

Hi Frendz, How to send data report to mail in VB6.0?

Software Development email visual-basic
Member Avatar for debasisdas
0
528
Member Avatar for riahc3

Hey Ive been literally killing myself looking up guides but most are way outdated and/or complicated. I tried a few simply ones but they simply appear to be out of date. Can someone point me on a easy way to set it up in Windows? Ive been trying to use …

Software Development windows-server
Member Avatar for riahc3
0
157
Member Avatar for MCLASS80

Im looking to put a loop into a program i have created but right now it only runs on a static IP hardcoded in the program. I would like it to loop through a list of IP addresses from a CSV file and loop until all IP have been used. …

Software Development perl
Member Avatar for 2teez
0
336
Member Avatar for MasterHacker110

I have been programming in c++ for a while now, and i see the windows.h class is very handy on windows computers, where can i find a good tutorial for windows.h (winapi) (win32) programming. The ones i found so far either doesnt give you enought info on programming and some …

Software Development c++
Member Avatar for MasterHacker110
0
163
Member Avatar for Niner710

Hi, I would like to parse the following line and store all the values into an array. The values are separated by commas. I am unsure of how to do this without having a super long parsing string(i.e if(/.*/). At first, I was thinking of some type of loop, but …

Software Development perl
Member Avatar for 2teez
0
173
Member Avatar for taher_sk2000

I want to update my database but the problem is that the driver is not taking any values from the preparedStatement. I am getting an error : java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] You must enter a value in the 'ClassicRoom.Occupy' field. Press any key to continue... Here is the ActionPerformed …

Software Development java microsoft-access
Member Avatar for taher_sk2000
0
180
Member Avatar for CKShia

Hi i am a newbie in C programming especially in the socket area. Supposely i am writing a FTP, and want to **_get_** and **_put_** file in the FTP. However, i have encountered a bug/error when client is trying to get(download) file from server. The problem is as follow: First, …

Member Avatar for histrungalot
0
1K
Member Avatar for alanbrazil

hi everybody, I am new to c sharp and was wondering if anyone could help me. I have a text file which has 10 records set out like this Smith,Adam,John,1986/11/24,M. I want to create a C# Windows Application program which reads the data and allows the user to browse the …

Software Development
Member Avatar for thines01
0
230
Member Avatar for Samama

so i have to build an application where i have to read values from a csv file(excel)and insert them in mySQL.i can do the reading part however I'm fairly stumped by how do i insert the values to the database. Any help regarding this matter is apprecaited.

Software Development java
Member Avatar for thines01
0
157
Member Avatar for IKhan123

Hi, I have two DataTables, I need to populate the Data from both the Tables.but i don't have a foriegn key to establish relation. how to get the Data from two Tables. I have one column which is having keywords in first DataTable.The Second Table have the values of those …

Software Development
Member Avatar for IKhan123
0
114
Member Avatar for triumphost

How can I have my program modify itself? Example: Size = 1mb ..Run program once.. size = ++1mb On Second Run, check if itself is 1mb Or something of the sort :S. I need to be able to check if my program has ever been ran before.. So.. Is there …

Software Development c++
Member Avatar for MandrewP
0
151
Member Avatar for eltonpiko

Hi i have a vb project im getting a bit of trouble with. this is how it should work 1. user input text in the textbox. 2. the input text will be count as single character each one by one 3. after been checked they will be writen to a …

Software Development file-system vb.net
Member Avatar for Mitja Bonca
0
278
Member Avatar for jason316

I am having an error that I can't seem to get past. The problem I get is an internal server error 500 when I try to run the C++ CGI script. here is my HTML document. I am using Apache Web Server. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> …

Software Development apache c++ client-server web-server
0
136
Member Avatar for lordluke_80

hi everyone. i'm tryng to use Reportlab to output an invoice on a simple Django app. it seems quite difficult to do simple things like this. here's my code: def print_pdf(fattura, soggetto, buffer=None): import time from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY from reportlab.lib.pagesizes import letter from reportlab.platypus import SimpleDocTemplate, …

Software Development pdf python python-django
0
250
Member Avatar for c.pentasuglia

Basically i'm wondering if i can fill the "File Name" field of a JFileChooser automatically. I'm pulling files from another machine using sftp, and specifying the file to be created with the JFileChooser. So that the file i'm transfering will be saved with the name and location i specify. As …

Software Development java
Member Avatar for JamesCherrill
0
297
Member Avatar for Andy90

I m creating an full screen application! But dont know how make it fullscreen (i.e the buttons minimize, maximize, and close button should not appear on screen).

Software Development
Member Avatar for Sahil89
0
122
Member Avatar for KrossFaith

i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 int counter = 0; 08 09 …

Software Development c c# c++
Member Avatar for Lerner
0
370
Member Avatar for KrossFaith

i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array #include<iostream> using namespace std; int main() { int gradeRange [4]= {0,0,0,0}; int mark = 0; int counter = 0; while (mark < 101) { cin >> mark; if …

Software Development c c# c++
Member Avatar for m4ster_r0shi
0
292
Member Avatar for msmriyas

hello dears, please can anyone correct my java error, when i run bellow java source code error cause as can not find symbol. public class StackApp{ public static void main (String arg[]) { StackX theStack = new StackX(10); theStack.push(20); theStack.push(40); theStack.push(60); theStack.push(80); System.out.println("Value at top : " + theStack.peek()); System.out.println("Is …

Software Development java
Member Avatar for NormR1
0
215
Member Avatar for nettripper

guys help.. How can i Disable the Left and right Windows key in vb.net??.. my program is on fullscreen and i dont want to interrupt my users with the startup menu when they accedentaly pressed the windows key while they are using my program... help.. thanks.. ^_^\m/

Software Development vb.net
Member Avatar for vbDotMe
0
2K
Member Avatar for Ahmed2

Hi guys, I'm trying to read data from an excel "csv" file and save it in a list. the problem is that I want to have a copy of this list named "list1" that will not change during the manipulations and claculations, because when I copied the contents of "list1" …

Software Development c++ file-stream linked-list
Member Avatar for mike_2000_17
0
232
Member Avatar for Andy90

Hi, I have created 2 forms. Form1 and Form2 Form1 contains button to open form 2 Form2 contains a check box and ok button When checkbox is checked and I click ok button, the TopMost property of form 1 is set true. But I m unable to see the change. …

Software Development c#
Member Avatar for Mitja Bonca
0
158
Member Avatar for triumphost

void DLL_EXPORT Replace(LPCTSTR OriginalFile, LPCTSTR FileToReplace, LPCTSTR BackupOfFileToReplace) { HGLOBAL LoadResource(HMODULE hModule, HRSRC hResInfo); try { BOOL WINAPI ReplaceFile(OriginalFile, FileToReplace, BackupOfFileToReplace); MessageBox(NULL, "Done", "Alert", 0); } catch (...){} } The above is my code and it gives me errors like: In function 'void Replace(LPCTSTR, LPCTSTR, LPCTSTR)':| warning: '__stdcall__' attribute only …

Software Development c++
Member Avatar for thines01
0
293
Member Avatar for Tommeh

Hey, this is the task I have to do http://faculty.winthrop.edu/olsena/CSCI%20207/c207p6CalcAveClasses-s12.pdf I'm trying to read each part..I have to read in the ID, exam, test grades, program grades, and lab test/quiz grades. In the insructions, it says I have to set methods for each one which I did. Now i'm having …

Software Development c++ pdf
Member Avatar for Tommeh
0
144
Member Avatar for NoUserNameHere

Hi, I just started learning about java applets recently and was wondering why the shapes won't appear on screen when I press a button. import java.applet.*; import java.awt.*; import java.awt.event.*; public class Buttons extends Applet implements ActionListener { public void init() { button1 = new Button("Button 1"); add(button1); button1.addActionListener(this); button2 …

Software Development gui java
Member Avatar for NoUserNameHere
0
147
Member Avatar for perly

Hi, I have 2 sets of multiple sequence files of DNA sequences. Examples of set 1 are as follows: Seq1.txt contains: ATACAGGATCAGATG Seq2.txt contains: ATACCGGATCAGATG Seq3.txt contains: ATACAGGGTCAGATG Examples of set 2 are as follows: Seq1.txt contains: >seq1 ATACAGGATCAGATG >seq2 Seq2.txt contains: ATACCGGATCAGATG >seq3 Seq3.txt contains: ATACAGGGTCAGATG I want one/two …

Software Development perl
Member Avatar for perly
0
1K
Member Avatar for AnnA.A

Hi, I'm new here, so I'm sory if this theme already exsist. I'm trying to do a database of students in c, and I want to use queue for realizing that. For example: Name: char surname: char id number: char or int subjects: queue User will enter id number and …

Software Development c queue
Member Avatar for AnnA.A
0
211
Member Avatar for abhishek_ag

Hi Guys, I have written the below program to convert binary to octal, it is giving me erroneous results. On entering 1111 as the input number I should get 17 as the output, whereas I am getting 16707000337 as the output. Kindly help me out, below is my program: /*program …

Software Development c
Member Avatar for abhishek_ag
0
269
Member Avatar for Andy90

Hi, I have two forms: Form1 and Form2 In Form1 there is one button which opens form2, and when I click on Title bar of Form2 I loose Form1 focus. I dont want this to happen. I want to click on title bar but at the same time form1 focus …

Software Development
Member Avatar for Mitja Bonca
0
64
Member Avatar for triumphost

Hey all, Back with another Win32 question. When I paint to my window (create a background image), what happens is that everything is fine until I draw the window off the screen causing it to invalidate everything.. When dragged back onscreen, my background is redrawn but my controls are all …

Software Development c++
Member Avatar for Banfa
0
1K
Member Avatar for prnjn

I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5 The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a …

Software Development java java-netbeans java-swing open-source
Member Avatar for NormR1
0
401
Member Avatar for migelitto

Hey guys. I'm making a project for my university. It consists of Jframes and other JStuff. I'm having problem with data. The problem is changing them. I have 2D array of Strings - numbers and words (but the content doesn't matter). I want to make a JFrame, where you can …

Software Development java
Member Avatar for NormR1
0
203
Member Avatar for eltonpiko

Hi i have a vb project im getting a bit of trouble with. this is how it should work user input text in the textbox. the input text will be count as single character each one by one after been checked they will be writen to a text file but …

Software Development file-system visual-basic
Member Avatar for QVeen72
0
277
Member Avatar for knowdarian

![image14](/attachments/large/3/image14.png "image14") ![image22](/attachments/large/3/image22.jpg "image22") Hi, I am extracting datas from the csv file to display in datagridview1 as shown in image1. Now I want to search the datagridview1 and display the result in datagridview2 as shown in image2. Please do refer the attached images. I am using Visual basic 2010 …

Software Development display vb.net visual-basic
Member Avatar for knowdarian
0
174
Member Avatar for tabish saroha

Dear All, Please Help me in this application.... My problem is that i want to select the required text from the following text. In this text I want When user input following text. I will get only special information from it. Abdoul Amin `23 av Olympiades 94120 FONTENAY SOUS BOIS …

Software Development java
Member Avatar for niranga
0
75
Member Avatar for aquaben

Trying to get soemone to input a Password (hello) as an input and then getting a loop to a second part of the program where he/she inputs his/her name and then gets a response accordingly. Not sure why this is not working but maybe someone else does. let me know …

Software Development python
Member Avatar for TrustyTony
0
150
Member Avatar for jnewman3

So I've been working on a Hash Table that uses nodes to store data. I'm having issues figuring out the copy constructor and assignment operator overloader. In my main I instantiate 3 hash tables. 1 default(size 10), 1 size 7 and another one that copies hashtable size 7 to it. …

Software Development c++ linked-list
Member Avatar for raptr_dflo
0
345
Member Avatar for Rasool Ahmed

Hi gueys, I have spent weeks in searching to know how to Explore hard disk files using c++ driver developping?. I'm developing anti-virus program, only I want is: when the user choose custom scan from scan options the program load a driver and send the path to the driver and …

Software Development c++ file-stream
Member Avatar for Rasool Ahmed
0
887
Member Avatar for lisa92222

When I open my Python file through cygwin it recongnizes a module that I installed recently(PyCrypto) but when I open Python IDLE and then click on Run Module, it says that PyCrypto wasnt installed. Whats wrong? Thanks for the help.

Software Development python
Member Avatar for TrustyTony
0
107
Member Avatar for compsci91

How can two classes uses each other without violating declaration before use? Can you give me an example?

Software Development c++
Member Avatar for mike_2000_17
0
126
Member Avatar for Dendari

Hello everyone. I'm working on a program which should edit a text file by adding/deleting some specific lines. By default this text file doesn't have these specific lines, so the program will add them. But I also want it to replace them if they're already in the text file. Basically …

Software Development file-system operating-system vb.net
Member Avatar for Dendari
0
205
Member Avatar for Aterin

Greetings, I need to develop an application which allows tree main features: to search a text file line by line and if it finds the text then it prints the whole line, so for example lets say the text file has: abcd efgh and i would run the applications with …

Software Development c
Member Avatar for Aterin
0
289

The End.