199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for goody11

I've tried like 100 different ways but I can't figure this out. I need each of these variables initialized and defined before they are used. Here is the bit of code: [code] int i, a; char etxt[100]; HWND hwndListBox = GetDlgItem(hEdit, IDC_LIST); i = SendMessage(hwndListBox, LB_GETCOUNT, 0, 0); //gets the …

Member Avatar for NathanOliver
0
131
Member Avatar for Pokenerd

Hello! I'm trying to make a command line program that converts Celsius to Fahrenheit, and then asks if you would like to convert another number. This is the code I have (below) however when it gets to the point of asking if you would like to convert another number, no …

Member Avatar for wildgoose
0
121
Member Avatar for Duki

Our organization has hundreds of project numbers. I would like to create a program that will let me store the numbers along with keywords in a database, and then have the option for predictive searching. By predictive searching I mean something similar to how when you start typing something in …

Member Avatar for serkan sendur
0
134
Member Avatar for Sevenupcan

Hi. Just recently [URL="http://sevenupcan.com/crispinward"]my site[/URL] has stopped working. All the urls on my site have gone haywire and therefore all links and files are not loading correctly. I am using a CMS called skeleton which is really more of a very basic flat file templating tool. One really useful feature …

Member Avatar for Sevenupcan
0
104
Member Avatar for dwdata

Hi All, For some reason, I cannot get the values to pass to the ACTION page correctly in the code below: [CODE]<? $id_Event = '1'; ?> <head> </head> <body> <form id="form2" name="Operation" method="post" action="EvVolProcess.php?id_Service=<?php echo '$id_Event'; ?>"> <input name="id_Event" type="hidden" id="id_Event" value="<?php echo '$id_Event'; ?>" /> <select name="SelVol" id="SelVol"> <? …

Member Avatar for dwdata
0
104
Member Avatar for PatrixCR

hi. I'm a newbie in shell scripting as well as the *nix OS. I just wanna ask about the symbol [B]#![/B] that I saw in many shell script examples. For instance, [ICODE][B]#![/B]/bin/bash[/ICODE]. What does the [B]#![/B] symbol means? What's the meaning of [B]$1[/B], [B]$2[/B], [B]$3[/B] symbols? and what does the …

Member Avatar for sknake
0
169
Member Avatar for MrBaseball34

I use TRegExpr v.0.952 and now i want use RegexBuddy, but i can't replace code. Can u help me? [CODE] var Temp: TStringList; Index: Integer; regex: TRegExpr; begin Temp:= TStringList.Create(); regex := TRegExpr.create(); regex.Expression := '(?m)(?g)^ftp:.+'; try for Index:= 0 to FList.Count - 1 do begin regex.exec(FList[index]); if (regex.Match[0] <> …

Member Avatar for FlamingClaw
0
164
Member Avatar for gretty

Hi I am trying to teach myself C++ windows programing, ie creating windows applications (is that GUI or API or neither :P). I know the fundamentals of C++ programming but looking at some windows code it looks really difficult. [B]Can you suggest any good books or maybe some tutorial sites …

Member Avatar for Ancient Dragon
0
263
Member Avatar for tdeck
Member Avatar for ddanbe
0
2K
Member Avatar for zeus1216gw

I know how to make random numbers. and How to make random numbers in a specific range. BUT!!! How can you display 'x' random numbers in a given range and make it so the output display lists the numbers in groups a 'y'. For example: I want to display 25 …

Member Avatar for csurfer
0
116
Member Avatar for andy_aphale

hello guys, i am creating a admin panel which i m going to sell but there is problem of piracy i.e anybody can steal my admin panel and it will make me loss so my idea is tht if i can put the script which will track the url which …

Member Avatar for acitodg
0
106
Member Avatar for joe82

hello everyone, my file has many long lines witth 12 ccolumns like: gnl|dbS|13484118 gi|62750812 100 16 .......around 12 columns gnl|dbS|13484888 gi|62750812 95 20 ....... gnl|dbS|22484118 gi|62750812 92 20 .......... I want to grab the lines where values of column 3 lies between 90 - 99.9 in the file and store …

Member Avatar for joe82
0
131
Member Avatar for Leila1
Member Avatar for Salem
0
441
Member Avatar for aashishn86

can anyone suggest of a place i can look for Styles for a Business Web Application... thanks...

Member Avatar for aashishn86
0
126
Member Avatar for gergep

i am wondering how to create a gui that is something like wxWidgets. I know how to use the windows api and all of that so i am not asking how to create a button or edit box but really am asking how to create a pixel on the screen …

Member Avatar for tux4life
0
79
Member Avatar for rajenpandit

Hi everybody, I have a problem in include path. i want to keep my all header file in folder named myInclude and include it like #include<myInclude/header.h>, Is there any possible way to do this, if there is than please tell me the step. thanks in advance...........

