199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for maldz

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.

Member Avatar for maldz
0
182
Member Avatar for Wale Adegbite

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 …

Member Avatar for Wale Adegbite
0
2K
Member Avatar for Alex_20
Member Avatar for Alex_20
0
198
Member Avatar for Xabush

I'm working on a project on my own and wanted to create an JComponent or JFrame that looks like the following screenshot. ![8557bdcb155e0af7b29ae22b32d6f984](/attachments/small/4/8557bdcb155e0af7b29ae22b32d6f984.JPG "align-left") ![8557bdcb155e0af7b29ae22b32d6f984](/attachments/small/4/8557bdcb155e0af7b29ae22b32d6f984.JPG "align-left") ![8557bdcb155e0af7b29ae22b32d6f984](/attachments/small/4/8557bdcb155e0af7b29ae22b32d6f984.JPG "align-left") ![8557bdcb155e0af7b29ae22b32d6f984](/attachments/small/4/8557bdcb155e0af7b29ae22b32d6f984.JPG "align-left") ![8557bdcb155e0af7b29ae22b32d6f984](/attachments/small/4/8557bdcb155e0af7b29ae22b32d6f984.JPG "align-right") Here is its layout. ![e687f5cd32e6536ff8d0e3406b83b9e2](/attachments/small/4/e687f5cd32e6536ff8d0e3406b83b9e2.png "align-left") ![e687f5cd32e6536ff8d0e3406b83b9e2](/attachments/small/4/e687f5cd32e6536ff8d0e3406b83b9e2.png "align-left") I would appreciate it if you showed me by an …

Member Avatar for mKorbel
0
289
Member Avatar for john.kane.100483

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

Member Avatar for David W
0
203
Member Avatar for modesto916

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 …

Member Avatar for jwenting
0
339
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
206
Member Avatar for YA RAMSAMKER

is it possible to create moving pictures on asp.net ? what software will you recommend to create these pictures ?

Member Avatar for gauravrana
0
106
Member Avatar for r.nair3456

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 …

Member Avatar for jwenting
0
224
Member Avatar for jared.geli

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 …

Member Avatar for jared.geli
0
442
Member Avatar for marluke

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

Member Avatar for Mark_Jones
0
6K
Member Avatar for mrendi

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

Member Avatar for mrendi
0
77
Member Avatar for CreatorZeus

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='" . …

Member Avatar for pritaeas
0
206
Member Avatar for Fadhli_1

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

Member Avatar for brett.warren.1612
0
135
Member Avatar for renierdbruyn

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 …

0
134
Member Avatar for john.kane.100483

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 …

Member Avatar for pritaeas
0
135
Member Avatar for 21345572

how do i delete,update,add and sort on a visual studio 2013 which is linked to a SQL server 2012 database?

Member Avatar for 21310051
0
223
Member Avatar for oooooo1

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 …

Member Avatar for oooooo1
0
135
Member Avatar for 21345572
Member Avatar for 21310051

when using a database in a program would it be better to use SQL server or the built-in option in visual studio?

Member Avatar for YA RAMSAMKER
0
102
Member Avatar for PsychicTide

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 …

Member Avatar for PsychicTide
0
2K
Member Avatar for YA RAMSAMKER

i need some easy techniques on how to work with source code expecially when you use it to create the gui . . .

Member Avatar for YA RAMSAMKER
0
94
Member Avatar for neyoibarra

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 …

Member Avatar for nullptr
0
172
Member Avatar for Rashmi_1

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 …

Member Avatar for Rashmi_1
0
907
Member Avatar for andile makatini

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

Member Avatar for sushmaja.arumalla.9
0
186
Member Avatar for mherz

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 …

Member Avatar for sushmaja.arumalla.9
0
143
Member Avatar for a.sithick

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 …

Member Avatar for a.sithick
0
844
Member Avatar for kimanthi

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 …

Member Avatar for kimanthi
0
251
Member Avatar for raghav.nayak.73

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 …

Member Avatar for raghav.nayak.73
0
246
Member Avatar for jelly46

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 …

Member Avatar for Troy III
0
175
Member Avatar for ReneeJA

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

Member Avatar for ReneeJA
0
240
Member Avatar for Suzie999

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 …

Member Avatar for ian.chou.12
0
130
Member Avatar for Wayne_2

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 …

Member Avatar for mike_2000_17
0
212
Member Avatar for john.kane.100483

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 …

Member Avatar for Schol-R-LEA
0
251
Member Avatar for Wesam_2

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.

0
129
Member Avatar for sallaudin

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 …

Member Avatar for iamthwee
0
116
Member Avatar for CJMW

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 …

Member Avatar for CJMW
0
275
Member Avatar for ngonix

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 …

Member Avatar for iamthwee
0
3K
Member Avatar for baig772

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 …

0
185
Member Avatar for glamiex

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

Member Avatar for Schol-R-LEA
0
791
Member Avatar for MasterHacker110

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 …

Member Avatar for Дмитрий_4
0
2K
Member Avatar for nemzmiyaw

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 …

Member Avatar for RGSOHEL
0
2K
Member Avatar for shelan619

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

Member Avatar for samson.dadson.3
0
200
Member Avatar for Borderline

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 …

Member Avatar for Borderline
0
258
Member Avatar for Krstevski

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 …

Member Avatar for diafol
0
991
Member Avatar for YA RAMSAMKER
Member Avatar for YA RAMSAMKER

is it possible to put logo's on the extreme top half of web pages in asp.net ?

Member Avatar for YA RAMSAMKER
0
109
Member Avatar for asaidi

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 …

Member Avatar for JamesCherrill
0
248
Member Avatar for ashley.vanhoesen.7

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 …

Member Avatar for NathanOliver
0
287
Member Avatar for d100man

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

Member Avatar for Schol-R-LEA
0
111

The End.