199,114 Archived Topics
Remove Filter ![]() | |
I want one picture to be displayed in the canvas then the another to be displayed in the canvasafter 2 seconds. i used time.speed(2) and canvas.delay(2000) but nothing works! Any help please?! import ImageTk import tkMessageBox from Tkinter import* from turtle import * import time root = Tk()#main window canvas … | |
Pulling column names from a database. Column names aren't user friendly so was wanting to rename them on the pdf. Is there a way to do this? foreach (DataColumn column in dt.Columns) { PdfPCell pCell = new PdfPCell(new Phrase(column.ColumnName, TableHeaderFont)); pCell.BackgroundColor = BaseColor.BLUE; pCell.Padding = 6; contentTable.AddCell(pCell); } this is … | |
Hi - I'm trying to make a databse with the produkts from McDonald, but i can't figure out how. It is supposed to both read and write. Here's what i've made so far... Hope U understand: #include <iostream> #include <fstream> using namespace std; struct Menu { char navn[50]; int pris; … | |
Hi there I need help writing a data structure to hold and assign data to a particular unique ID. I think I want an vector of structures: struct Data { int ID; double latitude; double longitude; int speed; int altitude; }; I receive messages in the above format, they can … | |
Hello guys! I'm trying to change an element background color when my mouse goes over another element. As far as I know CSS, this seems to be impossible to do only with CSS, so what kind of js I need to do this? My knowledge in JavaScript it too limited … | |
error: Mail error SMTP Error: Could not connect to SMTP host. i think its bc of mail->port=465. but iam not sure. $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = "smtp.gmail.com"; // sets GMAIL as … | |
Guys help me with this code. I don't know what to do. I have 2 div the 1st is in the left and it has a button and on the other div is to show/display when I click the button on the 1st div. <html>// this is my index.html <head><title> … | |
Review for a final and I had a question... You are give a hash function h(x) = x%11 and the size of the hash table is 11. The inputs are 4371,1323,6173,4199,4344,9679,1989. What would the resulting hash table be using quadratic probing. Would I start with 4371 and then do the … | |
So this is basically what's supposed to be the outcome of my code: > 69:hw/05/src> javac WordOccurrenceCounter.java 70:hw/05/src> java WordOccurrenceCounter Reading the book... Getting counts from a TreeMap... Enter a string ('q' to quit): wealth wealth occurred 7 times. Enter a string ('q' to quit): poverty poverty occurred 10 times. … | |
How should i implement the very basic singly linked list in C++, i am having a paper in just 20 days and i dont know a bit about this stuff,,, How to add data to it ,, as there is only one data item in single linked list and one … | |
Hi, I have a jsp file which call java class file function passing connection as a parameter all was working fine once but when i changed few code in java file and compli it complied successfully but jsp file still giving previous class function output. I am working on amezon … | |
Hello, I am supposed to write recursive program. I have done this below, however I don't know if my understanding of recursion is correct. I believe that it is a method which calls this method inside. In my case (insertCommas). private String insertCommas(String str) { if(str.length() < 4){ return str; … | |
Hello, For an assignment I have to implement some search algorithms in order to solve the travelling salesman problem, I understand the problem and I understand how the algorithm works, I simply don't know how to implement it (my Java isn't great) but this should really be the easy part … | |
Hello Internet. So the task is to create our own parser for a expression calculator. For Example: Input: 3+2*1-6/3 Output: 3 Input: 3++2 Output: Invalid Expression Input: -5+2 Output: -3 Input: 5--2 Output: 7 The code [Here](http://www.technical-recipes.com/2011/a-mathematical-expression-parser-in-java/) solves a part of the problem except that it has a fixed input … | |
How do I save the inputs given from Edit control into a text file??? I am really new to Windows programming.Can someone please help me out. Thanks in advance. | |
Hi All, I need to optimise the below query. The below query takes 13 seconds to run on live. Kindly, suggest how I can optimise this query and how can I index the table? The query is as mentioned below:- SELECT *, a.forxmlfeed, a.lastupdated, a.mark_for_deletion, a.is_mixed_use, p.value as projtypeformixuse, b.active … | |
Hello to everyone, i recently started to learn c++ with this book "Jumping into C++" from Alex Allain. In this book there is an example of a program to get the prime numbers from 0 to 100 that Im not understanding! For what I think I understood the second loop … | |
hi! i want to open a word document directly from a windows form application running on visual studio 2010! i tried a particular code but it wont work!!! this is the code! [CODE]this.Application.Documents.Open(@"C:\Test\NewDocument.doc");[/CODE] i also imported and used the following header: [CODE]using Microsoft.Office.Interop.Word;[/CODE] it says that the word application does … | |
my xampp was giving me problem so i del it and download a new one. now the problem is that all my database and table got del. however i did safe my old xampp folder before del it. if there a way i can get my sql table script from … | |
I have ran into an issue when programming a plugin that is dependent on another plugin. The plugin in question has 3 different versions, all of them are incomparable with each other. Instead of writing 3 separate plugins, I would like to know which .jar file exists, and import the … | |
needed help how can i connect to my oracle database using shell script and how can i assign particular value in table to a variable defined in shellscript and i use sqlplus but i get error | |
I implemented whole UI and logic into one py file now I thing it would be good if I separate the UI file from the logic, and to run the UI I shoud run the file that contains logic that inturn loads the UI... I have `RenderUI.py` module that contains … | |
Hello, I've created a Button in one form. I've to make it work like, if I click on that button it should open another JFrame Form or JPanel form which I've created as addStock.java.. I don't know how to trigger this action.. Anyone can help me? Regards, Rahul. | |
i have a gridview with a text box in it, i understand that i can use CommandArgument='<%# Eval("MyGridViewData")%>' to get the data in the gridview.. But i have no idea how to get the textbox value inside the gridview .. Can anyone help me? :( | |
I am trying to test [this](http://www.tutorialspoint.com/jsp/jsp_java_beans.htm) code but unfortunately I get `Can't find a method to write property 'age' of type 'int' in a bean of type 'test.StudentsBean'` error. But when I change age type to String and also its getter and setter methods it works well. Can anybody tell … | |
Hello I am making an application that will solve a puzzle for me, but before i start designing the algorithm I need to capture that region of the screen, in order to reduce the time it would take to scan the whole PrimaryScreen for the objects I am looking for. … | |
I have a list of sizes ( for example : 3X1 , 4X2 and so on..) i want to check if i can put all of them in one matrix. i need to do it in a recursive way. the function I need to write is a function that get … | |
http://www.amazon.com/Primer-Plus-6th-Developers-Library/dp/0321776402/ref=sr_1_2?s=books&ie=UTF8&qid=1354763661&sr=1-2&keywords=c%2B%2B+primer http://www.amazon.com/Accelerated-C-Practical-Programming-Example/dp/020170353X/ref=sr_1_1?s=books&ie=UTF8&qid=1354763739&sr=1-1&keywords=accelerate+c%2B%2B http://www.amazon.com/Primer-5th-Edition-Stanley-Lippman/dp/0321714113/ref=sr_1_1?ie=UTF8&qid=1354763774&sr=8-1&keywords=c%2B%2B+primer Beginner's guid. I am new to programming. about 3 months experience. maybe 2. I hope to develop applications for widnows later.(not GUI). mostly system software. what is the best boook? | |
Hi there, I'm reading a book on Javascript and trying to understand a few concepts that are about hasOwnProperty(), propertyIsEnumerable() and isPrototypeOf(). I don't understand when and how these methods are used. That would so appreciated if someone can explain them to me in a nutshell. This example is from … | |
Hi there, I have been trying solve my error at this codes, it takes me too long. Code: Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim conn As New MySqlConnection Dim myCommand As New MySqlCommand Dim comm As String Dim myconnstring As String Dim UserID … | |
i'm going to develop a new website using php programming.Let me know what are the basic needs to upgrade my website development.please help me any one.. Thanks for your response | |
Hello, I need help with creating 6 buttons can I do that using some loop and how can that be done? each button has a different image and different text...their bg, and dimensions are the same Also after creating all the buttons I want to make a callback function for … | |
Hi guys, I'm facing a weird problem with our Trustico Certificate. We have a webshop with customers that are logging in to make purchases of different products, all of this works nice untill the user changes his/her DATE on the Computer that he/she is using. If the date is changed … | |
Hello All I have an issue. created 2 java programs, a.java and b.java content of a.java: package test; import test1.*; publuc class ATEST { public static void main (String[] args) { BTEST.call(); } } content of b.java: package test1; public class BTEST { string name; void call() { . . … | |
Hi, I have a field in my table called foto it saves the url on disk of a picture and i'm trying to bind it like this.. pictureBox2.DataBindings.Add("ImageLocation", tabla.DefaultView, "foto"); tabla is a datatable.. the field saves an url like this: C:\Users\Public\Pictures\Sample Pictures\Hortensias.jpg but it doesn't work, picturebox show a … | |
when i run rertrive data the error shown private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { txt_reser.Text = dataGridView1.SelectedRows[0].Cells[0].Value.ToString(); text_guest.Text = dataGridView1.SelectedRows[0].Cells[1].Value.ToString(); txt_room.Text = dataGridView1.SelectedRows[0].Cells[2].Value.ToString(); txt_servce.Text = dataGridView1.SelectedRows[0].Cells[3].Value.ToString(); txt_days.Text = dataGridView1.SelectedRows[0].Cells[4].Value.ToString(); check_in.Text = dataGridView1.SelectedRows[0].Cells[5].Value.ToString(); check_out.Text = dataGridView1.SelectedRows[0].Cells[6].Value.ToString(); MessageBox.Show("Data Retrived", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); } String was not recognized as a valid DateTime. | |
Hi, I have a Vb.Net solution that contains several forms that read/write to an MS Access database. My problem: When I copy my Vb.Net solution and Access database to a new computer, the data source connection string needs to be changed. Currently the data sources wizard sets the connection string. … | |
Hey, I'm new to this site and asking for help in general, but this prompt my teacher gave us to do makes no sense to me at all. I dont know if he is asking us to input values manually from the keyboard into the 2 dimensional array or if … | |
Hi I have been reading so many tutorials but can't seem to get anywhere, with what I thought would be a simple task. I have an xml file outputted from some software in the vague format: <root> <one>data</one> <two>more data</two> <three> even more data</three> </root> Fairly straight forward data, nothing … | |
Hi guys need help again hope you can help me.. I have a database and i want to Compute all the Total Calls of my 2nd Column I wonder how can i do that? can you give me an example? I'm using Oledb Connection? Thanks in advance. | |
I need some help to make a order form in C#. My development environment is: Microsoft Visual Studio 2010 Ultimate SQL Server Express Edition 2005 Programming Language C# Sample Database = NorthWind (Tables Orders and OrderDetails) I've create a form for order entry, which contain a textbox for OrderID, a … | |
write a program to read a seuence of numbers terminated by 0 and print the sum of all the even numbers. How would you write the algorithm/pseudocaode for this | |
![]() | Hi, i have csharp server(console application) and java client. I need to get a java client ipaddress, can someone tell me what is the function in csharp? I am new in csharp. I was searching on web and nothing help me. |
I am trying to get a good understanding of what's happening in the following question: ~Given the following numbers in array A ... 47 43 20 24 32 44 35 ... what are the numbers that would result from a Pre-Order Traverssal of the Binary Tree built using the above … | |
PLEASE HELP !!!! I MAKEING A PROGRAM FOR MY SHOP........... BUT I DON'T NO HOW TO SAVE MY ALL SALES INVOICE MS ACCESS THANK YOU IN ADVANCE | |
hey guys , I don't understand why the outPUT is that for the code below.. can someone please explin me how it works. Thank you. class example{ public static void main (String[]args){ int i = 1,j; while (i<=3){ j=i; while(j<=4){ System.out.println(j+" "+i); j=j+2; } i=i+1; } } } HERE IS … | |
i am working on a POS as a school project. im having a problem in getting the stocks, which is a record in my database. this is what i need to do, i need to populate the combobox with drug names with suggests. when i choose a certain drug, its … | |
I've just started using python in my computer technology class. One thing I can't figure out is how to have python put the lists inside a string into alphabetical order. If anyone has any easy answer, it will be much appreciated. Also, my teacher told me he would give extra … | |
I created an article previously doing this program in C++, but now I am trying to convert it to C. #include<stdio.h> double hamCalc(double b, double p); double cheeseCalc(double b, double p, double c); double dcheeseCalc(double b, double p, double c); int main() { double patty, bun, cheese; printf("This is the … | |
Hello, It is my first time to post here. I have been spending many hours trying to figure out how to get imagedata from my MYSQL database. I have tried these following codes but it wont work for me. view.php <html> <head> </head> <body> </body> <?php include "dbconn.php"; $sql = … |
The End.