199,114 Archived Topics
Remove Filter ![]() | |
[B]Bsplayer is a videoplayer. I want to start bsplayer with the parameter -stime-x, where x is the amount of seconds. This result in playing a movie from say 23 minutes 10 seconds with the parameter -stime=1390. The whole thing I can manage to do in [COLOR="Green"][U]DOS[/U][/COLOR] and looks like: @echo … | |
I expect the following source code to output [B]value = 0, Copied value = 0 value = 0, Copied value = 200[/B] But it is actually giving [B]value = 0, Copied value = 0 value = 200, Copied value = 200[/B] I have re-assigned [I]CopyMyValWithRef.reference.value = 200;[/I] This assignment must … | |
I am working on a project, its purpose is to search a database and display the results in a data list so they can be used. I have the search working correctly but it only outputs to a data grid. Help please! [CODE] Protected Sub Button2_OnClick(ByVal sender As Object, ByVal … | |
I've been busy learning windows service these days. I have here a windows service application that monitors a folder then logs all the activities inside that folder. I want my windows service to show in the system tray, how do I integrate my windows service and the notify icon? Thanks! … | |
I have to build a media player in C# for my final project and I'm not sure where to begin. I want it to be able to play most of the video and audio formats and have basic features like a track bar, a play list, and the option to … | |
hello.. m developing web application ..in it m going to use RadioButtonList control... well.. problem is want to get value for RadioButtonList control from databse.. here is ma code.. this is aspx code file.. [CODE] < asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"> <asp:ListItem>Web</asp:ListItem> <asp:ListItem>DeskTop</asp:ListItem> </asp:RadioButtonList> [/CODE] this is aspx.cs code file [CODE] … | |
Hi there daniweb, i'm making a program that deals with a hill climber and genetic algorithm. I'm pretty much done writing the code but i'm having a headache of a problem....heres the header[CODE]#include <iostream> using namespace std; template<class T> class myVector { public: myVector(); int get_size() const; int get_capacity() const; … | |
I have created this web service [CODE]using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : System.Web.Services.WebService { public Service () { //Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod] public string user(string strusername, string strpassword) { string user … | |
plz chk my coding n tell me whr I am wrong. [code=html]<html> <head> <title> My simple calculator </title> </head> <script language="JavaScript"> <!-- function addit() { var num1=document.calform.one.value; var num2=document.calform.two.value; document.calform.result.value=parseFloat(num1)+parseFloat(num2); } <!-- function minus() { var num1=document.calform.one.value; var num2=document.calform.two.value; document.calform.result.value=parseFloat(num1)-parseFloat(num2); } --> </script> <body>Add subtract Calculator <form name="calform"> <p> First … | |
Hi, i need to pass a value from an asp.net application to a php page stored online. Having searched around I can not find a easy solution to this can anyone point me in the right direction please. Many Thanks | |
Dear All, First of all, I do not know if this is the correct place or not but I am having problems about playing video by using opencv. I am trying to play an .avi video. I did exactly the same thing as tutorial but the code below does not … | |
im having a problem with my converter. this is my code : [CODE] void romanNumeral::convert(){ for(int i=0; i < roman.length(); i++){ letter = roman.at(i); switch(letter){ case 'M': case 'm': decimal += 1000; break; case 'D': case 'd': decimal += 500; break; case 'C': case 'c': decimal += 100; break; case … | |
hey this is my first time asking for help. But i am having trouble making this code. (i think i am over looking it) but here is what i need to do. ::: Design and implement a program to maintain a simple income and expense budget for a non-profit organization. … | |
hi.. im in need of a free word editor which can be used in my website.. if any1 knows where i can find it, please let me know.and also tell me how to use it too... Thanks.. | |
How to move listitems(which are marked) in checkboxlist at run time? Help is appreciated..... | |
Hi, I am trying to implement a project where I need to detect something. I have the digitized form of a human cell and I need to detect regions separately in the image. This part is over. The next part is where I have to detect overlapping regions. Another part … | |
Hi, I am trying Serial Port Communication in Linux using Javacomm API and RxTx. I'm configured RxTx as per the documentation. But I received an error as follows, Exception in thread "main" java.lang.UnsatisfiedLinkError:com.sun.comm.SunrayInfo.isSessionActive()Z. Would you help me please.. | |
hiii, I m new to create reports in c#, so can any one tell me how to i create crystal reportsusing my queries?? & How to show it??? Is there any namespace for using crystal report actually my prg give a error at compile tym : the error is related … | |
Hey, I'm pretty new to programming and I'm writing a program for my class. I can't figure out why my <iomanip> isn't working.. I'll post a copy of the code (I'm aware it's bugged, as it's not returning the proper values, but the format of the output is the issue). … | |
I keep getting some weird errors in this script: errors: [code] [B]Warning[/B]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]86[/B] [B]Warning[/B]: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]87[/B] [B]Warning[/B]: mysql_query(): supplied argument is not a … | |
Hello, I need help with an assignment. I am lost and don't know where to get started. See attached. Thanks. | |
Hi All, I am going to create a setup for Windows Application using C#.net. I have ProductKey and Its validating Exe also. I need to integrate this product key and validate it in the Application setup itself. Please help me to do in Inno setup Wizard.Anybody knows it please give … | |
Here is my code: [CODE] <?php $connection = mysql_connect("myserver.com","myuser","mypassword") or die ("Couldn't connect to server."); $db = mysql_select_db("mydb", $connection) or die ("Couldn't select database."); $search=$_POST['search']; $data = "SELECT firstname, lastname, task FROM inventors WHERE taskdate - curdate() = 1"; $query = mysql_query($data) or die("Couldn't execute query. ". mysql_error()); $data2 = … | |
Hi Guys, I am trying to reverse engineer some of the openGl function into pure c++ and need some help. I can't use openGL but need to do some of the stuff it does. I am trying to figure out how to code glViewPort(...) in c++. Any help in this … | |
Hi professionals, I am a student who is working on a project for a company on mass emailing system. How do i add a Bcc attribute in my program? I found a few codes in the internet but all the codes are for pre-defined email address. What i am planning … | |
Do you guys know a better way to write this? [CODE] bool a = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_1"); bool b = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_2"); bool c = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_3"); bool d = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_4"); bool ee = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_5"); bool f = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_6"); bool g = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_7"); bool h = Directory.Exists("C:\\Program … | |
Hi, Please help in this regard. Can the modification time of a file be updated to any date of our choice? Please advise. Thanks in advance! | |
Hi, I have 2 dropdownlists on a page. (DDL1 and DDL2). The DDL1 is populated by values from the database using a table1. DDL2 is dependent on DDL1. As soon as a value is selected in DDL1 I need to populate values in DDL2, though using S table2 which is … | |
Hi, I am creating an ASP.Net application in VS2008. I would like to create a horizontal menu bar at the top. The values of this menu bar should be dynamic. By dynamic i mean that we should be able to add new values or remove the existing values from the … | |
I'm supposed to get a 4-digit number from the user, convert it to binary (and hex), then print it out. I have absolutely no idea where to start. I know the algorithm; taking the number, diving it by 2, repeat until the number reaches 0 and the remainders of everything … | |
Does anyone know how to get the adspath attribute value to a better looking string. Active Directory returns the following: "LDAP://contoso.com/CN=Sanch01R,OU=Managers,OU=Users,OU=InfoTech,DC=contoso,DC=com"; I would like it to read: contoso.com/infotech/users/managers/sanch01r The IndexOf and Substring methods do not work consistently as we never know how many OU's would be returned, any ideas would … | |
hi.. im retriving some data from a database to a dataset...i want to show the data in a gridview..but my problem is, i want data to be shown in last to first format. i mean, if the dataset contains, A as first record & z as last record, then the … | |
Hi all, I'm newbe need your help. I have code: [code] public void Material_Load(object sender, EventArgs e) { SqlConnection con; SqlDataAdapter da; DataSet ds; con = new SqlConnection(); con.ConnectionString = "Data Source=GOD_LOVE_ME;Initial Catalog=ProjetDB;Integrated Security=True"; con.Open(); da = new SqlDataAdapter("select * from Material", con); ds = new DataSet(); da.Fill(ds); DG1.DataSource = … | |
1) I want to Close all mozilla firefox windows running , for that to happen as i know there is two ways a) to use link label b) findwindow Link Label finds the mozilla browser but with the found browser i can get the url of the browser but i … | |
[I m still a newbie in ASP.Net] I want to create an interface with asp.net for an SQL backend. On the interface i want the buttons to be able to execute some stored procedures. Any Ideas? Or code | |
With assistance from others, I have an program that allows a user to input their employee name and number and then their hourly wage and their total number of regular hours and overtime hours. The program I need assistance with reads in that file, adds a new field at the … | |
Hi, I have been trying to solve this problem without any luck. Can someone please have a look at this code as it doesn't work Thank you After clicking a button I refresh the picture box the code below is in the picbox.Paint event. Basically what I am trying to … | |
I have to call in two files, both have 20 letters in them. my program needs to be able to handle up to 50 chars and stop at the blank space. i need help getting the chars into the array and stopping at blank space [code] #include <iostream> #include <fstream> … | |
Hey guys. I am currently trying to get to grips with C++ and I am trying to create this little program. What I am trying to do is create a 'square' program, that prints out the entered number from the user, then prints the *'s to create a square. However, … | |
Hey guys, im having some trouble in finding what I should return with the [] operator overloading. Here is my implementation code: [CODE] template <typename L> L& List<L>::operator[](int index) throw (ListException) { if (index >= length || index < 0) { throw ("In function: operator[]: index >= length or < … | |
The code not listed has an arraylist named unsorted size 1000, and another array named keys_Array, size 100. Every element from the keys_Array was picked from the unsorted, so they should always be found. Problem I'm having is that it doesn't print anything. It just reports a msg from the … | |
hey guys, I want to write a program to transform numbers to letters if I write 652 I want the program to print six hundred fifty two I have written this but I have a problem. For the 652... I get six hundred 5 2. The numbers are in spanish … | |
I am a Student working on a project useing mysql. I am trying to set up a view and keep getting an error that there is duplicate columns. Is there anyway other then specifiying each table.culumn to stop the view from trying to show both of the columns. If it … | |
Hi all, Can any one tell me why this following code is not working. [CODE]#include <Windows.h> #include <iostream> #include <string.h> using namespace std; //Just a function DWORD WINAPI StartThread1(LPVOID iValue) { int iStart = 0; for(int i=iStart;i<=10000;i++) cout<<"i = "<<i<<endl; return 0; } //My Class class ThreadTest { public: ThreadTest(); … | |
I need help with a java script that increases image size and decreases on mouseover and mouseout for multiple images per page. In an html page. This script that I have tried to modify is for one image. Can anyone help me with this, please. Jerry Here is the html … | |
I have 2 buttons in my form. The first button to fill the JTable from .xls file and the second button to save the content of the table to database (MySql). I haven't figure out yet the way to save data from JTable to MySql. :confused: So, can anybody help … | |
Hi guys, I have to do the following, but I am not sure how to go about doing it. For example, I am trying to make my edit box change font color. So if the user inputs: Hello Everybody! I would need to change the color of the '!' to … | |
I'm having the hardest time figuring out how my latest homework assignment is supposed to work. Basically we have to write a program that creates a list containing names. The list will then be sorted, written to an output file, and searched. We get the names from a text file … | |
[code] //Student Name: Mohamad Amiruddin & Frank Douglas //Course: Diploma in Information Technology //Group: IT3 //Student ID: 0165-DDC-08 & 0684-DDC-08 //Program Name: Student Grade Report //Assignment Number: 1 //Assignment Name: Assignment 1 (Mini Project) #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; //Content Declaration void reportHeader_weigtage (string … | |
hello, is it possible to delete waste images from folder using php. for suppose user uploaded images....after his account expires his account will be deletes by admin. at the same how to delete his photos from folder. |
The End.