199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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"> <? … | |
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 … | |
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] <> … | |
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 … | |
Is there a way to use the NumericUpDown control without a maximum or minimum value? | |
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 … | |
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 … | |
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 … | |
Hi All User Please Translate C++ To Delphi Thank You Very Much <snip> | |
can anyone suggest of a place i can look for Styles for a Business Web Application... thanks... | |
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 … | |
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........... | |
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 … | |
hi, Where can I practice 70-536 and 70-562 tests online ? Thanks for ur help in advance | |
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 !! | |
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" … | |
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 … | |
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 | |
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 … | |
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... … | |
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 … | |
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 - … | |
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 … | |
help T_T topics regarding software driven hardware proposal for IT thesis... | |
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...!!!! | |
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 … | |
[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 ... … | |
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'; … | |
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 … | |
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 … | |
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? | |
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 … | |
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). … | |
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 … | |
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(); … | |
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. | |
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 ;) | |
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 … | |
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 = … | |
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 … | |
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 … | |
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. | |
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 … | |
I developed a jsp page.. and i dont want any one to access the page just by copying he URL what to do.??? | |
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 … | |
...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 … |
The End.