199,114 Archived Topics
Remove Filter ![]() | |
 The combobox should be able to display the distinct value from the access database but is able to show all the record on the listbox. I tried to select distinct value through wizard but it is not working. So i need some help | |
I recently started coding in Java and have been trying to use the native methods to link code from other languages like C and C++. My code for the file is: [code=java] public class NativeDemo { int i; public static void main(String args[]) { NativeDemo ob = new NativeDemo(); ob.i … | |
Hi everyone I need a suggestion on detecting the faults/bugs in a java program. To say I should check whether my program is faultless. Thanks, Varun Krishna. P | |
Hi so it seems my grid doesnt create the controls inside it, i got the one to create the controls with the HtmlEditFormCreated event, but now my second grid that is inside that grid doenst want to create the controls. this is the code i use to get the gridview, … | |
import java.util.Scanner; import java.lang.Math; public class Exercise1 { public static void main(String[] args){ double x,sum = 0.0 ; Scanner scan = new Scanner(System.in); System.out.print("Enter the number : "); x = scan.nextInt(); for(double i=0;i<=(x+1);i++){ Math.pow(x, i); fact(i); double y = (Math.pow(x, i)/fact(i)); sum += y; } System.out.println("The e^"+x+" for "+x+" is … | |
I am trying this: int test(int **a){ return **a; } int main(){ int p[2]={1,2}; int *a=&p[0]; int **d=&a[0]; //for (int i=0;i<2;i++) // printf("\na=%d\n",a[i]); //ok this works for (int i=0;i<2;i++) printf("\n%d \n",test(&a[i])); return 0; } I want this ` printf("\n%d \n",test(&a[i]));` to work. I want to use a pointer. Thanks | |
hey guys. so first of im kinda confused as to which forum i should post to but i hope you guys arent mad if this isnt the appropriate forum. moving on, i have these bunch of images that i want to be able to be displayed after a button click … ![]() | |
HOW COULD I UPDATE DATASET WITHOUT USING FOR LOOP IN ONE COMMAND............///////////////// | |
Hi everyone, Im building a website for a client but they requested it in umbraco and Ive got an xslt query that has been bugging me for days. I have built a search form user control which has three drop downs and i want to build an xslt macro that … | |
i have 2 database (access,SQL) with 2 different connection string i want to select a table from the first database insert it to the second database any help | |
can some one help me with this question.. "The name of students are sorted in an array of strings.Write a program to prepare alphabetically sorted listing of names.." | |
Hi Guyz, I have hit a snag with the code I have been working on. I am required to fetch database records from 3 tables and display them in both rows and columns. For example, the output of the records on the web page is required to be as follows; … ![]() | |
I am using Qt5.2.1 I made a program that stores some values(like name, number, other details...) in a text file. I want to arrange this information according to the name. Something like this. A Alan 24140239 some_other_info Avril 64376334 some_other_info B bob 532523 some_other_info And so on | |
Dear members, I am new to this site, I want to learn VB From the bigining. Kindly suggest me how to start. what is the basic requirements to learn VB. suggest me the best web site/books/links/material for me. Kindly do the needful. | |
hi can someone answer my problem , at first my vb6 is working with my windows 7 32bit but i need to create a project now , everytime i copy label , textbox , checkbox etc.. it always stopped from working.(Not Responding) .. any help please? | |
A hardware merchant sells steel bars at a flat rate of Kes 1000.00 per meter, and has announced the following discounts: Quantity of steel bar bought (per meter) Discount (%) <20 0 21-40 5 41-60 10 61-80 15 81-100 20 >100 25 Implement the following programs: a) Using if..else statement, … | |
This is what I have: create table Employee_T (EmployeeID varchar2(10) NOT NULL, EmployeeFirstName varchar2(10) NOT NULL, EmployeeLastName varchar2(15) NOT NULL, EmployeeAddress varchar2(20), EmployeeCity varchar2(10), EmployeeState char(2), EmployeeZip number(5), EmployeeDateHired date default sysdate, EmployeeBirthDate date, EmployeeSupervisorID varchar2(10), Constraint employee_PK primary key (EmployeeID), Constraint employee_FK foreign key (EmployeeSupervisorID)REFERENCES Employee_T(EmployeeID) ); create table … | |
I have a string and i want to conver the part of it to an int. I want to convert the part of the string `input[1]` to an int. But my compiler cant use atoi, or stoi.. I saw a ifstringstream option i think can work, but i tried implementing … | |
i used this code to upload images and display from database but not working correctly... **images.php** <?php include('header.php'); ?> <center> <form action="addimages.php" method="post" enctype="multipart/form-data"> <table border=0> <tr><td>Select Image: </td><td><input type="file" name="image"></td></tr> <tr><td>Caption: </td><td><input name="caption" type="text"></td></tr> <tr> <td colspan=2><input type="submit" name="Submit" value="Upload" ></td></tr> </table> </form> </center> Photo Gallary: <br /> <br … | |
Why I can't update data in my database MSAccess? though, it's already working, but no changes. Pls help me... Here's my code for Update I have 10 Fields in my table Personaldata try { Records f1 = new Records(); BlockNo = textBox1.ToString(); LotNo = textBox2.ToString(); Numberofoccupants = textBox3.ToString(); Firstname = … | |
<div class="carousel-inner"> <?php $category = $this->category_model->getCategories(999,0,51);?> <?php $categorynext = $this->category_model->getCategories(999,0,51);?> <div class="item active"> <div class="row-fluid"> <?php $count=0;?> <?php foreach($category as $category):?> <?php $count=$count+1;?> <div class="span2"><a href="#x" class="thumbnail"><img src="<?= base_url();?>assets/upload/category/<?= $category->image?>" alt="Image" style="max-width:100%;"></a></div> <?php if($count==6) break;?> <?php endforeach;?> </div><!--/row-fluid--> </div><!--/item--> <div class="item "> <div class="row-fluid"> <div class="span2"><a href="#x" class="thumbnail"><img src="<?= base_url();?>assets/upload/logo/computer.png" … | |
The below code is a profile login system update page i have created validation for fullname but fullname validation is not working I need ur help friends may i know how to create validation in php for the below code may i know where i made a mistake friends help … ![]() | |
I wrote my first trigger and it giving error UES TRY GO CREATE TRIGGER cust_update ON TRY FOR UPDATE AS IF UPDATE (custno) BEGIN TRANSACTION RAISERROR('CUST NO CANNOT BE UPDATED',10,1) ROLLBACK TRANSACTION END Any idea ` | |
Recieve Data From Serial Com Port C# In One Line And Convert To int Posted A minute ago Hi guys i have problem i make code that take data from serial com port for weighting machine it is ok working but it recieve data in more lines.I try to make … | |
Hello, I am trying to download my online website: [gsaconst](www.gsa-constructionspecialist.com) offline - and set it to work offline, yet I haven't been successfull. In my offline website I receive this error message: -------------------- A Database Error Occurred Unable to connect to your database server using the provided settings. Filename: C:\xampp\htdocs\gsaconst\system\database\DB_driver.php … | |
Trying to implement a history function in C, I know my array size for the history is 100 and i have a max of 9 arguments. I just wanted a little help or advice on where to start! I also know that i need my history initialized before i start … | |
hi good day, i am having a problem about my program (VB 6.0) i want to save data from my program to the access database (mS Access 2003) the problem is that when i try to run the program, and click the button, theres an error about insert into syntax … | |
I'm having trouble connecting to a database file on another PC. In this case, my PC is the client. Using: 1. Windows 7 32-bit on both PC's. * Same Workgroup * Connection verified using cmd (PING) * Connected using hub (straight through) * Workgroup status: Joined 2. MS Access 2007 … | |
![]() | I have been asked to build a group of functions that carry out set theory operations such as intersection and union. The functions below that I must complete are set_intersectWith, set_unionWith, set_minusWith, set_powerset, where: > set_intersectWith = A ∩ B > set_unionWith = A ∪ B > set_minusWith = complement … |
I have some code that I edited for importing csv into mysql using PDO to bind parameters. I thought it was working before, but tested it again and the issue I have is that only one line (the fourth line) of the csv file is getting imported. The first line … | |
db name: orange table: Name, Position, Department, Telephone, Purpose, Startdate, Enddate, Item1, Item2 **input.php** <html> <body> <form method="post" action="conn.php"> <table width="500" border="1"> <tr> <td>Name</td> <td><input type="textbox1" name="Name[]" value=""></td> <td> </td> <td> </td> </tr> <tr> <td>Position</td> <td><input type="textbox2" name="Position[]" value=""></td> <td> </td> <td> </td> </tr> <tr> <td>Department</td> <td><input type="textbox3" name="Department[]" value=""></td> <td> </td> <td> </td> </tr> <tr> … | |
I want to optimize a directory listing input iterator so that the WIN32_FIND_DATA can be written directly to a vector (via emplace) instead of being first written inside the iterator. This is an idea of the code: /* std::vector<WIN32_FIND_DATA> vwfd; struct listing_it:std::iterator<std::input_iterator_tag, WIN32_FIND_DATA>{ HANDLE handle; WIN32_FIND_DATA wfd; auto operator*()->wfd&{return *wfd;} … | |
**currently arrival date and departure date format is m/d/y..can i change the date format to d/m/y??** <html> <head> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#datepicker").datepicker(); $("#datepicker2").datepicker(); }); </script> </head> <body> <form method="post" action="4.php"> arrival date <input type="textbox6" name="arrivaldate[]" id="datepicker"><br> departure date <input type="textbox7" name="departuredate[]" … | |
I got an error, "Syntax error (missing operator) in query expression ''Blanco, Familyname='Grace'." in my code, near ExcecuteQuery(); I am performing Update from MSAccess, I can retreive data but when I used to click my update button, I got error. anyone can help me? Heres my code `private void button1_Click(object … | |
Hi All. I was searching it for many weeks I am working on Magento Store, i have 2 domain on same website/same directory i want to show different logo on each domain. In header file, logo is shown by this code <?php if ($this->getIsHomePage()):?> <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php … | |
My programm wont let me input all the data I need. And when I try to display them it won't even use the data that I could input. Please help me and sorry for my bad English it is not my native language, that's why all the data is in … | |
#include<stdio.h> #include<conio.h> #include<dos.h> void print(char c,int x,int y); void main() { char a[3]={'A','L','I'}; int i=0,x=1,y=1; while(i<3) { print(a[i],y,x); i++; } } void print(char c,int x,int y) { int s=1,a; if(c=='A') { while(!kbhit()) { clrscr(); gotoxy(x,y); printf("*****"); gotoxy(x,y+1); printf("* *"); gotoxy(x,y+2); printf("* *"); gotoxy(x,y+3); printf("* *"); gotoxy(x,y+4); printf("*****"); gotoxy(x,y+5); printf("* *"); … | |
Hello everyone. I'm quiet new here and trying to get som helpÃ¥ from you guys. My main problem is that I have made a form which I want to use to post data to my database. But it seem to never work. Firsta problem was; everytime the page loads the … | |
Hi again guys this time I have a question about computer security that's related to my programming hobby. I hope this isn't against the rules. I am asking this out of curiosity and concern, not because I want to do evil. However thanks to some knowledge I gained from a … | |
I have UDP socket as below. I need to send back data to the client. I tried to capture both the ip and port but it shows me as Port is : -1 and InetAddress : null. What can I do to rectify on this? class ReceiverThread implements Runnable { … | |
Hello, I have a `HWND` for a window. I have double checked that it is a 100% valid window by using `SetActiveWindow()`, `SetFocus()`, and `SetForegroundWindow()` on it, successfully bringing it to the frontmost window. However whenever I try to use `GetPixel` on it it returns -1 (0xFFFFFFFF). What am I … | |
i have to add two matrices and i am having this error: "error array subscript is not an integer" line 24 here are my codes: #include <stdio.h> void inputarray(int arg[][3], int rows); void printarray (int arg[][3], int rows); void inputarray2(int arg[][3], int rows); void printarray2(int arg[][3], int rows); int main … | |
how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different … | |
I am going to develop a web based point of sales system. It is going to be based on linux and php. Users will access it via internet and using browser as the tool. Problem is if the web server is down? The user want to be still able to … | |
Hi all, I need your help, I have got a problem with my python script. I'm using XBMC media application which they are using python 2.6v which they works the same way as the other version for python. When I'm pressing on the enter button of the keyboard, the code … | |
Hi Guys, Is it possible to call the C# function from Javasript...... Sushil Kumar :rolleyes: | |
Can anyone tell what would be the correct syntax for **data** var ev = $("#update").val(); var up=$("#upload").val(); $.ajax( { data: ______, | |
Hi i am new with C++, i just need a little bit help with this. please reply code compatible with orwell dev C++ I want an application that uses windows RegisterPowerSettingnotification function for the events of GUID_ACDC_PowerSource.... i tried like below but my dev C++ compiler was not able to … | |
Hi, colleagues! Last autumn I've started a small web-site with collection of programming problems for beginners. To solve the tasks here users are to submit answers calculated after processing some randomized data. I.e. it is resembling ProjectEuler which I admire greatly :) http://codeabbey.com/ - that is how it looks like. … | |
Hi to all, I have following two Applets . import java.applet.*; import java.awt.*; import java.awt.event.*; public class buttonDemo extends Applet implements ActionListener { String msg=""; Button one,two,three; public void init() { one=new Button("One"); two=new Button("Two"); three=new Button("Three"); add(one); add(two); add(three); one.addActionListener(this); two.addActionListener(this); three.addActionListener(this); } public void actionPerformed(ActionEvent ae) { String … |
The End.