199,114 Archived Topics
Remove Filter ![]() | |
Hey please suggest me some sample code for conversion of pdf file to tiff file using c sharp. also i want to use free class library like c pdfsharp or itextsharp. suggest some code for the same. Thanks in advance. | |
is it possible to print the whole form contents by a click of a (print) button from the toolstrip of MDIparent? how? | |
Hello, My teacher asked us to write a little O.S simulator, my group has to write the file system module. We are using contiguous block alocation for the files, we would like to represent the utilization of the blocks using a colored matrix, where the used blocks would be red … | |
I want to build a voucher system. I am developing an application and want users to login from a database (preferable MS SQL). I want the DB to randomly create codes for users to top up their accounts. The codes will be unique in that they will be based on … | |
Tryin to sort a search method for abit of code. Have an array list reading from a csv. Any help on how I can get a search method searching through and displaying onto a jTextArea? This is my code in my Gui public class DataGUI extends javax.swing.JFrame { public class … | |
Hi, I am searching and gathering materials that will be very helpful in writing and carrying out my final year project. The topic of the project is "design and implementation of a management system for Home delivery meals services". To some, the topic might be laughable and "not too scientific … | |
running 'java -version' on my cmd prompt gives me the version of my JRE but when i run my programs as 'javac abc.java' it says 'javac' is not recognised as an internal or external command, operable program or batch file. I have set the Path variable by appending C:\Program Files\Java\jre6\bin … | |
What does the PHP error message `Uninitialized string offset: 0` mean? | |
I am getting into game programming more and more. I have been learning DirectX11 but it is hard and very low level. I am looking for a game librarie that has these spesifications: Must be in C++ (the library doesn's have to be written in C++. As long as I … | |
Hi All! i have her a code <?php /** * Main.php */ include("include/session.php"); //include("viewproj.php"); ?> <html> <head> <title>Export to Excel</title> </head> <body> <form action="searchemp.php" method="post" > <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: … | |
How to run *.swf file ? I have installed adobe flash and still unable to run the *.swf movie by it self. What should I do ? I also have downloaded flash plugin. | |
Hello, I have created a GUI using the Netbeans GUI Builder and I have a JTextArea that I want to output to, but because I need to use threads I am doing a lot of processing in an external thread. I am having issues outputting data from the thread class … | |
**I have a form Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Upload Files To DataBase</title> </head> <body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /> <br /> <asp:Label ID="lblMessage" runat="server" … | |
class Program {class Program { static void Main() { int TotalCoffeCost = 0; Start: Console.WriteLine("**Caffe Menu**\n\n1-Small = 1$, \n2-Medium =2$, \n3-Large"); Console.WriteLine("-------------------------------------------------------------"); int UserChoice = int.Parse(Console.ReadLine()); switch (UserChoice) { case 1: TotalCoffeCost += 1; break; case 2: TotalCoffeCost += 2; break; case 3: TotalCoffeCost += 3; break; default: Console.WriteLine("Your Choice … | |
i want to auto increment the value from 01-50...and display these values to combo box... each increment of value should be done on after selected index changed......can any one help me... | |
So I have a string of the English alphabet for example. But I don't know the alphabet very well but I do know that it starts with "abc" and that it ends in "xyz". I want to remove letters "b" to "x". I want to do something like `str = … | |
Hello I want to create a Javascript button that takes a image on a page and makes it bigger keeping aspect ratio and also another button and makes it smaller but also keeping aspect ratio. Can someone tell me a good example on how to do this? Thank you | |
Hi all! So I have created this for my first portion of my Beginning CIS class project, calculating the final grade based on scores. For the next step, the user must be able to enter in their own number of projects they have completed, and from that, be able to … | |
![]() | I have a javascript program that creates an iframe lightbox. This is the section of the code that affects the iframe only. mediaType = 'url'; mediaWidth = mediaWidth || "640px"; mediaHeight = mediaHeight || "360px"; mediaId = "mediaId_"+new Date().getTime(); preload = new Element('iframe', { 'src': URL, 'id': mediaId, width: mediaWidth, … |
Hi, I have a question about the game I am making in pygame. In the middle of the game screen there is the "notepad" where doodles can move around and such. Around that is the "desk" the notepad is on. I have a link to a screenshot [here.](http://picturepush.com/public/13180159) But underneath … | |
using this query: $queryC = "SELECT * FROM tbl_courses WHERE course_id='$course_id'"; $resC = mysql_fetch_assoc(dbQuery($queryC)); $allUnits = $resC[course_unit]; print_r(array($allUnits)); returns: Array ( [0] => 3 ) Array ( [0] => 3 ) Array ( [0] => 2 ) Array ( [0] => 2 ) but am expecting it to return Array … ![]() | |
Hello, I made a program that worked perfectly on one of my pcs. When I moved it to another computer I am getting an error now stating that I need to include a pointer on my fmin and fmax functions. I'ts somewhat lengthy but I want to know if maybe … | |
code that mimic a shopkeeper services, counting stock, selling, billing | |
Assignment Description: The Elevator Problem buildings considera 2-storey building with 1 elevator. Your program should simulate the movement of the elevator which is dependent on the buttons that are pressed inside and outside the elevator. Your program should include the following features 1. Indicator monitoring the no.of passengers inside the … | |
Help me :) how to auto calculate the age, when you type in MaskedTextBox1 using Birtdate? | |
i have a picture captured by a camera so how to add different hair styles on it. i am using vb2010 pls how best can i combine these pictures into one picture that can be printed. | |
Hi, I wonder if anyone can possibly help. I am trying to teach myself how to integrate a Java video into a Java GUI / Swing Application. I am pretty competent with building Java graphical user interfaces and the background Java application code, however I am puzzled with how difficult … | |
How can I write a program to find the sum of the series given below:- ((1)/(2))+((3)/(4))+((5)/(6))+((7)/(8))+((9)/(10))......n I have written a code but it is not giving the desired result... #include<stdio.h> #include<conio.h> void main() { int n; float sum=0,i; printf("Enter nthe term"); scanf("%d",&n); for(i=0;i<n;i++) { sum=sum+((i+1)/(i+2)); } printf("sum=%f",sum); getch(); } Please … | |
after i define con.ConnectionString = dbprovider & dbsource con.open() leads to error The '.NET Framework Data Provider for OLE DB Data Source = C:\Users\.... \Database1.mdb' provider is not registered on the local machine. i have access and .net framework installed | |
Hey, Can i know how to do the throw and catch for my java code ? i need to create a OfferException class which allow a suitable error message to be specified when there is an error. this is my code.. public boolean makeOffer(int offerPrice) if (!super.getSaleStatus()) { System.out.println("Error - … | |
/home/nikos/public_html/cgi-bin/metrites.py in () 217 template = htmldata + counter 218 elif page.endswith('.py'): => 219 htmldata = subprocess.check_output( '/home/nikos/public_html/cgi-bin/' + page ) 220 template = htmldata.decode('utf-8').replace( 'Content-type: text/html; charset=utf-8', '' ) + counter 221 htmldata undefined, subprocess = <module 'subprocess' from '/opt/python3/lib/python3.3/subprocess.py'>, subprocess.check_output = <function check_output>, page = 'files.py' /opt/python3/lib/python3.3/subprocess.py in … | |
Firstly, the program used a doubly linked-list which contains ID and NAME lists. Both ID and NAME are parallel. For example, Tony 2456, David 3749, Jessica 9743 and so on. So I created a method; its function is to remove a specific ID by user input, then it should remove … | |
Hi! I am having an issue with executing a .jar with php. If I do /opt/lampp/bin/php myphp.php the jar gets executed and the output appears in the terminal. But if I load the php page directly in my browser, the output of the jar when executed does not appear. **Is … | |
I think this is probably too ambitious, but I though I'd ask anyway. I have a list of about 13 000 music venues, including their name and location, but would like to add phone no., website, and email to that information. To do this manually would take a long time, … | |
I have roughly 500 function pointers defined in a header like so for example: void (__stdcall *ptr_glAccum) (GLenum op, GLfloat value); void (__stdcall *ptr_glActiveTextureARB) (GLenum texture); void (__stdcall *ptr_glAlphaFunc) (GLenum func, GLclampf ref); GLboolean (__stdcall *ptr_glAreTexturesResident) (GLsizei n, const GLuint *textures, GLboolean *residences); void (__stdcall *ptr_glArrayElement) (GLint index); void (__stdcall … | |
Could anyone please help me out in retrieving the number of audio devices using "waveInGetNumDevs" ? I cannot make out how to do it ? Thanx :) | |
Hello all I am having problem with my attendance management system. The problem is when ever i log in as admin it does not show a log in time but when ever i log in as a user it is howing time in. And secondly the time in and tim … | |
I have this code and it outputs buttons that goes down. I want them to go horizontally. please help. T_T <?php $var=1; while($row=mysql_fetch_array($che… { ?> < action='' method='post'> <input type='submit' name='view' value="<?php echo @$var ?>"/> <input name="workId" type="hidden" value="<?php echo $row['workId']; ?>" /> </form> <?php $var++; } ?> I don't … | |
I'm not sure if this is the right place to ask , but is this erd valid? Or is it unacceptable? Thank you for any help. | |
I'm moving onto android dev from a year of experience with Java. I want to build an app which scrolls randomly through about 40 photos when you shake it. I've already built a `ShakeDetector` class and `onShake();` method I'm unclear how I would build the class to manage the photos. … | |
i have below code for my custom textbox to allow numeric chatecters for entering amount. Protected Overrides Sub OnKeyPress(ByVal e As System.Windows.Forms.KeyPressEventArgs) MyBase.OnKeyPress(e) If Asc(e.KeyChar) >= 48 And Asc(e.KeyChar) <= 57 Or _ Asc(e.KeyChar) = 46 Or _ Asc(e.KeyChar) = 13 Or _ Asc(e.KeyChar) = 8 Then If Asc(e.KeyChar) = … | |
Hi Experts, Which database is better acc to Performance factor. Need Suggestions.. | |
yesterday I was disucsing with more experienced programmer. He saw that I am using for (var i =0; i< 6; i++) So 6 is the static number. I was iterating throug array. He said to use lengh, just in case array lemngh is not 6. I say - its always … | |
I hosted a web site. (Still developing and adding component to it) It was working well until today evining. But now it is not working well. some JS not working. I have back ups. (Every time i got back ups in working versions). I thought this happen due to my … | |
Hello Today i install mysql on my system and after that when i try to run the server it didn't start from the startup and when i try to run theserver through cmd i found the given error. C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql ERROR 2003 (HY000): Can't connect to MySQL server … | |
I have four JTextFields where user is allowed to enter only numbers. Question is how do I do this? | |
Hello, there is overridden collection fetch function. fetch: function() { var collection = this; $.getJSON(this.url, function(data) { // do some processing to data here collection.reset(data); }); }, I need to do processing when I get data, so thats why overrride. But the thing - is - the models change event … | |
i was working on a plugin that can find some special url in wordpress page contents and then if matching URL found then change that url automatically to another url like without giving backlink benfit to that site. for example : if i have defined a site that start with … | |
Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 2 Call Stack 1 0.0021 180504 {main}( ) ..\admin.php:0 2 0.0026 182624 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:2 ------------------------------------------------------------------------------------------------------------ Hello ..This error is comming when i enter the user id and pw. Can any one please help me out to fix … ![]() |
The End.