199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for judithSampathwa

hi there, i have a code for the above mentioned property below,when i click a value from the datagridview combo box column the for loop runs 2 times y is that??? what do i have to do for the loop to run once. thanxxxxxxx [CODE] private void dgvSubContract_CurrentCellDirtyStateChanged(object sender, EventArgs …

Member Avatar for judithSampathwa
0
2K
Member Avatar for Gospp

I have a problem with the drawing and or the filling speed of my FlowLayoutPanel. [URL="http://camart.se/screenshot/jims001.JPG"]See screenshot[/URL]. Can I speedup the process my cashing my images somehow? Or is there a better alternative to the FlowLayoutPanel? [CODE] private void FillPanel() { flpServices.Controls.Clear(); prevStatus = 0; prevRows = 0; foreach (Jims.Services …

Member Avatar for stratemeyerjw
0
1K
Member Avatar for Excizted

Hello, I have a derived class, that I'm trying to delete. This causes a segmentation error, though. I'm fully aware of the virtual destructor thang, but I'm using it all the way around, and still this issue occurs. I'll post my headers only, please tell if more is required. DataStream.h …

Member Avatar for Excizted
0
3K
Member Avatar for vilas_tadoori

Hi All, I have written reversible link list and pasting the code as below in c++. It works fine, please let me know if there are anything more that is required to make this more robust. This is on a single link list. [CODE] [COLOR="Green"] #include "stdafx.h" #include <iostream> using …

Member Avatar for vilas_tadoori
0
155
Member Avatar for Babatuda

Hello I am having some problem, can any body give me a helping hand each time I compile I get this error massage, I dont know where I made the mistake help please I new to programming[code]This is my Main File include libraries #include <iostream> //Call C++ normal imput and …

Member Avatar for avarionist
0
453
Member Avatar for sdhawan

Hi , I need help with select staement.I am trying to to look for a word in column word .If i find that word then then show a message box that this word exist in databse.Can anyone help me with this.my code is something like this [code]private void dataGridView2_CellContentClick(object sender, …

Member Avatar for nick.crane
0
138
Member Avatar for joe_adelmo

Hi, I have to somehow modify a C-code by introducing a new array. We are in the chemical field: I have a small molecule (guest) inside the structure of a larger one (host). The existing array stores the square of the distance between a specific class of atoms: they are …

Member Avatar for Banfa
0
119
Member Avatar for r1409

hi all i have an assignment in which i have to use object-oriented programming to read from an input file(say: input.txt), use prim's algorithm and calculate the weight of a minimun spanning tree and then save the output to a file(output.txt). the problem with my code is that the program …

Member Avatar for daviddoria
0
639
Member Avatar for zachattack05

I'm getting to a point in my project where functionality can be based on the needs of individual users. As part of my application I would like to have the ability to add and remove functionality based on the user. I figure plug-ins might be the way to go for …

Member Avatar for zachattack05
0
109
Member Avatar for json101

Is there a better way to write this if statement? Option1: [CODE]if (isset($_GET['item']) || isset($_POST['item'])){ $path = 'uploads/file/'.$filename; }else{ $path = 'uploads/'.$filename; }[/CODE] Option2: [CODE]if ('item' != $_GET['news'] || 'item' != $_GET['events'] || 'item' != $_GET['download']){ $path = 'uploads/file/'.$filename; }else{ $path = 'uploads/'.$filename; }[/CODE]

Member Avatar for json101
0
121
Member Avatar for karanits

Hello everyone. I have a question. In a servlet, can we write something on page using [CODE] PrintWriter out=response.getWriter();[/CODE] ,then clearing the page and then also forward the request using [CODE]RequestDispatcher rd = request.getRequestDispatcher("/some jsp page"); rd.forward(request, response);[/CODE] I was trying to do this but for some reason forwarding part …

Member Avatar for karanits
0
110
Member Avatar for Jennifer84

Hello I am trying to compile my project in VC++ Express Edition and get the error below. The project did compile fine before I reinstalled XP windows. But now when I have installed everything again, I receive this error. I dont understand what this can mean ? When clicking the …

Member Avatar for Jennifer84
0
285
Member Avatar for reza.adinata

Hi all, I am trying to do an action by clicking a button. So if I press the button 1, it will do action1 (showing an image), and if I press it again, it should go do action 2 (which is reverting action one, so disable the image), press again …

Member Avatar for ddanbe
0
106
Member Avatar for rootchord

Been working on this for hours now. but most of it has been trying to fix these two errors. I've been googling my heart out and keep getting cryptic answers about the [B]const[/B]. Really need help. it's supposed to take in names of students and their scores, sort them, then …

Member Avatar for rootchord
0
640
Member Avatar for sandeepani

hi. I am working on a project which keeps its data access, business logic and UI in separate projects of a solution. Is there a way to access a strongly typed dataset in one project of a solution from another project of the same solution? I need these to fill …

Member Avatar for nick.crane
0
93
Member Avatar for leesho

i have this code which input 3 numbers into ascending order. i know make it 10 i just change the array size but then it is only ascending the numbers that were inputing that are under 10. how can i change it so it's any number. [code]#include <iostream> #include <conio.h> …

Member Avatar for mrnutty
0
272
Member Avatar for Robertbra

Hallo ... I am very new to Python programming & I have this Question ... I am asked to write a program to calculate the No. of words & the length of each (letters) in this sentence : (An Oligonucleotide is a short segment of RNA or DNA, typically with …

Member Avatar for TrustyTony
0
112
Member Avatar for bornwith

I am trying to teach myself C#. I recently completed this exercise. The code works the the way its suppose to. My question is how could I make this more efficient or is there bad programing practices? Thanks [CODE] using System; class testcontact { public static void Main() { InputWrapper …

Member Avatar for Tigereaglee
0
98
Member Avatar for tonymuilenburg

Hi All, I'm trying to figure out how to load images from a resource file into a picture box using a visual studio windows forms application in c++. I figured out two different ways to do this in c# by going through the forums, but I cannot figure it out …

Member Avatar for tonymuilenburg
0
1K
Member Avatar for manutd4life

Hello everyone, i need to enter a value into a savings account paying 7% interest and €1,000 is withdrawn from the account at the end of each year. How many years are required for the savings account to be depleted? here's wat i did, but the loop not working: [code=c]#include …

Member Avatar for Tellalca
0
92
Member Avatar for ajithraj

haii friends.... [COLOR="Red"]i want to select a particular string from textarea...i need it in javascript.... am using the tag <layout:textarea> i did not need the whole ,but only a part...plzz help me...[/COLOR]

Member Avatar for fxm
0
236
Member Avatar for pratz

I have just started learning python, I am a Java programmer. I think python is more simple than java. What I wanted to ask is, where is python used? And if python does not follow the complete OOP concepts, then can it be used to design large / major applications? …

Member Avatar for snippsat
0
249
Member Avatar for tundra010

Hello everyone I know that one cannot pass a parameter to destructor functions in classes. Is there a reason why this functionality was left out of c++, and is there a way to get around it? Thanks!

Member Avatar for tundra010
0
108
Member Avatar for tzushky

hi everyone, I have a tiny problem with a simple implementation: - i have a main window with a table in my central widget - i want to add stuff in the table gradually, and I allow only the 1st cell (index 0) of each row to be selectable. - …

Member Avatar for woooee
0
809
Member Avatar for Tech B

I want to improve my programming skill and decided to build python wrappers over other library's. I've done this with the face recognition and think it would be real world code for me to work on. I want to code as a career and I want to code stuff programmers …

Member Avatar for woooee
0
130
Member Avatar for sdhawan

Hi Guys, I want your help with , how to navigate between forms.I have one form that has a drop down list.first list item is to add new list item.So when user select add new item it pops up a new form to eneter item and save it.When i save …

Member Avatar for sdhawan
0
65
Member Avatar for erka4444

I am trying to write a function which converts a number to a string. But when I return from the function, the reviving string - according to debug mode - still is empty, so the program outputs nothing. What am I doing wrong? [CODE=c] #include <iostream> #include <string> using namespace …

Member Avatar for amrith92
0
99
Member Avatar for emilio

hi as i learned, asp .net login control has a built in required field validators but how can i use a regular expression validators to validate the UserName and Passwords textboxes ? is there a way ?

Member Avatar for Vally
0
148
Member Avatar for tomtetlaw

Say I have an array like this: double *a; and I use new/delete[] to do memory allocation on it. How would I be able to delete certain elements from it? Like this: [code=c++] void RemoveElement(double *a, const double &element) { } [/code]

Member Avatar for tomtetlaw
0
97
Member Avatar for jemz

hello can you please help me in my registration...my problem is that i don't know how to check if the user input numbers, character, and letters....i want that if the user inputed this in password,example password=jem125@# this will display in my lblvpass="Strong password",if the user input only jem125 it will …

Member Avatar for jemz
0
174
Member Avatar for zyky

Hello, I'm writing a simple program implementing a list. You can add, remove, search, print and find the minimum element. My problem is that the program crashes if I don't add the 'system("PAUSE");' line before the last 'printf("Minimo = %d.\n", minimo(l));' call in the main method. Here is the code: …

Member Avatar for zyky
0
196
Member Avatar for gkaykck

[CODE] char in[100], *temp[10],var[10][10]; int i, n = 0,fulval=0; double val[10]; var[10][]="ANS"; [/CODE] it should be simple but i cannot figure it out. I want to assign "ANS" to var[0][0,1,2] but it did not work?

Member Avatar for gkaykck
0
94
Member Avatar for gabrielmusa

why i cant submit a form in asp when an object is disabled? I have a form in an asp application that is validated by javascript and one of the conditions is disabling a textbox and when i want to submit the form its not submitted when the textbox is …

Member Avatar for dnanetwork
0
186
Member Avatar for dnanetwork

i can handle a store procedure which returns one output parameter using ExecuteScalar() but wot if my store procedure returns more than one parameter then how can i handle it. any advice Adapost ?

Member Avatar for dnanetwork
0
91
Member Avatar for Pari13

Hello All, what is code for exceute one aspx page onclick hyperlink without dispaly that page? Basically, I have one page p2.aspx.,which getting querystring parameter from page p1.aspx. When I cliced on hyper link of p1.aspx page .it redirect to the p2.aspx. but i want only that the code on …

Member Avatar for dnanetwork
0
398
Member Avatar for Curt1337

Hi there everybody, I am currently studying for my university exams and need 2 make a function for the below scenario. The function must display the information inside the 2D array as you can see in my code I have tried but to no prevail. Any help will be GREATLY …

Member Avatar for Curt1337
0
321
Member Avatar for ejup_555

Write the assembler instructions that will read the text document located starting from memory location 020AH. The last line of text document is specified by escape character ‘\’. While reading print out the text that starts from character 11 to character 20. Comment your assembler instructions. this is the assignment. …

Member Avatar for wildgoose
0
80
Member Avatar for RaulGonzales

How i can Rewrite URL JSP in Apache tomcat same MOD Rewrite in PHP [U][B]EX.[/B][/U] [CODE]test.jsp?id=1 as test/1[/CODE] Thank You.

Member Avatar for RaulGonzales
0
113
Member Avatar for basma.lm

hi, how to restrict the text box input to allow user to write only Arabic letters, without english letters or numbers or ponctuation symbols. i searched on the net and i tried this code but it does't do what i want [CODE] private void nomTextBox_KeyPress(object sender, KeyPressEventArgs e) { if …

Member Avatar for basma.lm
0
167
Member Avatar for rag_pratap

[code=html]<table-group> <html> <head><title></title></head> <body> <table width="885"> <tr> <td width="20%"><p></p></td> <td width="20%"><p></p></td> <td width="60%"><p></p></td> </tr> <tr> <th align="left" valign="bottom"><p><b>Revision Date</b></p></th> <th align="left" valign="bottom"><p><b>Sections Revised</b></p></th> <th align="left" valign="bottom"><p><b>Description</b></p></th> </tr> <tr> <td align="left" valign="top"><p>7/1/02</p></td> <td align="left" valign="top"><p>All</p></td> <td align="left" valign="top"><p>Complete manual revision to reflect changes related to the MMIS and HIPAA compliance.</p></td> </tr> …

Member Avatar for iceandrews
0
633
Member Avatar for sdhawan

Hi Guys, I want to know how can you add image to a part of word .I ll explain it further...suppose i display some text on a text box , now what i want to do is , suppose i have a word 'horse' in my text and i want …

Member Avatar for sdhawan
0
76
Member Avatar for bbman

Hey, I want to create an image from a file, and then have the file deleted (or moved) after. How could I achieve this? I tried using using(), streams, Bitmaps etc. I'm completely stumped. Any help would be great. Thanks Edit, the problem is that I cannot delete/move the file, …

Member Avatar for bbman
0
151
Member Avatar for samsons17

Hi.. I'm not sure whats the array_merge doing here in this code? I've read the mysql manual,but i just not sure what it is really means,so hope somebody could clear it out for me. By the way this is the code : [CODE] if (isset($_POST['submit'])) { // Form has been …

Member Avatar for samsons17
0
361
Member Avatar for Elthalion

Hi, i'm new to Python and i'm currently following the "How to Think like a Computer Scientist" tutorials. I'm at Chapter 4: Conditionals and doing the last exercise where i need to create six colored houses on a black background. I've successfully created the house at the bottom left, but …

Member Avatar for Elthalion
0
189
Member Avatar for lsmurfl

Alright i need help computing random dates and i have to use lists. this is what the program should do program must print out the following output: 1. The complete list of birthdays that you generated. 2. The birthday that was generated twice (printed separately from the list). 3. The …

Member Avatar for vegaseat
0
108
Member Avatar for MrBlack

I m new to programming .Can anybody tell me where do we use Nested Class in piratical(i dont need the code )? and Why do we use it with out using regular class Plz explain me

Member Avatar for MrBlack
0
141
Member Avatar for judithSampathwa

hi there, i have a mask textbox in C# which saves $9999999999.99 as the mask, i have a database field should take the value and save it. the database feield is in money .but when i am writing the C# method to insert it into the data i convert the …

Member Avatar for judithSampathwa
0
430
Member Avatar for Monster Killer

What i want may seem simple but i have been at it for hours trying to get it to work and searching the internet for answers. What i have been trying, and failing at doing, is taking X minuets from a time selected from a database (which is in the …

Member Avatar for Monster Killer
0
104
Member Avatar for davidjennings

Hi, I have a dropdown box extracted from MySQL database and I have two records for a product as it was produced in different years. i.e. model number 75 repeated, I am trying to extract only one of them in the dropdown box and have used select distinct but it …

Member Avatar for davidjennings
0
119
Member Avatar for adity

I have a JTable as a leaf node of a Jtree. But though I can select each row in the table I cannot select each cell element. Please HELP! Adity

Member Avatar for javaAddict
0
88

The End.