132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Diamonddrake

I have written a flashy custom context menu using a new form with layeredwindows for my application, I want the context menu form to close when the mouse leaves the form, or when its deactivated. But I can't seem to get it to happen. I have tried the Close() method …

Software Development
Member Avatar for ddanbe
0
275
Member Avatar for sivak

Now i want to check whether the windows user entering the correct password or not . for example: in textbox1=username in textbox2=password onclicking the ok button if it is the right password to that user or not,if it is valid user means in messagebox("valid user") else invalid user.how to i …

Software Development
Member Avatar for kvprajapati
0
63
Member Avatar for mysong

Programming in c and we must use Miracle c for this course. I had my USD * MXN working prior to adding a numbers only validation. Now the code works as I want it to except for the correct calculation. Any suggestions would be appreciated. [code] #include<stdio.h> #include<ctype.h> #include <math.h> …

Software Development c
Member Avatar for mysong
0
393
Member Avatar for asuni449

Hi all, I want to create DLL in VB 6.0 with vc++ coding. How to create ? Any help please. Thanks :)

Software Development visual-basic
Member Avatar for asuni449
0
68
Member Avatar for Brandon515

hey guys umm this might seem really stupid but for reasons i would rather leave unsaid i want to make an encryption program and by this i mean a program that will turn a string into numbers and funnel into a file then when selected take the contents of the …

Software Development c++ encryption
Member Avatar for Brandon515
0
115
Member Avatar for shuda009

In my previous posts, I asked about how to transform a part of a string into an integer. Narue kindly gave me the answer and I've implemented it into my code. Here is my code: [CODE] int main() { string line; string cmd; while (cmd!="quit") { cout << "Command: " …

Software Development c++
Member Avatar for tux4life
0
178
Member Avatar for TheSeraph

Ok, searched a bit and found a few relevant posts, but they didn't directly address my problem, so here I am... Basically, I'm trying to write a program that will, hopefully, do the following things in sequential order: 1) Accept certain login credentials (user test, password 1234) and auto-login to …

Software Development c++ session
Member Avatar for TheSeraph
0
80
Member Avatar for jdbarry

Hi, I was in an online class where I had a teacher that was difficult to get hold of. So I posted here for clarification and help topics. Others are copying my postings and turning it in as their own. I am asking that you delete all of my postings. …

Software Development java
Member Avatar for ~s.o.s~
0
84
Member Avatar for real_castilla

hi all, I have a binary file, then I try to read them and show the value to the screen, but what I got is always -13108. I don't know why. Here is my code [code] #include <iostream> #include <fstream> using namespace std; void main() { std::fstream f_in, f_out; short …

Software Development c++ ios
Member Avatar for real_castilla
0
135
Member Avatar for Romil797

Well, I want to make a browser in vb or c++ with a gecko engine without using that IE embedding thing - a real browser. I have been told to use the Mozzila browser object, but I have not figured out how to use it. I created the object, but …

Software Development vb.net web-browser
Member Avatar for Teme64
0
95
Member Avatar for dinilkarun

Hi All, I have two frames.viz., frm1 and frm2. On click of a button on frm1, I want frm2 to pop up and frm1 to hide. Presently I am using the following code: [TEX]self.Hide() self.frm2=frm2.clsFrame2(self) self.frm2.Show()[/TEX] clsFrame2 is the class present in frm2. The above code if written on the …

Software Development python
Member Avatar for woooee
0
144
Member Avatar for ihatehippies

I've googled this quite a bit and can't find a way to tell if a file is currently being accessed or at least written to. Anyone dealt with this before? If one app if writing to a file another can be reading it before the first is finished writing..

Software Development python
Member Avatar for woooee
0
78
Member Avatar for richymac

im trying to write a cg pixel shader and just want to generate a random number too offset the colour of a pixel is there something i need to include, i tried using rand() but gave me errors thanks in advance

Software Development c++
Member Avatar for Stinomus
0
328
Member Avatar for frank.zappa

Hey everybody, I'd like to write a python script which renames a file on my desktop to a number which is 1 less than what it was before. If you're wondering, the number tells me how many days left 'till I finish high school, lol, but I've also got other …

Software Development os-x python
Member Avatar for frank.zappa
0
400
Member Avatar for Usura

hey i have a int **grid; pointer which should read from a txt file a grid which is made up for 0's and 1's, how would i make my grid pointer only read in 1 int for each index of grid[0][i]? txt file contains height and weight of the grid …

Software Development c++
Member Avatar for Ancient Dragon
0
84
Member Avatar for venucpp

