199,114 Archived Topics
Remove Filter ![]() | |
Hi i would like to know how i add the ... when you cut a string in php. For example a string gets cut that exceeds the character limit and gets added with ... You can find this anywhere like on youtube or any big media site. I have searched … | |
Hi , i have problem i have made C# Application using SQL SERVER 2008 R2 I want to make deployment to setup my application with database One setup File to install my application without manually setup SQL SERVER 2008 R2 _____________ i have read many articles but didn't get _________________ … | |
Hello i need help with a program which allows the user random read access to any entry of the array. If the user attempts to read outside the useful region, your data structure should return a 0. Also It allows the user random write access to the useful region only. … | |
Hello, I'm working on an application that uses a ServerSocket, but it (at points) stops the server thread and restarts it, throwing a java.net.BindException: address already in use exception. How can I unbind the ServerSocket (.close() is not working to unbind) so I can re-use the same port seconds later? … | |
[I][COLOR="Green"]!below is the code snippet [/COLOR][/I] This is a multi-use property toggler. In the given example we are toggling a sub property of an element. e -is the property owner to be targeted; p - is the property name to be set; v - is the property value; henceforward changing … | |
in Attached Files there is Question i do not understand the last step how to coount it ? [CODE]package javaapplication178; public class JavaApplication178 { public static void main(String[] args) { int x[][]={{14,7,5,0}, {9,20,25,12}, {25,25,40,30}}; for(int i=0;i<x.length;i++) { for(int y=0;y<x[i].length;y++) { System.out.print(x[i][y] + " "); } System.out.println(" "); } PrintStock( x); … | |
I made pages for login and register. I use WSAT for giving privilegies to users. I split them into two groups: Admin and Users. When the administarator login into application, he is redirected to ADMINpage. there I want to set gridwiev with informations for users. ID and USERNAME and rights … | |
Hi, i am beginner in java. I doing my final year project in Java Swing. So far, somehow through some online tutorials and articles, i learned to finish 30$ of my project. Now, i need to know how to insert the data from my database into Jtable and display it.... … | |
When I enter a vb.net textbox, if there is data in it, I want it to be highlighted. I looked around and couldn't find a property that would do this so I do the following: I built a little subroutine that does the highlighting and then call it from the … | |
now I try to develop the tcp chat server So what I have done so far -my server can only received string from the client -My server can show the total of the connection So what I want to ask what do I need to do to make the server … | |
Hello All, Can someone please help me with this? I converted from C# to VB.NET and get this error : [B] A namespace cannot directly contain members such as fields or methods [/B] I appreciate you looking at this. Regards Imports System.Collections.Generic Imports System.Linq Imports System.Text Namespace UsedCarsSales Public NotInheritable … | |
I need to do a chem quiz that contain a science calculator n a small game,but there is some problem,got any idea? [CODE]#include<stdio.h> #include<math.h> #include<stdlib.h> #include<time.h> #include<windows.h> int main (void) { int option,question,i,count,z=0; char choice,game,quit; int selection; float pressure,volume,number_of_mol,temperature; int exit; char answer1,answer2,answer3,answer4,answer5,answer6,answer7,answer8,answer9,answer10,answer11,answer12,answer13,answer14,answer15,answer16,answer17,answer18,answer19,answer20; int guess,jackpot=8; // SetConsoleTextAttribute (GetStdHandle (STD_OUTPUT_HANDLE), FOREGROUND_BLUE); … | |
The query below is correct. It returns the rows `paul` and `rick` because they have the highest rating of the child rows. This was solved for me with the below link. I am having trouble understanding the query. I understand joins, what i don't understand is `t2.rating is null`? [URL="http://sqlfiddle.com/#!2/97e60/2"]http://sqlfiddle.com/#!2/97e60/2[/URL] … | |
Hello, I have 2 massive matrix's and I need to compare one matrix with another.. Now, I have come up with a solution that takes a 5x5 block of the matrix1 and compares it with a 5x5 block of matrix2, this happens until the end of both matrix's.. I'm confused … | |
[CODE] Dim wri As New IO.StreamWriter("e:\test.txt", True) wri.WriteLine(ListBox1.SelectedItem, true) wri.Close())[/CODE] etc in llistbox1 items , "1" "f1" "f2" when i click for example f1 that code will save it and when i want you save the same item it wit will save it in other line and in test.text file … | |
This is a two part question I guess. I have a form that allows a user to edit an existing record stored in a SQL database. One of the items the users can edit must have a value when the record is edited using this particular form, but it does … | |
i have a page for user registration where i a form with a image tag to it. i want the user to fill the form but as soon as he uploads the image i want the image uploaded to be displayed on the image tag. Then i want all these … | |
I need my overall data to all be output as double, but my counter is an int, and i imagine you cant use a double as a counter, so when it goes to compute my data, theres a mismatch between my counter and the rest . i need a way … | |
I need everything to come out as a double rather than an int. I dont know how to do this other than creating lots of variables! Is there a way i can convert? my counter is causing the problem but i dont think theres another way to do it.The program … | |
Greetings Everyone. I'm working on a program that will take the number of calories and grams of fat, and give the user the percent of calories from fat. The problem arises when I use the Calculate button. [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class FatGramsPanel extends JPanel { … | |
I need from my form application textbox value show in pdf format and then when i click on button print, the print in paper with the form that exists and only print text value from textbox? Please help? | |
Bit of a noob question this. I am using a library which has this function: [ICODE]int TextAdd(int x, int y, char *text, int font);[/ICODE] I need to use this function to display a score. I have the variable [ICODE]int score[/ICODE] and I would like to put it into that function … | |
Hi Guys, Sorry its been a while since iv posted been busy. ok so im working on this website That I`m trying to code in plain HTML or atleast try and get as far as i can using plain HTML. so i`ve created the main page where i can navigate … | |
Hello. I got an assignment and I've ran into some troubles. I have 3 classes. The first class could be labeled as the main class, and the other two classes must be linked to the first one. The 1st class is named "Holiday" and has 2 key attributes: tour_guide and … | |
I'm writing my own validation code for some of my forms and I'm wondering what the best way to indicate that there is a problem is. Some ideas I've had: [LIST] [*]Highlight the textboxes, checkboxes or controls in red if they have an error. [*]Put a small icon inside or … | |
Hi, I want to know. How to filter data. I have two mysql table as follow name: task_id task my_id 22 aaa 1 22 bbb 1 23 ccc 3 23 ddd 4 24 fff 5 subname:: task_id task my_id 24 fff 1 now my id is 1. I want to … | |
hi, all i need to add combobox in datagridview. actually i have 3 fields in database which are Sid Fee status what i want to add combo column in field [status] with two option PAID or UNPAID which a user can select and update it . i am all clear … | |
Hello, I am working with the AudioClip class. It has methods for playing, stopping and looping an audio file (.wav/.au). Is there a way I can check when an audio file has completed playing? The stop() method is void. Is there any other class I can use? Thank you! | |
Hi, please look the following code and help me solve the question I mentioned in Comment([B]Line number 85[/B]) below: [CODE]import java.io.InputStream; import java.util.HashMap; import java.util.Map; import org.jacoco.core.analysis.Analyzer; import org.jacoco.core.analysis.CoverageBuilder; import org.jacoco.core.analysis.IClassCoverage; import org.jacoco.core.analysis.ICounter; import org.jacoco.core.data.ExecutionDataStore; import org.jacoco.core.instr.Instrumenter; import org.jacoco.core.runtime.IRuntime; import org.jacoco.core.runtime.LoggerRuntime; public class TestClass { public static class TrgClass { … | |
hello, I am very disapointed by facebook like button, because it throws stupid error when I set color checme to light. But it works perfectly when I set color scheme to dark :D come on where is the logic? I spent all day trying to figure out this stupid thing … | |
i am working on a project for booking management system for photographers.. can anyone suggest some tables and content for the project....! | |
Hello, The following is a bouncing ball applet. When I do double buffering (variables, g1 and image), I still see the flickering . I would be grateful for any help. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.lang.Thread; public class Ball_Bounce extends JApplet implements Runnable { private Thread blueBall, redBall; … | |
Hello, I have a form that I really don't want to use captchas with. The problem I have is that people cURL my site and send messages on my system slowing it down for my legit users. I am looking for a way to change the name of the form … | |
Hi to all, I want to pass the below statement to a report... Kindly help me how to do it ... select a.po_number,a.mr_number,b.item_code,c.item_desc, b.qty,b.rate from po_head a,po_detail b,item_master c where a.mr_number=b.mr_number and b.item_code=c.item_code and po_number = ' & combopo.text & '; kindly help... | |
[CODE]#include <iostream> #include <string.h> #include <ctype.h> using namespace std; void Removespaces(char clear[], char cipher[],int x,int i); void Removevowels(char clear[],char cipher[],int x,int i); int main() { char clear[256]; char cipher[256]; int x,i; int opt; cout<<"Encryption (1) 0r Decryption (2):"<<endl; cin>>opt; cin.ignore(); if(opt==1) { cout<<" Enter a string(sentence):"; cin.getline(clear,sizeof(clear)); // calling the … | |
My PHP pagination code is quite messy. I use something like this: [CODE]$display = 8; if(isset($_GET['p'])&&is_numeric($_GET['p'])) { $pages = $_GET['p']; } else { $q = "SELECT COUNT(image_id) FROM images"; $r = mysqli_query($dbc, $q); $ps = mysqli_fetch_array($r, MYSQL_NUM); $broj_redova = $ps[0]; if($broj_redova <= 8) { $pages = 1; } else { … | |
I want to create a blog type site where I post stories and users are able to comment on them. In order to do this must I create a CMS? If so how difficult would it be? Would I only need to use PHP and MySQL? Thank You | |
Hello everybody, I would like to start learning ColdFusion language and it is very hard to find a “teacher”. Let me explain: I have very little experience with HTML and CSS and … that’s about it. I am surprise how hard is to find literature necessary to learn ColdFusion (for … | |
i had to take someone elses project this year because i failed to complete my project,however im having troubles with the one i picked up.i cant even change it now because ive already submitted synopsis and software engineering journal on that new project.its on gymnassium system. the main form had … | |
javax.naming.NameNotFoundException: Name evn is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152) at javax.naming.InitialContext.lookup(Unknown Source) at listener.MyContextListener.contextInitialized(Unknown Source) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at … | |
How to we know that there is the error of javac. "I studied that javac is not internal or external command". This is the error so how do we know that this error has evolved? | |
hello, i'm trying to check if a cell in datagridview is of type Image with the following code [code] if(cell.Value.GetType()==typeof(Image)) { ...... ...... } [/code] but it's always showing "Object reference not set to an instance of an object" error..could anytell me if i'm doing this right?? If not, how … | |
Hello friends, hope you guys are dong well. problem again and really looking up to my expert friends here. I'm new and trying to write Edit code in VB.NET. the problem is [B]Select * From Application Where Sl_No='" + txteditno.Text + "'", con) [/B]is not displaying and record although it … | |
The code on which I am working, suppose to read the contents of a file "applicants.txt" linewise and store it in a string array. Each element of array should hold one line and so on. I also want to automate the code so that when end of file is reached … | |
Code 1: [CODE]public class Ticket { private int nextSerialNumber = 100; private int serialNumber ; public Ticket () { serialNumber = nextSerialNumber; nextSerialNumber = nextSerialNumber + 1; } public int getSerialNumber () { return serialNumber ; } public static void main( String [ ] args ) { Ticket t1, t2, … | |
I need to use a GUI for a program (with a main, superclass and subclass) that I've already written (am quite proud of actually. LOL). I'm super new at this so I want to keep it simple and just display the output of my program (an array of inventory objects) … | |
Pls. help me to revised my code , i base my java calculator code on youtube tutorial but it was denied because almost half of our class base their code on the youtube tutorial and i need to pass the code by monday.or if possible , can you give me … | |
I have developed an application that loaded many images in a listview using ImageList in c# .net framework 4. The images are also compressed. When many many images are loaded and compressed then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had … | |
hi, i am facing with the ambiguous problem. and i don't know how to solve it. kindly advice. i try to search the solution for this at [url]http://msdn.microsoft.com/en-us/library/aa479312.aspx[/url] , it provide me below solution: Issue 22: Ambiguous references and naming conflicts The .NET Framework 2.0 adds a host of new … | |
Write a function named walkingMan() that simulates a person walking a specified distance, taking steps of varying length. The length of the steps varies at random within a specified range. (Use the function in the Python random module, random.randint(a, b), which returns a random integer N such that a <= … |
The End.