Member Avatar for rajenpandit
0
132
Member Avatar for xyzt

Hello, I have lots of xml files in the same format and I need to modify a xml tag in these files. i loop over the files and apply sed to the files to make the modification but CPU goes to %100 while doing this. I think I'm doing something …

Member Avatar for fpmurphy
0
410
Member Avatar for sailajap

hi, Where can I practice 70-536 and 70-562 tests online ? Thanks for ur help in advance

Member Avatar for sailajap
0
68
Member Avatar for imhunk

hello. i want to get a free web space where i can upload my own created designs. i went in with some of the sites but they provide their own templet. so, please help me by giving me some names of such sites. thanks !!

Member Avatar for ThinkFree
0
70
Member Avatar for ngjinjin

I don't know why my interrupt handler doesn't work... can anyone of you please help me? ): Below is my code (the highlighted part is my interrupt handler): #include <hidef.h> /* for EnableInterrupts macro */ #include "derivative.h" /* include peripheral declarations */ #include "IIC.h" #include "LEDs.h" #include "ICG.h" #include "Delays.h" …

Member Avatar for Nick Evan
0
191
Member Avatar for xylude

I am wanting to make a search for a website, and I have a plan on how to do it but I am not sure on how to go about indexing the site. My idea is to run a script through the pages that parses everything between the <p> and …

Member Avatar for xylude
0
139
Member Avatar for stevenaseron

um ive been asked by my prof to do a program that could possibly arrange 5numbers from lowest to highest..but im kinda new with programing can sumone pls help me THNXX

Member Avatar for stevenaseron
0
141
Member Avatar for sadix

