199,113 Archived Topics
Remove Filter ![]() | |
I had offered to try and write a program for my job. This program needs to handle booking of parties, creating and adjusting customer accounts, printing invoices, party schedules and mailing lists, and a few other features. This project is a little ambitious, but I would like to give it … | |
First,im sorry my bad english.I hope,i can tell my problem. there is a string: dizi[5]={1,2,3,4,5} and when program run, i want to change random place of members.i mean; first time program running: dizi[5]={2,4,1,3,5} second time program running: dizi[5]={5,3,1,2,4} 3th program running: dizi[5]={4,2,1,3,5} . . . etc.. always changes random.how i … | |
I saw many post how to add Facebook connect functionality into a website but i could not see how to implement it to a website with an existing user database. would you please help me to make this work, facebook connect functionality? i am sure it will help a lot … | |
Hi, i am new to java and just want to know if java is heavily used in software. And if we use it to make large applications, will it run slow ?? | |
I'm having trouble finding how to write to a C++ WinAPI TextEdit control programatically. Here is my code for the TextEdit control: [CODE] case WM_CREATE: { OutputBox = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL, 10, 90, 410, 235, hwnd, (HMENU)OUTPUTBOX, g_hInst, NULL); break; } … | |
for experiment i pull data from mysql to xml to use in flash how can i add ahref to id in xml to achieve like this [url]http://www.kalitekolik.x10.mx/product.php?id=1[/url] [url]http://www.kalitekolik.x10.mx/PHP_MySQL_Flash_FINISHED.swf[/url] my database like this id/ product_name/ price/ details [CODE] <?PHP $link = mysql_connect("localhost","lafamosa_kermis","lafamosa1000"); mysql_select_db("lafamosa"); $query = 'SELECT * FROM products'; $results = … | |
i successfully sign-up,but i like to check the null entry in the form before other check.please healp. This Is My Sign-up From <form action="signup.php" method="post"> <label><b>User Name:</b></label><input type="text" name="login" /><br /> <label><b>Password :</b></label><input type="text" name="password" /><br /> <label><b>Confirm :<br/></label><input type="text" name="confirm" /><br /> <label><b>Email :</b></label><input type="text" name="email" /><br /> <label></label><b><input … | |
if a text box contain contents of a file like code of a aspx file. now we want to edit that code which is displayed on that text box what "should be code behind edit button"?? and after "that file should be saved and overwrite in the same location from … | |
[ICODE]am trying to create a filter,but am geting no result with this,my data type in mysql is date.Any help pls?[/ICODE] [CODE] <?php $date = ""; $driver = ""; $vreg = ""; $desti = ""; $radiotype = $_REQUEST['find']; if ($radiotype == "") { echo"<p class='bodytxt'>N.B: You can filter by selecting any … | |
i get such a error:"Deprecated: Function eregi_replace() is deprecated " [CODE] <?php // let's initialize vars to be printed to page in the HTML section so our script does not return errors // they must be initialized in some server environments $errorMsg = ""; $firstname = ""; $lastname = ""; … | |
i want to disable few check boxes in a checkedlistbox. what should i do? | |
hi.. How to create the sub total in data gridview in asp.net using c# | |
I have about 30 PictureBox controls on my form and I was wondering how would I be able to calculate the load time for a certain amount of those PictureBox controls. For example, I have 15 on one tab and 15 on the other. How would I create a ProgressBar … | |
Hi, I am a new one to vb 2005. I dont know how to filter the datagridview with the 2 datetimepicker control one for start date and another one for end date. I want to search the dates based on the datevalue of the data in one coloumn. Any one … | |
Dear all, I'm a C++ beginner and I'm facing a problem with C++ program running on Dev C++ 4.9.9.2. The following program builds and compiles just fine however when I try to execute it it stops before getting any output. Actually the line causing the problem might be the "y_pos[][]" … | |
I am trying to integrate Authorize.net DPM into my PHP/smarty based shopping cart. It is proving to be quite a challenge. I am now getting this parse error. I get this error: Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/wopl/public_html/yamada/classes/gateways/authnet.class.php on line 119 which … | |
I have a class called PatchCollection. It is in charge of creating a bunch of Patch objects. It stores them in a member variable of type std::set. Now I want to loop over all of the patches from outside the class. That is: [code] MyClass { PatchCollection Patches; void DoSomething() … | |
Hi Everyone, How to write a javascript method that can check the value that user key in? Example i create a textbox and user can only key in 0 - 50 to the textbox | |
Dear All, I have just started, playing with unix shell programming. I am in need to know, that how to get the position of cursor at unix shell. To set the cursor position i am using command # tput cup x y | |
how can i print the search result using php??? sorry, i dont have any reference code and i dont know how to start the print process using php.... any help, please??? and thanks for your time... | |
I've been googleing the syntax, function, and examples for these keywords, but to no avail: 1. as 2. with 3. assert 4. pass 5. yield 6. break 7. except 8. class 9. exec 10. in 11. raise 12. continue 13. finally 14. is 15. for 16. lambda 17. try Help … | |
Hello all I have classes all bundled in a package The name of the package is components All the classes placed in a directory c:\LJava\build\components The names of the clases are a.class b.class and c.class How to jar this package ? I use dos prompt(not net beans) main class is … | |
ello.. i cannot display the video or audio that i already upload in database..why and how should i do?? | |
Hello everyone, I'm newbie and I need some helpful for my problem: [CODE] class pages { var $total_pages = NULL; var $scroll_pages = NULL; ... function page_link (...) { if ($this -> total_pages <= $this -> scroll_pages) { ... } } } [/CODE] Sorry I don't understand the code above … | |
I need to automate what a users does when clicking on <A HREF="whatever">. This will be used to refresh a page. Any ideas on how to do this? Thanks! Greg | |
I'm trying to programatically set IE options such that when I print a page from my control, it will not print the header and footer, as is the default setting for printing a web page from IE. I found out how to do so from [URL="http://support.microsoft.com/kb/313723"]http://support.microsoft.com/kb/313723[/URL], however I am having … | |
OK, first off I have figured out the prime number algorithm...I guess. What I am needing help with, or wanting the answer to, is how to count how many primes are being displayed. To wit: Enter a Number: 10 There are 4 Primes. The Primes are: 7 5 3 2 … | |
Hello, I have this javascript function: [CODE]<script type="text/javascript">$(function() { YAHOO.MediaPlayer.addTracks(document.getElementById("ajazload"),1,false)});</scr*​ipt> <script type="text/javascript">[/CODE] This function is loaded inside the <div id="main">, which is loaded via Ajax. How can I prevent the javascript function to reload itself at every #main ajax page load ? I just want the javascript function loads at … | |
On my site there is a horizontal menu. When I hover over a menu button, which is a <div>, a <div> inside that <div> is shown with control options for that button (for example to edit the button text). This is done with Javascript (jQuery). It uses $.hover. So, when … | |
![]() | Went to sort a dictionary today and found that MyDictionary.Sort wasn't there. Heres a method to sort a dictionary by value. [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Non sorted Dictionary Dim Dictionary As New Dictionary(Of Integer, String) Dictionary.Add(1, "Greg") Dictionary.Add(2, "Marsha") Dictionary.Add(3, "Peter") … ![]() |
Hi guys, Happy New Year! I'm trying to setup a voting site where the button under the contest entry just says "Vote For Me" and my form will collect the data from that button and store it into MySQL. I'm having trouble naming that image/vote button so the form will … | |
Hi all! I've come very close to finishing this applet of mine but I'm stuck on one last part. The main purpose of this applet is just to fetch some data from a URL (read in 1 line, parse it, and display the data.) After starting this project, I found … | |
Hello guys , I am looking for a HTML parser in C/C++. I am trying to make a movie rater , which take name of movies from a folder and stores it in a file , then sort it according to their rating on net. So ,I am thinking to … | |
can anyone tell me why this c# console command not running on java?.............. i've made a c# console program as given below [CODE=C#] using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace face { class Program { public static void Main(string[] args) { String path = … | |
I'm trying to incorporate my custom control called "windmill" into my application extension. I've created a few properties that I want to be visible in the properties window and when I built my project and tried to use it in a test project it did not work. To top it … | |
Hey everyone! I have an issue with the my checkuser.php..which is my login check that redirects certain users to a certain page, due to if they logged in as an admin or a regular user..I have a test site on my local server that works fine when I log in … | |
Hy , I have a jTable , for printing it i`m using jTable.print(JTable.PrintMode.FIT_WIDTH). I have no problem with that. What i want to do is this (the table extends on 3 pages): On the first page the title should be "Bla bla bla" , and o the last page under … | |
I have a masterpage and a default page in a project in VS2010. I am trying to import a javascript file. If I import the .js file the project compiles and loads but the whole browser screen is blank. If I comment out the javascript import line the page displays … | |
Hi guys I used the joomla cms for web development. Actually i install the roknewsrotator module and use it for Persian language that it decode with UTF-8. i don't know why the News rotators module want to show some news in UTF-8 language, at the end of the sentences it … ![]() | |
You'll have to excuse me, I'm a complete python newbie, but am trying to import a pyd file that I've been sent by a friend. He assures me the file works fine on his computer but when I run [code] import myfile.pyd [/code], after having placed the pyd file in … | |
In my web application I need to be able to allow the user to transfer files (word documents and pictures) from their computer to the server and I have been unable to google an answer. PHP, Apache and MySQL. The problem is mainly I am unsure how to compose the … | |
Hi guys, I am a newbie that starting to write programming in C#? Anyway got any good suggestion that i can learn the C# example books, website or tutorial? Thanks you | |
I was just washing dishes and as usual was pondering programming scenarios. One came across my mind that hit me hard. UPDATES! I would like links to information on how to make an application that checks for updates at a location on a free website (I'm using webs.com for my … | |
I've been google searching this for a while but can't seem to find information on it that is helpful to me. Is it a way to work with partners on projects over a server? If so then this would be lovely. I get tired of sending my projects to friends … | |
Hey guys! I'm new to programming and C++ is my first programming language. I have studied books on the language but I know the real job is the application of what I have been studying. I am planning to do a project this semester that will help me to actually … | |
I am working on a project that requires a CSV file to be read into a multidimensional array. I loop through the array, and set multidimensionalarray[x][n] to the corresponding data in the CSV file, but I keep getting IndexError: list index out of range. I can't figure out why, and … | |
[CODE]#include<stdio.h> #include<math.h> int main() { float a,x,y,w,g,s,area,b,c,hg,radius,ho; printf("enter the value of one side:"); scanf("%f",&a); printf("enter the lengths:"); scanf("%f%f",&x,&y); w=2*x; g=2*y; s=(a+w+g)/2; area=3*sqrt(s*(s-w)*(s-g)*(s-a)); printf("the area of the triangle is:%f",area); b=(2*area)/(3*(w+x)); c=(2*area)/(3*(g+y)); radius=(a*b*c)/(4*area); ho=sqrt((9*radius*radius)-(a*a+b*b+c*c)); hg=(2/3)*ho; printf("the diatance is:%f",hg); system("pause"); return 0; } [/CODE] the area comes right but the distance hg shows … | |
Hello, I wanna do to do list to look like that: [IMG]http://uss.feri.uni-mb.si/images/Vaje/Vaja_7_jQuery/vaja1.PNG[/IMG] and i need to use jQuery selectors. I can't seem to get it to list a task and create a task. Can anyone please help? This is the code: [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> … | |
Hey guys, I'm having this problem of trying to open shortcuts, i.e (.lnk) files and am also trying to open powerpoint slideshows (.pps) files through turbo c++. It didn't work so what i did was write a .bat file to open those programs and then converted that .bat file to … |
The End.