Hello all, I worte a structure and filled the data, then i need to send them on tcp socket. before that i need to send only few data and i need to split them into bytes and need to store them in other array. Here is the code below [code=c] …

Software Development c data-structure
Member Avatar for William Hemsworth
0
97
Member Avatar for lardshow

i may already have asked a similar question to this but my brain is so fried with this problem. i have to read two csv files, entering the data contained into a map and a list. the first method readInTasks() works fine, reads the file and enters the data into …

Software Development file-stream java
Member Avatar for lardshow
0
149
Member Avatar for vishy_85

hello all , im trying to read a text file and display its contents. While i got the code running and the output was displayed perfectly for sometime , i started getting Abort(core dump) error . Am i missing something here ? im using HP-UX. [code] #include <iostream.h> #include <fstream.h> …

Software Development c++ ios
Member Avatar for Stinomus
0
153
Member Avatar for cesar7160

I need to do a C program where user will be able to change the system time. I'm looking for this at some websites, but I can't find how to solve this. How do I change the system time using C on Linux? Any clue? 10x

Software Development c
Member Avatar for cesar7160
0
295
Member Avatar for saalvi

Problem Statement: Dynamic memory allocation/reallocation of an Integer array. Detailed Description: Write a program in which you have to: 1. Dynamically allocate an array of integers. 2. Take array size as input from user and allocate memory according to this size. 3. Take values of array elements as an input …

Software Development c++
Member Avatar for MariaERamos
0
211
Member Avatar for lolwtf

I wanted to create a form where a user can create an account, have it loaded in SQL, and be able to retrieve the information and validate it. I've reached a mental block on the validation code and need some advice. Here is my code so far: [code]Public Class main …

Software Development vb.net
Member Avatar for lolwtf
0
149
Member Avatar for roro2

I am trying to make the code below make decisions between two different data sources. Basically, if the data source is m_mas it should go through one set of processes, and if it is m_rma, the coding should go through another set of processes. I am not sure if I …

Software Development python
Member Avatar for woooee
0
115
Member Avatar for FaMu

Hi I have the following code which is my project I completed section 1 and 2 but it doesn't work could you help figuring why? [CODE=c++] #include<iostream> #include<string> using namespace std; void count(); void reverse(); void encode(); void decode(); int selection; int main() { cout<<"******************"<<endl; cout<<"Welcome To Project"<<endl; cout<<"******************"<<endl; cout<<endl; …

Software Development c++
Member Avatar for FaMu
0
255
Member Avatar for shuda009

Heres a snippet of my code: [code=cplusplus] int main(); { string cmd1; int cmd2; cout << "Command: " << flush; cin >> cmd1; if (cmd1 == "playlist") { cin >> cmd2; if (cmd2==XXXXXX) { cout << "Illegal command: " << cmd1 << endl; } else cmdPlaylist(cmd2); } return 0; } …

Software Development c c# c++
Member Avatar for shuda009
0
453
Member Avatar for adamdidthis

Hi all, I have the following string: [CODE]<REQUEST><KEY_HEADER><STATUS>CREATE</STATUS><TIME_CODE>0</TIME_CODE><COUNT>344</COUNT><TARGET>8</TARGET></KEY_HEADER><KEY_INFO><NAME>TEAMLIST</NAME><ARGS>97</ARGS><ARG>COACH: XXX</ARG><ARG>Crusaders</ARG><ARG>WHITE</ARG><ARG>BLACK</ARG><ARG>Crusaders</ARG><ARG>WYATT</ARG><ARG>CROCKETT</ARG><ARG>JASON</ARG><ARG>MacDONALD</ARG><ARG>OWEN</ARG><ARG>FRANKS</ARG><ARG>BRAD</ARG><ARG>THORN</ARG><ARG>ISAAC</ARG><ARG>ROSS</ARG><ARG>KIERAN</ARG><ARG>READ</ARG><ARG>RICHIE</ARG><ARG>McCAW</ARG><ARG>THOMAS</ARG><ARG>WALDROM</ARG><ARG>ANDY</ARG><ARG>ELLIS</ARG><ARG>STEPHEN</ARG><ARG>BRETT</ARG><ARG>ADAM</ARG><ARG>WHITELOCK</ARG><ARG>RYAN</ARG><ARG>CROTTY</ARG><ARG>TIM</ARG><ARG>BATEMAN</ARG><ARG>JARED</ARG><ARG>PAYNE</ARG><ARG>LEON</ARG><ARG>MacDONALD</ARG><ARG>DANIEL</ARG><ARG>PERRIN</ARG><ARG>BRONSON</ARG><ARG>MURRAY</ARG><ARG>MICHAEL</ARG><ARG>PATERSON</ARG><ARG>JONATHON</ARG><ARG>POFF</ARG><ARG>KAHN</ARG><ARG>FOTUALI'I</ARG><ARG>SEAN</ARG><ARG>MAITLAND</ARG><ARG>HAMISH</ARG><ARG>GARD</ARG><ARG> </ARG><ARG> </ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG> </ARG><ARG>1</ARG><ARG>2</ARG><ARG>3</ARG><ARG>4</ARG><ARG>5</ARG><ARG>6</ARG><ARG>7</ARG><ARG>8</ARG><ARG>9</ARG><ARG>10</ARG><ARG>11</ARG><ARG>12</ARG><ARG>13</ARG><ARG>14</ARG><ARG>15</ARG><ARG>16</ARG><ARG>17</ARG><ARG>18</ARG><ARG>19</ARG><ARG>20</ARG><ARG>21</ARG><ARG>22</ARG><ARG> </ARG></KEY_INFO></REQUEST>[/CODE] Yep I know it's a mess but it's the only way I can receive it. What I need to do is loop through the string and change ARG to be ARG then a number e.g. <ARG>14</ARG> changes …

