199,114 Archived Topics
Remove Filter ![]() | |
So my server sends information and receives information. I know this because i tested it on the local host. The problem is that the portion it receives comes out with little squares after the user input. Here is a picture of the problem. [url]http://img706.imageshack.us/img706/3342/outputc.jpg[/url] [url]http://yfrog.com/jmoutputcj[/url] Thank You Server Code: [code]import … | |
For inputs A and B (integers) find number of possible integers X such that S(x^2)=S(X)^2 where S(x) is the sum of digits of X.......A<X<B | |
Hello there,,,,,,, In my project there is one window form and on that form I have one linkLabel control..... Now my question is that I want to add one web page into my project ......so that when I click on the LinkLabel it must open that web page .....so how … | |
Hey guys! Im having problems with a snippit of code ive written. I know this is basic C++ so its a little embarasing that i cant work it out myself. Ive googled the run time error message but im not 100% sure i understand what it means. Unhandeled exeption, access … | |
Dev-cpp 4.9.9.2 Windows 7 Hello I have been using my current version for quit a while and I restarted my computer today and now no matter what I try to compile I always get the return of: [CODE] Compiler: Default compiler Executing g++.exe... g++.exe "C:\Users\Salica\Documents\Cpp\hello.cpp" -o "C:\Users\Salica\Documents\Cpp\hello.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" … | |
I'm trying to create a JTextPane that has the following properties: 1. Vowel letters are colored in green 2. Consonants are colored in blue 3. Numbers are colored in red 4. And the maximum number of characters is 26 and all characters are in Upper Case To achieve this I … | |
I want make list years in PHP.List contains years of 1900 to 1992. Second problem is send my list to another adress in GET metods. | |
Hi I have this table name age John 14 Katy 14 Mark 15 and I want the number of rows where the age is equal to 14 , so in this example the result should be (2) but my problem is that I dont know how to start , so … | |
i use vb.net 2012 on Windows 7.0 64 bits pc. If I try to kill osk.exe is get this error: System.InvalidOperationException: Cannot process request because the process has exited. at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited) at System.Diagnostics.Process.Kill() Private OSKProces As System.Diagnostics.Process If ProcessesRunning("OSK") Then OSKProces.Kill() Else OSKProces = System.Diagnostics.Process.Start("osk.exe") End If … | |
please help me.. how should i cancel the editing, and update and delete the row from gridview. by using store procedure. and binding the table column with <asp:BoundField></asp:BoundField>.. here is my Html code. <asp:GridView ID="gridviwtbl" runat="server" AllowPaging="true" ShowFooter="true" PageSize="10" OnPageIndexChanging="GridViewSample_PageIndexChanging" OnRowDeleting="GridViewSample_RowDeleting" OnRowEditing="GridViewSample_RowEditing" AutoGenerateColumns="false" OnRowUpdating="Gridviw_RowUpdating" AutoGenerateEditButton="false" AutoGenerateDeleteButton="false" Width="140px" onselectedindexchanged="gridviwtbl_SelectedIndexChanged" onrowcancelingedit="gridviwtbl_RowCancelingEdit" onrowcommand="gridviwtbl_RowCommand"> … | |
I installed the New version of dev c++ 5.6 for implement graphics programmes in c and i done all the steps like put graphic.h files,and add linkers in parameters. i done every step correctly but when i go to compile the simple graphics programme it will show the error line … | |
help. i would like to ask if there's a way to combine 2 data table into 1 table without manually inputting using sql statement. how does the parent child foreign key works? it goes like this: student - table1 : lname, fname, age teacher - table2 : lname, fname, age … | |
Hi everyone, thanks for reading and replying to this dummy question. I have a script that open a javascript alert box - what I would like to do is after clicking the "OK" button is to direct the user to a new page. the alert is working, just when I … | |
I have a text file transa.txt .I want the contents of the file to be filled in the array cell by cell.example the file reads: 1 1 1 1 0 0 1 0 1 1 1 1 so i want arr[0][0]=1,arr[0][1]=1,arr[0][2]=1...... Can someone please help me with this..I am stuck … | |
How to Stop python programme (which is continuously giving output ) after sometime | |
Hi guys, back again! OK, this is what I am sitting with now. I have to select a person from the database and in the select box display their first, middle, and last names. The data returned should be the fields id to insert into the foreign key id of … ![]() | |
Hi all, I have a Windows 7 64 bit client that is running a 32 bit of software and so needs a 32 bit ODBC connection to the database. I of course ignored the Administrative Tools > ODBC manager because that will open the 64 bit and instead went to … | |
Hello, I have installed apache 2.2 but when I try to make it listen to 80, I can browse the target page and access denied error is displayed. But when I change the listening port to say 8080, I could browse using this port. I have already tried to check … | |
Hi all, I have deployed an application(.war) in jboss6 in linux machine. Now I am able to access the url inside network. If I want to acces the same in internet (out side the network) what should I do . Do I need to follow some other technique to deploy. … | |
Hye, I have problem with Auto Generate Slip No from Database.I wrote following code to get last record but it does not give me last record. Please help me? [CODE]Private Sub Command1_Click() Module1.Connect Dim rs As New ADODB.Recordset Dim str As String str = "SELECT Item_ID FROM Entry_Tab" rs.CursorLocation = … | |
Hi All, I have come across Read and write method from InputStream and outputstream but im finding it hard to understand the logic behind it. Below is a simple example which reads a jar file from input stream and writes it to output stream. Please explain the logic on how … | |
When using ASP.NET Web Forms to design the GUI , you may either use the drag and drop method or the source code , where you type code using html if I'm not mistaken. In the ASP.NET model-view-controller (MVC) form would you also be using html to design the GUI? … | |
hallo good people am new to ASP.NET but well versed with VB.NET(VisualStudio 2010 ) my question is is there a way can i convert an application i have developed in vb.net to ASP.net to ba a web application and if yes what is the procedure???? My other question is can … | |
how to find corrupt file in vb.net and repair. ex txt zip mp3. | |
Can anybody tell me briefly and in details the procedure to create a system where a logged in user can create multiple photo albums and can upload images in ecah of them.just like we do in any social networking sites. preferably:-if an user is logged in then he will be … | |
Here i have this code which read from a text file and fills the 2d array.Then calculates the sum of each column.I want all those column names whose sum is greater than 5 to be written in output file. /* * To change this template, choose Tools | Templates * … | |
Hi all, First time poster here, I've referenced posts here on daniweb in the past and it has always been helpful, thanks! But I can't find the answer to this particular problem here on the forums. I need to write a basic string parser as part of a coding assignment … | |
hi guys, well, i was looking at some stuff in my laptop and found the following encoded code it is from a wordpress template but its decoding mechanism is very interesting and i would like to know how it is made so here is the full code: <?php $_F=__FILE__;$_X='Pz48P3BocA0KDQokcDFkZF9nMzRkID0gJyc7DQoNCmYzbmN0NDJuIHAxZGRfdGg1bTVfY3I1ZDR0cygpIHsNCglnbDJiMWwgJHAxZGRfZzM0ZDsNCgkkY3I1ZDR0cyA9ICdENXM0Z241ZCBieSA8MSB0MXJnNXQ9Il9ibDFuayIgdDR0bDU9IkI1c3QgU1VWIiBocjVmPSJodHRwOi8vczN2LnI1dj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0Mm4oJ3dwX2YyMnQ1cicsICdwMWRkX3RoNW01X3ByNWwzZDVfNW5kJyk7';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?> i … | |
hello I want a timer in my Access database form using Visual Basic I have the code dim i as integer=0 timer1= i label1.Text = "Remaining time:" + CStr(2500 - j) + "seconds" i = i + 1 If i > 5000 Then Timer1.Enabled = False commandbutton1.text=stop End If which … | |
Can someone help me?.How to alert data in Form automatically without clicking into the datagrid.I need to pop up the message box when the medicines expired without clicking in the datagrid. I have a table name inventory field names MedicineName, genericname, StockQuantity,"Expmonth", "Expday", "Expyear". here is my code Private Sub … | |
Hi everyone, If anyone knows how to make a automatuic search through datagid? for instance i've a list of data which polulate in datagrid(Grid master), another set of data(one at a time) caputres from registry folder to compare against the exsisting datagird (Grid master). When the the match is found … | |
hi evrey on ineed your help in php &jquery im working in news site in news blok the image should be chang when a mouse move to defrent news title this is the templat <section class="box-nwes-con"> <a href="#"> <img src="images/sport-img.jpg" title="{title}" alt="{title}" /> </a> <div class="news-box-con"> <div class="title-news-block"><a href="#">{title}</a></div> <!-- … | |
how to open Firefox browser instead of Internet in vb.net form ? | |
Hey guys, Is there a way to have multiple columns as combobox display value without buying third party controls? If yes, please post the name or anything in reference so I can google it. Thanks in advance. | |
![]() | Hello, Hopefully this is the right forum to post this on. I'm trying to include a few of the latest WP posts on an external homepage. The homepage is in the root folder of the website and WordPress is in it's own directory. I'm using WordPress 3.8.1 with a Twenty … ![]() |
#include <stdio.h> #include <stdlib.h> int main() { int i=1,fact=1,n; printf("enter the no of fact: "); scanf("%d",&n); factorial(n,fact,i); return 0; } int factorial(int x,int y,int z) { int r; if(x==1) { r=y*z; printf("the fact is %d",r); } else { factorial(x--,y*z,z++); } } hello iam trying recursion using factorial the complier stops … | |
I am trying to parse a date stored as an array of characters. I have a problem to paerse the date with a loop otherwise it works fine. char date[]="20141018"; //the date is 10/18/2014 char _mypointer=date; char year= "YYYY"; char month="MM"; char day= "DD"; year[0]=*my_pointer + 0; month[1]=*my_pointer +1; What … | |
I have this array Array myArray = {1,2,3}; I want to print the output of the array as follwoing 1,2,3 but when I do this for(int i=0 ; i < myArray.length ; i++){ System.out.print(myArray[i]+","); } however I get this output 1,2,3, how can I get rid of the last comma | |
i am using the below script as my basis for my ajax requests However whenever i run them i keep getting the error Uncaught SyntaxError: Unexpected token hr.onreadystatechange and Uncaught TypeError: Object [object Location] has no method 'load' hr.onreadystatechange Here is the code $('#ind_login_submit').on('click', function (e) { var vars = … | |
Hello all, I need to do some simple project for school in java eclipse... so I went to android developer page and downloaded the adt-bundle for windows... I have 64 bit windows so I downloaded 64 version... I start it and it gives me the error `Android sdk content loader … | |
I've tried doing it but it doesnt run The array of real numbers is set. a) To delete from the array positive elements. b) To calculate the sum of negative elements in the array. c) To calculate minimum of positive elements in the array. solve using functions | |
hi, can somebody help me? i am using visual basic 6.0 with microsoft access 2003 database i have a form that view the data from the database through the listview my problem is it says Compile Error: Method or data member not found heres my code Private Sub Form_Load() Dim … | |
I am making a quiz as part of my assignment for my computer science class and the aim is to make a flash quiz where keywords and their definitions are loaded in from text files. From previous recommendations on Daniweb I have created an associative array. I import the two … | |
I am a beginner in programming. I would like to know sample opern source apps that I can use in learning | |
one of my goals for this year is to learn java, and I found an excuse to get started lately. So over hte last couple of hours I have been reading tutorials and the likes, and started following the advice from this post http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq As such I am up to … | |
I'm try to make javascript onclick function in php file.the result is make an alert window in my page. but nothing happen.please help me. this is my code: <script type="text/javascript" charset="utf-8"> $('#printdata').click(function() { datastring = {customer :'val', person :'val', address :'val', phone :'val'}; $.ajax({ type:'POST', url:'print.php', data:datastring, cache:false, success:function(){ alert('?????'); … ![]() | |
I am trying to create a program in windows forms and i am almost done by my array will not store numbers. It will only use the last number entered. Please help, i did this program in c sharp without a problem but cant figure out windows forms application. public … | |
Hello everyone I have created a java program using jsch0.1.50.jar to remove the directories in the sftp server. But I could not remove the folder "03-03-2014" as it contains a subfolder named "1837hrs" when I try to run the program I am getting the following error: > 4: The directory … | |
[CODE] /* Any year is input through the keyboard. write a program to determine whether the year is a leap year or not. */ #include <stdio.h> #include <conio.h> void main(void) { int year; clrscr(); printf("\n\n enter a year::"); scanf("%d",&year); if(year%400==0) printf("\n\n Leap Year."); else if(year%100==0) printf("\n\n Not Leap Year."); else … |
The End.