64,152 Solved Topics
Remove Filter ![]() | |
Hi, I am working on a PHP form with a set of input fields, and 3 buttons. 1. The [B]ADD[/B] button will take the input and add it to a table displayed on the same page just bellow the input fields. 2. The [B]SUBMIT[/B] button will deposit the entire table … | |
How should i come about accessing eclipse file folder on another computer using the elicpse software too?? I mean accessing the entire file as a whole with a working solution and not accessing .xml or .java individually. Or is it impossible to access the file as a whole but i … | |
Please give me reply as early as possible!!! [CODE]In this at the code "Set rs = db.OpenRecordset(SQL)" here the loop auto matically terimates[/CODE] [CODE]Private Sub cmd_Copy_Policy_Click() On Error GoTo Err_Click Dim db As Database Dim SQL As String Dim rs As Recordset Dim PolicyYear As Integer Dim NewYear As Integer … | |
using pysnmp I am querying a variable which gives the IP address. I want to check that address. I do the following [CODE] ........... ............ ............. errorIndication, errorStatus, errorIndex, varBinds = cmdgen.CommandGenerator().getCmd( cmdgen.CommunityData('xxx', 'yyy', 1), cmdgen.UdpTransportTarget((addr,161)), ((1,3,6,1,4,1,18489,1,2,2,2,9,30,0))) print"Error on GET for ccmSDIDULinkUtilEastRemoteIP -%s,%s%(errorIndication,errorStatus) print varBinds print varBinds[0][1] [/CODE] i get … | |
How should i reorient an android application in landscape mode once an apps is started?? I started an app but it does not automatically switch to landscape mode.. I tried writing it to "horizontal" but it does not work.. [CODE]<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" >[/CODE] | |
Hello everyone: I have the following issue, i have and old computer and i need to erase pics and all that, but that computer has several folders and some are hidden, and is very time consuming checking where are those folders. I would like a VBS to erase all the … | |
I am unsure what is going on with my website? I had flash on it, and I have removed the flash and installed javascript. Everything is installed correctly from what I can see, when I go to the view page button on Dreamweaver the images rotate. When I upload it … | |
Alright, I'm back for another educated post (got the newsletter btw :(). So I am trying to [COLOR="Red"][B]use AJAX to remove a joke from a list of jokes[/B][/COLOR] inside the administration panel. I know basically nothing about AJX, but I am a quick learner. I know that if I press … | |
hi all ...... import os os.system("ps") i want to kill two particular process i.e, log and snmp .....how to kill it , can anyone can plz help me:) thanks in advance | |
Hello fellow Daniwebbers, I have a question about choosing a CMS. I know what you're think "OMG another 'what cms' thread". Hold yer ponies because I want to be very clear and precise. Having worked with multiple CMSs over the years, I have acquired a knowledge of which CMSs are … | |
guys, good day... I know that this is just easy but i've been tweening my work the whole afternoon but no luck. my problem is using setAttribute for java's client-side programming. I just want to create session for my username to be able to use while being logged in. this … | |
I was wondering if there is a for_each function in c++, I have searched for it on the internet and I cant seem to find a definitive answer, is it in the new draft for the c++x? | |
I need a few helps for some things that I just cannot get the syntax of! (I need these, and if you don't believe me I can post the reason) 1) Creating a function within a function 2) Creating a class within a function 3) Declaring a template function outside … | |
What data type could I use in my access database that can hold very long texts. By default, each cell in Access tables can only contain up to 255 characters. Is there any way to extend this to any length I want? | |
I have a pregexpression and its not outputting anything. Can someone explain why this might be? I'm also new to learning this [CODE]preg_match_all("/\<b>\$(.*?)\<\/b\>/is", $res[0], $match); foreach($match[0] as $value) { echo "<div class='prices' id='kgbdealsPrice'>".$value."</div>"; } [/CODE] The string that I'm trying to get looks something like this [CODE]<tr> <div> </div> <div> … | |
I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again … | |
Hi I hope somone can help me. my update form wil not work and i don''t know what's wrong. i got everything work only this not please help Here is the code <html><head><title>Terminkalender Change form</title> <style type="text/css"> td {font-family: tahoma, arial, verdana; font-size: 10pt } </style> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" … | |
Hi Guys I have an e-commerce website. Two of the columns are for the pricing of products. What I would like to do is update the price ('prodprice') directly from the cost price ('prodcostprice'). It would be nice to set a certain markup according to price range. eg. $0-$1000 = … | |
What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help | |
Hello peeps. I'm trying to update a sql table from mi php Ajax web page, which stores dynamically a table into the page by [icode]table.appendChild(row)[/icode], so that the user can verify the information he is inserting before the actual database update. How do I do this with ajax? | |
Hello, I was wondering if there is a way to layer my preg_matches? I have a code like this [CODE] preg_match("/\<div class=\"dealsListS\"\>(.*?)\<\/div\>(.*)\<\/form\>.*?\<\/div\>/is", $res[1], $bycontainer ); preg_match_all("/\<h2>\s*(\<div.*?\<\/div>\s*)?(.*?)\<\/h2\>/is", $bycontainer[0], $level1 ); preg_match_all("/\<div class=\"thumbWrapper\"\>(.*?)\<\/div\>/is", $level1[0], $matches); foreach($matches[0] as $travelzooTitles) { echo "<div class='titles' id='travelzooTitles'>".$travelzooTitles."</div>"; }[/CODE] I'm getting error, but can I even do … | |
Hi, i am having a really hard time solving the following problem. it looks really simple, but i cannot find a good implementation for it !! if you have a good algorithm please tell me about it, thanks The Problem: Source File: coindst.c/ cpp/ pas/ java Input: coindst.in Output: coindst.out … | |
i have this piece of code i would like to validate using javascript. I have the validation code already , all i would like to know is how do you send a changeable variable to javascript i.e [CODE] while($row1 = mysql_fetch_array($result)){ $sel = ($row1['productid'] == $row['productid']) ? "selected=\"selected\"" : ""; … | |
hi friend,the problem is i have created two projects separately.both have dataEnvoirment with the same name as DataEnvoirment1 ..iwant to add a form from 2nd project to 1st project when i add the form along with its DataEnvoirment it gives duplicate name error, Itried to change the Dataenvoirment1 name to … | |
I wrote the code below and it runs well. However, how do I make it so that 'Jeanne' enters her own name instead of the numeral 01 to get the message 'Welcome Jeanne'? Thank you. // This program assigns a code to 'Jeanne' (analogous to a pass code) [CODE] Actual … | |
Hi guys, I need a help for caching web pages. My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on … | |
![]() | [CODE] #include<iostream.h> #include<stdlib.h> struct rectInfo { int hight; int width; int area; int parimeter; void print() { cout<<hight<<" "<<width<<" "<<area<<" "<<parimeter<<endl; } }; void calArea(rectInfo *p,int n){ for(int i=0;i<n;i++){ p[i].area=p[i].hight*p[i].width; p[i].parimeter=2*(p[i].hight +p[i].width); } } void genData(rectInfo *p,int n) {for(int i=0;i<n;i++){ int a=rand()%10; int b=rand()%10; p[i].hight=a; p[i].width=b; } } int main() … ![]() |
Hi, I want to move a shape (label) when I press WASD around a maze. I got what I have so far off the net, but I cant figure out whats wrong with it. [URL="http://www.programmersheaven.com/mb/VBasic/223364/223860/re-basic-key-press-question-answered/"]Original code[/URL] [CODE] Public x 1 'This is whats wrong - it says "End of statement … | |
Hi all, How do i store matching substring and string inside one single arraylist? example: [[er, every, errant]] which saying er substring is inside string every and errant.how should i make the comparison? basically what i did is only make 2 arraylist a1 = new ArrayList(); a2 = new ArrayList(); … | |
i m a student of BCS final year . i want to developed a games in java . any one have idea about game . plz share with me thank you! | |
[CODE]myCoolFile = chosefolder.SelectedPath & "\" & NameofUal.Text & ".Ual" Try Dim myCoolWriter As New IO.StreamWriter(myCoolFile, False , [U][I][B][COLOR="Green"]????[/COLOR][/B][/I][/U]) <-<-<- For i As Integer = 0 To Mainfrm.ShellProgramslis.Items.Count - 1 myCoolWriter.WriteLine(Mainfrm.ShellProgramslis.Items(i).ToString & "~" & Mainfrm.myArrayList(i)) Next myCoolWriter.Close() Catch Erroronwrite As Exception End Try[/CODE] [U][B]Ive got some problems how do i say … | |
Well, here's my problem. I have to Count from Num1 to Num2 by input from the user. So when I input let say 1 to 5, it will display 1 3 5. If I do 2 to 6, it would display 3 and 5. I can't seem to get the … | |
I want to make a rating system in vb6 that has stars like here: [url]http://www.imdb.com/title/tt1217613/[/url]. Is there any add-on available for vb6 that will allow me to make this kind of rating system? | |
i m using sql server 2000 with vb 6. i m having some problem in navigating recors.. when i m pressing Move Next,it moves only one record, and when i m moving Move previous, samely it move one previous record... here is a code... [CODE]Option Explicit Private con As New … | |
Hi, i have a problem with getline function in cpp program on os x Error: main.cpp:158: error: 'getline' was not declared in this scope i read that in os x are some issues with getline() function but i am newbie and i dont know what to do. is possible to … | |
you are given a set of N points e.g ((x1,y1),(x2,y2),(x3,y3)...or (3,6),(2,5),(4,1)..) on a plane . Find the pair of points that are closest to each other. all these given points are on X-axis and on Y-axis according to that you have to calculate the closest points using given co-ordinates. Thanks … | |
I have some problem with my report. I don't know how to update my report. Every time i enter any data, the report did not show the added data. Please guys i need help. Thank you in advance, God bless. | |
I only know a little bit about the Global Assembly Cache. After creating a WPF application, in the toolbox, if you right click and select "Choose Items", it will open a window in which you can specify controls you want to use that are in the GAC. Is it safe … | |
hi, i'm did a program in C++6.0 that retrives data from Access. the program was ok and runs normally for quite sometime and suddenly the error [B]"Unable to Create File Buffer"[/B] appear. After searching high and low for solution and trying multiple suggestions, i found that that problem is because … | |
Hey everyone, New to Java and i was hoping if anyone could assist me.I needed to write a program that could display results of Champions League initial menu screen with the following set of options: 1. Display the current score for each possible response. 2. Vote 3. Quit the program. … | |
Hi All I want to use a template that should be used in my email function of my application. Below is my code so how should I modify it so that I can use a template instead of having to everytime type in the body of the email. Thanks in … | |
hiiii i am aneesh...my doubt is how we can insert a repeater inside a gridview??? i want to put all repeater in one column of gridview. how it can achieve???? i am totally confused please give me a solution... | |
Hi! I'm new in shell scripting, so please help me with my problem. How can I do a bash script's [B]for loop[/B] to find the smallest number? If I have an example: 1 4 6 23 5 7 100 2 Answer: 1 It needs to be a for loop. Any … | |
Can You explain me.. :confused: Hey dude...I have a problem....Why is it happen like that? 1st follow the steps & check i am correct or not.... 1.take the photo extension with jpg (if u can use any type [U][I]photo[/I][/U]..but i don't know correctly is work or not) 2.change the extension … | |
Hi All, After searching the web and this specific forum I can't seem to find a suitable solution to my problem and after hours of thinking I wasn't able to come up with a solution that will fit the problem. This is the case: I need a database model that … | |
hi friend, i want that my program should work like this, after inputs of total amount and expenses it automatically give the Total Expense and than TOTAL AMOUNT - TOTAL EXPENSE it give me the Remaining Amount. the total Expense and Remaining Amount should show in a text boxes. as … | |
hi, i have a table which have code col and data col.the code and data occur repeated no of time. so i run query like SELECT code, COUNT( code ) AS no_of_times FROM testing_table GROUP BY code ORDER BY code which give no of time code is repeated in the … | |
Problem is based on C#, ADO.NET, using Access Database. I am trying to filter the results from the database and display them in DataGridView on click of 'button1' button. But the datagridview shows empty results when there are actually 3 records with matching conditions. According to what I know, the … | |
![]() | Hello everyone! I'm new to c# and i've come on here hoping your knowledge can help me out. I'm trying teach myself at home but have got really stuck on this question, any help would be great [U]"Declare an integer array of 10 elements. Fill the elements with values that … |
How would I make this program that it tells me the number of odds or evens. I only have 1 number at the time, so I need it to either say 1 odd or 1 even. [CODE]#include <iostream> #include <fstream> using namespace std; void printInfo(); int nonNegative(int a, int k); … |
The End.