199,114 Archived Topics
Remove Filter ![]() | |
hello every1, Need 1 help here in creating a .jar bookmark, I m newbie in java. I want to make a jar bookmark 4 my site. Tell me how can made thisin pc , step by step, is there is any software? | |
hey can anyone tell me how to remove the delay in webcam video streaming..........i've created a webcam capturing project but find little delay in the video streaming | |
I am interested in learning how to make a simple tic-tac-toe game playable on 2 computers. A small simple project that can help me learn some network coding. I can't seem to pin down a good reference for it. Where is a good place for me to read up on … | |
Hello, i am trying to figure out what i did wrong. i am trying to add a subtraction flag to my current 32 bit adder, and i keep getting the incorrect output back. For example, if the user enters: input 32 bits: 0 0 0 0 0 0 0 0 … | |
hey...i got a problem.. Now i do the read text file line by line. I am using the ReadLine Function to do that. But It cannot show all the output. It always show the last one content in text file. It cannot show the previous content in text file to … | |
Hi all, it is possible to declere a function within a structure, then in the main function with the use of the pointers call this function and assign the specific parameters . To make my idea clearer check out the sample code. [code] struct { int AND_function; int math_funct; int … | |
Sum of One and not the Other I have a requirement to query one figure and the sum of another. What I need is one query to produce the MonthPayment for each CompanyID for a given ContractID and the Sum of TotalPayment with matching CompanyID and ParentCompanyID for each CompanyID … | |
Hi am working on a shape inheritance hierarchy and am having trouble with this particular class I have two errors that state class, interface, or enum expected: on the lines indicated in red everything else seems fine I have attached the whole project If you need to check out other … | |
I'm working on a program where I need to have the user enter the size of the array and then enter the numbers to be stored in the array. If the user enters in -99999 the program quit. I also need to display the sum of numbers enter into the … | |
I have a php script that echoes results from a search. Generally I have no problem getting the results in a table but for some reason I can't get these scripts to do that. I figure its a small error. I'm going to put in the code but if you … | |
I have an sql database and an html form. I want to be able to automatically change the value in a checkbox when a radio button value changes. Here is some partial code with details in red as to what I want to do: (the red text is not actually … ![]() | |
I have a managed class library developed in C#. Now i need to create a win 32 dll wrapper around it. So in my Win 32 DLL i need to import that class library and call the starting point functions from it. I am new on this. I was able … | |
Basically I'm making a script that sends the user an email on register and they have to click a link in the email to activate their account. But in my activate page their seems to be an error in my coding and I've checked it over but I can't find … | |
I noticed my JDK is 6u21(1.6.0_21) and the newest is 6u24(1.6.0_24) is there any way for me to update without re downloading, is there and reason to either? | |
Hi everyone!!! I am newbie in java programming, I am using a communication API. I am havin some problems. Iwant to use a method defined like this: enableRecording public abstract void enableRecording(DeviceID device, Boolean immediatelyActive) throws CstaException and for that I am doing the following: recordingActivation = new Boolean(true); enableRecording(id, … | |
Hello all can anybody tell me why i am getting null pointer exception. [CODE] String mesg=""; try { URL u = new URL(strOp); BufferedReader r = new BufferedReader(new InputStreamReader( u.openStream())); String s=""; while((s=r.readLine())!=null) System.out.println(s); if(s.equals("SUCCESS")) mesg = mesg+"Your Request has been Processed.you will be intimated by a sms soon"; else … | |
Hi If someone could please advise me I was thinking of starting a course in Java programming online with one day workshop,the course requirement Knowledge of programming principles and experience in procedural programming or scripting languages, such as Visual Basic, C, or JavaScript; and an understanding of object-oriented languages, such … | |
I have a class that has a function called Update(). I have written several different update methods, so I now have: [code] class MyClass { double Update1(); double Update2(); double Update3(); private: float Data1; ... float DataN; }; [/code] All of these functions need access to all of the data … | |
I'm having trouble with this "strict weak ordering". Consider a class Point with members x and y. I tried to make the comparison "If both the x values are less than each other and the y values are less than each other, the Point's are less than each other". However, … | |
Here's the code. [code] #include <iostream> using namespace std; int a = 0; int foo() { a++; return a; } int main() { if(1 || foo()) { cout << "Hello World\n"; } cout << a << endl; return 0; } [/code] Result : 0 is displayed. Change line 15 to … | |
A bit of background: I've been working on a python script to do some calculations on a land use model. Basically, I take amount of space developed in the future and pull out a table that has the amount of space by geographic area within the larger area. I load … | |
Hello Everyone, i'm trying to convert a .jar file to .exe... first of all is it possible? If so then how? | |
Hi, I just wondering if someone let me know how I can have multi color text in RichTextBox? Lets say I have two combBoxes as below: [CODE] private ComboBox color = new ComboBox(); color.Items.Add("Red"); color.Items.Add("Green"); color.Items.Add("Blue"); //and private ComboBox shape = new ComboBox(); shape.Items.Add("Rect"); shape.Items.Add("Circle"); shape.Items.Add("Triangle"); [/CODE] I also have … | |
can i get some help sending the attachment pls cause i think something from my code is missind and that's why can't send attachment. [CODE] <?php $ip = $_POST['ip']; $httpref = $_POST['httpref']; $httpagent = $_POST['httpagent']; $visitor = $_POST['visitor']; $visitormail = $_POST['visitormail']; $message = $_POST['message']; $attn = $_POST['attn']; $subject = $_POST['subject']; … ![]() | |
i've been doing while loops for this problem .. i dont think its the right way though. i have a set of boxes each with a boxid(apart from the first), which is the id(mysql) of the previous box. [quote]e.g. box 1 has id 1 box 2 has id 2 and … ![]() | |
Hi All I am trying to get vb.net to select a single node by id. I then want get all of the childnodes within the id and place them in to textboxes. Please see code below: Xml doc [code] <Subject> <Items> <Item id="1"> <CustName>john</CustName> <Filename> </Filename> <StartDate> </StartDate> <FinishDate> </FinishDate> … | |
i am wring a website and i need help with some javascript. first ill give you the code [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type='text/javascript'> function showdiv(name){ var divname=name; show(); } function show(){ document.getElementById(divname).style.display='block'; document.getElementById(divname).style.overflow='visible'; var lastdiv=divname } function closediv{ if (lastdiv) { document.getElementById(lastdiv).style.display='none'; … | |
Hi to all, After comming alert, cursor should not go to the next field. i am a beginner to script functions. can any one give me solution . [CODE] <script> function validateDate(strdate) { if(strdate.length < 8 || strdate.length > 8) { alert("Error:Enter Valid Date"); } else { ValidateNum(strdate); } } … | |
Hi guys , I am doing a very simple connection with C# and Ms Access and so far every thing goes fine, with me!.I just have a problem on retrieving Null values.the code that I am using to list values of a field in a table is like: [CODE] OleDbCommand … | |
Hello, I posted yesterday regarding my issues with adding rows to a database, this is now solved and I am grateful. Once the rows were added to the database the list box that displays one column of the database did not update so I included the following code after the … | |
Hi to all, i created following table in SQL. =================================== create table employee(name varchar(20), dob date) =================================== But, when i ran the query, i got the massage that 'SQL can not find data type 'date''. How should i include 'date' in to table definition. | |
Hiya, A short while ago, I posted the following code snippet in reply to someone who was looking to make a simple encoded password... See here for a full explanation of how this works -->[URL="http://www.daniweb.com/forums/post1470261.html#post1470261"]http://www.daniweb.com/forums/post1470261.html#post1470261[/URL]. While this method is a little cumbersome, it does work and can be encoded and … | |
Hi :) I am writing an admin application for a website I've written. It's a basic database update/insert/delete app. I started by using the website's server, but the time it took to connect to the server (since the main JTable is populated from the db, you have to wait for … | |
Hi Guys, Can anybody spot the error on this code? it gives me error: SQL Server Database Error: Incorrect syntax near the keyword 'inner'. 5 0 [CODE]Select e.event_number,e.start_date ,event_desc, venue_desc,s.location from events e inner join venues v on v.venue=e.venue inner join sessions s on s.event_number=e.event_number and session_type='0' (inner join contact_categories … | |
Hi everyone.I'll just get to the point.I want to write objects of type B to a file in binary form using fstream and it's 'write' member function.I need to pass a size for an object of type B but since it contains dynamic data and i can't use just a … | |
Heyyy everyone =). Im a freshman in Highschool taking a computer programming class. I was just wondering if you guys could look over my code and see if there is anything that I could have done more efficiently (i.e. using less ram, less code). The objective of this program is … | |
hi... i have released one application.. now i have to maintain the document for the released application.. which is the best method to write the information such as in word,or pdf or excel or is there any way to keep the document..? so that every one should know that the … | |
Can any one help me to run this program? I am trying to modify it for multiple linear regression and use Gaussian elimination to solve the matrix.I found this in a book but it is not working:(Does anyone have anything related?I am a beginner so please something not so complicated … | |
ok everyone, i taking my first semester of C++ and i have a little quesiton, the teacher wants up to output and input on the same line, but to send the input through i have to strike enter, which keys to the next line, heres my code, just cant get … | |
I don't know how to title this thread, forgive me if it's bad. I'm trying to determine the best way of handling this and I'm getting nervous about it. The basic setup I have is a server system that is run when the application is open (it's not a service, … | |
Hello! I have a problem with my code. I don't know how to make that the code will include a subroutine which returns a random number between the two entered numbers as a result. Do anyone know how to make it? The code is: [CODE]static void Main(string[] args) { Console.Write("Enter … | |
I made an windows application using c# express edition 2010 and i use the SQL database as mdf file inside my soultion and the connection string mad automaticaly in the app.config as the following: [CODE]<add name="MainForm.Properties.Settings.FamilyHistoryConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\FamilyHistory.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/CODE] then when i am trying to publish the … | |
First I want to thank you for the help and I am somewhat new at C# so forgive me if I have something listed wrong. This is what I got: I am working on a school project designing a car dealership website. I have an inventory list that allows you … | |
Hi all, I have a doubt regarding finding a loop in a linked list.I searched on internet and found 2 different ways of doing the same. But my doubt is that if a linked list has a loop, then wouldn't it be a circular linked list? If yes, then the … | |
I am trying to replace all % with %%, because I want to write a string to a file using the fprintf_s function. Yet, I done this: [CODE]void replace(std::string& target, const std::string oldstr, const std::string newstr) { unsigned int x; while(x = target.find(oldstr), x != std::string::npos) { target.erase(x, oldstr.length()); target.insert(x, … | |
Hi all, I'm currently make my final year project program at university, and have been puzzled by this problem for sometime now. The issues I am having is that when I try to update a value in a specific column of a specif row. The program has a paddy and … | |
how to read a file which contains more than 95000 <95 thousand> lines in java. | |
Greetings to the community! I am trying to print a two-dimensional character array and it is printing out ASCII values instead of the actual characters. I think the solution is simple but I can't figure it out. The following is the code snippet and the function that I am using … | |
Hi to all, I created following table =================================================== create table man(id integer, name varchar(20), city varchar(20), age integer, dept integer) =================================================== I want name and maximum age of person residing in 'mumbai'. I wrote following query, but got the error like 'can not include name with max() fuction since it … |
The End.