132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Irina77

It looks as an MDI application (I can open multiple documents within a window). However I cannot get the handles of the opened documents (MDI children?). I tried with FindWindowsEx(..) and EnumChildWindows(..) and could not find any children. Then I tried with Spy++ and I got that the handle of …

Software Development c++
Member Avatar for Irina77
0
110
Member Avatar for reneeschultz

Need to write a script wit the following criteria using VBScript: Am an English teacher and have some programming experience but not to this extent that is needed. Just trying to make it easier on me for grading... 1. prompt user for a # of quiz scores to input, should …

Software Development vb.net vbscript
Member Avatar for Tarkenfire
0
125
Member Avatar for Poopster01

Below are the instructions for what I am currently working on. I am having 2 problems first is printing the values stored in my array right now i have it set up in a for loop but there seems to be something wrong with the syntax of my System.out statement …

Software Development algorithm java
Member Avatar for Poopster01
0
335
Member Avatar for aeinstein

Hi All, Just starting my online C programming class and my textbook states "In a computer language, a token is the smallest unit of the language that has a unique meaning. Thus, the reserved words, programmer-created identifiers, and all special mathematical symbols, such as + and -, are considered tokens …

Software Development c c# c++
Member Avatar for aeinstein
0
191
Member Avatar for mandy011

Hi all, I have implemented some code for simple columnar encryption. The algorithm is encrypting properly as I want. But during decryption it's giving me some errors. Please go through and suggest me if any idea [code] public static void encrypt(RandomAccessFile f,RandomAccessFile d,int columns) throws Exception { d.seek(10); // SEEK …

Software Development algorithm encryption java
Member Avatar for mandy011
0
158
Member Avatar for kimmi_baby

Hi there, I'm new to C# and I have to admit it feels very overwhelming. I was wondering if anyone could help me and explain it to me so that I can understand. Here's my code... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Counter1 { public class Counter …

Software Development c#
Member Avatar for lianpiau
0
109
Member Avatar for pramod90786

Actually I cant able to decide the topic of project, can any one suggest the topic for that or any web related to that. [CODE] [/CODE]

Software Development
Member Avatar for lianpiau
0
120
Member Avatar for Jessurider

Hey can anyone tell me how to give an icon image to the project...............the icon image is also attached below

Software Development c#
Member Avatar for lianpiau
0
90
Member Avatar for hopefree

may i know how to convert Char to String in C#? tq.

Software Development c#
Member Avatar for lianpiau
0
71
Member Avatar for lianpiau

object reference not set to an instance of an object I'm develop a C# window form application in VS2008. when run the exe file in PC. It come out message box.(object reference not set to an instance of an object). When I change the connection string to normal style like …

Software Development dataset open-source xml
Member Avatar for lianpiau
0
397
Member Avatar for jharrigan

Hi Guys / Gals, First off, if I'm not in the right forum for this question, I apologize. For this question I figured I would ask some seasoned coding professionals :). I do realize that this type of question is not a simple yes / no, but i would just …

Software Development vb.net
Member Avatar for Tarkenfire
0
203
Member Avatar for gl7

hello i am trying to write a program that allows user to make a list using vectors and iterators i am able to add a title, list items, remove all, but were my trouble is when i want to remove just one from the list i am not sure how …

Software Development c++
Member Avatar for gl7
0
155
Member Avatar for markdean.expres

Guys, is there a way to programatically and more efficiently sort records displayed in a datagridview control? If so, how?

Software Development vb.net
Member Avatar for markdean.expres
0
131
Member Avatar for gl7

new to c++, working with vectors my question is can a string in a vector hold for example a string like " super mario bros" ( with the spaces) to continue i am trying to to make a list that people can add to , and if user where to …

Software Development c++
Member Avatar for gl7
0
305
Member Avatar for zachattack05

Is anyone aware of a way to do this? I considered adding a while statement to the listening loop of the server to evaluate if an integer is >= a certain value, and if so to enter another loop until it's not true, and that would allow the server to …

Software Development
Member Avatar for zachattack05
0
2K
Member Avatar for Howdydoody

Basically the user puts in a linear list like "1234" and a permutation such as "2431". My program works on the example above but my instructor pointed out that the program gives the wrong answer for the entry "1234" and "3241". I put in an extra check which should fix …

Software Development c++
Member Avatar for Howdydoody
0
696
Member Avatar for lynnajoe

Hi, I am getting an error message as follows: java.lang.NoClassDefFoundError: inventorypart1/Beverages Caused by: java.lang.ClassNotFoundException: inventorypart1.Beverages I have been running programs with no problem and with this message I am confused. I cannot see what I am doing wrong but I think I have been looking at it too long. Any …

Software Development java
Member Avatar for mKorbel
0
165
Member Avatar for BobTheLob

Hey, so i've looked around online for a bit, and after finding similar, but not exact (as in it doesn't help me), i'm gonna post my problem here :P. I'm working on a class to handle Complex numbers. This is going to require a lot of operator overloads and the …