Software Development python
Member Avatar for slate
0
76
Member Avatar for jamojo

Hello everyone, How can I convert this format using Java? 2009-05-20T18:19:23+08:00 I was able to convert this using the SQL Statement below. select cast('' as xml).value('xs:dateTime('2009-05-20T18:19:23+08:00')', 'datetime'); I would like to know how Java handle this format. Any suggestions are greatly appreciated. Thanks in advance, Jamojo

Software Development java sql xml
Member Avatar for masijade
0
163
Member Avatar for jlbryant0120

I have a excel sheet that has only four rows of numbers and a fith row that is the average, no big deal. see below before solver 54 53 21 62 Average = 47.5 after solver 76.5 75.5 43.5 84.5 Average = 70.0 Now i have the solver doing a …

Software Development visual-basic
Member Avatar for jlbryant0120
0
81
Member Avatar for ctrl-alt-del

Hello again all of you! This time I have a load of questions, some of which might seem simpole, some of which might be far more difficult then I can even comprehend. To start off, I'm a novice to programming. I've made some simple games and programs as excercises and …

Software Development
Member Avatar for ddanbe
0
150
Member Avatar for jbisono

Hi, Guys. I have a issue reading a word document, well i can actually read the document but i need some how split some data into array, now the data that i want to split is into a table in word, is there an easy way to split that data …

Software Development data-structure
Member Avatar for jbisono
0
471
Member Avatar for headacheinC

Hi everyone, I get stuck with this homework. May be someone here can help me. I must combine two txt file, line by line. My first datafile contain 1 column, contain float numbers and the other contain many columns, also float numbers (Here i attached both the txt files). For …

Software Development c file-system
Member Avatar for headacheinC
0
590
Member Avatar for mini person

[B][COLOR="red"] hi every body .. in this link : [url]http://www.2shared.com/file/5935975/1e5b926d/client_with_pass.html[/url] i wrote program in c# in this program .. i wanna [ if txtname == txtpassword ] Show ( FrmClient ) ,, by click on button Login .. == BUT .. in this code .. it shows ( a new …

Software Development
Member Avatar for mini person
0
133
Member Avatar for TheBrenda

I am using the ConfigurationManager in a Class Library and I want to read the config file for the Class Library project. The ConfigurationManager wants to read the config file for the applicaiton. How do I read the Class Library config file? <html> Dim strCBFile = ConfigurationManager.AppSettings("CBFile") </html>

Software Development vb.net
Member Avatar for TheBrenda
0
167
Member Avatar for themaster

I am developing a notepad using Visual C# but cant figure out which function to use among those to print the text in the main text box through a printer.

Software Development printer
Member Avatar for ddanbe
0
682
Member Avatar for sneharaveendran

Hi all I need to read an Excel sheet using java and I need to know how many columns are there in that excel sheet. Please drop a code snippet to this thread

Software Development java
Member Avatar for jaka.ramdani
0
167
Member Avatar for Quessir

Hi, all. Have anyone ever implemented strings encrypting with libmcrypt? Especially, interested in MCRYPT_RIJNDAEL_256 with MCRYPT_OFB mode. Tried to implement following the example from docs, but always gaining segmentation fault. Seems to me, that i missed something with iv size and block buffer size. Would be happy, if somebody provide …

Software Development c
Member Avatar for Quessir
0
315
Member Avatar for Tulsa

