199,124 Archived Topics
Remove Filter ![]() | |
Hello.. I am in search of how to play a video in full screen java application. I already know how to play a video using the JMF. but i want to play the video in full screen desktop java applicaton .. | |
I use a Form to gather Input from the user, and my program needs to format the info and show it in a Text Box. Everything works except 2 of my variables need to look like this in the output: "variable". The problem is that I can't find a way … | |
Hello all, i have a text file that contain data like this: [CODE] 1 0.3232 0.361 0.5214 0.233 -0.7678 2 0.3451 0.321 0.134 0.224 -0.706268 3 0.3123 0.351 0.155 0.523 -0.70626 4 0.36 0.312 0.216 0.233 -0.6453351 5 0.269 0.3331 0.162 0.224 -0.584962 [/CODE] i did this using [CODE]string[] data … | |
Hello All I want to accept the string from user till he press "enter" key. For that I used gets() function on Windows. But the same program not run on Linux. Can any one tell me alternative for this function? | |
hi all, i have a code which searches for a string in a file, the searching works well except that it will only return that the string is found if it is the first word in the file, otherwise it will return not found. help me please [CODE] #include<stdio.h> #include<string.h> … | |
hello i am a computer engineering student...i want to do my mior project in java...i was thinking to do a project in "image processing + viewer" ....do u think java is an appropriate language for making a "image processor" ??? please help if u have any reference projects ,books or … | |
HI can some one Help in my graduation project im making database access connection this is my class ___________________________ Imports System.Data.OleDb Public Class DataBaseConn Dim conn As New OleDbConnection Dim comm As New OleDbCommand Dim s As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data [COLOR="Red"]Source=D:\G-project Crab\GP\GP\Database1-2.mdb"[/COLOR] Sub adconn() conn.ConnectionString = s conn.Open() End Sub … | |
Hi, I need to find the 'length' of union between 2 vectors. The code I have is[CODE] vector<int> v1,v2; vector<int> unionsetv; vector<int>::iterator it; v1.push_back(1);v1.push_back(2);v1.push_back(3); v2.push_back(3);v2.push_back(2);v2.push_back(4); it = set_union(v1.begin(),v1.end(),v2.begin(),v2.end(),back_inserter(unionsetv)); cout << unionsetv.size()<< " "; cout << int(it - unionsetv.begin())<< " " ; [/CODE] I could not get this to work and … | |
Hello I seem to have a problem with a UPDATE that just does not want to work. Im simpled it down to the most simple UPDATE possible and it simply does not want to work. Here is the simple version: [CODE]public static string CambiarDatosUsuarios(string usuario,string contr,string pregunta,string respuesta,string correo) { … | |
Hi, This is my excel sheet B 1. marks 2. 50.65 my php code is: [CODE]$marks = round($Worksheet->Cells->Item($i,2),0); echo $marks;[/CODE] [B] output is: 50 (wrong output)[/B] I need the output: 51 . How to check this using php coding? Thanks in advance | |
Hello Everyone, I have chosen to use Google Custom Search with my website and was given the following code, my question is, how can i pass a search query from my homepage which has a standard form on there to the search page which holds this code? I am given … | |
Can any body suggest me how can I free the dynamic memory in the given code [CODE]int fun(CString qry, CStringList *List,int n) { using namespace std; string sqlStmt = qry; int i; this->stmt = this->conn->createStatement (sqlStmt); ResultSet *rset = this->stmt->executeQuery (); string **oraRecordsStr=NULL; try { while (rset->next()) { if(oraRecordsStr == … | |
[CODE]<%if(Request.ServerVariables["SCRIPT_NAME"].Contains("PostOpinion.aspx")){Response.Write("Menu_selected");}else{Response.Write("Menu");}%>[/CODE] what is this code used for ? | |
Hi guys, I'm kinda new in VB.net. Do you guys know anything tutorials on how to database MSACCESS? I'd like it very very simple. but I want it to be [B][U]pure in Code[/U][/B] not like some Setup or something. a sample downloadable project will do! thanks! :D | |
Hi I am trying to pass value of textbox from Default.aspx to Default2.aspx through a link. I am using VS2008. [B]Here is my Default.aspx code [/B][CODE] <body> <form id="form1" method="get" runat="server"> <asp:Label ID="Label2" runat="server" Text="Name"></asp:Label> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <br /> <br /> <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> <br … | |
What libraries do I require so that I can make an application for recording a sound through the microphone ? I there is something else please do let me know ..... 'cause there are code snippets available on the net .... but I wish to develop it myself ! Thanx … | |
[CODE]#include<iostream.h> void main() { void prn(int a); void prn(int a,int b); int x,y; cout<<”\n enter a number”; cin>>x; prn(x); cout<<”\n enter two numbers”; cin>>x>>y; prn(x,y); getch(); } void prn(int a) { cout<<a; return ; } void prn(int a,int b) { cout<<a<<b; return ; }[/CODE] | |
Well, I'm not exactly an expert with C++, and I have been making a text RP for general use. I'm having some problems.[CODE]#include "Library.h" void main() { //welcome screen cout <<"####Welcome to Xe0n RP, part of the Xe0n project started by Adil\n"; cout <<"####Programmed in C++\n"; cout <<"####Currently in beta\n"; … | |
here is my code i have currently it displays some items after i searched for them in the database, and i'm only showing 10 per page. when i go to the next page i get the following error [QUOTE]Notice: Undefined variable: countz in C:\xampp\htdocs\wijnkado\advsearchresult.php on line 363[/QUOTE] can anyone explain … | |
Hi frendz, In my vehicle tracking project, I need to draw the route (polyline) of my vehicle in google map. When the vehicle is moving away from that route, it should give alert msg. So how to specify the route line on google map? | |
Hello, I have a problem not far from the one quoted above, namely retrieving data from a text file containing the log file, and then come out the graphic representation. And so far my code is not working as it should, and I just can not seem to get them … | |
Hi all .. i have given this code in my project.. it is showing Access to the path 'C:\Documents and Settings' is denied. I dont know what is wrong.. this code works if i give the path different... can any help me... Thnaks vince [CODE] private void FileView() { TreeNode … | |
Hi! I'm trying to send an email (automaticaly, when user register), but I don't get some different letters correct. Here's example code: [CODE] ... $message="Some message that contains č, ć, đ, ž, š"; //on the server, I can't write letters like č, ć etc.; I must write their code & … | |
Hi all, well my problem isn't a practical problem. I have a project to do which is a word game.First of all i have a .txt (a dictionary) my program has to fetch a random word and shuffle it. With the combination of those letters the program has to find … ![]() | |
Hello Sir, i want to deduct some amount(i.e user input) from main loan taken by employee and remaining amount again come as balance loan amount and on nxt month again the some amount should deduct from balance loan amount. my database is in ms-access and i use vb.net.. plz help...... | |
hello all i have a tgz file on the system.Now i want to download it in my jsp page.but i have not any idea how to do it. currently i am downloading the text file in jsp using following code [CODE]response.setContentType("Text/html"); response.setHeader("Content-Disposition","attachment;filename="+strFileName+""); [/CODE] please help..... | |
hello everyone I have the same problem that they talked about here before in this old thread: [url]http://www.daniweb.com/web-development/php/threads/94707[/url] I tried to find any solution for it but I couldn't this one "UPDATE table SET col_value = col_value + 1" doesn't work , so I hope that any one can tell … | |
Hello, I developed an application to the msn messenger in C # to monitor and control the company in msn. the problem is that after being updated for 2011 msn my application no longer works! The event msn_OnIMWindowCreated no longer works .... Can anyone help me? : | | |
![]() | Hello, I need help with a query. I need to find the Sum of Distance of T# 1 But there isn't Adelaide -> Melbourne So I'll have to take the value of Melbourne -> Adelaide which is 400 How can I handle this problem? I can do them in a … |
I have a table named queries.there is an column named query. My teacher has asked me to make a form in which first page lists all the queries(with checkmarks) from the database.It has a submit button. Second page to delete the entries. Once entry is deleted redirect the second page … | |
Hi, I am working on this function.buts its not sending text message($msg) to user($to) [CODE] function sendSMS($mobile, $msg, $sender, $sendPass, $sendID) { $msg=urlencode($msg); $ch = curl_init(); $url="abksms.com/pushsms.php?username=cs&password=6117&sender=STIA&to=$mobile&message=$msg"; //echo $url; //$url=urlencode($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1)or die("error1"); curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); $data = curl_exec($ch); curl_close($ch); … | |
Can any one tell me how to read connection string from XML file ?? Thanks in advance for you help | |
i have a problem regarding timer in the listbox. it suppose the time and date have to appear once only but it appear a non stop in listbox when run. here is the code: [CODE] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ListBox1.Items.Add(TimeString) ListBox1.Items.Add(DateString) End … | |
I am trying to get a calendar that will pop out and then back fill a date block on a from. Also I want to make sure that the from can be e-mailed with-out having a DB on the back side. | |
Could someone please run this code in XP and let me know if it works. I am on Windows 7 and have looked at this code for 2 months now and not able to find a solution to save my life. If you see what is wrong with it though … | |
So, I found a snipped of code that did what I was looking for but I tried adding upon it to fit my need a little more. What I am trying to do is input an integer and return an 8 bit binary string to a list. My first problem … | |
I have prob. with my printer my printer is Mini Dot Impact Matrix Printer. model AB 300 Kc. how to setting paper for this printer? | |
[CODE] <script language="javascript"> function add() { var divTag = document.createElement("div"); divTag.id = "div"; //alert(divTag.id); //divTag.setAttribute("align","center"); //divTag.style.margin = "0px auto"; divTag.className ="dynamicDiv"; var v1 =document.getElementById('ttlBoxes').value; var v2 =document.getElementById('boxno[]').value; var d1=parseInt(document.getElementById('ttlBoxes').value); var d2=parseInt(document.getElementById('boxno[]').value); if(v1!=""&& v2!="") { if(d2<d1) { divTag.innerHTML ='<br /><table width="101%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable" ><tr ><td width="150" class="label" ><select … | |
How can I determine the order of B+ Tree ? Or it should be according to the number of total elements in the tree. | |
please give me some ideas how to create a online reservation system for our thesis.. hope you'll help me all :) | |
i have an assignment to write a C program suing Pointer to count the character or word found in a particular string. i already did it, but i cannot enter the word, its fine with the character. can anybody help me? thx :)[code]#include <stdio.h> #include <string.h> int main (int argc, … | |
Hi i am developing a C# application which uses sdf database... the problem is in inserting data to the database.. i can retrieve data from it but can not insert value to it..... I tried many ways of inserting values to the database but not successful... can any one help … | |
[CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Data.Sql; using System.Data.SqlClient; using System.Configuration; using System.Linq; using System.Text; using System.Windows.Forms; namespace Eventmanagement { public partial class Registration : Form { SqlConnection aConnection; string firstname= string.Empty; string lastname= string.Empty; int aid; string date = DateTime.Now.ToShortDateString(); SqlDataAdapter da = new … | |
Hi, I have a literal control in my code used to display the Welcome text message when a user is logged in. I'm having an issue with this because I would like to position it in a different place using an external style sheet. Is it possible to do this? … | |
hello, Can you give me an iframe code that will display another page in my website. For example, I want to display specifically the login area of facebook. let say 100px by 40px. Then, when someone logged in their account it will change view to the center of the facebook … | |
Hi All.. I want to get selected item on listview. Does any one know how to solve this??? I'm using vb.net 2003 | |
ok guys. Im new here so please dont squash me like a bug. Im new to assembly as well. I even bought an assembly book recently ive been studying. My question is... Is it possible to write assembly that doesnt depend on api's, etc. Of other operating systems. Everything ive … | |
hi i am doing a project now i going to use ajax to retrieve coordinate from the json in html and pin the coordinate onto a point on the map using javascript but the problem is i am only able to use one point on the map can tell me … | |
Hi. I don't know where the problem is. The next codes is working on Google Chome but not in IE. I haven't tested yet on Firefox. function.js [CODE]function getSheetCount() { var xmlhttp; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { var … | |
Hi, new to vectors.. I have a little problem with them - with arrays you could just do like array [ index ] = new value, and everything is ok. How it is with vectors ? how can i change specific index value ? |
The End.