199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jessen

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!!!

Member Avatar for jessen
0
128
Member Avatar for daniyalnawaz

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 …

Member Avatar for schumaj
0
828
Member Avatar for CoolGamer48

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 …

Member Avatar for CoolGamer48
0
172
Member Avatar for c++noobie

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 …

Member Avatar for Ancient Dragon
0
93
Member Avatar for Aamit

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??

Member Avatar for Duoas
0
98
Member Avatar for tondeuse34

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.

Member Avatar for tondeuse34
0
2K
Member Avatar for ceyesuma

[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

0
67
Member Avatar for geekchic24

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 …

Member Avatar for schumaj
0
168
Member Avatar for Nemoticchigga

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?

Member Avatar for tesuji
0
99
Member Avatar for knowledgelover

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 …

Member Avatar for knowledgelover
0
108
Member Avatar for ceyesuma

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.

Member Avatar for ceyesuma
0
106
Member Avatar for logical69

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 …

0
68
Member Avatar for Hockey-nut

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 …

Member Avatar for sinan.yk
0
199
Member Avatar for punitdam

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 …

Member Avatar for sinan.yk
0
847
Member Avatar for chris5126

Anyone know of a good shell script beautifier that works in either unix or windows or a way of properly indenting/tidying up code???

Member Avatar for chris5126
0
153
Member Avatar for En1ro

[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 …

Member Avatar for En1ro
0
107
Member Avatar for marcelomdsc

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 …

Member Avatar for marcelomdsc
0
100
Member Avatar for latour1972

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 …

Member Avatar for latour1972
0
106
Member Avatar for alasseon

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 …

Member Avatar for alasseon
0
112
Member Avatar for Blondeamon

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 …

Member Avatar for Blondeamon
0
121
Member Avatar for Altarium

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 …

Member Avatar for Typhon
0
545
Member Avatar for architact

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 …

Member Avatar for DigitalPackrat
0
157
Member Avatar for SelArom

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 …

Member Avatar for majestic0110
0
345
Member Avatar for David S Cherry

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 …

Member Avatar for CoolGamer48
0
116
Member Avatar for qurat

[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] …

Member Avatar for Prabakar
0
85
Member Avatar for still_learning

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 …

Member Avatar for still_learning
0
127
Member Avatar for RyanLeaf

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 …

Member Avatar for Colin Mac
0
359
Member Avatar for RFBourquin

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 …

Member Avatar for RFBourquin
0
306
Member Avatar for chickenchaser

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); …

Member Avatar for Ezzaral
0
114
Member Avatar for lolo1313

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 …

Member Avatar for Fungus1487
0
151
Member Avatar for sid99

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 …

Member Avatar for sid99
0
88
Member Avatar for Paulxh

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: …

Member Avatar for Paulxh
0
108
Member Avatar for Karkalash

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 …

Member Avatar for Karkalash
0
141
Member Avatar for kevin wood

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 …

Member Avatar for kevin wood
0
108
Member Avatar for afi88

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: …

Member Avatar for sneekula
0
134
Member Avatar for kevin wood

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 …

Member Avatar for kevin wood
0
69
Member Avatar for joshmo

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; …

Member Avatar for joshmo
0
83
Member Avatar for shinpad

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 …

Member Avatar for Nick Evan
0
126
Member Avatar for Aamit

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); …

Member Avatar for Prabakar
0
619
Member Avatar for lisheen

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 …

Member Avatar for lisheen
0
113
Member Avatar for dinilkarun
Member Avatar for Jx_Man
0
67
Member Avatar for ryanlcs

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), …

Member Avatar for ryanlcs
0
156
Member Avatar for sagz

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), …

Member Avatar for sagz
0
157
Member Avatar for luxmi_gee

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?

Member Avatar for mukulbhave
0
95
Member Avatar for MoZo1

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 …

Member Avatar for MoZo1
0
476
Member Avatar for sudhakary_rao

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.

Member Avatar for sudhakary_rao
0
77
Member Avatar for nada fouad

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 …

Member Avatar for nada fouad
0
275
Member Avatar for Dannyo329

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.:-/

Member Avatar for Laiq Ahmed
0
162
Member Avatar for queenc

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

Member Avatar for Nithya.G
0
88
Member Avatar for knowledgelover

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 : …

Member Avatar for mitrmkar
0
394

The End.