132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for geetajlo

Hi every1 ! i want to make a search through a datagrid using a textbox. i want the search to be like in the cell phone, i.e whenever u type an alphabetfor e.g P it retrieves all names with P. i just want the textbox to search in one column …

Software Development vb.net
Member Avatar for derpking
0
327
Member Avatar for dreday92

Can someone tell me why i get the error code "ISO C++ forbids comparison between pointer and integer" for lines 135 and 149 #include <iostream> #include <iomanip> #include <string> using namespace std; //Structure used to store the name, number of the players, and the number of points of each player …

Software Development c++ data-structure
Member Avatar for Geli19
0
173
Member Avatar for opman234

Please help me. After I compile my application, and I install it on another person system. Everything work fine. But, access database is in read only mode. So the program could not update or save to database. Please , I don't know what is happening. I have to get this …

Software Development vb.net
Member Avatar for lolafuertes
0
221
Member Avatar for Ahmed Sarwat

I really hope that you can help me installing and configuring Eclipse CDT and MinGW-w64 on my windows 7 64 bit pc. I swear that I am not asking this question as being lazy for not searching but really I have been searching for almost 2 days with no success. …

Software Development c
Member Avatar for deceptikon
0
1K
Member Avatar for Nomi55

i m new in c language.plz tell me which compiler is the best GCC or Turbo c...?i m waiting

Software Development c
Member Avatar for Nomi55
0
260
Member Avatar for HibaPro

i have this connection string <connectionStrings> <add name="Tendering_Pro" connectionString="Data Source=HABOUSH-PC\SQLEXPRESS;Initial Catalog=TenderingProgram;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings> <system.diagnostics> AND THIS MY CLAAS : Imports System.Data Imports System.Data.SqlClient Imports System.Configuration Public Class BuyNewTender Private conn As SqlConnection Private _MSG As String = "" Private _ProjectTenderingNO As String = "" Private _TenderingNo As String …

Software Development open-source vb.net
Member Avatar for lolafuertes
0
177
Member Avatar for Ravish.Ahmad.Khan

**Following is the code snippet to print the series:-** *111 211 311 121 221 321 131 231 331 112 212 312 122 222 322 132 232 332 113 213 313 123 223 323 133 233 333* **But there's some mistake in the code and it gives ArrayIndexOutOfBoundsException.I'm not able to …

Software Development java
Member Avatar for Starstreak
0
173
Member Avatar for MoBaT

I am attempting to complete the towers of hanoi game using 6 towers and an n amount of rings. I attempted to try moving each ring into a seperate tower and then work each tower one by one using recursion, but I could not get an appropriate output. I have …

Software Development algorithm c++
Member Avatar for np complete
0
120
Member Avatar for bverhaar

