199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ManthanB

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.

Member Avatar for ManthanB
0
488
Member Avatar for ses03

is it possible to print the whole form contents by a click of a (print) button from the toolstrip of MDIparent? how?

Member Avatar for Begginnerdev
0
113
Member Avatar for modesto916

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 …

Member Avatar for modesto916
0
144
Member Avatar for Trench37716

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 …

Member Avatar for Reverend Jim
0
193
Member Avatar for james12James12

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 …

Member Avatar for stultuske
0
301
Member Avatar for Dewise

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 …

Member Avatar for pritaeas
0
300
Member Avatar for abra_ka_dabra

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 …

Member Avatar for JamesCherrill
0
351
Member Avatar for Dani
Member Avatar for pritaeas
0
205
Member Avatar for MasterHacker110

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 …

Member Avatar for gabryprof
0
220
Member Avatar for mallows.yum

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: …

Member Avatar for Eng. Hadi
0
471
Member Avatar for davy_yg

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.

Member Avatar for MsF.Shawahneh
0
255
Member Avatar for Jasonfran

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 …

Member Avatar for stultuske
0
2K
Member Avatar for minnie19

**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" …

Member Avatar for lolafuertes
0
913
Member Avatar for ToniSoft

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 …

Member Avatar for ddanbe
0
213
Member Avatar for dhillselva

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...

Member Avatar for Mr.pc.online
0
94
Member Avatar for nouth

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 = …

Member Avatar for nouth
0
2K
Member Avatar for riahc3

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

Member Avatar for Troy III
0
315
Member Avatar for bwin

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 …

Member Avatar for Troy III
0
2K
Member Avatar for sonicx2218

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, …

Member Avatar for Troy III
0
313
Member Avatar for 26bm

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 …

Member Avatar for 26bm
0
229
Member Avatar for oomotayo

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 …

Member Avatar for diafol
0
172
Member Avatar for gobiking

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 …

Member Avatar for gobiking
0
347
Member Avatar for sntoane
Member Avatar for sanyam.mishra
0
126
Member Avatar for Gametes

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 …

Member Avatar for tinstaafl
0
194
Member Avatar for ranTHE
Member Avatar for Reverend Jim
0
204
Member Avatar for sntoane

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.

Member Avatar for tinstaafl
0
191
Member Avatar for Tango2010

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 …

Member Avatar for nvrandow
0
481
Member Avatar for dendenny01

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 …

Member Avatar for Schol-R-LEA
0
221
Member Avatar for spyros.lois

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

Member Avatar for Reverend Jim
0
256
Member Avatar for vongola.lee

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 - …

Member Avatar for peter_budo
0
145
Member Avatar for nagia.retsina

/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 …

Member Avatar for nagia.retsina
0
361
Member Avatar for boiishuvo

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 …

Member Avatar for boiishuvo
0
178
Member Avatar for kelkoo28

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 …

Member Avatar for peter_budo
0
255
Member Avatar for gilgil2

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, …

Member Avatar for gilgil2
0
154
Member Avatar for triumphost

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 …

0
156
Member Avatar for apanimesh061

Could anyone please help me out in retrieving the number of audio devices using "waveInGetNumDevs" ? I cannot make out how to do it ? Thanx :)

Member Avatar for aamitarya
0
574
Member Avatar for UK-1991

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 …

Member Avatar for UK-1991
0
164
Member Avatar for ses03

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 …

Member Avatar for ses03
0
135
Member Avatar for pwolf

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.

Member Avatar for pwolf
0
166
Member Avatar for poopuh

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. …

Member Avatar for poopuh
0
636
Member Avatar for PM312

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) = …

Member Avatar for PM312
0
185
Member Avatar for jacob21

Hi Experts, Which database is better acc to Performance factor. Need Suggestions..

Member Avatar for pritaeas
0
246
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
186
Member Avatar for weeraa

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 …

Member Avatar for arunmagar
0
279
Member Avatar for bhallarahul

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 …

Member Avatar for paulkd
0
431
Member Avatar for peter_budo

I have four JTextFields where user is allowed to enter only numbers. Question is how do I do this?

Member Avatar for JamesCherrill
0
9K
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
101
Member Avatar for pearl doll
Member Avatar for Mr.pc.online

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 …

Member Avatar for Mr.pc.online
0
405
Member Avatar for UK-1991

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 …

Member Avatar for diafol
0
688

The End.