132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Griff0527

I am getting an error during the build stating: "Illegal call of non-static member function" and I cannot figure out 1) what does this mean, or 2) how to resolve it. For detailed clarification, I will type out what the assignment was (I say was because the assignment was due …

Software Development c++ mathematics oop
Member Avatar for raptr_dflo
0
377
Member Avatar for pendo826

[CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. int size; int grow_size; int num_elements; Datatype* m_array; public: //Constructor. Array( int p_size) { m_array = new Datatype[p_size]; size = p_size; } //Destructor. ~Array() { if( …

Software Development c++
Member Avatar for raptr_dflo
0
188
Member Avatar for welshly_2010

how would i go about putting each number button 0-9 into one piece of code and then call it in the click_event

Software Development c#
Member Avatar for ddanbe
0
159
Member Avatar for Tissing

Today, I am going to take a break off from other software and take a review on one of the .NET component; I would call it [URL="http://www.e-iceblue.com/Introduce/excel-for-net-introduce.html"]Spire.xls[/URL]. The product title says it all, the main purpose of having this software is to enable developers/programmers to fast generate, read, write and …

Software Development asp.net data-protection pdf
0
182
Member Avatar for pushpat

Hi Folks :), I need your help:?:, I am getting segmentation fault for "delete bptr_1" ( please refer program written below and line number 46 ). If i remove statements "delete dptr;" (@line 32) inside try{}, then the program executes otherwise it will give error. Could you please tell me …

Software Development c++
Member Avatar for pushpat
0
145
Member Avatar for bernardz26

Good day vb.net programmers!. I have here a combobox1 named choosename in form1. then i have a 10 textboxes named answers in form2. I want that if i choose from the combobox1 the textboxes answers of form2 to will link to it. and it save into my sql database. can …

Software Development sql vb.net
Member Avatar for M.Waqas Aslam
0
130
Member Avatar for dwiniers

Hello there VB6 masters, I need you help guy for this compile error: End with without with. I got the syntax in line no.33 Thanks in advance! [CODE]Private Sub cmdSearch_Click() Dim sql As String With rsLibrary If Trim(Combo1.Text) <> "" Then If Combo1.Text = "All" Then txtTitle = "" txtDirector …

Software Development visual-basic
Member Avatar for dwiniers
0
724
Member Avatar for Sunciti

How do i convert the list ['T','h','i','s',' ', 'i','s'] to ['This','is']

Software Development python
Member Avatar for Gribouillis
0
92
Member Avatar for poojavb

Hello friends.... I have to check the folder path in such a way that c:\Pooja\[COLOR="red"]dynamic_folder[/COLOR]\Output.txt From Pooja folder how will I be able to move to the text file since the dynamic folder can be anything and I want to move inside the dynamic folder... is there any way... i …

Software Development vb.net
Member Avatar for poojavb
0
164
Member Avatar for .:n'tQ-boy:.

Hi mate, I am doing a mini program in java that let us look up word as a dictionary. I tended to use database to store words and their meanings, but my teacher suggested me using file (or xml). I chose using file (write a vector to file). Can u …

Software Development file-system java
Member Avatar for joehms22
0
196
Member Avatar for IgniteTCS

I am working on a project where I need to open a .pps file using Visual Basic 6 (which I have done already). I need to change the slide transition according to input obtained from a serial port that will keep changing during the execution of the VB project. Please …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
2K
Member Avatar for Karkalash

Hello: How can I improve on my function template to also do insertion sort on strings? I'm afraid I'm very new to templates, any hints appreciated. Template looks like so: [CODE]template <class T> void insSort(T arr[], int size) { T key = arr[0]; int j = 0; for(int i = …

Software Development c++
Member Avatar for Karkalash
0
1K
Member Avatar for shean1488

Hi everybody, I just start lerning C I'v heard a lot about pointers but not really sure were to put them. (or may be I'm wrong may be I just made some mistake) pls take a quic look. [CODE]/* This program will delete all simbols * from s1 that s2 …

Software Development c
Member Avatar for zeroliken
0
98
Member Avatar for str91

Hi hwo to write total of 10 first setences (C languege) -1,+2/3,-3/5,+4/7,-5/9,...

Software Development c
Member Avatar for zeroliken
0
139
Member Avatar for Valiantangel

Can anyone give me an example iniitialing a non zero value using arrays If u cant give an example pls dont respond.Thanks:)

Software Development java
Member Avatar for NormR1
0
84
Member Avatar for SoftwareGuy

Hello, I have two projects in this solution: ProjectA and ProjectB. ProjectA is the main start-up project, and has a reference to ProjectB. ProjectA has a file called MainForm.cs, which contains a textbox and the main UI. ProjectB has a class inside Shapes.cs, containing a particular structure we're using. Shapes.cs …

Software Development
Member Avatar for kplcjl
0
241
Member Avatar for otengkwaku

hi guys i need some help with WinAPI i will like to learn. what it is about and it relation to c# \

Software Development
Member Avatar for otengkwaku
0
133
Member Avatar for pattilupwned

Hello, I am just starting out in a basic C++ class and am having some trouble with this problem for class. Any help would be seriously appreciated. In the program, I have to use an input file that includes the name of a college, where the college is located, the …

Software Development c++ file-system
Member Avatar for m4ster_r0shi
0
223
Member Avatar for jingham

i am using a java program and i need to store two sets of data (radius and thickness) there are elven of these i need to store. my question is firstly how to store these into an array without having to do user input each time. then say i need …

Software Development java
Member Avatar for NormR1
0
251
Member Avatar for adarsh_wolf

Hi all, i am using vb 6.0 and oracle sql*plus ...........i need the code for ....when the car name is selected in the combo box it's corresponding purchase cost should be displayed in the text box..........and i have connected this to the database through ADODC connection pls help me ASAP …

Software Development display oracle visual-basic
Member Avatar for BitBlt
0
115
Member Avatar for HWK1982

hi everybody my problem is when i set timer for ftp to send me a file , the keylogger doesn't log or save any text in log file , i face this problem just when i set timer for ftp otherwise it work fine i mean without timer i set …

Software Development api c++ windows-api
Member Avatar for triumphost
0
669
Member Avatar for gogs85

How to make setup wizard for my application which needs to have adobe reader. How to put the adobe exe to the same setup, then install my application start install and adobe.exe?

Software Development adobe
Member Avatar for gogs85
0
102
Member Avatar for comSysStudent

I'm trying to get my JPanel (JFrame?) to resize itself to fit randomly drawn shapes. I have a shape superclass and right now I'm working with my line subclass. Everything is working fine except I can't figure out how to make the shapes fit the size of the JPanel. Should …

Software Development java java-swing
Member Avatar for comSysStudent
0
7K
Member Avatar for Johnathon332

How does one simply make a mutator or setter for an array of strings? I have made a inspector or accessor but cant seem to figure out how to make a mutator. much appreciated.

Software Development c++
Member Avatar for mike_2000_17
0
684
Member Avatar for Raj1987

hi I develop MDI App in which we want to child frame to child frame and parent to child frame communication. If any one knew it plz help me.

Software Development java
Member Avatar for Robart Gilbert
0
80
Member Avatar for matthew.m

it involves using a static array to build and hold the coefficients values and evaluate and analyze them as well as to export the results to an external file such as a text file here is what i have so far any help would be appreciated. [CODE] import java.util.*; import …

Software Development java
Member Avatar for NormR1
0
569
Member Avatar for triumphost

Is there anyway I can specialize JUST the Contains function of the class below? I tried for hours and cannot figure it out as I'm not too good at specialization but I learned templates recently. I want to do something like: [CODE] bool Contains(string ToFind) { //If typeof(T) == typeof(string) …

Software Development c++
Member Avatar for mike_2000_17
0
617
Member Avatar for surajrai

Hi, I am trying to put a dll to GAC. The assembly is signed. 1.I tried draging and droping (nothing happens) 2. I tried command gacutil /i abc.dll, from visual studio command prompt. It says Assembly successfully added to the cache but when I open windows\Assembly folder, I cant see …

Software Development asp.net assembly caching
Member Avatar for Momerath
0
274
Member Avatar for while(!success)

Hey guys, learning about multi-dimensional arrays and am tracing a code that my teacher gave us, but I'm failing to see or conceptualize it. for instance: Why does the following code output 3? [CODE] int a[2][4][2] = {16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1}; cout << a[1][2][1] << endl; //output is 3 [/CODE] How are the …

Software Development c++
Member Avatar for while(!success)
0
300
Member Avatar for spixy

Waaah, i got a project, but I can't get it write, i'm not bad at programming but,it's just happen my professor is really busy. teaching is just his part-time job. I can remember we stop the discussion somewhere introducing objects.. but haven't really discussed about things lets go back to …

Software Development business-entrepreneurship java
Member Avatar for spixy
0
4K
Member Avatar for daldrome

Hey guys, I'm trying to get my code to compile. I have 3 files: a header file, a cpp file for my main function and another cpp file for my other functions. When I try to compile my cpp function file, I get the error Undefined reference to 'WinMain@16 and …

Software Development c++
Member Avatar for kevenm
0
1K
Member Avatar for erogol

I try to match 01010 with /010/ but there is one return ([B]010[/B]10) for this match. There are actually two match (010-is common-10) in that string with regex. I used /010/g but againit returns just one match. Is it possible to match this regex twice with such string?

Software Development perl regex
Member Avatar for d5e5
0
172
Member Avatar for mido22

i have this problem : Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information. ... the button used to delete record in my project is button6 at the end of the code my code : [CODE]Public Class Form1 Dim …

Software Development dataset open-source vb.net
Member Avatar for Oxiegen
0
208
Member Avatar for Swiftle

Hello I built a personal 2D array for my current project. I also store these arrays (called Matrix) in a std::vector. The matrices are 24*181 and currently I sue between 30 and 50 of them. I don't think project details are relevant however I'm getting 3 errors which I have …

Software Development c++
Member Avatar for VernonDozier
0
210
Member Avatar for Thermalnuke

Hey guys I got a problem, my program is suppose to take 10 numbers or grade scores and output the max, min and avg. score. My program writes out the max and the avg, although the avg dosent come out correctly because i am not getting a min for a …

Software Development java java-swing
Member Avatar for Thermalnuke
0
141
Member Avatar for 4evrmrepylrning

Hi I have a file with duplicate records they look something like this: [ICODE]<record> <dateadd>012012</dateadd> <nid>R04607295</nid> <reflink></reflink> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>631</num> <author>Anon</author> <title>ON THE WED</title> </record> <record> <dateadd>012012</dateadd> <idref>R04607297</idref> <reflink></reflink> <type>Article</type> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>651</num> <author>Bent, E</author> <title>ENTRANCES AND EXITS</title> </record> <record> <dateadd>012012</dateadd> <nid>R04607295</nid> <reflink></reflink> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>631</num> <author>Anon</author> <title>ON THE WED</title> </record> <record> <dateadd>012012</dateadd> …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
169
Member Avatar for M.Waqas Aslam

hello! i have shifted my application from mssql server 2000 to mssql server 2005 , now the prob is the command object is not returning the recordset if command text is stored procedure , here is my code please check it and guide me through errors . [ICODE] dim cmdsp …

Software Development mssql sql visual-basic
Member Avatar for BitBlt
0
235
Member Avatar for DNA_Monk

Hi all... I have been trying to read a huge file of size around 7 GB. It looks like impossible task now.. The file looks like this: [ICODE] CITY0_084989053<tab>hdewhiuewf CITY1_000989090<tab>AACGTACGT CITY1_000989090<tab>GTACGATAH CITY2_643274032<tab>kdijadadsail CITY3_004498906<tab>Adjbsajdada CITY3_004498906<tab>Adjbsajdada ...... [/ICODE] I expect an output like below with only duplicate left side records. [ICODE] CITY1_000989090#1<tab>AACGTACGT …

Software Development c++ file-system
Member Avatar for histrungalot
0
157
Member Avatar for FraidaL

Is it possible to loop an if-else statement? How would such a thing be coded. Basically, this code allows the user to enter a value for a month. If it's not from 0-12 it asks the user to enter a new value. How could I get that to go through …

Software Development c++ programming-construct
Member Avatar for Tygawr
0
395
Member Avatar for jd2369

[CODE]<input type="button" onclick="javascript:fnnSaveChanges()" onblur="lsTest=0" onfocus="lsTest=1" value="OK"> <input type="button" onclick="window.close()" onblur="lsTest=0" onfocus="lsTest=2" value="Cancel"> </td> <td class="clsTableElement" align="right" nowrap=""> Selecting 'Save' in the Main Window is required to Save the new settings. </td>[/CODE] i've tried [CODE]WebBrowser1.Document.All.GetElementsByName("OK")(0).InvokeMember("click")[/CODE] but i get value of 0 is not valid for index. index should bebetween 0 and …

Software Development vb.net visual-basic
Member Avatar for thines01
0
193
Member Avatar for resell4

I bet most of you in here have seen the old movie "Wargames" Im wondering how would you go about programming an AI like WOPR that learns from itself? Lets take an example in chess *Which he loved* He would make simulations of a chess game, if he lost he …

Software Development c++
Member Avatar for mike_2000_17
0
194
Member Avatar for CalNChibi784

Hello everyone. I'm a new member here but have an issue that I've searched and searched for and just cannot figure out how to resolve. Based off of the issues that I was able to correct, Daniweb seemed like the best place to ask. I'm making my first attempt to …

Software Development c++
Member Avatar for CalNChibi784
0
254
Member Avatar for eranre

I was wondering if anyone can assist me with a problem that I have with C Bluetooth programming (Linux Bluez). I am using Ubuntu 10.04, BlueZ 4.60. My goal is to have a L2CAP socket in which there will be minimal delay for sending data between 2 computers. So far …

Software Development c socket-programming ubuntu
0
180
Member Avatar for reds8

Using format NOW will just show the current time but the time will not run. Is it possible to make it to make the time keep running??

Software Development vb.net
Member Avatar for Gé48
0
153
Member Avatar for GuruGhulab

Hello there, okie, my problem today is i i have all this names, [CODE]John, Dave, Steve, Kevin,Andrew,Scott,Colin,Timothy,Zenon [/CODE] and i have to sort them using insertion sort, i can sort number using insertion sort with no probs, but when it comes to strings, and stuff, i get lots of problems. …

Software Development c++
Member Avatar for sameershah21
0
3K
Member Avatar for mags11

I am trying to figure out this one out. The directions: Write a class named car in the following fields: [LIST=1] [*]yearModel - The yearModel field is an int that holds the car's yea model. [*]make - The make field references a String object that holds the make of the …

Software Development java oop
Member Avatar for stultuske
0
12K
Member Avatar for pendo826

My methods dont seem to be working for example void Resize doeznt do anything. AM i using it in the wrong way oris the method faulty. [CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. …

Software Development c++
Member Avatar for pendo826
0
470
Member Avatar for MrHardRock

Hey guys, I have the assignment of writing the Towers of Hanoi program then testing it. I already got help measuring the time of the program, but that is not what my professor wanted he wanted to count the iterations. I can't get it down, my program will run but …

Software Development java
Member Avatar for MrHardRock
0
2K
Member Avatar for summey

Below i have my Main class and a MortgageCalculation class I am trying to modify my app to do the following: "Modify the mortgage program to display 3 mortgage loans: 7 year at 4.35%, 15 year at 4.5 %, and 30 year at 4.75%. Use an array for the different …

Software Development java user-interface
Member Avatar for NormR1
0
214
Member Avatar for Majestics

I am using jasper report (ireport for designing). I want help regarding to set [B]relative path[/B] of the [B]images and jar[/B] files for report... As the jasper report pick up the [B]absolute path[/B] so it create problem when the drive is changed or even pc is changed... Kindly please help …

Software Development java
0
84

The End.