199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for krishnisilva

hi, i have a two datetime picker in a C# form, when i select a earlier date (before today date) there is a caparison i have addded to the validateing event in the date timepicker.below is the code. Question 1: for some reason say that i add 10th may, the …

Member Avatar for kheddy
0
2K
Member Avatar for Kapilxcb

I have to add 2 polynomial equations. Each are stored in linked lists. eq_1 and eq_2 linklists are added and the total is stored in eq_1 linklist. But the problem is when im trying to add both equations, the 2nd for loop(eq_2) is looping once only. I mean when eq_1 …

Member Avatar for jonsca
0
147
Member Avatar for C.Cen

Hey guys, I need to make a program that lists out an average, highest and lowest stock price over a one month period. I'm focusing on the average first but it's already giving me problems. [url]http://omg.wthax.org/error_4.png[/url] Here's what I have so far. [CODE] # include <iostream> using namespace std; int …

Member Avatar for DHEERESSAA
0
244
Member Avatar for HerecyOfTheMind

Hi guys, keep getting an error: Cannot find the deceleration of element test when writing the xml. I have declared the element test in the schema but it appears to ignore it. The schema is as follows: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Test"/> <xs:simpleType name="Stringtype"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType …

Member Avatar for mrame
0
137
Member Avatar for Abakiz

I want a button that when the user clicks on it validates in both server side and client side regular expressions. for example [CODE] <asp:Button ID="btnLogin" runat="server" onclick="C_Buttonk" onclick= "js_button" Text="Login" /> [/CODE] Then button would call both functions from JS and C# hence serverside and client side, but the …

Member Avatar for MamathaS
0
83
Member Avatar for sreekiranws

Hello I need to do a line by line compare between two Msword 07 documents. I've tried the conventional way of using getline and compare but it doesnt work. While step by step execution, the program is unable to recognise the format of the sentences in the word document. I …

Member Avatar for jonsca
0
213
Member Avatar for snehalj

Write a method that accepts an array of digits (base 10) and creates and returns a new array representing the same fraction but now base 16

Member Avatar for mKorbel
0
98
Member Avatar for bunnyali2011

Well I have a combobox with 3 items namely: Product Size and Cost. I have also a maskedtextbox. If I select "Product" and "Size" on the combobox, I want to disable the maskedtextbox from filling, how must I do it?

Member Avatar for AndreRet
0
183
Member Avatar for alexia_net

Hi. I would like to know if it would be possible, using PHP to ping a port of a switch, knowing the ip address of that switch. How can this be achieved? Thank you.

Member Avatar for alexia_net
0
84
Member Avatar for snehalj

How to create a java class to represent linked lists of integers. Provide it with methods that can be used to reverse a list and to append two lists.

Member Avatar for jwenting
0
317
Member Avatar for otomatis

Hi all, I want to display excel data range from '2/1/2011 10:00:00 AM' to '2/4/2011 10:00:00 AM' using ADODB and VB6. The data result then display on the listbox but actually i get data that i don't want (date 10,22 are include). Does somebody can help me..? Here is code …

Member Avatar for AndreRet
0
101
Member Avatar for anita_86

Hi!! I am trying to find out solution for this since long. I tried js but as I am not good with it, I just want to do this through PHP. I am adding dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: …

Member Avatar for anita_86
0
208
Member Avatar for anita_86