hello i m a working on php but now i want develop softaware using new vb.net and also want to add left panel bar so user can select page link from left bar and it dispaly on right bar left bar is fixed when any page open at right site …

Software Development vb.net
Member Avatar for Tulsa
0
146
Member Avatar for Raven6666

Ok, well I have an assignment, and I'll be needing some help. First off, I need help on counting the number of from a text file. I'm not sure if I should do a loop eg : [code]for (j=0, j<26; j++)[/code] or there may be an easier way. I have …

Software Development c++
Member Avatar for Raven6666
0
137
Member Avatar for vs.vaidyanathan

can anyone please help me with converting from image to world coordinates? Once i get the world coordinates how do i make use of the Z coordinate to show the 3d? thanks in advance:)

Software Development c++ image
Member Avatar for vs.vaidyanathan
0
291
Member Avatar for SEOKRU

Hi , I have this problem, where I want the query to find slimier results, Like '%BandName%' for a static query it's easy, but when I use a string from a textBox I am not sure what should be the syntax. [code] public static DataRow SearchByBandName(string bandToFind) { return DbUtils.SelectDataRow("SELECT …

Software Development
Member Avatar for SEOKRU
0
80
Member Avatar for shuda009

I'm writing a program where I have a variety of input commands. Lets say here are my three commands: info playlist # quit info - gives me information quit - terminates the program The problem: playlist # - The command playlist # means I need to cout a number of …

Software Development c c# c++
Member Avatar for jencas
0
106
Member Avatar for brandongood

Hello, I am working on a java program that finds perfect numbers. I need to make it run more efficiently by touching up the computation I have in my factorSum method. Heres what I have so far: [CODE] public static int factorSum(int testNum) { //Initialize local variable accumulator to zero. …

Software Development java
Member Avatar for brandongood
0
192
Member Avatar for zack.walters

what is array of void and why am I getting it in the following program? I finally have the first part done where I can loop the input. However, I cannot figure out what this array of void is. I'm getting "declaration of 'lastname' as array of void" in lines …

Software Development c++
Member Avatar for ArkM
0
140
Member Avatar for squinx22

Are there any chances that I could resize an image using the fileconnection inputstream? FileConnection fc = (FileConnection) Connector.open("file:///" + filePath + "/",Connector.READ); InputStream fis = (InputStream) fc.openInputStream(); I want to resize the image from here because if I use Image.createImage(fis); I am encountering "Out of Memory error", if the …

Software Development java
Member Avatar for kvprajapati
0
222
Member Avatar for sgsawant

When I tried to compile my HelloWorldApp.java file using the following command: javac HelloWorldApp.java it worked (for being able to do this simple thing I had to change a lot of variables). But then when I tried to Run the program using: java HelloWorldApp it gave me the error: Exception …

Software Development java
Member Avatar for sgsawant
0
393
Member Avatar for dinilkarun

Hi All, I have the following string: "AND Category 07|Spec 01|ABC 01 AND Category 07|Spec 02|XYZ 02 AND Category 07|Spec 03|PQR 03 " It is stored in a string variable. I want to remove only the "ABC 01", "XYZ 02", "PQR 03", etc from the original string. The new string …

Software Development python
Member Avatar for dinilkarun
0
150
Member Avatar for Abbygail

Hey guys, I have been learning c++ while working with memory management i seem to have gotten stuck, There are 2 classes Stack and Queue the stack works on the LIFO principle (last in first out) and the queue the opposite FIFO (first in first out). Now the program runs …

Software Development c++ queue
Member Avatar for ArkM
0
285
Member Avatar for Truffy

Hi, I am writing a code that will get a file in the linux server(server.logs). Can anyone help me out with that. I am using a java se in a windows. and i dont knw how to retireve file on it. I need to log the files and parse the …

Software Development java windows-server
Member Avatar for Truffy
0
116
Member Avatar for azjherben

I've tried just about everything. Can anyone give me some help.

Software Development c++
Member Avatar for Luckychap
0
823
Member Avatar for newbiecoder

Hi, I want to write a code which takes an array of 20 characters and deletes all spaces between characters, it should leave only letters. For example: input :[B] d a n i w e b[/B] I want to make it :[B] daniweb[/B] I wrote this code, but it didn't …

Software Development c
Member Avatar for ArkM
0
118
Member Avatar for Nperic

Just recently we were given an assignment. We had to construct a GUI which maps out tomtom(navigator) coordinates into google maps and linear graphs. For bonus marks a feature was to be able to change the language of the gui (english to spanish etc) Our tutor had instructed us that …

Software Development gui java
Member Avatar for jaka.ramdani
0
108

The End.