Software Development c++ data-science
Member Avatar for BobTheLob
0
256
Member Avatar for caltech

My assignment is to create a program computing all kinds of employee data. Just beginning, trying to put together the basis for the rest of it, here's my code: [CODE]#include <iostream> #include <cmath> #include <iomanip> #include <fstream> using namespace std; int GrossPay(int,int); double Tax(int); int main () { ifstream empdata; …

Software Development c++ ios
Member Avatar for caltech
0
196
Member Avatar for steve_Student

Hi Here is my question. My project is basically a addition test for 5 to 9 year old children. On my form I have a button which when clicked, it inputs a number from 1 to 10,( which is chosen by the user via an combo box drop down), into …

Software Development vb.net visual-basic
Member Avatar for steve_Student
0
324
Member Avatar for Phil++

Hello, I'm trying to create an application that when you click on a button, it just displays a string but it doesnt work. Here's the code: [code] import java.io.*; import java.awt.*; import java.applet.Applet; import java.awt.Graphics; import java.awt.event.*; public class main extends Applet { TextField input; Button convert; public void init …

Software Development java
Member Avatar for Ezzaral
0
280
Member Avatar for colmar

I am trying to make a stock control work sheet and I am having problems with a circular reference. Take cell B2 and place this formula in it =(A2+B2). I now have a circular reference. I have turned on the iteration in Tools,Options calculation and limited the maximum iterations to …

Software Development visual-basic
Member Avatar for monarchmk
0
117
Member Avatar for thisischris

So I'm trying to overload the extraction operator, but I keep getting an ambiguous overload error. Here's the extraction that I'm using: [CODE] bool cc = false; cout << CC; [/CODE] And here's the overload function. [CODE] ostream& operator<< (ostream &out, bool &C1){ if(C1) out << "A"; if(!C1) out << …

Software Development c++
Member Avatar for caut_baia
0
216
Member Avatar for SWEngineer

Hello, I have installed the [I]latest [/I]versions of [B]OpenCV [/B]and [B]Eclipse CDT[/B], but not able to make OpenCV to be used within Eclipse CDT. Any ideas on how can I do that? Thanks a lot.

Software Development c++
Member Avatar for SWEngineer
0
170
Member Avatar for Behseini

Hi Guys, Here I am trying to create a very simple function to change a Frame background color as by a btn event handling as following: [CODE] from Tkinter import * class App: def __init__(self, parent): self.myParent = parent self.fm = Frame(parent) self.fm.pack() self.btnBlue = Button(self.fm, text = "Blue") self.btnBlue.bind("<Button-1>", …

Software Development python tkinter
Member Avatar for Behseini
0
158
Member Avatar for abcdabid

Hi all I am trying to create ClistCtrl with check boxes and different columns in it. BUT [CODE] ListCtrl m_listBox; int i; CString strTemp; m_listBox.Create(WS_CHILD|WS_VISIBLE|LBS_STANDARD|WS_HSCROLL, CRect(10,10,200,200),this, 111); m_listBox.InsertColumn(0, _T("Column 1") , LVCFMT_LEFT, 50, 0); m_listBox.InsertColumn(1, _T("Column 2") , LVCFMT_CENTER, 100, 1); m_listBox.InsertColumn(2, _T("Column 3") , LVCFMT_RIGHT, 100, 2); m_listBox.SetExtendedStyle(m_listBox.GetExtendedStyle()|LVS_EX_CHECKBOXES | …

Software Development c++
Member Avatar for abcdabid
0
344
Member Avatar for cppgangster

hi, how to declare static data memeber of a class and how to define it? [CODE] class Hop { protected: static struct NStrct{ int nCount; } } [/CODE] how to implement it? for example if the static member is "static const count", you would declare the static member in implementation …

Software Development c++
Member Avatar for cppgangster
0
175
Member Avatar for hairpull

I'm trying to write a code that validates that an integer is between 1 and 9. Then it prints out that integer as a word. User inputs 0 to exit program. Example: [I]Enter an integer between 1 and 9 5 Integer entered, five Enter an integer between 1 and 9 …

Software Development java
Member Avatar for jon.kiparsky
0
128
Member Avatar for gleb

I have read lots of Xpath tutorials but don't know how to query a xml document. So I have an XML document and a query like this /bookstore/book/title How do I conduct the search? Sorry if this question is badly phrased but I am very confused.

Software Development xml
Member Avatar for iceandrews
0
109
Member Avatar for nabajyotip

hi i have a .so file written in c and i am trying to use it in a c++ program but when i try to compile the c++ code it gives me undefined reference to function getNearestAP() which is a part of my .so file.To add to this i tried …

Software Development c++
Member Avatar for nabajyotip
0
66
Member Avatar for PtblDuffy

Hello, I've been looking at this problem for a few hours, and I can't figure it out. We had to test this code and fix it if we find errors (it's a splay tree): [CODE] public class SplayBST { Node root; int count; int level = 0; public SplayBST() { …

Software Development java programming-construct
Member Avatar for PtblDuffy
0
220
Member Avatar for asymptotes14

ok i have this code working -but i have few more questions guys, -i wanted to put error trapping in the seatRes() function but have no idea how, -i also wanted to make a function that will be able to cancel a reserve seat, and change it to another seat …

Software Development c++
Member Avatar for daviddoria
0
158
Member Avatar for lu25

why does this[CODE]movw (%eax), 4(%esp)[/CODE] generate an error messgae after invoking the assembler. using GAS.

Software Development assembly
Member Avatar for lu25
0
86
Member Avatar for Java NOOB

If I want to compare C, D, and E how do I do that with an equals method? [CODE] public class Fraction { /** * @param args */ public static void main(String[] args) { { Fraction c, d, e; c = new Fraction(5, 8); d = new Fraction(1, 2); e …

Software Development java
Member Avatar for jon.kiparsky
0
153
Member Avatar for sneha mehta

here is a program code i want to create an application that create frame and write the string on it and when i click the close tab of frame it will close the frame please help me...its very urgent.. [code]import java.awt.event.*; class SampleFrame { SampleFrame(String title) { super(title); MyWindowAdapter adapter …

Software Development java
Member Avatar for Taywin
0
135
Member Avatar for eline83

If I have an array of entries 5, 10, and 20. How many heaps are there for each? Since there are two sorting algorithms, bottom-up and top-down, Are there 2 heaps for each entries? Help me guys :D

Software Development c++
Member Avatar for Ancient Dragon
0
110
Member Avatar for yeleek

Hi, I've a multi line string, which I want to delete the first 22 lines from, I then want to use re.findall (which appears to only work on strings). Is there an easier way to do it than writing the string to a file, reading in as a list, deleting …

Software Development python
Member Avatar for TrustyTony
0
134
Member Avatar for johnbo100

Hi All So I have 2 forms form 1 has a list of checkboxes on it form 2 needs to check if one of the form 1 checkboxes is checked. Please see the code below: texton is a value passed from a function parameter of type string [CODE] If (Form1.Controls.Item("checkbox" …

Software Development vb.net
Member Avatar for johnbo100
0
421
Member Avatar for Usmaan

Hi there, If I have two Forms, for example: Form1.cs and Form2.cs and one Form1, there is a button which if clicked, it would close Form1 and open Form2. How would you go about doing that? And is there any better way of implementing this? (This is something I'm considering …

Software Development
Member Avatar for Usmaan
0
93
Member Avatar for cybrix101

Hi all, I'm wondering if someone can help me. I am trying to write a basic program which involves a square moving across a JPanel in a random direction, and the user needs to click on the square to get a point. Now I have everything up and running but …

Software Development java
Member Avatar for Ezzaral
0
150
Member Avatar for gravexxx

I am not showing all the code it is not necassary. TheInternets : TWebBrowser; I wrote a program to navigate to a server that my friend has up. Then it should get a result and display it. This takes about a second to execute which is really bad for my …

Software Development delphi http-protocol pascal
Member Avatar for Wolfgan
0
161
Member Avatar for plang007

I got the first function tagReader to work, but how do I get the program to read the other functions such as getEmployee, paycheck, repeater, valid, and header. Here is all I get for the output: Results from tags1.txt : Cylinder: bsharkdata 1782 12.00 82.90 Cylinder: ftmyersfeb 7150 11.00 32.89 …

Software Development c c# c++
Member Avatar for WaltP
0
208
Member Avatar for jasoncastro

Hi! Is it possible to read from specific row on a notepad? For Example: Jay Mark Christian I only want to display the word Christian which is on the third row, what will I do? can you please show me? Thanks! Here's my code: [CODE]#include <iostream.h> #include <iomanip.h> #include <fstream.h> …

Software Development c++
Member Avatar for WaltP
0
127
Member Avatar for Jessurider

hey i've made a project...........in that form1 is the main page............can anyone tell me how to make form2 as the main page.............

Software Development c#
Member Avatar for Jessurider
0
60
Member Avatar for margeaux54

This is my encyription and decyrption program. However there some mistakes that ı could not solve them. And ı set everything but when ı press q, my program should quit, ı tried some things but it is not appropriate for c++ rules. #include <iostream> using namespace std; void encyrpt(void); void …

Software Development c++ encryption
Member Avatar for margeaux54
0
187
Member Avatar for jogendar

i want to implement client server communication through wirless network in java,by using Socket,ServerSocket classes can i connect two computers with wireless connection???

Software Development client-server java socket-programming
Member Avatar for jogendar
0
74
Member Avatar for Jessurider

can anyone help me........... i've created a form1 with a progressbar............and i want the form1 to close at the time when the progressbar reaches 100.........and at the same time i want form2 to display............ can anyone help me to do that............

Software Development c#
Member Avatar for Jessurider
0
86
Member Avatar for 303factory

Hi, I was wondering if it is possible to reverse the way my enum variables work In our storage XML Files all the data is stored as integers, which I want to translate into strings using a lookup table. I thought enums would be perfect for this but I can't …

Software Development storage xml
Member Avatar for 303factory
0
112
Member Avatar for Tarkenfire

Okay, so as a project for one of my classes I need to make a basic drawing program in VB that can do three things: [LIST] [*]"Draw" with a brush of some sort [*]Clear the screen [*]Perform a flood-fill (paintbucket action) [/LIST] I decided to do the first two tasks …

Software Development algorithm image vb.net
Member Avatar for Tarkenfire
0
941
Member Avatar for Sibuns

Hey, i just start working with string and i am totally noob =). So i would like to ask you if you can help me... I have some programs to write, but i have a little problems to get the code working... Ok first question is, how do i make …

Software Development c c# c++
Member Avatar for HASHMI007
0
96

The End.