199,113 Archived Topics
Remove Filter ![]() | |
hi i have application in vb 6.0 ,which i want to open in vb.net...how? i have tried *upgrade wizard of vb.net..............not working *installing vb 6.0 again...........now seems difficult althoght d .exe file of my application is running but some forms r missin help ........... | |
Hi guys! I'm trying to make a PHP mailer and I have a little problem with the eregi() function. This is the code: [code] if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email)) { $error = "1"; $info_error .= $lang_invalidemail . "<br>"; } [/code] and it gives me this error: Deprecated: Function eregi() is deprecated in … | |
Dear All, Can you visit this link [url]http://183.78.169.54/v3/addTab.php[/url] then press the tab Drive Licenses and then press the pick button for the license expiry date and you will notice the calendar appear at the bottom. The problem if I put my codes in tab style then only this problem occur … | |
Hi! I'm writing a program about trying different images in picturebox, but the image must correspond to the text. Plus it must come from "Resources" folder of the project. this is what i want to do if the text "apple" displays to the screen then the image with a filename … | |
What I thought this code would do is, if i typed non-numbers it would continue prompting me until I finally input a number which it then will output the word "one" on the page. What it does is if I type a number first it outputs the word "one" on … | |
This is my final project for my C++ class online. I was instructed to make a test and to pull answers from withing a .txt file and compare them to the answer that the user inputs. I'm sure there's a much easier wau of doing things than the way I'm … | |
I want to create a banner that contains a live updating rss/xml feed. Output should result in a single image that updates. Ill be using this to draw customers to my site since the image will be hosted on other sponsor sites. Image format must be either jpg gif or … | |
I want this javascript to directly compare the username and password of the user who login to mysql table that holds all the registered username and password.. [code=javascript] <script type="text/javascript"> $("#login_form").bind("submit", function() { if ($("#login_name").val().length < 1 || $("#login_pass").val().length < 1) { $("#login_error").show(); $.fancybox.resize(); return false; } $.fancybox.showActivity(); $.ajax({ type … | |
Good day! Ive been working with fancy box login and now Im almost at the point to accomplish it. I want to get the login username and password from the array that fancy box was created.. The main task is to pass the login username and password value from login … | |
Hi all, I'm trying to build a program in visual studio 2008, when I build in debug mode, it runs just fine, but if I try to build in release mode, there are no errors but when the program runs I get this error: The program can't start because MSVCR90D.dll … | |
im trying to convert double to string with this code: if its a number like 3.7345 than its working - but if its 5.0 (only zeros after the point) [CODE] double number=5.0; string ToString; stringstream out; out << number; ToString = out.str(); return ToString;[/CODE] it returns - 5 and i … | |
I'm trying to read integers in a .txt file into a 2 dimensional array (map). Here is the function: [CODE] void loadmap(int mapnum) { int x; ifstream inFile; inFile.open("level1.txt"); if (!inFile) { cout << "Unable to open file"; //exit(1); // terminate with error } for(int countline = 0; countline <= … | |
Hi. Can you explain to me on how to "inherit" (if that's the right word) stuff from a header file, and on how to write one? (A header file) Like if i wrote this; [CODE] class Foo { int a = 123; } [/CODE] in a header, how would i … | |
Ive been trying to figure this out for 36 hours now. I have easyjobportal and everything works fine except when you try to apply for a posistion. When you click apply is redirects to "Internet Explorer cannot display the webpage" Please help... system_job_apply.php [CODE]<? $action = "apply"; setcookie("cjobs" , "-$job-" … | |
I just found a question whose statement is as follows: [COLOR="Green"]Write a function contains(const char*, char) which returns the pointer to the first (left-most) occurrence of the 2nd parameter char in the 1st parameter cstring, or NULL if the cstring doesn't contain the char. [/COLOR] Another condition is that inside … | |
i got something really stange going on with mysql.look [CODE] <?php $numid=$_POST['numid']; $query1="select * FROM datatable LEFT JOIN datatable2 ON datatable.numid=datatable2.numid WHERE "; $connect=mysql_connect("xxx","xxx","xxx") or die ("Check your server connection"); $db_found = mysql_select_db("mydb",$connect); if ($db_found) { echo "Database FOUND <br>"; if (strlen($numid)>0){ $query1.="numid='$numid' AND "; } $query1=substr($query1,0,(strlen($query1)-4)); $result = mysql_query($query1); … | |
Hello, I have a string taken as input from user. I just want to check if a particular character within that string, is part of Standard English character set or not. How do I code the IF condition for this purpose? Regards, Arvind. | |
i hope you can modify my simple bouncing ball :( its flickering.... i dont know how to solve it. [CODE]import javax.swing.*; // For JPanel, etc. import java.awt.*; // For Graphics, etc. import java.awt.event.*; import java.awt.geom.*; // For Ellipse2D, etc. //import java.util.*; import java.io.*; import java.util.Random; public class aball extends JFrame … ![]() | |
This is sooo confusing and both looks like the same.can someone explain this to me? thanks | |
I need some help with this one guys. I made a small script that inputs only numbers with 4 digits. Now the trick is that I need to input only numbers higher than 0 (ranged from 1 to 9999). Easy enough, I said, if I only make this rule: $val<=0. … ![]() | |
hello... everyone! i have included graphics over Map like a popup menu, but now i need to provide a mouse click action over the graphic. Is it possible...?? let me explain properly. i have given city details over open street maps by using graphics2D, now i need to give a … | |
Hello friends, I want to built a website in php but i am short of ideas? Target audience:- Youth Can any one help? Thanks navi ![]() | |
![]() | Hi I was wondering if there has ever been/ are plans to be a python os and if it exists where could it be found? secondly i was wondering if python could be installed on windows mobile or android? |
HI guys, I want to create and encryption system that converts a character to encrypted data, I'm thinking about using the ord() and chr() functions in python then slice the sting into characters implement the encryption on each character and bring them back together what do you think, Is there … | |
hi everybody, i'm a student and i'm sick of going around this. lol i have to make a game of tic tac toe, and i did everything, and everything is working fine exept this. this is a method to see if there is a victory in a line, it does … | |
Hi.. I have a project to display PDF files by clicking a hyper link. The PDF are huge in size and it will take a long time to load. I want to show a message like "Loading Please wait" on that loading time.. Any body have idea about this?Help me.... … | |
I have several vectors of int elements. Now I want to create a vector of vectors, but I don't want to copy the vectors to the new one. If possible, I'd like to pass them by reference. Please consider: [code=c++] #include <iostream> #include <vector> using namespace std; int main () … | |
Hi Everyone! It's been a while since I've posted! Anyway, I'm building a website and I need one user to be able to pay another user, while a percentage of that money goes to me. Here's an example: Two Users: User A User B User A pays User B $100 … | |
hi i need to link my select to another page (form) i write : <? session_start(); if(!session_is_registered(myusername)){ header("location:main_login.php"); } ?> <html> <link href="style.css" rel="stylesheet" type="text/css"> <body> Login Successful <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("project", $con); $result = mysql_query("SELECT * FROM patient"); … | |
Good day, i'm creating a calculator in c++ using visual c++. I got error's as below [CODE]c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax error : '__w64 unsigned int' should be preceded by ';' c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C4430: missing type specifier - int assumed. Note: … | |
im curious as to if anyone knows the internals of how cout works? for example the step by step internals of what happens when executing the following statement in c++ cout << "hello world" << endl; -thx | |
| |
Hi Guys, Im having a little trouble with an C# application i'm writing that has plugin. Basically If i add a new plugin (copy it into the plugin folder) with the same name as an existing plugin or if i come across a faulty plugin i want to delete the … | |
Dear all, I have done a sample program using ajax . But onreadystatechange not working. If i specifies "false" in the open method. Example program : [code] <html> <head><title>Sample Ajax File</title></head> <script type="text/javascript"> function ajax_function(){ var httpReq = new XMLHttpRequest(); httpReq.onreadystatechange=function(){ alert(httpReq.readyState); } httpReq.open("GET","http://localhost/ajax/sample.php?name=prem&Id=1",false); httpReq.setRequestHeader("Content-type","application/x-www-form-urlencoded"); httpReq.send(null); } </script> <body> <form … | |
In the listener for a button in the actionPerformed(ActionEvent e) part, if you call e.getSource it returns a type object. So how can I turn that object that it returns into the original button? | |
I use Visual basic 8.0 I have a bound Datagridview. This Datagridview has 25 row. Only thing i want to clear the row [COLOR="Red"]Contents[/COLOR] of a specific row. [COLOR="red"]I want not delete of remove the row!!!![/COLOR] How can helpme with this problem? Thanks, André | |
Hi, How can I setBounds of a component in percentage of screen size so that the interface looks same on different resolutions. I am using Visual Studio 2008. When I click on a button in designer view it shows me button's properties on right side. There I can set Location … | |
Dear friends, I am a newbie in Visual Basic .NET and hope that your kind assistance will make me to learn it. The problem has been simplified for the purpose of clarity. I want to make a windows form application that uses an access database. The application will store the … | |
elow I'm trying to create a program that will display the output : [code] * ** *** **** [/code] please help me [code=c] int main() { for(int i=0;i<=7;i++) {for(int j=0;j<=i;j++) cout<<'*'; for(nt k=0;k<=i;k++) cout<<' '; [/code] then what next its only give the output [code] * ** [/code] please help … | |
Occasionally I have had trouble sending emails using the builtin mail() function in PHP. Sometimes emails never reached their intended destination. Naturally I have assumed that there might be a problem with some spam filters used. However, lazy as I am, I have not given it a second thought. Instead … | |
I have a bmi application that was written in Java via netbeans but now I am trying to convert the Java to C#, I have pasted a sample of my Java and under that what I have so far for my C#. I would be grateful for some help with … | |
I'm writing a little script thats a countdown timer. What i want to do is be able to set a length of time like 3, 5, 7 days etc. So i will have [CODE] var dif = 3; var now = new Date(); var end = new Date(now.getFullYear(), now.getMonth(), now.getDay() … | |
to create excel workbook dynamically where data will be input and manipulated by user. i want graph as well to be created using the data i manipulated and entered. i want as many as work sheets to be added in workbook once it is created. please help i have no … | |
hi All, I am importing the SQL DB data into a CSV file, the length of the data is too large and doesn't fit with default csv file column width, so i need to increase the column width please let me know how can you achieve this . below is … | |
Hello all, i am importing the data from db using MySQLdb module in python, please let me know how to write this data into an excel sheet. from db i get data in multiple rows and columns please tell me how to write in excel | |
[CODE] <script language="javascript"> function add() { var divTag = document.createElement("div"); divTag.id = "div"; //alert(divTag.id); //divTag.setAttribute("align","center"); //divTag.style.margin = "0px auto"; var j=1; divTag.className ="dynamicDiv"; var v1 =document.getElementById('ttlBoxes').value; var v2 =document.getElementById('boxno').value; var d1=parseInt(document.getElementById('ttlBoxes').value); var d2=parseInt(document.getElementById('boxno').value); if(v1!=""&& v2!="") { if(d2<d1) { divTag.innerHTML ='<br /><table width="101%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable" ><tr ><td width="150" … | |
/** readGradeFile ******************************************************* * Read the data from inf into the parallel arrays given. * @params inf -- input file to read data from @pre inf is already open * id[] -- container for student id #s * asgts[] -- container for assignment grades * mt[] -- container for mid-term … | |
The Eric4 IDE I've been using IDLE under the latest Enthought release (python 2.7) running windows XP (and windows 7 on another computer). But I decided I wanted to use a real IDE with the goal of writing GUI applications. It seemed like Eric4 would be a reasonable choice. I … | |
Hi! I'm working on code for a personal project thingie, and I'm stumped by part of it. I am trying to search a line (provided in a separate .txt file) to see if I can find any consecutive occurrences of elements of a list in said line. For example: in … | |
Hello I'm getting these 2 LNK errors and haven't been able to figure out how to resolve them, any help is greatly appreciated! Its was an empty Win32 Application that i created and added code into from existing source. [CODE]Error 1 error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function … |
The End.