199,114 Archived Topics
Remove Filter ![]() | |
Hello, I am writing a Java applet which uses the JExcel API to write to an Excel file. I have pasted the run-time error that I get below. After some research about the Exception, I added a policy entry using the policytool command for any Java program by selecting CodeBase<ALL>. … | |
Hey guys, So I've thoroughly gone through the topics by searching this site but I couldn't find something which can help me. I'm making a task for my friend and let me tell you that it's been a year or more since I've used C++. I've moved on to C# … | |
Hi There Guys, I've found a lot on this subject, but the sheer amount of scripts and suggestions is overwhelming and researching this has confused me more than anything. I have a fully working contact form, but at the moment it simply checks the users input on submition of the … | |
Hi guys, I am trying to work on something where I set an image in a picturebox and then use getpixel to scan the whole image and find the percentage of the colour I am interested in, in that image. The problem is that if the image is large then … | |
hi all, pls help me... i want to play multiple videos in videogallery... but when i give click on anyvideo its not playing.... here is my code.... tnx in advnc.... <?php $sql="Select * from video_gallery where prod_name LIKE '%$prod_name'"; $obj->query($sql); $nume=$obj->num_rows(); while($row=$obj->query_fetch()) { $code=$row["video_code"]; $cd=explode("/",$code); ?> <div class="video"><iframe width="304" height="192" … | |
i have a barcode 41/3/100 , 100 will be saved in data base when i scan barcode with scanner it will read 41/3/100 when i click the button how should i search the record only with 100 ???? help | |
Hello All, I have a small doubt w.r.t using mutex locks. Say we have a thread-safe function: int counter; void foo() { LOCK_MUTEX(); // say by pthread_mutex_lock ++counter; UNLOCK_MUTEX(); } Now, i understand that this is thread safe because only one thread can "own" a mutex at a time and … | |
i have a menu here. if i hover over it a sub menu drop down. but the problem is that the drop down menu display behind the div id = inner tag. i want to display front. <div id = 'bottom_menu_wrapper'> <ul id='navbar'> <li><a href='#'>Apparel</a> <ul> <li><a href='#'>Female</a></li> <li><a href='#'>Male</a></li> … | |
I'm about at my wits' end trying to figure this out. This is homework, so any hints would be appreciated. I was tasked with filling in a few blocks of code (these are denoted by comment lines with a number resting in the middle) involving function calls in MIPS. The … | |
so iam trying to add a image slider in to my site. website where iam downloading this slider is: http://www.agilecarousel.com/ slider that iam download is called "Flavor 1". <html> <head> <link rel='stylesheet' type='text/css' href='agile_carousel.css' /> </head> <div class='slideshow' id='flavor_1'></div> .... //at end of html file //jquery verson file <script type … | |
Hi all, Can anyone please help me solving this code that i've been stuck for a while. I would like to logout from my shopping website then redirect the user to homepage after that. Right now, I managed to log them out but everytime they log out, it will bring … | |
Hello perhaps you could help me with a problem please. I wish to display a table of results using a JTable. Customarily I use a 2D Object array which is initialized with the data in a manner as follows: public Object[][] data={ {"Biology",25},{"Additional Math", 54},{"Geography",43},{"History",21},{"Spanish", 47}, {"Information Tech.",110},{"Technical Drawing",54},{"French",45},{"Physics",76},{"Chemistry",76}, {"Principles … | |
There is an unresolved external symbol in main.cpp when i try to call the insert function. I can’t find the reason why this is happening? Any help is appreciated. main.cpp #include "List.h" int main() { LList<int> number; number.Insert(1); } list.h #include <iostream> using namespace std; template <class T> class LList … | |
Hi, I am experiencing irritating error (undiscriptive rather), when I want to insert a single statement into my db. Following is the code: protected void Button1_Click(object sender, EventArgs e) { SqlConnection dataConnection = new SqlConnection(); dataConnection.ConnectionString =@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True"; SqlCommand dataCommand = new SqlCommand(); dataCommand.CommandText=("INSERT INTO citylist(city_id,city_name,latitude,longitude,state) VALUES ((1, … | |
i have a login form. if there is a error. let say user doesnt fill input fields. than it will print error. but i want to keep the values safe. that way user dont have to keep fill in data again and again. here i have a form. iam print … | |
i have here my search code. i want to search for firstname, and gender, but what if firstname is empty and gender is the one were going to search. but the gender is not filtering they just filter the name. any suggestions.. SELECT --ACCOUNT_CODE --HOSPITAL_CODE MRN ,CONVERT(DATE,BIRTHDATE)BIRTHDATE ,FIRSTNAME ,MIDDLENAME ,LASTNAME … | |
Hi, I wonder how the SendMessage method is used. I have googled around but can´t find any straight forward method of how to just send a String to another application. I have 2 desktop applications with a Form handle named: "Application1" and "Application2". I wonder how I will pass the … | |
is there any function that converts the values of an array to string? i tried with array_values but i dont know how | |
how do i check if a menu item in my JMenuBar has been clicked? for instance, i have a JMenu with an item called exit, which i need to make close the form. how do i do this? import javax.swing.*; public class selector_form extends JFrame { /** * */ private … | |
this code doesnt check captol letters. how can i do this. for examle is i have "cat" in table "user". than if i set $username_p to Cat. and it will work fine. but i dont want to work bc Cat != cat. $sql = mysql_query("SELECT id FROM user WHERE username='$username_p' … | |
i want to now how can i make my log in page better. let me know if you dont like color, or anything. let me know if you hate it or like it. also this page is not finish yet. i still have to move my form lil up. and … | |
So I need help asap. I can't figure out how to modify code from my book to work with my problem. I'm givin an input file, the first value is the dimension of an n x n matrix. every value after is a weight for each vertice for the matrix. … | |
hi there, is there a way to prompt user dialog box using links not buttons?? | |
I cannot make my program calculate the total of two integers (one on the main form, and the other on a different form). It keeps putting in the value "0", but when I tried it without a button it'd always just put one of the chosen integers instead of adding … | |
I know this has been asked before but I really can't relate any of the threads to my code. A'll I'm trying to do is get this quick PHP form to echo the error messages in the form as appose to a new page. (I'm sure you know what I … | |
Hello, I currently am running a gameing server and found some php code to send RCON commands to my game server. I am completly new to PHP, but not new to code. I would appreceate if someone could fix these 2 lines of code. On my XAMPP server I have … ![]() | |
I have been working on a few projects and needed a method similar to pythons string.split(). I decided to make a reusable piece of code and export it as a .dll, the code is below: std::vector<std::string> Editor::StringHandler::Split(std::string data, std::string tokens) std::vector<std::string> returnList; std::string temp=""; bool found=false; for (auto i : … | |
![]() | Hi guys, This is not related to syntax or runtime problem. What I am going ask is more about how Linux and Windows handle writing data from buffer to a file. I have this code here, wrapped around a timing block, to write a buffer to a file. StartCounter(); if(rows … |
Okay so I am having trouble with my depart function. When I output I keep getting 0 for the license plate number and the count for each time a car moves is not right. Any help would be great. Thank you. ____________________________________________ The BASHEMUP Parking Garage contains a single lane … | |
Does anyone know or have a source code for calculating Zodiac or Star sign using a given date of Birth Thanks in Advance | |
hey guys i need some help on my code here.......... im trying to do some computation about the biling system or a library if the borrwer returns the book on time it will be no charge.......but if hte book is damage then it will charge him trice the ammount of … | |
Hey guys! Im putting together a drag and drop page where a user will drag an ellement (in this case and printable pdf) over into a print field. I need blank fields on the right to return either as (void skip this) or with default pdf. Any ideas? Here is … | |
Hello Friends,I need your help.I am creating one form which show records on table.I need to insert this records to another db.But,each row will button to add record.After clicking that button only that particular should be added.I need your help guys. ![]() | |
I am working on a java project for school. I am trying to think more into a professional mindset rather than a student. The project I am working on is about hashing. The rest of the project looks really good, but this part makes me wonder if a professional programmer … | |
Hello dear T-SQL community, I am working on some exciting project but my problem is not exciting and I have not been able to find a valid solution... (all related fix are arround BCP or BULK INSERT). The server where the DB is located is not allowing BCP / Bulk … | |
#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include<conio.h> #include<iostream> struct list { int data; struct list *next; }*L; //function declaration: void create(int data,struct list **head); void print(struct list **head); int main() { //list *L; int data =10; for(int i=0;i<3;i++) { //struct list *pList = NULL; create(data++,&L); print(&L); getch(); } } void … ![]() | |
Hey Guys, I'm an A level student studdying Computer science, and hence using VB.NET for my coursework. Therefore I'm very novice at VB! While trying to update Data in a Microsoft Office, Access table (Office 2010) - I get this error. (In VB) Bare in mind, I've read all this … | |
I have 2 graphics I draw onto a form. 1 Graphic is a Randomly Generated Star Field, these stars move, and are updated every tick on a timer(50ms) Once the stars have been drawn/updated a cockpit is overlayed onto this image to give the appearance of moving through space. The … | |
Hello there , currently am working on download site that contain items , I need to place **download hits** for every file in site, I used the old way that open popup php page and increase the counter then store the result in database, its not cool to do this, … | |
I'm new at vb.net. i'm making a calculator using only 1 text box and want that my text box show the value( assigned to first variable at run time) along with the operator[+,-,*,/] in upper line and then the value entered in the lower line should be assigned to the … | |
Can anyone help me on the concept of classes in C++ ???? I am really confused in Private, Protected and Public specifiers also... pls can anyone help me on this..?? ![]() | |
Having a small a problem with an array value here is the code:i want the array(totalwin) to store the value of the calulation each time it repeats say 10 times.I tried using the for loop but the values are not stored in the array what am i doing wrong. // … | |
Here I have some code that will run a program that generates a bunch of lowercase and uppercase letters from length 15-25 and will swap it first using an iterative swap method. It will then generate a second set of letters and will swap it this time with a recursive … | |
> Hello Can Someone please help me with this problem. This is what i have sofar but i am not sure whats missing or how to end it please help. A solid steel column of circular cross section is needed to support a load of 65,000 lb. The ends of … | |
Hey there, I have the following code: int[] x = new int[7]; System.out.println(x.lengnth); x.length = 10; System.out.println(x.length); Of course, line three causes a "cannot assign a value to final variable length". However, line one does assign seven to that variable, length. Now, I have written a Testing class where I … | |
Hi All, I am a newbie programmer in python and I am trying to read multiple csv files from a folder, perform some data sums based on timestamps for each row for all the csv files and then output the sums to one result csv file. So far I am … | |
Well, I have just made this funtion that will split an array using a delimiter. I'm new to C++ so I will take any suggestions you have. Anyhow, good luck! Enjoy! | |
i was reading xerces-c class documentation, one of the methods does the writing of buffer to a file. what should i understand from buffer, how is it different from writing some stream to a file? What should i understand from stream? Thanks | |
How to get records from databse in ascending order new record on page refresh each time When records ended start from first record |
The End.