199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Rashee

How do i write a simple login page using Java programming language with the following components -JLabel -JTextField -JButton

Member Avatar for stultuske
0
284
Member Avatar for Johnny Joe

after adding this it will update in datagrid.how can i view the selected row in datagrid in my textbox and will allow me to edit and update it.thank you! Private Sub btnSave_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click if not conn.state=connectionstate.open then conn.Open() End If Dim sql …

0
110
Member Avatar for Saran_1

Here is the CSV file that I am working with: `"A","B","C","D","E","F","G","H","I","J" "88",18,1,"<Req TID=""34"" ReqType=""MS""><IISO /><CID>2</CID><MemID>0000</MemID><MemPass /><RequestData><S>[REMOVED]</S><Na /><La /><Card>[REMOVED]</Card><Address /><HPhone /><Mail /></ReqData></Req>","<Response T=""3"" RequestType=""MS""><MS><Memb><PrivateMembers /><Ob>0-12-af</Ob><Locator /></Memb><S>[REMOVED]</S><CNum>[REMOVED]</CNum><FName /><LaName /><Address /><HPhone /><Email /><IISO /><MemID /><MemPass /><T /><CID /><T /></MS></Response>",0-JAN-10 12.00.02 AM,27-JUN-15 12.00.00 AM,"26",667,0 "22",22,1,"<Req TID=""45"" ReqType=""MS""><IISO /><CID>4</CID><MemID>0000</MemID><MemPass /><RequestData><S>[REMOVED]</S><Na /><La /><Card>[REMOVED]</Card><Address /><HPhone /><Mail /></ReqData></Req>","<Response …

0
202
Member Avatar for zelrick

Hello VB.net Programmer; Good day Daniweb'ers; I have a problem to my Excel Data going to DGV; Only Selected items in excel will be put in the DGV; I don't have a database for this problem; So here it is; This example from excel file: 1 2 3 4 5 …

Member Avatar for Begginnerdev
0
934
Member Avatar for phoenix254

Hello I would like ask u guys that what does mean `$variablee = isset($_GET['timestamp']) ? $_GET['timestamp'] : 0;` ? what stand for `?` sign and this sign `: 0` ? please someone explain me this code ?

Member Avatar for Tpojka
0
184
Member Avatar for Tinnin

Hi everyone, I have about 20 simple queries running seperately on loading a php page with mysql querying. On my localhost the page takes about 3 seconds to load but on the live server this is over 30 seconds. I'm trying to shave some time off but I'm having trouble …

Member Avatar for Taywin
0
309
Member Avatar for Ojaswi_1

HI guys ..... i m trying to create a search engine through java..... is it possible?? if yes then would you please tell me how....??

Member Avatar for Taywin
0
256
Member Avatar for Hazuan Nazri

Hello everyone, i want to develop a Asset system for my Final Year project using QR Code scanner, the QR Code will be taped at all asset and using this system, user will login and this system will be access via their phone and user will scan the qrcode. from …

Member Avatar for almostbob
0
12K
Member Avatar for anumash

I wrote the following program to access an object's private members via its address. How is it possible that the following code did not give me *ANY* error? The code compiles and gives me the right answer. Does this mean C++ is inferior to other languages in its ability to …

Member Avatar for ddanbe
0
280
Member Avatar for Kaustav_2

I want to change the color of a text in a given label of a Tkinter using dynamic function Say I have a string s where the data may comes from any serial interface "A or D" If A arrives in my string I want to print that in green …

Member Avatar for Gribouillis
0
1K
Member Avatar for rpv_sen

I have created a function. if i provide correct username and password. i am getting a error message as **Sorry, that username / password is invalid !** can any one please help me to fix the issue. **login.php** <?php require 'include/init.php'; $general->logged_in_protect(); if(empty($_POST) === false) { $username = trim($_POST['username']); $password …

Member Avatar for rpv_sen
0
580
Member Avatar for vinaya

can u plz tel me how to retrive only date from DateTime in C#. ex: 06/03/2008 12:00:00 i need only date 06/03/2008 in my application.

Member Avatar for ddanbe
0
11K
Member Avatar for Kert

public Set<Product> getProductsByPriceFilter(Map<String, String> filterParams) { Set<Product> products = new HashSet<Product>(); String l = filterParams.get("low"); String h = filterParams.get("high"); BigDecimal floor = new BigDecimal(l); BigDecimal ceil = new BigDecimal(h); return products; } I have discovered an interesting phenomena. I have filterParams that should <String, String>. However, if I use filterParams.get …

Member Avatar for newcoder310
0
357
Member Avatar for samantha2015

Advice please: Which of these 2 methods looks better ? like professional code? Both methods are doing the same thing(simpleUpdate). Except the way am passing the parameters are different. The method manageJob is used to call the method simpleUpdate to update the status in DB. public <T> void manageJob(Class<T> entityClass,String …

Member Avatar for jwenting
0
213
Member Avatar for Imam_3

Hi All Masters I'm trying to create a form with multiple labels from mysql database, im confused to add newlabel text from records here's my code Dim str As String str = " Select koderoom from room " da = New MySqlDataAdapter(str, conn) ds = New DataSet da.Fill(ds, "room") For …

Member Avatar for Imam_3
0
1K
Member Avatar for vickzbrit

Hello, After making a database connection to java, I have been trying to populate my JTextFields and having a hard time to do so. Can anyone give me a quick example of what class or method am i suppose to use in order to get the results? After that my …

Member Avatar for Tri Setya
0
6K
Member Avatar for anmol.raghuvanshi1

How can I get phpStorm autocomplete working with the new CI v3 DB class? // help IDE(s) support Codeigniter 2.0 * @property CI_DB_active_record $db <-- no longer valid. ... */

Member Avatar for anmol.raghuvanshi1
0
109
Member Avatar for a_4

there maybe more then 1 link in this html i want them extracted just as i have extracted othe info , am just stuck at extracting the ( ahref ) link from listing-link tag protected Void doInBackground(Void... params) { // Create an array arraylist = new ArrayList<HashMap<String, String>>(); try { …

0
153
Member Avatar for blueguy777

I am writting remider service script it should remind the due amount before 3 days in a particular month once in a year. My code is working fine for current month, but how to set reminder if current date is 2015-07-30 but the actual due date will be in next …

Member Avatar for diafol
0
199
Member Avatar for TheChessDoctor

I created a simple cpp file with no errors (hello world project) but it won't launch. #include <iostream> using namespace std; int main() { cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!! return 0; } here is the video of it: [Click Here](https://www.youtube.com/watch?v=CrJD-ZNpqI0&feature=youtu.be)

Member Avatar for syncster31
0
170
Member Avatar for Chris920

Not sure if that is the correct title, but I created an additional field in the users profile. I want to add that field with the option to change that field (its a drop down) on the main homepage as well as profile page. It would be the exact same …

0
114
Member Avatar for Jiby_1
Member Avatar for lewashby

When I try to create a database with a non root user of MySQL I get this error. -> MariaDB [(none)]> create database cl_db; -> ERROR 1044 (42000): Access denied for user 'garrett'@'localhost' to database 'cl_db' How do I allow my recular username to create databases? Thanks.

Member Avatar for diafol
0
224
Member Avatar for Stefce

Hello guys i have a really dumb problem i have two classes the first class is where the input value needs to be applied/readed and the second is where is inputed i do not know how to do that please someone help me This is where it is inputed the …

Member Avatar for Stefce
0
255
Member Avatar for cambalinho

i'm getting flickers on windows. the windows have CW_USEDEFAULT size and i use the WS_CLIPCHILDREN. on WM_PAINT i use my image class with client rect size. it's big. but not more big than screen. the WM_PAINT: case WM_ERASEBKGND: { return (LRESULT)1;; } break; case WM_PAINT: { PAINTSTRUCT ps; BeginPaint(inst->hwnd, &ps); …

Member Avatar for cambalinho
0
723
Member Avatar for shahera.arafat

hii ^_^ I have a problem which is I have to delete a book when( I enter it's name and then press the delete button) and that book has been saved as an object in an array of list, and then written to a (txt )file.. once I press the …

Member Avatar for shahera.arafat
0
223
Member Avatar for satti

I have a code regarding SMS sending ,but the issue is its not working i have tried to change the buad rate and com port but still not working.Please suggest me what is the reason ? Imports System Imports System.Threading Imports System.ComponentModel Imports System.IO.Ports Public Class Form1 'connect your mobile/GSM …

Member Avatar for Santanu.Das
0
310
Member Avatar for Dasun_1
Member Avatar for StuXYZ
0
188
Member Avatar for basit_3

hi member i want to make an array at runtime from the input of textbox for example user enter like "34,53,34,2,5,23,13" i make array of this how can i do this

Member Avatar for Reverend Jim
0
93
Member Avatar for Noxes

I am currently using Dev C++ program for the program I write in. I was wondering if there are any free download programs out there that are a text editor? I mean by giving it a black background, certain key words are highlighted to different colors? I know there is …

Member Avatar for ChampRocks
0
2K
Member Avatar for powerade661

So I currently have a bot in mIRC, but I want to develop a bot in C#. I am trying to figure out how to parse JSON in C#. My goal is to get recent followers and check for followers(this is where json comes in) and add a points system. …

Member Avatar for JOSheaIV
0
246
Member Avatar for hadisur_rahman

# PLEASE some one help me to explain the code. This code is for a ScientificCalculator # package calculator; import java.math.*; //@author Hadisur Rahman public class ScientificCalculator extends javax.swing.JFrame { private boolean zerodisp; private boolean decdisp; private boolean dgrrad; private boolean sh; //sh means =shift private byte op; private double …

Member Avatar for stultuske
0
327
Member Avatar for shahera.arafat

hi :))) I want to ask about sth wich is > I have to write a programme using netbeans ..which I'm new with it ! that programme should let the user to enter the book name ,serial num. ,price ..etc in text fields , and I have buttons that let …

Member Avatar for JamesCherrill
0
277
Member Avatar for Christopher_12

i would like to know if it is possible to translate my code according to a database(currently using microsoft sql server) the code i have it is encrypting and decryption on a file inside the microsoft visual studio project i want to connect it to the database this code is …

Member Avatar for Reverend Jim
0
495
Member Avatar for basit_3

hello members i want to make a pi chart in my programe , How can i make it , please help me hurry..

Member Avatar for basit_3
0
122
Member Avatar for Mike_23

Hi i am looking for a script to put on my website that will have the following Number of Pallet Spaces (customer to enter 1 2 or 3 ) 1 0.95p per mile 2 1.10 per mile 3 1.25 per mile Price per mile not to be shown on the …

Member Avatar for jalarie
0
119
Member Avatar for pranto157

hi all. I have got below code from a website. Its work all but its can't delete the selected multiple row. plz help me... where is the problem. [code] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="forum"; // Database name $tbl_name="test_mysql"; // Table name …

Member Avatar for danie93007
0
778
Member Avatar for newcoder310

Is it better to log `exception` or `exception.getMessage()`while logging an info log or an error log. I'm pretty sure that is related to the context but I'd like to know from a technical perspective on which would be better for any application or if its all the same.

Member Avatar for JamesCherrill
0
2K
Member Avatar for rpv_sen

Hi I am trying to connection my database ODBC using function. I am getting an error **Connection error: could not find driver** **mycode is** <?php class Database{ // specify your own database credentials private $host = "servername"; private $db_name = "databsename.schemaname"; private $username = "username"; private $password = "password"; public …

Member Avatar for rpv_sen
0
3K
Member Avatar for AntonyRayan

I created a table with dynamic table headings and also dynamic textboxes for that respectively. Now my query is, how to insert that textboxes values into appropriatre fields of table, Suggest me?

Member Avatar for rpv_sen
0
129
Member Avatar for Ravinder_3

I had created the form with save button.When I click on the button no action is performing and I want to save these details in database.Please suggest me and help me to solve this issue. <div> <b> Hello <?php echo $_POST["name"]; ?>!</b><br> <b>Email :</b> <?php echo $_POST["email"]; ?>.<br> <b>Gender :</b> …

Member Avatar for Ravinder_3
0
205
Member Avatar for thenamenoonehas

Hi everyone, Im looking for a simple function to add / remove a table row for my website. I have searched high and low for a script that does it... but no dice... can anyone shoot me a link or post a snippet of code that would enable me to …

Member Avatar for Neetu_1
0
3K
Member Avatar for Jiby_1

<?php $message = "test mail"; $name = "jiby"; $email = "test@gmail.com"; $tel = "9744462131"; $mob = "9744462131"; $comment = "hai"; $content = "<h3>Contact Form</h3><br/><table width=100% border=3> <tr> <td width=40% ><b>Name :</b></td> <td width=60% >$name</td> </tr> <tr> <td><b>Email Address : </b></td> <td>$email</td> </tr> <tr> <td><b>Telephone : </b></td> <td>$tel</td> </tr> <tr> <td><b>Mobile …

Member Avatar for pritaeas
0
324
Member Avatar for guest7

Hi, I wish to compare partial bits of two one dimensional vectors. I know how to compare the two vectors completely. [ICODE]int main () { std::vector<int> vector1; std::vector<int> vector2; int out; vector1.push_back(100); vector2.push_back(101); vector1 == vector2 ? out = 0 : out = 1; printf("out = %d \n", out); return …

Member Avatar for Dasun_1
0
31K
Member Avatar for anumash

I get the fact that arrays are NOT the same as pointers but when an array is used as an rvalue it is implicitly converted to a pointer. I used the above to write a program to store a 1-D array's address in a pointer variable. Below is my code: …

Member Avatar for tinstaafl
0
276
Member Avatar for altjen

hi all, I want to make a software who change your IP or Proxy and navigate into website with that changed ip (a webform is inside the form) this is a code I found on internet to do. this is not by me. Imports System Imports System.Runtime.InteropServices Public Class IEProxy …

0
144
Member Avatar for jenijaaaaad

I have a form where a listbox will load a list of names (lastname, firstname) and when the user select a name and click " >> " button it will display into a textbox, but as the names display into the textbox, it will just display the lastname instead of …

0
143
Member Avatar for Pavol

Hi, I am not using Python but I have script in python: part of script `elif line.find("CONECT") > -1: con = line.split() line_value = line_value + 1 #print line_value #print con[2] try: line_j = "e" + ', ' + str(line_value) + ', ' + con[2] + "\n" output_file.write(line_j) print(line_j) line_i …

Member Avatar for TrustyTony
0
159
Member Avatar for malcolmizizy
Member Avatar for itisnot_me

Hi all, I have an issue where I can console log the url when it in a var but the moment that I add it back to the page within html it strips the forward slashes. does anyone know why this would happen. I have tried to change this in …

0
103

The End.