132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kumarmpk4u

hello all, i am working on a project where a 16 bit code has to be changed to a 32 bit code. it is a mfc multiple document interface. when i try to compile a dll file i get a error "fatel error c1083: Connot open pre compiled header file". …

Software Development c++
Member Avatar for drkybelk
0
517
Member Avatar for stefilina

Hy, could anyone please told me how can i move controls on a windows form when i click for example, on a button? When i click on a button i want to increase the height of my form and move a textbox and label a little down... Please help.Thanks

Software Development gui microsoft
Member Avatar for stefilina
0
256
Member Avatar for otttt

Hi Could somebody help me with my homework. Use functions and structures. Strings in input file 'AND', 'OR' ja 'NOT' must be replaced with symbols '&', 'v' ja '-' and saved into output file. Example of input: C = A AND B D = A OR C E = NOT …

Software Development c
Member Avatar for thekashyap
0
465
Member Avatar for abhishek20

Hi, Is there any nice java API available for converting pdf to text file.

Software Development api java pdf
Member Avatar for abhishek20
0
307
Member Avatar for Derek Elensar

Hello, I was working with my C++ homework, and I wanted to combine a couple of projects. Now I've never done anything with project-projects before... it's all been one-file console applications in single "*.cpp" files. Well, I tried my hand at combining two projects into one project file, so I …

Software Development c++
Member Avatar for Derek Elensar
0
229
Member Avatar for frenzra

helo juz want to ask if i write like this cout<< ' \n 1-package a \n2- package b " ; then what should i put in cin??

Software Development c++
Member Avatar for frenzra
0
141
Member Avatar for yashsaxena

Hello All I have on prog. in C which displays the text file in reverse order. I was in thinking that for text file reverse order means displaying text from end of file to beginning of file. in the same image will be rotated in 180 degree i.e. reverse the …

Software Development c image
Member Avatar for yashsaxena
0
116
Member Avatar for wonder_laptop

i reading a book about aglets, in this book, there is a piece of code demonstration Master/slave aglets and they say: [CODE] sayItAgletRemoteProxy = sayItAgletLocalProxy.dispatch(new URL("atp://localhost:9000")); // unfortunately this remote proxy is invalid in version 1.1b1. The aglet book is based // on version 1.02. See ch 7. p. 121. …

Software Development api java
Member Avatar for wonder_laptop
0
213
Member Avatar for lil_miss_choc

I'm working through an exercise to create a short program to calculate E using the series 1 + 1/1! +1/2! + 1/3! + ... The summation has to stop when value of a term is less than a value entered by the user. The code I have to produce the …

Software Development c++ programming-construct
Member Avatar for lil_miss_choc
0
231
Member Avatar for arezz09

anybody knw how to build system inventory that multiuser..1 server and 1 more is client using lan connection..i dont no keyword to search in google..

Software Development client-server vb.net
Member Avatar for debasisdas
0
91
Member Avatar for pito_donje

Public Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long x = SystemParametersInfo(97, 1, CStr(1), 0) 'Disable Ctrl+Alt+Del Keys combination 'Use as in --->>> If KeyAscii >= vbKeyA And KeyAscii <= vbKeyZ Or KeyAscii …

Software Development visual-basic
Member Avatar for Jx_Man
0
94
Member Avatar for e-papa

I tried to find the square root of a negative number while writing a function to solve quadratic equations but the interpreter said something , it said math domain error, what does this mean. Even though I've been able to solve the quadratic equation using complex numbers and i will …

Software Development python
Member Avatar for e-papa
0
19K
Member Avatar for wombomatt

I am currently working on a banking system that has 3 classes. customer, savingsAccount and transaction. I have created the 3 classes but am having problems with the saveAcnt object in the customer class. I need to link it with the savingsAccount class. Any help would be appreciated. Also I …

Software Development c++
Member Avatar for dkalita
0
260
Member Avatar for xorinzor

