199,114 Archived Topics
Remove Filter ![]() | |
Just got one more question. I tested in my java JMF program just now. I found that AVI format are not supported by JMF. and also wmv,wma; who can help me? thank you!!! | |
Hi, I'm designing a database for an E-commerce web project. It is a tennis equipment shop contains products such as Racquets, Balls, Apparels and other sports accessories. Each product have different sets of option (E.g Racquets have strings, tension, size and Apparels have color, size). First I was planning to … | |
Hey, so I have a file I use to store my own math functions called MyMath.h. I included MyMath.h in my main.cpp file and it worked fine. But then I tried including it to another file, and I get this error: Block.obj : error LNK2005: "int __cdecl Random(int,int,bool)" (?Random@@YAHHH_N@Z) already … | |
I have been teaching myself c++ for a little while now and came across something I couldn't figure out. I am trying to figure out how many char*s there are in a char**. In the current program I am using *argv[], so I can access it through argc, but is … | |
I want to run Exe after 1 minute when computer starts Means suppose comp starts at 10:00:00 pm my exe automatically executes at 10:01:00pm How to do it through program?? | |
Hey guys, is it possible to simulate a mouse click using x and y co-ordinates. And also could you have user input of a certain co-ordinate and it would click that specified co-ordinate? thanks. | |
[code] String like=searchJTextField1.getText(); query=entityManager.createQuery("SELECT c FROM content c WHERE c.artist LIKE \"%" + like + "%\""); query.setParameter(like, searchJTextField1.getText()); [/code] is there someone that could tell me if this code is right? thanks -Steve | |
Hi, I'm in the stages of building a beauty site that will include about 3,500 listings of salons & their services in my metro area. Since contact & service information changes consistently, I've considered a database driven website. In addition, I would like the search to pull results based upon … | |
I am having an issue with the following code: [CODE]SerialPort^ com = gcnew SerialPort("COM1", 9600); array<unsigned char>^ messageBuf = gcnew array<unsigned char>(512); com->Open(); com->Read(messageBuf, 0, 512); com->Close(); [/CODE] messageBuf is not being filled with anything. I know the port is open cause writing works fine. Any ideas why this is? | |
Hi there, is it possible that the args of the OnStart method of the service be passed by reference, more explanation: the main goal is to: start my service from another program, and I need the caller program(which starts the service) to be able to interact with the service( to … | |
If netbeans ide has a queryproperty set to SELECT c FROM Content c How can I change this query to say ..limit the resultset to less records like 10 or 20 instead of the whole database. I am not sure what that SQL string would look like. | |
Ok here is the story, im trying to get a clone script to work and im failing missrably this is mostly due to the fact im still learning everything from php, javascript and linux! (yea im going way over my own head lol) Right here is the situation, im working … | |
I'm new to JSP and trying to do a parameterized query. I've been able to do single stream queries to existing tables without any problem. I'm trying to build a search mechanism to do selective reporting. I've tried many hours to get the combination of different items to get by … | |
I m trying to use <jsp:include page> with apache tomcat 5.5.26 as follows [code] 679:</table> 680: </td></tr> 681: <tr><td colspan=2 width="100%"> 682: <jsp:include page="html/policy.html" flush="true"/> 683: </td></tr> 684: <tr><td colspan = 2 align="center"> 685: <input type="hidden" name="hide" value="3"> [/code] where policy.html is html file to display policy. while trying to … | |
Anyone know of a good shell script beautifier that works in either unix or windows or a way of properly indenting/tidying up code??? | |
[CODE=c++]int j=1; fstream kd("Gydytojai.sed"); while (!kd.eof()) // Checking if the entry already exist; { if (gydmas[j].vardas==pgyd.vardas) {ShowMessage(L"Gydytojo id jau egzistuoja"); pagalb=true;}; // if the entry exist, variable pagalb becomes true j++;}; kd.close(); [/CODE] Well, i'm checking if in the file Gydytojai.sed while it is not end of line checking if … | |
Hi, this is my first time posting to this forum so please let me know if I'm doing anything wrong. I would like to know how to do the following... a. Write the internal representation of “17” in ASCII using two binary numbers b. Write 17 and -17 in two’s … | |
Write two program segments (functions) that accomplish each of the following: a) A function that Calculates the integer part of the quotient when integer a is divided by integer b. b) A function that Calculates the integer remainder when integer a is divided by integer b. Use the functions developed … | |
Hello, All: My first post... I've looked high and low for the ability to write a Chinese language text string in a program. For example: myString = "你好" So that if you say: print myString on the console you will see: 你好 But I have yet to be successful. First … | |
Hello guys under a project i have to complete for this semester i have to think and implement a shortest path algorithm other than the ones i have already coded so far for this course , which are: - Bellman Ford - Floyd - Kruskal The whole project is a … | |
I've got a small bit of code I need to convert to C#. However my experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of any converters or is willing to … | |
Please help me in doing this problem in C++ without filing ______________________________________________________________________ [code=cplusplus] #include<iostream.h> #include<conio.h> #include<stdio.h> #define min(a,b)((a)<(b)?(a):(b)) int a[6000]; main() { file*input=fopen("number.in","r"); int n,p2,p3,p5,p7; a[1]=n=p2=p3=p5=p7=1; while (a[n]<2000000000) { a[1+n]=min4(2*a[p2],3*a[p3],5*a[p5],7*a[p7]); if (a[n]==2*a[p2]) p++; if (a[n]==3*a[p3]) p++; if (a[n]==5*a[p5]) p++; if (a[n]==7*a[p7]) p++; } { fscanf(input,"%d",&n); if (n==0) break; printf("the%d",n); if … ![]() | |
I have an xml documents that I need to bind using a repeater. This is to be a "preview" of a few rows of data with a "view more" link to see them all. Is it possible to do this using just one xml document? the xml file has about … | |
Hello everyone!! I am new to Daniweb! I am lookng for advise on the best game engine software as well as computers. To give a little bit of background, I have been working for a company for 10 years designing and maintaining their website and I do some freelance on … | |
[B][COLOR=navy]hi my name is qurat .. i have a small problem :rolleyes: i dunno how to do this program .. i have tried it several timez but it is giving some or the other error[/COLOR][/B] [B][COLOR=#000080]here it is:[/COLOR][/B] [B][COLOR=#000080][/COLOR][/B] [COLOR=#000000]Implement a Queue using two Stacks (implement Stack using link list).[/COLOR] … | |
Hey guys, I am trying to overlap some layers in html and I have done so using absolute positioning and it looks fine using internet explorer. BUT, when I try and view the page using Safari or Firefox, the layers are overlapped but not in the correct place. In other … | |
Hello, I am currently learning (or really just begun) Assembly (my first programming language, by the way) and am wondering once I become somewhat good at Assembly, should I start picking up the C language. I know that several languages are based upon it, and I am even planning on … | |
How can I link to another URL when my web page opens without clicking on "link"? I'm just learning html and understand how to link using the anchor and href. Example: [code=html]<html> <body> <p> <a href="http://msm/com"> Click Here </a> </p> </body> </html>[/code] How can I get my webpage to open … | |
im designing a 12 hour clock, converting it from a 24 hour clock. i had the idea of keeping the clock internally as 24 hours, and externally showing it as a 12 hour clock. The code I have is public String getTime() { if (hours.getValue() >12) { hours.setValue(hours.getValue() - 12); … | |
Hi, I am new to working with PHP and am editing a site that was created by someone else. I need to have a link open a new tab instead of redirecting away from the original site. What PHP code is needed to do this? Below is what is already … | |
Hi, I am quite new to regular expression and I am kinda stuck on this question. I am using a book which explains it only in short detail. I have an answer but am not sure if I got it right. If someone can please check it and post the … | |
Can a table written in HTML be floated as an element, as in image <img src=".."> I am trying to have several small blocks of text, seperated within borders that the text withing the box or group can float depending on screen size. I don't know how to do this: … | |
Hi: I have to write a program that uses methods and arrays. I have to create a method that creates an array and populates it with 10 random numbers between 1 and 10 inclusive. Then I have to write another method that sorts the number from lowest to highest and … | |
i am using php to upload images onto the server and then they are being displayed on other pages around the site. the problem i am having is if the user changes the images that they have uploaded the old ones are displaying from the cache. i would like to … | |
Hi. I have a problem with a physics assignment I have to finish by tonight. They have already given me a python code, but I have to find the period T of Jupiter through interpolation. (It doesnt have to be interpolation, but my teacher recommended it.) This is the program: … | |
i have created a table to store a random number in and now i need the number that has been stored in the db to equal a variable on the new page. to get the information out of the db i have used this code [CODE]$query = "SELECT random1 FROM … | |
am trying to figure out how to insert a new number in a linked list after a specified number...i am failing to figure out how to fix in the number in the list...here is the partial code..any help is appreciated [code=cpp] void insert(detailsPtr& head) { detailsPtr prev, current,tmp; int num,curr_num; … | |
Hi there, I am very new to C++ so please bear with my what is clearly terrible work I am trying to figure out what should be (I think) a simple program that will check a couple of pieces of information and tailor an output based on the input, if … | |
I am creating client-server application. client sends text file through `sendto()` function to server. Problems are following-- 1>At the server i am writing into new abc.txt file. but problem is it writes some garbage data also.... server side function ---- char RecvBuf[22610]; int BufLen = 22610; recvfrom(RecvSocket,RecvBuf,BufLen, 0,(SOCKADDR *)&SenderAddr, &SenderAddrSize); … | |
Hi All, Back again looking for some help and guidance, I have a recordset and I want to loop through this recordset until I find the field with the highest date. I am have a basic knowledge of how it should work but I have no idea what way to … | |
hi, how can I read all the names of files present in a folder and store it into an array???. | |
Hi There I used to develop C programming some 5 years back using Visual Studio. Now I am on my way to develop C++ using Visual Studio .Net 2003. I started of to create new project, there are numbers of different type to choose (Win32 Console Project, Console Application (.Net), … | |
Hi all, I am a newbie to programming and have almost complete my assignment 'Frequency of words and phrases' to a satisfactory standard. My program reads a text file and counts the number of phrases within the file (A phrase is defined as a sequence of one or more words), … | |
I want create some custom controls. With the properties. can any one help me to develop that. which is use to develop custom controls, jsp or ejb or swings? | |
Well... I could copy the data, and use that, but that would be very slow, and I would have to copy often and a lot. I have a table where records depends on another one. Still, it will be the backup if I can't solve this. So every time I … | |
In my aspx page.background image should be static whereas my remaining functionality(i mean controls or anything) should be scrolling.How to apply this. | |
i have a Project and in it i have Application Form u must fill it in the internet . it have many fields to put data in , and i want to take these data to my DataBase but in many tables . am going the Application Form with ASP.NET … | |
Hey Everyone. Is there any way to make a sub? For example there's int main(), can I make something else like int menu() and sort of link int main to int menu? I have no idea how to do this.:-/ | |
hi i am new to php i have a javascript function [code=JavaScript]function delayer(){ var useri = document.getElementById('userid'); var passwor = document.getElementById('passwords'); window.location = "https://website.com/login.aspx?OPFirmID=86&UID=useri&PW=passwor"; }[/code] below i have a html code for textboxes for getting tat value,i want to pass them to aspx page | |
Hi C++ experts , actually my knowledge is not very good I can call my self degree 2 beginner , But I know how to do things in C#, and write now I need to execute what I have already done in C#, in a c++ code. MORE EXPLANATION : … |
The End.