199,124 Archived Topics
Remove Filter ![]() | |
Problem: The user should be able to specify a field and a value for that field and the program returns all works that match. For example, the user may specify Artist and Smithely, and the program will output all of the information concerning every work in the gallery by that … | |
Hello friends, I am trying to make a simple search box in ASP. I am using a text box, where the user enters his query. And besides it, I am using drop down menu (<select>.. <option>.. </select>) in which the user selects what he want to search (Song name, Artist, … | |
please help me in making a code on how to get the filename, application in a client is using. i need the code in visual basic 6.0. please help me. T_T asap[code]please help me in making a code on how to get the filename, application in a client is using. … | |
hey guys, i'm making a kool program for a game but when i debug the program it keep coming up with expected = , when i tried this code: [CODE]Shell ("Ping start" + Combo1.Text + ".blahnin.com -t", vbhide)[/CODE] is there a way to fix it? or is there another way … | |
Hi ! i have completed my project in visual basic. Now i want to create its setup by using deployment and setup package. But my set up should install the program files and database at the path which i have given in my code for database connectivity. How to do. … | |
Hai, I had a php based website and my home page is index.php. In that index.php page I called an another page (inner.php) using iframe. And works fine. Now I had heared that goolge calculate iframe objects as the virus or something like that blacklist our website. Is there is … | |
I would say yes since both are ways of storing information. | |
Hey all, This isn't so much a question as a heads up... After using python for a few years (mainly doing blender scripts and random console/command-line apps and tools) I've recently started looking into doing some GUI based stuff using wxPython. I've had a look at a few of the … | |
Hello, I would need to upload two files from two different iframes, but they have to be treated at the same time by the same server script, so I'd need to send them with a unique submit. Is this possible? For what I have seen, the submit targets a single … | |
[CODE] import javax.swing.*; import java.awt.*; public class Calculator { public static void main(String[] args) { new Calculator(); } public Calculator() { JFrame f = new JFrame(" "); JPanel textfieldpanel1 = new JPanel(); JPanel textfieldpanel2 = new JPanel(); JPanel row1panel = new JPanel(); JPanel row2pane1 = new JPanel(); JPanel row3pane1 = … | |
Hi, i m a newbie in vb. I have this code which i have attached here. I have to use it to display live ECG signal using RS-232 cable. its my graduation project. I know the code is big , but please need help badlyyyy. I have installed vb 6, … | |
I have a text file that I need to find data and assign it to a variable. I have found code to read and search a file but the information I want is not always constant. The Items in Red will change. Is there a way to find this information, … | |
Hi, I'm pretty new to python but thought I'd write something to read [URL="http://www.zyrus.org/log2.log"]this log file[/URL] to try and learn it. Ideally, it will read this log file, match a string and return everything between the "****" delimiters where the string was matched. I'm not 100% sure how to go … | |
I tried to add sroll bars to a textarea with the following code. It is not wrkin. Show me a way out! I just wanna add scrol bars to the textArea. class srolpane extends JFrame{ private JTextArea txtAr; private JScrollPane srlpane; private scrolpane(){ txtAr = new JTextArea(); txtAr.setBounds(250,50,400,425); srlpane= new … | |
Hi, I am new to c# and I am trying to read a file which is of format: 1 2 3 3 4 5 6 7 8 1 2 3 4 the problem is I am not able to read file in given format, I am not able to tell … | |
Hi, I'm developping an application that reads emails from a server. I have set the interval of the timer1 to 1000 *30 (i.e. 30 seconds). In the timer1_timer () subroutine I called another subroutine which makes a connection with the server using Winsock1.RemoteHost "hostname" Winsock1.RemotePort "hosr port" Winsock1.Connect and then … | |
Hi to all I've formula like this one,., (((10000*5000)-2000*3000)*30/100),.,Can anyone sove this using prefix postfix notations,.,.,I can't find this,., | |
how do check whether a particular file is present in a folder in c++(turbo ) | |
Hi, Im inserting data into a SQL2000 table with breaks/paragraphs and returning it on an ASP (VBScript) page without the breaks. The information is going into the table as follows; The quick brown fox jumps over a lazy dog. The quick brown fox jumps over a lazy dog. But its … | |
i have a login page (html) i need to transfer the username and the password to a text file using asp ... [code=html]<FORM method=post action=login.asp> <INPUT id=email class=inputtext type=text name=email> <INPUT id=pass class=inputpassword type=password name=pass> </form>[/code] i need this parametrs to be written in text file (notepad) using asp Thanks … | |
1)What are different types of Cursors? Explain me in detail plz. 2)What are diff types of locks? In some sites- Four types of locks availbale in ADODB 1.Optimistic 2.pessimistic 3.batch optimistic 4.readonly In some sites Forwardonly , lock,adLockUnspecified What are exact locks,can somebody tell me? 3) What is Z order … | |
I have a Panel on a form to which i have added a selection of controls with (x,y) coordinates. The panel has Autoscroll enabled. If there are enough controls to require a scrollbar, and the bar has been scrolled down when the paint event fires, the controls all move down … | |
you've read it once you've read it a thousand times! probably responded to it just as many times. Now i ask that you respond one more time I've added as many details as possible becuase i've tried the solutions in an old thread in this forum but no luck. [url]http://developers.sun.com/mobility/midp/articles/tutorial2/[/url] … | |
Hi, been working on this project and just confusing the heck out of myself with classes and stuff and was hoping maybe someone could lend a hand on what I might be doing wrong? The general idea of this is to get the arrow (int 231-234) to point in the … | |
I wrote a Java program, and it successfully compiles and runs in NetBeans, but I'm not able to do the same in the [B]command line[/B], on Windows XP. It works ok with 1 class, but when I have few files 'package' I have a problems. 1.Start -> run -> cmd … | |
how can i change the path of my database, because if i move my program to another computer it complains of database error. i use this code to add record to the database. adodc1.recordset. addnew please assist thanks | |
Hi to all, i want to save an array of tchar with his value in the map, as std::map<TCHAR [100], int> word; but when i say [CODE=C++]insert(pair<TCHAR [100],int>(text,1))[/CODE] the error is: cannot specify explicit initializer for arrays... Why???? | |
![]() | Hi everyone. I'm new here and would like some help with some Python code. I'm trying to use modulus to shift decode an input line (regular sentence or word like "Bill") but I keep going over the regular alphabet in ascii and the "B" becomes an "=" How do I … |
A simple used car market Design and implement a used car market program.Store the following information for a car: a. ID (unique, can be used as the key) b. Brand c. Model d. Year of manufacturing e. Driven kms f. Price Valid operations are add/update/delete a car and search. User … | |
Hi, I'm using a table template[header and side] to display all my detail etc in the content place holder. how can i make the web application auto scale to the size when we minimize and maximise.. | |
Hello Can you assist me in developing my algorithm? I have to do this: [QUOTE]Write a C++ function balanced that uses a [B]stack[/B] to check that all brackets in a string are balanced. For eg: This is a balance string: [I]This (string) has (balanced {brackets[(now)]} [thanks])[/I] This string is not … | |
Hai friends, I had a main web site and a number of 15 ( also increasing ) child websites. I had a master database in my main website. Now I need to connect main database from the child websites. I had a code to connect the database from main website … | |
Hello Friends I still muddled with some things (that is with a lot of them). I have a Gridview, where the first column ia a TemplateField with a LinkButton to delete the record, the selected row. I did the same routine using the primary key with DataKeyNames, however in this … | |
Good Morning Friends I'm using a modal popup using Javascript that this opening normally through the following syntax: [code]jscript + = "<script language='javascript'>" jscript + = "window.showModalDialog ( 'DOCUMENTOS2.aspx','',' resizable = yes, menubar = no, scrollbars = no, width = 1850, height = 1650 ') "jscript + =" </ script> … | |
I'm not experienced in java and so I find scripts that people post and alter them to my needs, I have a bunch of scripts that I got from the net, I want to have all on one page, problem is that I cant get them to all run at … | |
Basically I am creating a function to determine the perimeter of a polygon based on the vertices. The input parameter is an xyList that contains the coordinates, basically a nested list of coordinate pairs within another list, like so: [ [x1,y1], [x2, y2], [x3,y3], ...] I am using the good … | |
I have come across a strange behavior.. [CODE] #include <stdio.h> #include <conio.h> int strlen(const char *); int main() { char str[]="rahul"; printf("%d",strlen(str)); _getch(); return 0; } int strlen(const char *str) { const char *eostr=str; while(*eostr++); return eostr - str; } [/CODE] Outputs : In VS9 Length:6 // correct In gcc … | |
I've got a problem with this piece of iterating code: [CODE] /* Iterate to apparent position */ while (a1 != aT) { /* <-- assume a1 == aT here after the 3rd iteration */ a1 = aT; /* Recalculate position */ Venus_C(JDE - aT); /* Calculate */ ep = sqrt(pow(Venus_x(), … | |
I tried to start up python for the first time, but it said the handle was invalid, any clues? | |
please do not delete this post even though there is a link.. I have been asked to take a look at this site and evaluate whether any programmer could duplicate it .. so I am asking you all to let me know if you could duplicate the magnify functionality of … | |
hey guys. i have several problems but i stuck with these 2 problems. hope you guys can help me out. 1- [B]Max, Min, Average of Number String[/B] write a C++ program that reads in an unspecified quantity of real numbers, of quantity < 100, and stops reading them in when … | |
Hi, I am trying to design a website, where we have a table containing the days of the week and hours. The idea is to populate this table by its connection to the database. So two pages: Make appointment: 1. I insert into the database via php website selecting time … | |
hi guys, I am a new student in learning C, I have about a month of experience on it and i am learning now how to use loops. I wanted to write a program using loops in which i ask them to guess a password to a question i ask. … | |
I packed a Python script (that uses pyGTK) into an .exe with py2exe. It runs fine, except that the normal GTK theme does not show up. This is what it looks like when I run the script: [url]http://img33.imageshack.us/img33/4080/16sepwed1827.png[/url] And this is what it looks like when I run the .exe … | |
I wish to pass an array of arbitrary content via a hidden field in a form which uses the POST method [CODE]$targets = any old array; ... build form to include ... <input type=hidden id=targets title=targets name=_targets value=\"".htmlspecialchars( serialize( $targets ))."\">[/CODE] Clearly this requires some use of the htmlspecialchars() or … | |
Hi all, Left of a TextBox I have a Label and the text changes during a run so I want the text to be right aligned. So I used the TextAlign property of a Label and set it to MiddleRight. It does not work. Looked for an answer, could not … | |
I'm attempting to output a 7 digit number in a space 7 columns wide with cout, where loan is my 7 digit number: [code] cout << "$" << setw(7) << fixed << showpoint << setprecision(0) << loan;[/code] Any attempts fiddling with this result in the number being converted to 1e+006. … | |
How is it possible to check if a String is a valid number. The number can be both an int or a double like: [code] String^ ValidInt = "5"; String^ ValidDouble = "5.01"; [/code] | |
It uses the idea of Seive of Eratosthenes. The code is basically does the following to find Prime Numbers : 1) Populate Array from 0 - > MAX 2) Find 1st Prime, which is 2 3) Delete all Multiple of 2, i.e set it to false 4) Find next prime, … | |
hello every body i rewrote my game into pure opengl and pygame i have finished things like camera movement and other stuff. Now i really need help with the collision it basicly works even if the box/objekt is resized but now i want it to work when the objekt/box is … |
The End.