Hello, I'm attempting to run my first program in vb.net and everything works BUT the array. Ive asked several experienced people and they have no clue what might be the problem. Here is the archive: [url]http://dl.dropbox.com/u/6072059/ArtificialLife.rar[/url] password: vbproject The problem occurs in the Maps.vb file on line 17 when the …

Software Development vb.net
Member Avatar for xorinzor
0
79
Member Avatar for sidrules1984

char exe_str[]="find E:\sid -name 'sid.txt' -print"; How do i make find command here interactive... 1st. Accept the Drive letter from user 2nd Accept the file name from user thanks..

Software Development c
Member Avatar for thekashyap
0
186
Member Avatar for bharath54321

How to create control array in swings...............

Software Development java
Member Avatar for JamesCherrill
0
97
Member Avatar for shakisparki

Hello , Please what does the second typedef statement do, [code] struct listnode{ char data; struct listnode *nextPtr; }; typedef struct listnode Listnode; typedef ListNode *ListNodePtr; [/code] what is the difference between [code] ListNodePtr *sPtr; and ListNodePtr startPtr; [/code] Please explain what the second Line of Code would do please …

Software Development c
Member Avatar for Adak
0
146
Member Avatar for lalala423

Write a program that finds the greatest sum of three adjacent numbers in any direction (up, down, left, right, or diagonally) in a 20x20 grid of numbers. All input data must be obtained from the stdin prompt. You can feed in the data from a file by using input redirection. …

Software Development c++
Member Avatar for pseudorandom21
0
165
Member Avatar for Arjun_Sarankulu

[code] string s = "0082002100071254 INR 008200 XYZAPQRDEFGHIJK 0.00 Cr 03100"; string[] arraytempline2 = s.split(','); MessageBox.Show("Length of Line : " + arraytempline2.Length); [/code] After spliting its giving the length as 1 But i want to seperate the above string And According to me its length should be 6 But i …

Software Development
Member Avatar for Arjun_Sarankulu
0
106
Member Avatar for leo88

Hi, i got some problems with remove and split: i have the outputs, as below: {1 2} 3 How to remove the syimbol {} and split the 3 ?for example. it will become 1 2 3 anyone know? Please help me..

Software Development c#
Member Avatar for Momerath
0
182
Member Avatar for triumphost

The code below is from my form.. I declared a string GLOBALLY.. Then upon FormLoad, It inserts values for the string... When I do button click, the string is blank.. Why is it blank? Shouldnt the Values from FormLoad Event be in it? : [CODE] public ref class Form1 : …

Software Development c++
Member Avatar for jonsca
0
121
Member Avatar for Hey11