Hi all! I have a form as below: [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { case "text": newcell.childNodes[0].value = …

Member Avatar for anita_86
0
649
Member Avatar for k1robert

I haven't done any sort of development for a while, but what i'm looking for is to see a simple example of an ntier application using linq. Showing BLL, DAL with roles and membership. I'm also keen on getting better with my OOP and would like to find a site …

Member Avatar for k1robert
0
213
Member Avatar for aplee

hi Everyone, My program is doing good when I suddenly bumped into this problem. I dont know how to do the next functionality that I need to accomplish. I am done with inserting values, showing the gridview etc and it works great. Now my problem is the update command. I …

0
104
Member Avatar for veledrom

Hi guys, Is there anyone know any library that sets an image as header and footer? I used [B]TCPDF [/B]but it doesn't for footer image. Also, [B]html2fpdf [/B]doesn't support image as header or footer at all. Any other that may work for me? Thanks in advance

Member Avatar for rpv_sen
0
118
Member Avatar for liphoso

I would like to write function that takes the input from the user and stores it in an array. my problem is that i do not know how long the input is going to be. i read up on dynamic arrays and pointers but got very confused. e.g. if the …

Member Avatar for liphoso
0
148
Member Avatar for Mitchell VB 6

Hello, I have a login screen in my VB 6 program, it is for teachers, I have a user-name text box and password text box. There is also a login button. I want there to be one password for all teachers but I want each teacher to have their own …

Member Avatar for AndreRet
0
109
Member Avatar for vinothmca
Member Avatar for opawix

heres my code: [CODE]#include<iostream> using namespace std; int main() { int x; for(x=3; x<=47; x++) { cout<<x; } system("pause"); return 0; } [/CODE] i just want a little help with this problem: this code cout counts from 3 to 47 but i want to cout 3 then adding 2 to …

Member Avatar for opawix
0
92
Member Avatar for ajinkya112

Hey guys, I have got a problem. I have an application that shows data in datagridview. Now, I want to add 'Print' option in it. I want to it print only those that are selected. I have tried a code but it didn't help at all. Please suggest me something …

Member Avatar for ajinkya112
0
2K
Member Avatar for alexia_net

Hi. I am trying to create a program which would tell me the connection between some equipments in a network. For a example a connection between Switch1 and Switch10. I know that the path from Switch1 to Switch10 goes through some patches and other switches and these switches and patches …

Member Avatar for alexia_net
0
116
Member Avatar for swilliamrobert

Hi, I have a problem duplicate entry in same time. I am getting some parameters in other gateway (some websites) and stored in Database. I trim all parameters. Before i store in db, i check db whether that record already exist or not. Other Gateway website which they send three …

Member Avatar for R0bb0b
0
879
Member Avatar for churva_churva

[CODE] import java.util.*; public class Try{ private int [] arr; private final int MAX=10; Scanner scan=new Scanner(System.in); public Try(){ arr =new int[MAX]; } public void accept(){ for(int i=0;i<arr.length;i++) arr[i]=scan.nextInt(); } public int smallest(){ int smallest=0; for (int i=0;i<arr.length;i++) smallest=Math.min(smallest,arr[i]); return smallest; } public int largest(){ int largest=0; for(int i=0;i<arr.length;i++) largest=Math.max(largest,arr[i]); …

Member Avatar for javaAddict
0
138
Member Avatar for sam.udo

i was given a project to develop a software that will perform or aid the function of a community pharmacist and i am using a desktop standalone java application,which will be well garnished with GUI component, and will be a distributed system(RMI),and also to use Artificial intelligence technique to implement …

Member Avatar for sam.udo
0
115
Member Avatar for salty11

this code is meant to input words from file, and output to file the amount of letters in them and how many words there are [CODE]#include<iostream> #include<iomanip> #include<fstream> #include<cmath> #include<conio.h> #define in_file "data.txt"//input file name #define out_file "result.txt"//output file name using namespace std; void inputwords(int&, int&); void outputwords(int, int); ifstream …

Member Avatar for WaltP
0
639
Member Avatar for 9w43

Hello, I have an error on my program, after hours of trial and error I couldn't fix it. I am trying to build a simple server which needs to have threads so more than 1 connection can take place. I don't know if I am doing the threads right, I …

Member Avatar for masijade
0
178
Member Avatar for poonamjadav

hi i am a student and i want to develop a 3 tier web application can any one explain me the step by step process to develop a 3 tier application inn asp.net with C#. thanks

Member Avatar for poonamjadav
0
453
Member Avatar for iwannalearn

i am a java begineer and my confusion is: in c++ we have seen that we can initiliaze the array just by writing this- int a[5]; but in java we need new operator for array initilzation as- int a[]=new int[5]; plz explain me in detail the reason for this???

Member Avatar for lisaroy1
0
156
Member Avatar for lochnessmonster

i recently asked a on a forum how to handle the problem if a user pushes onto a full stack or pops from an empty stack on how to handle this problem..... my question is could anyone give a accurate example code of the first example he gave me below? …

Member Avatar for WaltP
0
93
Member Avatar for hghesteemed

Hi, I'm designing a schema to store church records and have hit a snag trying to figure out the kind of relationship between a church member and their spouse if the spouse is also a church member. Here's my scenario: A church member can have only one spouse, the spouse …

Member Avatar for hghesteemed
0
127
Member Avatar for maybnxtseasn

when you make a .cpp file with just functions and call it your library, is it still proper to provide a .h file with it that has the functions prototypes in it?

Member Avatar for rubberman
0
58
Member Avatar for subith86

Hi friends, I was understanding the concept of friend functions. I read in my book that there are two possible ways of "making friendship":cool: 1. Make a class a friend. 2. Make the method in a class a friend. I am able to write a code for the first point. …

Member Avatar for jonsca
0
2K
Member Avatar for kitjo

I have two radio btuttons which link me to another form but they have failed to likk me to the forms i directhem to link me to. i dont know if ther is any problem with my code this is the code. some one to help me [CODE] Dim one …

Member Avatar for kitjo
0
122
Member Avatar for amari ♥

i need to place the correct functions .. the goal is to be able to add, delete, display dota heroes [CODE]#include<stdio.h> #include<conio.h> #include<string.h> #define N 3 typedef struct{ /*Place fields here.*/ }name; typedef struct{ /*Place fields here.*/ }hero; typedef struct{ /*Place fields here.*/ }hero_info; typedef struct{ /*Place fields here.*/ }hero_rec; …

Member Avatar for rubberman
0
128
Member Avatar for scarlettmoon

Hello, I would really appreciate if someone could tell me what is wrong with this function. When I execute the program it returns the memory address and not the calculated average. I have not included the entire program, there is a sort function and scores are entered by the user …

Member Avatar for mike_2000_17
0
381
Member Avatar for Sturdy

Hi again.. i'm looking for how to running notepad from vb6.. please help me. any help will be appreciated.

Member Avatar for Sturdy
0
723
Member Avatar for subith86

Hi friends, One of my class member function is supposed to return an array of integers. Here's the function. [CODE]int* MyClass::getallVars() { int* a = new int; int b[] = { GetparentVar1(), GetparentVar2(), GetchildVar1(), GetchildVar2(), }; a=b; return a; }[/CODE] Is there anyway I can do this without the use …

Member Avatar for subith86
0
177
Member Avatar for swathys

[QUOTE=swathys]Hi, I have a problem to solve this, when the 1st language button clicked it should carry the language that already specified in xml but it seems my code doesn't work in that way. Can you help me please ! Form1 [CODE] Private Sub FlashObj_FSCommand(ByVal sender As Object, ByVal e …

Member Avatar for swathys
0
145
Member Avatar for newwbee

my assignment is to figure out the output but im bot sure i got it right here is the Q A variable x globally defined in your program is assigned the integer value 3. A variable x defined in a function named f_name is assigned the integer value 5. Answer …

Member Avatar for jonsca
0
195
Member Avatar for swathys

Hi, I have create an application in vb.net and ms sql 2005 as database storage. How do i create an installer that can be included in a CD. What i mean is if i want to install it in the virgin PC the Installer CD would be able to run …

Member Avatar for swathys
0
142
Member Avatar for sciprog1

Hello Members, I have a program with a lot of MouseListeners. The issue I am having is the program is ending even before I click. I tried using sleep and flags to pause the program without much success. Just wondering if there is way to get the program to pause, …

Member Avatar for sciprog1
0
157
Member Avatar for PdotWang

With ListView and ListBox, you can have multiple selections when you set the property to do so. There are different ways to delete all selected items from a ListView and ListBox, right or wrong. I have some lessons learned on the topic. (1)Use For Each loop in ListView. (It works) …

Member Avatar for WolfPack
0
3K
Member Avatar for joban.ali

Hi, All I would like my user to click on My Account link, with the help of some PHP magic i would like to determine which access level a user has and direct them accordingly to the right my account page. In total I have 3 types of users outlined …

Member Avatar for kekkaishi
0
208
Member Avatar for efronefron

There is a problem I am having inside the AddToEnd function. At this line: [QUOTE]*ptrL->ptrNext = ptrInput;[/QUOTE] it gives this error: [QUOTE]lab8.c: In function ‘AddToEnd’: lab8.c:105: error: request for member ‘ptrNext’ in something not a structure or union [/QUOTE] Can anybody tell me why? P.S. I realized that I do …

Member Avatar for efronefron
0
189
Member Avatar for BTW8892

I'm trying to create a program where it reads in the high and low temperatures for each month of the year using a 2D array. However, I cannot seem to get it working correctly. It outputs a bunch of strange numbers. [code] #include <iostream> #include <iomanip> using namespace std; const …

Member Avatar for vmanes
0
114
Member Avatar for sirko

I need to make a program run just one copy of it using Mutex. But I coudn't find anything on using Mutex in c++.

Member Avatar for rubberman
0
192
Member Avatar for shawtyred74

I am attempting to write a script that when a user selects a radio button it will redirect to the approriate script. but it keeps going to only one page and theat is my p5modify ....what am I doing wrong [CODE] <?php session_start(); if (session_id() != $_SESSION["userid"]) { $_SESSION['unerror'] = …

Member Avatar for tomato.pgn
0
113
Member Avatar for Whilliam

I'm a newb at web programming. Ugh, this is making me crazy! I've been programming it all day. I need expert's help. Please help me guys!! I've been trying to make a Sign Up filter and insert to database code. The code first checks if the username inputted in the …

Member Avatar for TechySafi
0
187
Member Avatar for rookanga

I need to make an application that can calculate the items the user chooses from There is 7 different items the user can choose from Small Coffee $4.95 Medium Coffee $6.87 Large Coffee $8.52 Bagel $2.99 Cream $0.71 Sugar $0.50 Lid $0.99 Total the coffee order (subtotal + tax at …

Member Avatar for rookanga
0
160

The End.