199,114 Archived Topics
Remove Filter ![]() | |
Hello, I want to convert a plain text string to binary data so that the readable text is no longer visible, however certain programs can interpret the binary data properly. Something like when we compile a program into a class, the code is no longer readable, but JVM can still … | |
MY code doesnt saves the data entered through dropdown box into access database | |
Hi, I have inherited a pair of applications: a client.exe and a server.exe. They run on different PCs and communicate through TCP/IP. The server comes with an OCX file: server.ocx. The client has its own OCX file: client.ocx. (I suspect there could be a mismatch between the two ocx files.) … | |
Example of my record : year quanitity name 2012 10 john 2012 20 mark 2013 30 david 2013 40 alex 2014 50 stacy while (!$report->EOF){ if(is_null($year) || $year <> $report->fields['year']) { $year = $report->fields['year']; ?> <tr><td align="center" colspan="2" >Year : </td><td><?=$year ?></td></tr> <? } ?> <tr><td align="center" colspan="2" >Quantity : … | |
Does anyone know how to call a binary executable file from another program. I have a simple binary file which can take command line arguments called **InputProgram.exe**. I have made another program of which I want to call InputProgram from and pass it an argument. Not this is going to … | |
Hello guyz, I am trying call oauth/request_token in order to oauth_token and oauth_token_secret. First here's the code string url = "https://api.twitter.com/oauth/request_token"; SortedDictionary<string,string> sd = new SortedDictionary<string,string>(); sd.Add("oauth_callback",oauth_callback); sd.Add("oauth_consumer_key",oauth_consumer_key); sd.Add("oauth_nonce",oauth_nonce); sd.Add("oauth_signature_method",oauth_signature_method); sd.Add("oauth_timestamp", oauth_timestamp); sd.Add("oauth_version",oauth_version); string base_string = String.Empty; base_string += "POST" + "&"; base_string += Uri.EscapeDataString("https://api.twitter.com/oauth/request_token")+"&"; foreach (KeyValuePair<string,string> entry in sd) … | |
Hello everyone! I'm currently having a problem with my program it doesn't loop properly please help me with it. The code is below. Thanks in advance! import java.util.Scanner; import javax.swing.JOptionPane; import javax.swing.*; public class Wewe{ public static void main(String[]args){ Scanner inp = new Scanner(System.in); boolean tryAgain; do{ System.out.print("\nInput username: "); … | |
I want to count the number of times the button is clicked using GUI. I did this code: private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { int clicked = 0; clicked++; System.out.println(clicked); } But it showing the output "1", each time I click the button. I want every time I click the button … | |
Guys..My task is to convert for loop c++ to asm....and the speed shoud be fast....i managed to convert to asm the loop part but when i run and enter 2000 it shows 33 second is it possible to be lower the 5 second.... #include <iostream> #include <ctime> using namespace std; … | |
Hi people. I wonder how I can free the pthreads' allocated memory? #include <pthread.h> #include <stdio.h> #include <stdlib.h> #define NUM_OF_THREADS 10 void* print_thread_id(void* tid) { printf("Greetings from thread %d\n", (*(int*)tid)); pthread_exit(NULL); } int main(int argc, char* argv[]) { pthread_t threads[NUM_OF_THREADS]; int status, i; int* n_thread; for(i = 0; i < … | |
I have a custom combobox as below public class ListViewCombo : ComboBox { ToolStripControlHost listViewHost; ToolStripDropDown dropDown; public ListViewCombo() { ListView lstView = new ListView(); lstView.BorderStyle = BorderStyle.None; listViewHost = new ToolStripControlHost(lstView); dropDown = new ToolStripDropDown(); dropDown.Items.Add(listViewHost); } public ListView TListView { get { return listViewHost.Control as ListView; } } … | |
hi i am writing a report, it must have parameters ToDate and FromDate,now the thing is i did all that but it stllrespond with just headring no data. Please help what am i doing wrong | |
Hi everybody I need some professional help from experienced people. I am writing a program in C++ about a game. I have to specify a class Questions with attributes question, answers and difficulty. In the program i should have methods add, edit, select, search, print and remove. The problem that … | |
Hi i m checking my values from javascript functiions..i m comparing values... alert is showing that values are not euqal but but form is still submitting.....when i press submit.... java script code is <script type="text/javascript"> function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; var mini = parseInt(minimum); … | |
for (a=0; a<=y; a++) for (b=0; b<=y/2; b++) for (c=0; c<=y/3; c++) if ((a + 2*b + 3*c) == y) count++; | |
Hello! I am currently developing a web interface that has access to an MS ACCESS database. However, I am unable to key in more than 6 Values into the database using the INSERT INTO sql code. Here are the codes that I am using: protected void bnAddPart_Click(object sender, EventArgs e) … | |
Dear Friends, Help me to fix this.. Error Message : **mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in** Code is, <?php $database=$diocese; $table=$category; //capture search term and remove spaces at its both ends if the is any $searchTerm = trim($_GET['query']); //check whether the name parsed is empty if($searchTerm … | |
i have a table with the following structure CREATE TABLE IF NOT EXISTS `test_check` ( `id` int(4) NOT NULL AUTO_INCREMENT, `name` varchar(65) NOT NULL DEFAULT '', `lastname` varchar(65) NOT NULL DEFAULT '', `email` varchar(65) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; i have a … | |
package tamirnfasle2; import java.util.Scanner; public class Tamrine4 { private int number; Tamrine4(int n) { number=n; } public void Calculate() { float sum=0.0f; for(int i=1;i<=number;i++) { i=1/i; sum=sum+i; } System.out.println("Sum Reverse Number Between [1," + number + "] Is :" + sum); } public static void main(String [] args){ Scanner inputNumber … | |
I have the following code that hyperlinks the file to a cell in excel when you type in the file name. I need to alter this code and not sure how. I need for the code that when you type in file name it also finds the filename path and … | |
i want to compare dates stored in database in the format yyyy-mm-dd by changing it in unixtimestamp in the mysql query.for this my query is $bquery="SELECT * FROM rt_booking WHERE rt_unit_id='".$_POST['unit_id']."' AND (SELECT UNIX_TIMESTAMP(str_to_date(rt_start_date,'%Y-%m-%d'))>=".$my11." OR SELECT UNIX_TIMESTAMP(str_to_date(rt_end_date,'%Y-%m-%d'))<=".$my22.")"; but it is giving syntax error. | |
Ok I know many of you already done with this sort of situation i have a form which have few fields and on submitting that form i want these field values save into two tables. Both the tables contains a primary key and foriegn key. Let table one have id … | |
Hello again, Group! I'm creating a panel with multiple TextBoxes, labels, buttons, etc., within it. One of these buttons will end the entry of info and is intended to recreate the panel at a location further down the form. To this, I believe I need a loop. But this loop … | |
hi friends need to display the questions and options using radio button such as online quiz ,, i tried but sequentially iam getting a first question with fist options of all questions ,, kindly help me to display first question with its options and second questions with its options thanks … | |
Hi All, I would like to seek help from you guys out there. I am using visual studio 2010 under WIN7 64Bit. The question is how could I possibly create an installer that can run to 32Bit or 64bit with operating system of WINXP to latest. Hoping that there would … | |
hallo master .. I have a problem, how to make encryption and decryption using the Vigenere cipher in vb.net.? I hope someone can help me the problem. thank's before .. | |
hello I know windows & Linux but I am now very anxious to learn android operating system.can any one help me that where to learn it or any best,easy book so that I can learn myself own | |
Hey everyone, I just need a little help with a lottery program I have to make or class. I have to generate a 7 digit number and then using that number compare it to a guess the user enters. I need to award prizes for the following conditions. 1. if … | |
How to generate auto id like PA-01-07-2012-0001. Where 01 is the Date of a month,07 is the Month, 2012 is the year, and 0001 is auto generate id and it will be increment. after that it will check The Generated id in database.And create a new id | |
My son is very interested in developing a video game. He is only 10, but I want to encourage his interest and was wondering where is the best place for a 10 year old to start? learning language? understanding computer programing? as you can tell, I am not knowledable in … | |
Hi there, Hope someone can help me on this. I really need help. I have a javascript for a rotating image, whereby a total of 10 images will change automatically in every 3 seconds. It works well in a .html page, however it doesn't work in a .php page. In … | |
Hi what i want to do is to code a checkbox list. herewith i have attached an imaage. as in the image, if i check business all the checkboxes below it should get checked and if i uncheck all the check box should get unchecked, how do i code this … | |
Hi, I want users on my website to upload their company logo (if they have one) while filling out my form. Right now i only have one row designated for the company logo called 'images' with the type set to BLOB. Is this adequate for both uploading images and displaying … | |
Hello, How to create a crystal report in vb.net 2008? | |
I want to make the closing balance of the current month lets say of March to be the opening balance of April in sql or crystal reports how to i go about it. Help need the solution agently please. the script below is the one i have used to get … ![]() | |
Hi, whenever I visit my website, this iana thing pops up (url of the page: http://www.iana.org/domains/example) making my site inaccessible. I do not know what to do. I have tried to get wround it, but it won't let me. | |
I am new in using MySQL database and need some help. The scenario is pretty much like this: I collect data from some sensor which come with their own software. The software builds a .db file as it takes data from the sensors and saves it locally in the computer. … | |
Please I'd be thankful if someone could very kindly edit the following code for me. Currintly, the code doesn't enable the user to save a new record; but, it's supposed to allow insertion of new record as well as prevent insertion of duplicate record. Try cmd2 = New SqlCommand("select count(*) … | |
Hey, Im trying to implement a search in the action bar in my android app. Ive got the serachView to show and Im able to write in it. But when I press enter to make it submit the request should just open my SearchActivity were I should just be able … | |
int sel = int.Parse(0+dataGridView2.CurrentRow.Cells["invoice_ID"].Value.ToString()); string sql = "DELETE FROM invoices WHERE invoice_id="+ sel +""; DBConnection myCon = new DBConnection(); myCon.EditValues(sql); //mycon.EditeValues(sql) has all the sqldata reader,executenonQuery cmd the error's arrow points out to the first line which is "int sel............". | |
I want to encrypt the data based on user time. Is there any algorithm based on timestamp value for encryption and decryption? Pls give some suggestion | |
Hi i want to close my popup window.. how to do it? window.close() is not working.. i m showing my popup using jquery.. i want to close popup when close button is clicked.. Regards.. fahrad | |
Hi All, I'm having a go at SQL queries and have the following: SELECT b.vSeries_Table_Number, b.vSeries_Number, b.vSeries_Geography, b.vSeries_Type,b.vSeries_Unit_Type, a.Variable_Date, a.Variable_Value FROM tblPopulationSC AS a INNER JOIN tblVSeriesList AS b ON a.vSeries_ID = b.vSeries_ID and b.vSeries_Geography='Manitoba' --and b.vSeries_Unit_Type=' 15 to 64 years' and b.vSeries_Type=' Both sexes' and b.vSeries_Unit_Type=' 65 years and … | |
hi what is the query to fetch duplicate records in oracle table. | |
I use this function http://goo.gl/Luxkx to create Fetching Posts by Category with jQuery , but the problem is that I need pagination. For example, I have in some categories more than 10 posts. The first 6 posts show up okay, but I need pagination to show the rest. You can … ![]() | |
`Hello and thanks for reading my post. I am trying to develop a program that will select a file for opening based on user input. I did have this code working at one point but no longer. I am a beginner at C++ so I am trying to learn from … | |
Hi, I have trouble in video streaming and I spent few weeks in researching on how to display video while receiving video file (H.264 format) from server continuously. I am writing by using VB.net The server would send me video file in encrytion, what I need to do on client … | |
Hi everyone What I am trying to do: I am trying to rewrite my urls in seo frendly url. For that purpose I create the following table in my database: CREATE TABLE `seourls` ( `path` varchar(255) NOT NULL, `url` varchar(255) NOT NULL, PRIMARY KEY (`path`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- … | |
Hello I'm using the book C++ Primer 5th edition and in the beginning there is an exercise to change a sum into a prodcut. #include <iostream> int main() { std::cout << "The sum of " << v1 << " and " <<v2 << " is " << v1 + v2 … | |
Hi I have a little C-program and when I run I discover alot of page fault?! How can I improve my C program to have it faster? |
The End.