199,114 Archived Topics
Remove Filter ![]() | |
can you please help me on how to search multiple data and display it to my datagrid. im a newbie in vb6 and im having a hard time in coding. | |
I want to populate a table from database, but don't know how to give it auto serial no from 1 to the last number starting before Staff ID. Here is the line of codes: <?php mysql_connect("localhost","root","") or die ("Unable to Establish connection".mysql_error()); mysql_select_db("demoDB") or die ("unable to select database".mysql_error()); $sql="SELECT … | |
![]() | Is it good for RPG games Shooters... What is Python good for making? ![]() |
I'm working on a project on my own and wanted to create an JComponent or JFrame that looks like the following screenshot.      Here is its layout.   I would appreciate it if you showed me by an … | |
Hi I need help to correct this program :( NOTE THIS IS "TURBO C++" #include<iostream.h> #include<conio.h> #include<stdio.h> char value; char t, u, v; char answer; void Binary2Decimal() { gotoxy(1,17);printf("[BINARY TO DECIMAL CONVERSION]"); char b2,f2=1,d2=0; gotoxy(1,19);printf("Enter a Binary number: "); scanf("%d", &b2); printf("\n\n"); while(b2>0) { if((b2%10)==1) { d2=d2+f2; } b2=b2/10; f2=f2*2; … | |
Hi everyone, I have to design (College work) a project for an web application which must be capable of acting as a GUI for a open-source project (Quagga Routing Daemon). This application must provide a way of managing many instances of the software installed in different remote routers. For those … | |
![]() | So there is a lot of useful stuff that comes with code igniter. I'm looking at the pagination class and whilst it works well with table dumps I'm thinking I'd have to seriously hack it to get anything remotely useful or relevant to what I need. So was just thinking … ![]() |
is it possible to create moving pictures on asp.net ? what software will you recommend to create these pictures ? | |
I have done most of the topics in core java.But i feel for web development u have to do advanced java.Then struts then hibernate.I have heard that c# is almost same as core java(j2se)so shall i proceed with .net because i have heard its not that lengthy and u have … | |
Hi guys. I need help in updating Excel files through Datagrid. I can update it through a fixed update sql statement(Update table_name Set field1=value1, field2=value2 Where ID=unique_no) but I encountered a situation where a spreadsheet can have 3 columns, sometimes 5 and so on. My point is can I update … | |
hey..my name is marluke.. i want to know the code of Save, Edit and Delete using visual basic 6 and the database is Ms Access does any body wants to help me? please i really want to know and learn visual basic.. thanks for helping LuKeZ | |
hello all, i have a problem to save data that get checkbox is true. so How to save data/row to datatable and bind it again to Datagrid? thanks regard | |
i keep getting a error on the next page saying that hotel1 is an undefined index: page 1: foreach($child->children() as $gchild) { //echo ">> " . $gchild->getName() . ": " . $gchild . "<br>"; echo "<tr><td><input type='radio' name='my' value='my" . $gchild->name . "'></td>"; echo "<td><input type='checkbox' name='hotel". $r."' value='" . … | |
can this thing below work????? {#include<iostream.h> #include<conio.h> #include<stdio.h> char value; char t, u, v; char answer; void Binary2Decimal() { switch(t){ case 'a': //ok cout<<endl<<"[BINARY TO DECIMAL CONVERSION]"<<endl; cout<<endl; long b2,f2=1,d2=0; cout<<"Enter a Binary number: "; cin>>b2; cout<<"\n\n"; while(b2>0) { if((b2%10)==1) { d2=d2+f2; } b2=b2/10; f2=f2*2; } cout<<"Decimal equivalent is: "<<d2<<endl; … | |
I have a function that does certain checks, if the the checks fail, it will add values to a dict, i.e: outstanding = {} sims = [_sim for _sim in self.context.sims if unicode(_sim.iccid)] # for sim in [_sim for _sim in self.context.sims if unicode(_sim.iccid)]: print sims count = len(sims) if … | |
OK so I'm almost done with my program. How to put this in function like putting each case like void Binary2Decimal() , void Octal2Decimal() & , void Hexa2Decimal() in "TURBO C++"? Call a function like I only want to display only the Binary to Decimal case. #include<iostream.h> #include<conio.h> #include<stdio.h> char … | |
how do i delete,update,add and sort on a visual studio 2013 which is linked to a SQL server 2012 database? | |
private static Scanner scanner; import java.util.Scanner; public class Dfs { public static void dfs(int a[][],int m[],int i,int n) { int j; m[i]=1; for ( j = 0; j < n && i<n ; j++ ) { if ( a[i][j] == 1 && m[j]==0) { dfs(a,m,j,n); } } } public static … | |
when using a database in a program would it be better to use SQL server or the built-in option in visual studio? | |
EDIT: I'm sorry for multiple posts, I couldn't delete or modify the previous one. Hey guys, ASP.net noob here (several years since I've worked with anything not opensource-related). I'm attempting to pretty much copy and modify an ecommerce site tutorial which is driven by my already created MS SQL database … | |
i need some easy techniques on how to work with source code expecially when you use it to create the gui . . . | |
SO MY PROB HERE IS JUST PLAINLY THE BACKSAPCE FEATURE OF MY PROGRAM EVERYTHING WORKS FINE EXCEPT FOR THE FACT THAT THE PROGRQAM IS CONSIDERING THE BACKSPACE KEHY AS PART OF THE CHARACTERS. int verification2() { system("cls"); char userChar[100], choice = 'Y', input, passChar[100]; for (int i = 0; i … | |
Hi, I need some help with sorting my string comparison. Bascially what I have to do is this: To have numbers sorted properly even when they aren't justified with leading 0's: 1 2 ... 9 10 Instead of: 1 10 2 ... 9 Also to have numbers sorted properly even … | |
I need to know how to populate a dropdownlist and how do i put a title/heading above my listbox? i've been trying and my listbox heading just keep sitting next to listbox.. Ooh! almost forgot how to insert groupview | |
Good Day Everyone, On my gridview I set the allow paging to "false" because I want to show all the data without using paging. However the errors has displayed at the status bar of my page it indicates "DONE but with an error". I try to trace it, but I … | |
hello dani, I am using shape sql for datareport without dataenvironment conncetion towards parent-child relation ship table. But doesn't work with error. Because parent fields only accepted in my project. I am attaching my vb 6 project to your kind attention please. Option Explicit Dim con As ADODB.Connection Dim rs … | |
Hello everyone Am actually a newbie and learning C++ on my own. Have been trying to generate a code that prompts a student to enter his/details and after finishing. it couts his/her information. And prompts another student data to be entered. i have already some simple code here but it’s … | |
Hiee, I am new to this forum. Can anyone let me know where i can get sufficient practice problems where i can find the time complexity of the algorithm. Finding the complexity based on:- 1.)Constant order of Growth 2.)Linear order of Growth 3.)Logarithmic order of Growth 4.)Quadratic order of Growth … | |
I'm a bit new to DOM [please bare with me] and what I want remove some html as I don't actually have access to the HTML file. This is because it is a CMS so would it be possible to manipulate code via DOM? Here is a code sample I … | |
Write a program that accepts the name and ID number of 5 students and stores them in an array. After all the students have been entered, the application should display the title “Student Roster” and then list the names in the array. 2D Array. #include <cstdlib> #include <iostream> #include <string> … | |
As my project is growing, i've found myself needing to employ a new thread to carry out a loop task for the lifespan of my program. It all works seemingly well except for when I exit it. It dosent close cleanly. By that I mean I have to press SHIFT+F5 … | |
I have a final project for C++ class that requires us to demonstrat each thing that we've learned, a list of 24 things that range from using binary numbers, to loops to passing arrays and polymorphism and recursion. What I would really like to try is to make a simple … | |
Ok so I manage to built the program I want but there are problems. #1 The conversion from octal to decimal is not correct. #2 The conversion from hexadecimal to decimal some answers are correct. #3 I don't know how to character array this program. So what I am asking … | |
Hi, I need some help . Bascially what I have to do is this: what doing cin.get in the prpgram just do space or give value. | |
class Index_model extends MY_Model { protected $user_id=array(); private $last_id; public function __construct(){ $this->load->database(); $this->_table='profiles'; } public function insert_step_1($spram) { $firt_name= $this->session->userdata('first_name'); if($first_name == '' || $last_name == '' || $relationship_to_senior == '' || $email == '' || $insurance == '' || $price_range == '' || $if_insurance == '' || $facility_placement … ![]() | |
So I actually posted this in the C# section, but despite peoples best efforts, all all the help there, the problem is still not solved. Background: Im making a game in xna/c# (Who isnt these days). For collision detection, I though I would use rectangles and lists. My thought process … | |
Hello, I have an application which shows users which are currently logged into the system. The web application is running on a server and everytime a client on another computer logs in, he/she appears on the active users list. Below is some of the code: loggedusers.php ...... <table cellpadding="3"> <tr … ![]() | |
I have a form for editing a user record. Its updates the record for the first time but when i press the update button again, it shows me an empty screen and it unsets the picture as well. I cannot figure out what I am doign wrong Below is my … | |
This is the program that I made // Chapter 5, Programming Challenge 8: Math Tutor #include <iostream> #include <iomanip> #include <cstdlib> #include <ctime> using namespace std; int main() { int num1, // The first random number num2, // The second random number choice, // The user's choice of problem studentAnswer, … | |
So i have bought this book about assembly language but they use Netwide assembler and i dont have an IDE / COmpiler for it. I have looked at NASM origanal website but i din't fid any IDE. I use FASM, i dont know if NASM will work with FASM. Any … | |
I created a Security Log On that starts when i turn the computer On.Like the Windows Log On. I managed to disable alt+F4, alt+tab, window key, ctrl+esc, but i have only one problem disabling the task manager or the CTRl+Alt+Delete Button, is there a way or any codes to disable … | |
• The program consists of a Class customer and the Main function. • The class customer contains private data items as item value, interest payment, tax payment and total payment. • The class customer includes two public functions as lease Cal() and lease Show(). • lease Cal() function receives item … | |
![]() | Hi I'm trying to create a page for a stallion showing his offspring. I used the distinct query in the hope of showing each of his children only once, but I'm assuming that because the other data in the row differs (there is a unique reference number called runid) the … ![]() |
Hello friends, this code/snippet is nothing special, just a simple rss reader class written in PHP. Many times in my projects I use this script to get an RSS feed from some website and now i decided to share with you. This script can be useful for your projects or … ![]() | |
What is the difference between partial and abstract classes ? | |
is it possible to put logo's on the extreme top half of web pages in asp.net ? | |
HI please can you run the code as attachement..i m trying to test the guess number ..if it is greater than the random number or smaller but when it is equal the function will return -1 i have error that i cannot understand as i m new in java the … | |
I need to widdle down a queue of people until one person remains in the queue, that person is the chosen person for a task. The mothod I am writing take the queue of people and a number, which represents a number drawn from a hat. Then the queue is … | |
the "f" for female is not being recognized so it is not outputting what it should and also the count statement is giving out an incorrect format could someone give me some pointers as to what im doing wrong #include<iostream> #include<string> using namespace std; int main(){ int femalecount=0,malecount=0,total; string race,office,sex; … |
The End.