Hi, I have my own widgets ( simple one) and want to put them in one file and call them from second file. This is like easygui but with pyqt4. My problem - when I call my widget from second file nothing happens. This is file with widgets (example). [code …

Member Avatar for Ene Uran
0
707
Member Avatar for eXsolved

Hey All I'm building a simple game engine (yes I know...) but it's more for personal experience. I'm up to the stage where I have built a simple wrapper for directx and win32. Anyway, all is going great so far. Now, here's something I am a little bit confused on... …

Member Avatar for wildgoose
0
177
Member Avatar for whotookmyname

I have to open a file named "axb.txt" I have user input a and b as strings i have concatenated the string using string str = a + "x" + b+ ".txt" now i need to open the file. it does not open with fopen(str, ios::app) because str is not …

Member Avatar for whotookmyname
0
306
Member Avatar for flinto

Hi there I have the the following database structure: [B]Table Product[/B] Product_ID - Product_name - Product_issue_date [B]Table Sale[/B] Product_ID - amount - date Now i want to report the total of each product. The result should look like this: Product 1 - 5,000 Product 2 - 3,500 Product 3 - …

Member Avatar for HERTBERTS
0
95
Member Avatar for _dragonwolf_

Okay, so I have my program almost complete. I can get it to do everything except use the computeAverage. I know it works because if I hard code the arrays, I can utilize that and it will work. However, I am having to utilize what I pull from a .txt …

Member Avatar for VernonDozier
0
283
Member Avatar for g3nx_28
Member Avatar for cguan_77
0
225
Member Avatar for cooolguy

hi.. i need to read a file.. in tat file i ve to read all strings and compare it with the given string.. hw 2 read strings in file exculding whitespaces n compare it..? help me...!!!!

Member Avatar for cooolguy
0
75
Member Avatar for JohnPhilipps

Good afternoon, I have created a little java app in netbeans that I would like to use on a PC without netbeans. Therefore I am looking into how to make an executable out of the project, I found something called "javalauncher" that is suppose to bundle the class of my …

Member Avatar for stephen84s
0
94
Member Avatar for penguhooks

[code=cplusplus] #include<iostream.h> #include<conio.h> float si(int p,int r,int t) { return(float)(p*r*t)/100; } int main() { int p,r,t,s; cout<<"enter the p,r,t"; cin>>p>>r>>t; float s=si(p,r,t); cout<<"simple interest="<<s; } getch(); } [/code] iam new to c++ and i was going through UDF's when i pondered upon this problem of calculatin the simle interest ... …

Member Avatar for Tom Gunn
0
310
Member Avatar for Niccloud

I am trying to search for something in the database. However, this error keeps popping up. I was wondering if anyone could help me. Thanks [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <? $host = '127.0.0.1'; $database = 'lab11'; …

Member Avatar for Menster
0
292
Member Avatar for desaiva

Hi there, Is it possible that two user's use same application with different computers and somehow one's session data getting overwritten with others? I am not having any code error anywhere but somehow one's data getting overwritten with others. Please help me because I am trying to solve this error …

Member Avatar for desaiva
0
169
Member Avatar for shahji

Hello, i am working on a macro where i need to copy data from a sheet to a different sheet in the same workbook. i normally use "vlookup" or "Sumif" or "Sumproduct" formulae to do the job. the datas is quite large and it takes ages to refresh the data …

Member Avatar for shahji
0
383
Member Avatar for Rodman2009

How did you disable the Unicode, I used the same program and get the same errors, I tried to disable the Unicode by going to the properties of the program, and unticked the inheritance, but I still get the errors?

Member Avatar for Nick Evan
0
152
Member Avatar for thompson007

I am using a function in php for all select queries so that i can dynamically retrieve data from my database ..... I just wanted to know that is my code secure and efficient or if their is a better way to do this, if so please point me to …

Member Avatar for Menster
0
100
Member Avatar for turbomen

Dear Sir, Could you tell me how can I do this question? Write a program that will readin three numbers nd output a message indicating whether or not the numbers were entered in ascending numerical order. (Equal entries are regarded as being in order, e.g. 4 4 5 is OK). …

Member Avatar for FlamingClaw
0
279
Member Avatar for cplusplusfool

Hii Friends, I do not know how to use FILE for writing data. I have tried something but i missed something to write and i do not know what to write now to get data inside file. Help me plz. Regards, Shivi circle.cc [code=cplusplus] #include <iostream> #include "circle.h" using namespace …

Member Avatar for csurfer
0
148
Member Avatar for Web_Sailor

Hi I am trying to write a file writer inside my mouse event code. I am trying to use the file name that comes from JTextField and write it into a file. Here is my code:- [code] private void jButton2MouseClicked(java.awt.event.MouseEvent evt) { JFileChooser chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); chooser.showSaveDialog(this); chooser.getSelectedFile(); …

Member Avatar for JamesCherrill
0
104
Member Avatar for revski

hi, just a quick question can somebody please tell me how to restrict the output of the code below to 2 decimal places. [code]VolumeCalc.Caption := FloatToStr(StrToFloat(EngineSizeVal.Text) / 2 / StrToFloat(CylNumVal.Text));[/code] thx for the help.

Member Avatar for revski
0
327
Member Avatar for klimfr

Hi guys.... i new here... i would like now how can i do one stuff easy--- I wanna do login windows... were the user put is Name and Passoword... when he click's OK.... it send me a email whit the stuff he right..... how can i do that? thncks ;)

Member Avatar for happygeek
0
106
Member Avatar for didijc

Hey C++ guru's... I'm pretty new to the C++ world and would really appreciate some help... ... I'm trying to build a general tree (a tree with one root and N children), I've written the code and compiled it quote/un-quote successfully... ...I say that because I am faced with a …

Member Avatar for Laiq Ahmed
0
1K
Member Avatar for ypdev

Hi, I am trying to validate textbox inside gridview footer template as the following: [ICODE] <script language="javascript" type="text/javascript"> function validate(obj) { if (document.getElementById(obj).value=="") { alert("no data entered"); document.getElementById(obj).focus(); return false; } return true; } </script> [/ICODE] In the code behind, I added the following: [ICODE] Dim InsertN As TextBox = …

Member Avatar for essential
0
349
Member Avatar for zoro11

hi, i have a script here which display an item name from database into textfield based on the combo box selection, i cn display the item name but my problem is i dont know how to display the item information into the textbox? i'm required to use php, hope my …

Member Avatar for peter_budo
0
541
Member Avatar for nccsbim071

I have business requirement and i need to diplay records of data in certain format. My problem is as below: I have database with two tables names "Restaurant" and "Restaurant_Associates". "Restaruant" table stores list all the restaruants available in town wheres "Restaurant_Associates" sotres the list of associates for particular restaruant …

Member Avatar for nccsbim071
0
154
Member Avatar for sweetsasthi

hai friends, I dont know how to create database dynamically in vb.net.(if a button is clicked 4 databases in access or sql has to be created).similarly by clicking the delete button the specified database should be deleted.can you help me out with the coding.

Member Avatar for Piya27
0
376
Member Avatar for ankurmawanda

i want to create a simple form which stores date in to a ms access db so i created a form register.html and action user_register.jsp i also created a ms aceess db when i fill the form the data is passed to the Auction.mdb but the server shows error HTTP …

Member Avatar for kvprajapati
0
179
Member Avatar for taresh1

I developed a jsp page.. and i dont want any one to access the page just by copying he URL what to do.???

Member Avatar for Thirusha
0
88
Member Avatar for Ammar N

Hello all, :) directly here is the issue: i want to choose the path to my database file for my DBdataset in a VB .net project during the runtime in the first form, and then i want to use that file in some other forms. the file could be on …

Member Avatar for kvprajapati
0
83
Member Avatar for nikichu

...hope some body can help me resolve the problem....where i have to update a particular data , the datas are retreived from the db using a dropdownlist,selected data are updated inside a textbox........... .....where there are constraints set by validators for space and !^#$%&*^----charaecters: My problm is data is not …

Member Avatar for nikichu
0
268

The End.