i want to write a program that changes all the 'a' charachters to 'v' but the problem instead prints all the message as vvvvvvvvv here is the code [CODE] class operation { public String encode (String args) { StringBuilder mago = new StringBuilder(); char a, b; b='a'; for (int i=0; …

Software Development java
Member Avatar for jwenting
0
97
Member Avatar for sumprit

Hi everyone...., i need some suggestion whether it is possible to perform actions for each click of a single JButton. What i mean to say that for each click of a single JButton is it possible to perform actions for each time the JButton is clicked? Please give me some …

Software Development java
Member Avatar for sumprit
0
83
Member Avatar for jfunchio

I'm trying to implement an observer pattern that keeps track of uppercase letters in a line of text the user enters. Whenever there is an uppercase letter the observers are notified. It compiles fine and when I run it and enter a line of text with no uppercase letters it's …

Software Development c++
Member Avatar for template<>
0
143
Member Avatar for lxXTaCoXxl

Okay so this has been bugging me for quite sometime. I thought if I skipped it and came back maybe I might figure it out but I guess not. The basic idea is to let the user generate their own content into a list box, text box, and the content …

Software Development storage
Member Avatar for abelLazm
0
93
Member Avatar for RogerInHawaii

I'm using a webBrowser control. After it is finished loading, I want to be able to determine what portion of the browser actually contains controls. For example, let's say the web page has a <CENTER> tag that centers the entire page within the browser. I'd like to be able to …

Software Development web-browser
Member Avatar for Momerath
0
106
Member Avatar for Jessurider

can anyone tell me what's the wrong in the code.............when i run this........the updation is not working [CODE] string sq1; SqlCommand cmd1; SqlDataReader rd1; SqlConnection cn; cn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=J:\\Rcar\\motion\\db_image.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); cn.Open(); sq1= "SELECT * FROM Customers"; cmd1 = new SqlCommand(sq1,cn); rd1 = cmd1.ExecuteReader(); //while (rd1.Read()) // …

Software Development open-source
Member Avatar for abelLazm
0
137
Member Avatar for triumphost

Can someone explain why it wont find the window?? I did everything right, Im pretty sure of it :S Yet it just wont find it. EDIT: Admin delete.. I think I just figured it out.. [CODE] private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { Form1::Visible = false; Query ^ F = …

Software Development c++
0
87
Member Avatar for subwired

Hi, Just a quick question, I need to add extra functionality to some code but I have found syntax I am unfamiliar with. I'm pretty much a noob to c++ so it probably quite simple but I have had enormous problems trying to define a search term for google and …

Software Development c++
Member Avatar for abhimanipal
0
121
Member Avatar for Kirbyzdashiznit

Write a C program in to calculate the parking fare for customers who park their cars in a parking lot when the following information is given: A. A character showing the type of vehicle : C for car, B for bus, T for truck. B. An integer between 0 and …

Software Development c
Member Avatar for chrjs
0
409
Member Avatar for hawita

Please help its urgent i wrote this program but the output is not right. The program is not inversing the order of the words in the string. for example: input: i love school output: school love i . Please help thanks [CODE]#include<iostream.h> #include<string> using namespace std; main() { std::cout << …

Software Development c++
Member Avatar for abhimanipal
0
201
Member Avatar for bigwhiteegg

I'm trying to auto-download any website's source code by entering its URL I did some search on Google and the forum only found this [URL="http://www.autoitscript.com/forum/topic/70853-inetgetsource-with-post-string/"]AU3[/URL] but its a AU3 file and I do not understand it at all does anyone has a suggestion for me? any website that I should …

Software Development c++
Member Avatar for Stefano Mtangoo
0
152
Member Avatar for jfunchio

I'm trying to implement an observer pattern who's subject monitors for uppercase letters in a line of text entered by the user. I havn't had much problem until now i'm getting the error "error C2243: 'type cast' : conversion from 'UpperCaseMonitor *' to 'Observable *' exists, but is inaccessible". I …

Software Development c++
Member Avatar for jfunchio
0
171
Member Avatar for Xcelled194

Hi guys, I want to add an animated taskbar icon to my WPF project. I figured I would just use the Icon property, but I'm fairly new to WPF, and I dont know how to do it. In Winforms I would create a thread like this: [CODE]Private Sub AniIcon() Do …

Software Development vb.net
Member Avatar for lxXTaCoXxl
0
448
Member Avatar for divin757

I have an image for the background of the form I'm working on, but I had to increase the size of the form. Is it possible to have it scale the image instead of tiling? I could stretch it in photoshop but I was wondering if this was possible.

Software Development image
Member Avatar for lxXTaCoXxl
0
277
Member Avatar for lxXTaCoXxl

Okay I finally figured this out... Thanks to getting curious and creating an encryption key for my application. It took me a second to understand it but here is the result. Make sure you declare your variables in the settings tab of the properties to your application. [code] void Form1_Load() …

Software Development app-store encryption
0
103
Member Avatar for XodoX

I did this code ( this here is just a piece of it), and there's supposedly an incomplete function in there. I'm not sure what how to solve this. I suppose the boolean is wrong? I indicated where the problem is in the code. [code] public class Person { private …

Software Development data-science java
Member Avatar for XodoX
0
180
Member Avatar for bioplanet

Hi all, I have the following script for creating scatter plots and I was wondering if there is a way of adding the legends also for each dot in the plot (i.e. Method1, Method2 etc) [code] #!/usr/bin/env python import sys,re,os; import matplotlib as mpl; import matplotlib.pyplot as plt; datafile = …

Software Development os-x python
0
105
Member Avatar for Taimoor Rana

Hello guys, Im tring to make a stopwatch display in JTextField but so far i'am unable too :-(. The stopWatch itself is working perfectly but only in the system output window... I want the time to be displayed in the textfield(or Label) which is within a JFrame. I'll appreciate any …

Software Development java java-swing
Member Avatar for Taimoor Rana
0
846
Member Avatar for j23

Im trying to write a program which simulates ten coin tosses and returns the results to the user .can anyone help please!! [CODE] Imports System.IO Imports Microsoft.VisualBasic.ControlChars Public Class Form1 'write a program that simulates 10ncoin tosses using Random Number generator + Returns the results to the user. Private Sub …

Software Development visual-basic
Member Avatar for j23
0
1K
Member Avatar for kay19

Well, I seem to have some little error. Purpose: Finding Max and Min numbers from txt file by inputting four numbers. Then I calculate the Range by using (Max - Min) Problem: It does great with positive numbers. However, when I input negative numbers, calculation seems to be off. For …

Software Development java
Member Avatar for kay19
0
187
Member Avatar for mathews123

i tried using this where ros and cols is an integer which is equals to 8 [CODE]if (i == ros || j == cols) { if (i == ros && j > cols) { cols++; } else if (i == ros && j < cols) { cols--; } else if …

Software Development java
Member Avatar for mathews123
0
281
Member Avatar for oybek

Hi guys, I'm not good at programming so would you help me with this?! No fancy codes, just make it simple. Problem Statement For research purposes and to better help students, the admissions office of my college wants to compare how well female and male students perform in certain courses. …

Software Development c++
Member Avatar for oybek
0
164
Member Avatar for Lokril

Having trouble with this assignment can anybody give my a hint as to where I should start? Write a program that prints letter grades based on a score (between 0 and 10) entered from the keyboard. The simplified scoring system will be: 9-10 A 8 B 7 B- 6 C+ …

Software Development c c# c++
Member Avatar for WaltP
0
2K
Member Avatar for CrankyMero

Hello Everyone, I have this small system that i developed for a company that is basically a Skill Map for the employee's, so in the following image will show the search of the employee's skills through the Family, in the following image the users does a search of the family …

Software Development vb.net
0
130
Member Avatar for sms5660

I am really confused about how to write functions before main(). My teacher didn't explain it well at all or the stipulations. I have a homework assignment due this weekend and I am so confused. Here is the prompt, below that is my program and what I think I should …

Software Development c++ visual-studio
Member Avatar for sms5660
0
134
Member Avatar for Javam

Hey, Can you please give an solution of why this doesn't work correctly? [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * */ public class Main { static Thread hare = new Thread(new ThreadRunner("hare",90,100)); static Thread tortoise …

Software Development java
Member Avatar for Javam
0
386
Member Avatar for moroccanplaya

i am writing a web server thats serves one html file but when i go to my browser and type in localhost:50000/home/user/www/index.html i get something like this  viewd on my browser heres my code for writing to a socket [CODE] n = read(connectfd, buffer, 255 ); if (n < …

Software Development c web-browser web-server
Member Avatar for dondajr
0
103
Member Avatar for llocar

Hi. I'm wanting to append some information to a file, which is found in a different file. I have simplified the problem using animals. Here is the basic code to add the line to the file: [CODE]grep "some important info about rabbits" rabbits.data >> rabbits.txt[/CODE] Very simple, but this must …

Software Development file-system shell-scripting
Member Avatar for llocar
0
125
Member Avatar for Anthonynz

Hi. I have written a process that takes a list of values from a spreadsheet and updates a foxpro table, adding records if they do not exist, or updating them if they do. I determine if the record exists by a seek command, which works fine. But if my process …

Software Development visual-basic
Member Avatar for sidnei
0
263

The End.