I have to make my own turtle class without using the "from turtle import *" line. This is the code i have so far: from graphics import * class Turtle: '''The turtle''' def __init__(self, win, defstep, defwidth, defangle, startpt, startangle): '''initialize the turtle - win: window to draw - defstep: …

Software Development python
Member Avatar for TrustyTony
0
191
Member Avatar for Hemanth.Satkuri

FIRST: String str = queryTextArea.getText(); final JTextArea textArea = new JTextArea(); textArea.setFont(new Font("Sans-Serif", Font.PLAIN, 12)); textArea.setText(str); textArea.setCaretPosition(0); JScrollPane scrollPane = new JScrollPane(textArea); scrollPane.setPreferredSize(new Dimension(350, 150)); int res = JOptionPane.showConfirmDialog(null,scrollPane,"Query", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE); System.out.println( "showInputDialog: " + res ); if(res==0) queryTextArea.setText(textArea.getText()); Using this I'm unable to resize the document-modal SECOND: String str …

Software Development java java-swing
Member Avatar for NormR1
0
722
Member Avatar for John DB

How can I terminate resources in a safe way when JFrame is about to close? - If I put terminate() in the a finally block it runs before windowClosing(). - If I put terminate in windowClosing() it can't be accessed from an inner class. I am aware that I shouldn't …

Software Development java
Member Avatar for John DB
0
195
Member Avatar for steven.myers.3726

**Assumptions** > variables f,g,h,i and j are assigned to registers $s0, $s1, $s2, $s3, and $s4 respectively > The base addresses for the arrays A and B are in registers $s6 and $s7 addi $t0, $s6, 4 #load the forth element of array A into $t0 add $t1, $s6, $0 …

Software Development assembly
Member Avatar for sepp2k
0
794
Member Avatar for jeets1892

Please take a look at the below code #include <QtCore/QCoreApplication> #include <iostream> int main(int argc, char *argv[]) { using namespace std; double purchaseAmount; double paidAmount; float balance; int change, quarters, dimes, nickels, pennies, tenDollar, fiveDollar; // declare variables cout << "Enter Total purchased amount" << endl; cin >> purchaseAmount; cout …

Software Development c++ finance
Member Avatar for zeroliken
0
3K
Member Avatar for Labdabeta

Hi, I am wondering if there is a somewhat simple way to output extended ascii values in c. Basically I am thinking actually about unicode characters, stored in ints. Is there an easy way to do this, or would it require a custom gui console?

Software Development c gui
Member Avatar for Labdabeta
0
240
Member Avatar for rarment

I'm learning scheme and having a hard time with the define-syntax part. The tutorials online that I have found are not very helpful, so any help you guys can offer would be greatly appreciated. Basically I need to be able to enter (foreach x : 1 do (display x)) and …

Software Development
Member Avatar for sepp2k
0
176
Member Avatar for AutoPython

Hey! I've recently come back to C++ to tackle another project, but I've run into a problem I can't figure out. #include <iostream> #include <string> #include <fstream> #include <direct.h> using namespace std; int main() { string variable = "AwesomeName"; mkdir ("test"); ofstream write ("test\\" (variable+".txt").c_str() ); // this the place …

Software Development c++ file-system
Member Avatar for AutoPython
0
4K
Member Avatar for dantheman4

public static void sumOfSquareRoots() { Scanner scan = new Scanner( System.in ); double value; // read in a double System.out.print ("Enter a double:"); value = scan.nextDouble(); // calculate its square root double result = Math.sqrt( value ); // write out the result System.out.println("square root of your number is " + …

Software Development java mathematics
Member Avatar for delta_frost
0
2K
Member Avatar for ANKUR1806

i have a richtextbox ,a textbox and a button in c# windows form.i also have a 100 page ms-word .doc file .i want to make an application which displays only that page in richtextbox which is containing the exact word written in textbox. for example: if i write "hello" in …

Software Development display
Member Avatar for ANKUR1806
0
165
Member Avatar for shena

Hi there experts, I would like to know that is there any way to filter data in vb6 (data grid, flex grid or etc) as we do in excel spreadsheet? If no, can anyone suggest how to filter records in data grid pls? I'm nw to this. Please help anyone. …

Software Development visual-basic
Member Avatar for V0lcan1c_A5h
0
1K
Member Avatar for pxalpine

I have two files, "ranked.txt" and "sorted.txt". Sorted.txt is a smaller subset from ranked.txt that is sorted in alpha order. However ranked.txt preserves the ranking of words I would like to keep. How do I check the rank of every word in sorted.txt when matched to the original ranked.txt? I …

Software Development python
Member Avatar for woooee
0
196
Member Avatar for priyamtheone

I created a UserControl that contains a custom ToolStrip Control. While using the UserControl throughout an application, the ToolStrip control cannot be accessed directly, as logically it's embedded in the UserControl. So, to access the items of the ToolStrip I defined a readonly property in the UserControl class that returns …

Software Development asp.net c# vb.net visual-studio
Member Avatar for priyamtheone
0
999
Member Avatar for angel.heaven.58367

My problem goes something like this. I have a variable of 5 arrays a[5] for storing the 5nodes of a network. The network is randomly formed by the random number generator. I have the time of travel for each paths of the network. All the nodes may not be connected …

Software Development c++
Member Avatar for np complete
0
197
Member Avatar for PM312

I have 3 tables in which one column name is common for all i.e PRNO .I want to write SQL query to select everything from Table1 where PRNO is 500, Table2 where PRNO is 500 , Table3 where PRNO is 500 . “Select * from Tab1,Tab2,Tab3 WHERE PRNO=500” Getting Error …

Software Development sql visual-basic
Member Avatar for PM312
0
165
Member Avatar for johnalternate

Hi friends , i have a assignmentin my course Information Retrival and text mining. I have to develop a search engine in java. i am reading data from 31103 files and have to do some processing in each... but i am stuck in a logical error, i.e in the loop …

Software Development java
Member Avatar for NormR1
0
104
Member Avatar for sk8ergirl

Hello ^^ I asked the user for location code and then I need to find if location code is in the array of LOCATIONS and display this result "Region: ! | Location: ! |City: ! " in a method call format .. where the ! marks are the actual values …

Software Development java
Member Avatar for NormR1
0
273
Member Avatar for io.caraballo

Hi, Im a noob programmer, Ive done some small programs. Im looking for a guide that may give me tips and guideline for things to do a plan before starting to write your code.

Software Development java
Member Avatar for JamesCherrill
0
239
Member Avatar for donial

I want a simple data structure project using C ........ Any one please give me idea.... give me a title....i am very confused....:confused:

Software Development c data-structure
Member Avatar for rubberman
0
227
Member Avatar for iEpic

I'ma noob and need some help from the pros. For school I gotta make a program to convert numbers into roman numerals 1-10 and return an error if its not 1-10. Got it all pretty much figured out but I want to know how to have it where if someone …

Software Development java java-swing
Member Avatar for JamesCherrill
0
218
Member Avatar for Aia

Self-teaching Java, I am following a video tutorial about simple windows. Encountered a warning error using the example provided in the tutorial. Here's the piece of code. [CODE=Java]import java.awt.Frame; import java.awt.Label; import java.awt.AWTEvent; import java.awt.event.WindowEvent; public class HowdyByeWindow extends Frame { public static void main( String[] args ) { new …

Software Development api java video windows-api
Member Avatar for flash901
0
941
Member Avatar for Geli19

Hello Everyone. I am having trouble creating new objects in a loop. I am using: DataType *Ptr = new DataType (); I use this in the beggining of the loop then end the loop with: delete Ptr; Each constructor and destructor gets called each time the loop is executed.... but …

Software Development c++
Member Avatar for Geli19
0
5K
Member Avatar for Bile

-->>Hope all is well... -->>I'm trying to print all records in my list view on my form I went through the tread http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/431714/print-from-mshflexgrid-in-vb-6.0 and tried a couple of eamples it was cool and nice but what comes difficult to me is that my form has List View and not the …

Software Development listview visual-basic
Member Avatar for AndreRet
0
2K
Member Avatar for Bile

-->>I hope all is well,I'm developing an application that stimulates the Computer monitor and so I have lots of buttons more likly as on my Monitor here. -->>I got stuck when I added a Slider on my Vitual Monitor,this is for adjusting Brightness on the Monitor whether high or low... …

Software Development visual-basic
Member Avatar for AndreRet
0
631
Member Avatar for sebass123

Hello I am having trouble with my project crashing for every case. We are told to read in a data text file and store into structs and create a linked list of data and allow a user to choose from 4 menu options. I am completely new to linked lists …

Software Development c linked-list
Member Avatar for sebass123
0
272
Member Avatar for chamnab

Dim aa, bb As New Collection For Each user As User In allUser Dim character As String = user.FirstName(0) If character = "b" Or character = "B" Then b.Add(user) End If If character = "a" Or character = "A" Then a.Add(user) End If Next this loop use for find first …

Software Development vb.net
Member Avatar for chamnab
0
190
Member Avatar for TimLloyd31

How will I arrange 5 numbers in ascending order and determine the highest? what codes will i use or how will i do it? (using dev c++)

Software Development c++
Member Avatar for np complete
0
2K
Member Avatar for wschamps42

Can somone please explain to me what does fork() != 0 mean? From what I understand I think it means if fork is not false? Or if fork is true then.... I dont understand how Fork() can be true or false, seeing that it just creates a copy of a …

Software Development c multithreading
Member Avatar for np complete
0
189
Member Avatar for bigredaltoid

package mypackage; import java.util.Scanner; public class twinPrimes { public static void main(String[] args){ int userNum = 0; int attemptCount = 0; while (userNum < 3){ System.out.println("Please enter an integer greather than three."); Scanner in = new Scanner(System.in); userNum = in.nextInt(); attemptCount++; if (attemptCount == 3){ System.exit(1); } } int count …

Software Development java
Member Avatar for bigredaltoid
0
160
Member Avatar for code_r

Hi I'm writing a shell script and I'm trying to get a starting number and an ending number from the user. So if the users starting number is 3 and the ending number is 4, my program should print out 4 5 6 7 as the consecutive numbers. My problem …

Software Development shell-scripting
Member Avatar for Watael
0
154
Member Avatar for trishtren

Hello, iv looked around google and have found it is possible to put an applet into a jframe. The problem i am having is that my applet is to be hosted online, what i want is to take the applet that is online and display it from a swing or …

Software Development java java-swing
Member Avatar for NormR1
0
229
Member Avatar for dan.nitschke

Hello, I am trying to make a variable (name) so it only accepts alphabet characters (eg. DaNiEl) not $@@4234. Below is an example of the code i'm trying to use. I have tried a few functions, to no avail. Can someone please post the answer (in code form). Much Appreciated. …

Software Development python
Member Avatar for vegaseat
0
5K
Member Avatar for de Source

Hi, i am having problem in updating my database although i can upadate my dataset private void btnSave_Click(object sender, EventArgs e) { DataRow dRow = ds1.Tables["ContainerID"].NewRow(); dRow[1] = textBox1.Text; dRow[2] = textBox2.Text; dRow[3] = textBox3.Text; ds1.Tables["ContainerID"].Rows.Add(dRow); MaxRows = MaxRows + 1; inc = MaxRows - 1; MessageBox.Show("Entry Added"); } but …

Software Development dataset
Member Avatar for Momerath
0
542
Member Avatar for Mr.BunyRabit

PDF's Full of Images only. Open one in note pad, delete a few lines and close it again -- Effectively Breaking your pdf file. You can still open it, but all your pages will be blank with maybe a scribble at the bottom somewhere. Now... How do you check if …

Software Development c# file-stream pdf
Member Avatar for hollystyles
0
4K
Member Avatar for Faiza akmal

Im new 2 c language..which compiler is the best f0r c language?gcc and turbo c

Software Development c c# c++
Member Avatar for nitin1
0
102
Member Avatar for sidvb1

Here I have the classes Logger and Driver. Driver takes the singleton class of Logger, and logs the same statement 10000 times. I want to use this logger, so that it runs in the background and only logs every so often. This will force the program to not use too …

Software Development c++ ios queue
Member Avatar for triumphost
0
1K
Member Avatar for daniel.krishnasamy

Please Help me with this Date Operation Program. I think that this works....yet! Thanks #include <iostream.h> #include <conio.h> int a[7]={1,3,5,7,8,10,12}; int b[7]={4,6,9,11}; class manipdate { int date; int month; int year; public: int d,m,y; void getdata() { cout<<"\n\n Date : "; cin>>date; cout<<"\n Month : "; cin>>month; cout<<"\n Year : …

Software Development c++ mathematics
Member Avatar for Ancient Dragon
0
552
Member Avatar for techxaidz

PROBLEM: > Using a text editor, create a file that contains a list of five 4-digit account numbers. Read in each account number, and alter it to add a dash and a check digit, which is calculated by taking the remainder when the original number is divided by 7. Write …

Software Development java
Member Avatar for stultuske
0
214
Member Avatar for frnds2vivek

Hi, A graph is getting plotted in a Picture Box with real-time field values. I want to print the graph in real-time, say in every 10 secs. Tried the following : Printer.PaintPicture Picture2.Image, 0, 0 Printer.EndDoc but this didn't worked..... help plzzz....

Software Development printer visual-basic
Member Avatar for AndreRet
0
192
Member Avatar for jayrbete

hi to all, can you help me in my program, i can't retrieve my image in the database to vb.net how can i view my image when i click in listview? plss help me THIS IS MY CODE HOPE YOU CAN HELP ME! Imports MySql.Data.MySqlClient Public Class Often_Motorcycle_Problems Public ConnString …

Software Development image mysql vb.net
Member Avatar for jayrbete
0
818
Member Avatar for theonebit

i have this code below if a >= 0 and a <= 100 then 'do something end if is it posible to write like this if a >= 0 < 100 then 'do something endif is there a similar way?

Software Development asp.net vb.net
Member Avatar for G_Waddell
0
4K
Member Avatar for Soup12

Program Does Numerical Integration For Data Sets Located in an Input File. The Code has to be All C language no C++ Paste Bin Link to The Full Code http://pastebin.com/NRVDqxdj Could Someone Help Me With This: Calculate the total area under the curve for this data set, starting with an …

Software Development c c# c++
Member Avatar for Soup12
0
271

The End.