199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for COKEDUDE

I need some ideas for dealing with array of strings. **ptr** contains my array of strings. The goal here is to combine certain strings when the conditions of the for loop are met. The problem is I need remove the strings that get combined with another string so I don't …

Member Avatar for David W
0
228
Member Avatar for Wynand

Hi I am trying to export the contents of a datagridview to a text file but I only want to see the data that is visible. I have hidden certain non important columns which I do not want to export. Please could someone help me modify the code accordingly. Private …

Member Avatar for tinstaafl
0
1K
Member Avatar for janicemurby

hi i have a script created for me and im attempting to add user_id so it it gets the userid from the users table so far i have done CREATE TABLE IF NOT EXISTS `checkbox` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(50) NOT NULL, `male` varchar(10) COLLATE utf8_unicode_ci NOT …

Member Avatar for diafol
0
358
Member Avatar for dhooley

Ok so im looking to create a simple booking system as part of my Final Year Project. I have a locally hosted mySQL database created and linked to using php. I have created a databse called reservations with 3 tablels (Available, reserves and confirms). Basically what I am looking to …

Member Avatar for diafol
0
771
Member Avatar for Romina_1

Hi guys! I'm new in c++ so i really need your help. I have to do a project Student Course Registration. I have to do a program where students can insert their id name and course. I have to use classes in c++

Member Avatar for ddanbe
0
149
Member Avatar for Stefce

Hello i want to make notification when new message is received, i have a row `seen` with values `0` and `1` if is 0 then its unread else is seen i got this code but when it displays the output shows the number of rows but for example i have …

Member Avatar for Stefce
0
302
Member Avatar for newprogrammer14

First let me confess that I'm a beginner with little knowledge of Java. I'm facing a problem with XML to JSON conversion. The XML that I need to covert is complex with elements that will repeat throughout the document. And the order in which the elements appear need to be …

Programming java json xml
Member Avatar for milil
0
2K
Member Avatar for සශික

This is my search button code. but it give error. I enter custormer id and click search button it give this error "The text command text has not been properly intialized" and again I click on search button. that time it show correct data row. but again I entered new …

Member Avatar for Reverend Jim
0
359
Member Avatar for rantnna

I have two files large files: 1) file1.txt as below: ( more than 20,000 records ) 5020120475 |13ZJ38000813 |20141204|R 5020127431 |13ZJ38001569 |20141201|R 5020127689 |12ZJ44000606 |20141203|R 5020127728 |13ZJ38001356 |20141203|R 5020127956 |13ZJ62002544 |20141205|R 5020127972 |13ZJ49000082 |20141205|R 5020128325 |13ZJ57000785 |20141210|R 5020128706 |13ZJ38002805 |20141211|R 5020129084 |10XJ70107764 |20141217|R 5020129102 |12ZJ54000041 |20141217|R and 2) other file …

Member Avatar for 2teez
0
379
Member Avatar for faltu

<Complete copy of assignment deleted by moderator> Do ensure you own the intellectual property rights to everything that you post Do not post copyright-infringing material

Programming
Member Avatar for JamesCherrill
0
172
Member Avatar for OsaMasw

Hello guys am totally new to java development but I red some tutorial on web on how to create different application on Android Studio. I've created simple webview application with navigation drawer and everything work perfect, when I tried to add Parse.com SDK to use notification service my program crashes …

Member Avatar for OsaMasw
0
653
Member Avatar for ramsiva
Member Avatar for broj1
0
319
Member Avatar for azegurb

Hi All, I have written small slideshow script in Javascript with slice effect. I did functunality such pause function on mouseover. but when i mouseover the slide it crashes (if slice effect had gone it stops normally). what may be the problem. can anyone help me plzzz. Thanks in advance. …

Member Avatar for azegurb
0
324
Member Avatar for සශික

I'm new to vb.net :rolleyes: I have form and it contain two date time pickers(dtpfrom & dtpto) and lable (lbltotal) and button (btnview) I want to pick data between two dates from mysql table. mysql table name is 'daily_income' can anyone help me ?

Member Avatar for Reverend Jim
0
1K
Member Avatar for altjen

hi, I am having a problem with adding button on jTable for each data I get from the database. here is what I get from database in SQLite try{ String sql = "select ClassName as 'Class Name', NumberOfStudents as 'Number of Students' from ClassRooms"; pst=conn.prepareStatement(sql); rs=pst.executeQuery(); Data_Table1.setModel(DbUtils.resultSetToTableModel(rs)); if(rs.next){ //code to …

Member Avatar for mKorbel
0
8K
Member Avatar for hadisur_rahman

make 100 with just required digit is ..you can used four 7 digit and only one 1 digit ... 7,7,7,7 and 1; now for making 100 with them you can used any arithmatic symboil... * ,/, +,-

Member Avatar for invisal
0
123
Member Avatar for kingspartan300

hi igot some erro with this code vb.net 2008 cmd.ExecuteNonQuery() error Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cmd As New OleDb.OleDbCommand If Not cn.State = ConnectionState.Open Then 'open connection if it is not yet open cn.Open() End If cmd.Connection = cn 'check whether …

Programming vb.net
Member Avatar for pritaeas
0
409
Member Avatar for Bensirpent07

So I have my PHP code here: $r = new HttpRequest('https://api.worldoftanks.com/wot/auth/login/', HttpRequest::METH_POST); $r->addPostFields(array('application_id' => 'e991ff783ae65f1ceefd1036211e5772', 'redirect_uri' => 'http://www.wotclanbuilder.com', 'nofollow' => 1)); try{ $result = $r->send()->getBody(); $json = json_decode($result); $url = json_encode($json->data->location); echo $url; } catch (HttpException $ex) { echo $ex; } and my Ajax code here: // AJAX Code To …

Member Avatar for Bensirpent07
0
327
Member Avatar for omimo

hi i want a code with c# Programming language to select some picture and convert thats picture to binary and save them in sql server database. thanks

Member Avatar for JOSheaIV
0
152
Member Avatar for dragonheart

i am using VB 6.0 and MSAccess in my project.. in one of the forms i use a flexgrid to store data into and load data from database. and also to edit each cell i use a textbox. alll these are working perfect, bt i have a problem with saving …

Member Avatar for JModak
0
830
Member Avatar for ZER09

It could be a dumb question, and tried to search for it and found nothing. I been using mysql for years(not that to long) but i never had tried mysql transactions. Now my question is, what would happen if i issue an insert or delete statement from multiple clients using …

Member Avatar for ZER09
0
364
Member Avatar for OsaMasw

hey guys I have problem while using straming via **VLC**, before September I was using **VLC web plugin** to view streaming videos via **VLC** because web browsers deprecated vlc player from working so I must use html5 or jwplayer or any video player, is there any replacment to **VLC** ? …

Member Avatar for OsaMasw
0
4K
Member Avatar for Latrell_vie

My php file connnects to my sql database , following code works <?php $servername = "globalxxx.com.mysql"; $username = "globalxxx_com"; $password = "YS4xxx"; $conn = new mysqli($servername, $username, $password); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully" $sql = "SELECT Id, FirstName, LastName FROM …

Member Avatar for _martinh
0
768
Member Avatar for nay zin

hi i having trouble with saving and checking duplicate with my coding..i can't save my data and when i save a new data , it's always say duplicate..i want to save my new data and if it record is already have it, want to show a msgbox saying duplicate..here my …

Member Avatar for nay zin
0
381
Member Avatar for whaleflipper

I'm a noob at C++ and this is the first assignment in my class. I'm not sure If I did it right. Can someone please check and correct it please? Thank you Question: develop the pseudo code for the following: Negotiating a consumer loan is not always straight forward. One …

Programming c++
Member Avatar for invisal
0
712
Member Avatar for prabhu.cyber

im tring to display image from database with som text but i didn't get it but it shows only the data not showdata.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="java.sql.*" %> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta …

0
277
Member Avatar for Lloyd_4

Hi, Everyone, I am trying to add a php variable to my form input action. When I click the button to submit the form, the php var is not being added to the action url. I have tried using ".." / '..' to try to add the php var to …

Member Avatar for jstfsklh211
0
251
Member Avatar for Ralph Anthony

this is my code for loading the data in my database going to my datagrid Private Sub Records_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim connString As String = "Provider=Microsoft.Ace.Oledb.12.0; Data Source=" & My.Application.Info.DirectoryPath.ToString() & "\BackUp\Database3.Accdb;" Dim MyConn As OleDbConnection Dim da As OleDbDataAdapter Dim ds As …

Programming dataset vb.net
Member Avatar for Santanu.Das
0
484
Member Avatar for Daudi_1

Hello, I keep having this error whenever I try to post a reply on my forum website. Here is my code: <?php session_start(); include ('dbconn.php'); $comment = nl2br(addslashes($_POST['comment'])); $cid = $_GET['cid']; $scid = $_GET['scid']; $tid = $_GET['tid']; $insert = mysqli_query($con, "INSERT INTO replies (`category_id`, `subcategory_id`, `topic_id`, `author`, `comment`, `date_posted`) VALUES …

Member Avatar for cereal
0
1K
Member Avatar for SirMahlon

i have an echo statement. which am looping columns. and i want to use this onerror command <img src="http://subinsb.com/to-an-image" onerror="this.src='img/delogo.jpg';"/> but not working. how do i do this. thanks echo ' <div class="col-lg-5 col-md-5 col-xs-12"> <h4 class="font_head_check">' . $title . '<span class="box_type_unik">For Sale</span></h4> <p class="font_check">' . $town . '</p> <span …

Member Avatar for diafol
0
1K
Member Avatar for rouse

I have the below data and I would like to find out how many sets I have and how to access each key value pair in javaScript. response[ {"RECORD_NUM":967,"DATE_FIELD":"1736-01-19","DESCRIPTION":"James Watt, inventor of the steam engine, was born in Scotland."}, {"RECORD_NUM":1002,"DATE_FIELD":"1747-01-19","DESCRIPTION":"Johann Bode founder of \"Bode's Law \" dies"}, {"RECORD_NUM":1111,"DATE_FIELD":"1770-01-19","DESCRIPTION":"Battle of Golden …

Member Avatar for diafol
0
321
Member Avatar for Lalit Chattar

Hi I want to display text and image both on the same jsp page. but the code display only image, which is retrieve from database. can i display both on same jsp page. all data retrieve from database with image as blob. please help me..

Member Avatar for prabhu.cyberway
0
3K
Member Avatar for can-mohan

Hi, Guys i just wanted to know whether set store elements in specific order or it contains unordered elements only. As per c++ specification http://www.cplusplus.com/reference/set/set/?kw=set Sets are containers that store unique elements following a specific order. As per my knowledge they are not ordered in the sense that you can't …

Member Avatar for JamesCherrill
0
310
Member Avatar for JModak

I create a project add some item (C_Number,E Number, Model, Type, Color, Key No, Price(numeric field)) in MSFlexGrid1. then add a button when click on this add the record in data1, but only 1(one) data add in the data1 database. I use access database. How can I add all (minimum …

Member Avatar for JModak
0
213
Member Avatar for janicemurby

ive just followed a tutorial where if a user chooses to delete there account and after i click delete account i get the following message Unable to delete user account! can someone check this out for me please delete.php <?php include ('dbconnect.php'); if (isset($_GET['del'])) { $user_id = $_GET['del']; $delete = …

Member Avatar for diafol
0
214
Member Avatar for munchlaxxx

I really need help with this. I've been using Visual Studio for C++ and Assembly, and I can build my projects with zero errors, but when I try to Debug I get the message: **Unable to start program "C:\mypath\Debug\filename.exe" The system cannot find the file specified.** or if I Start …

Member Avatar for Mauricio_4
0
17K
Member Avatar for divinity02

hi everyone i havent been here in a long while since i have been here anyway, i am doing a program(practicing) but i dont or cant say if it is my calculation is off everything is working properly except for the the income tax part. it is outputting zero. tell …

Programming java
Member Avatar for divinity02
0
256
Member Avatar for Siberian

This [script](https://jsfiddle.net/WildWind/cnbj069x/17/) won't change the image id when the browser width is 320 ? I'm hoping someone can help ?

Member Avatar for Siberian
0
297
Member Avatar for vuyiswamb

Good Day all i am using Navigation service as depicted below <Frame x:Name="_home" NavigationUIVisibility="Hidden" HorizontalAlignment="Stretch" Width="2749" Margin="0,12,0,0" /> and i navigate to the Page like this (Application.Current.MainWindow.FindName("_home") as Frame).Source = new Uri("/F1.xaml", UriKind.Relative); which work fine. now in the Navigated page, lets just say a page shown in the Frame,there …

Member Avatar for Santanu.Das
0
193
Member Avatar for AntonyRayan

Hi , I need a calculation method to calculate multiple marks for an Individual students. Based on standard id and section id I showed list of students, and subjects dynamically, so that, for each student n number of subjects will display. When entering marks, for each student and for all …

Member Avatar for rubberman
0
219
Member Avatar for rpv_sen

Hi I am trying to send a reminder mail with the HTML Table format. But the details is not getting displayed. Please help me to fix. i am using class file to send the email. include ('config.php'); date_default_timezone_set('Asia/Calcutta'); require "classemail.php"; $mail = new EMail; $mail->Username = 'emailid'; $mail->Password = 'password'; …

Member Avatar for rpv_sen
0
669
Member Avatar for vinodvalluri

<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"> </script> <script type="text/javascript"> var $k = jQuery.noConflict(); $k(function(){ $k("select[id^='tmp']").change(function(){ var geno3 =$k('#tmp').val(); if(geno3=='filename') { $k('#tmp1').attr("placeholder", "Ex: 'ICC8937_Read1.fastq.gz' etc"); } if(geno3=='runno') { $k('#tmp1').attr("placeholder", "Ex: '2,4' etc"); } if(geno3=='projectid') { $k('#tmp1').attr("placeholder", "Ex: 'ceg001,ceg002' etc"); } }); }); </script> Search the Database with any one of the following option: <form …

Member Avatar for vinodvalluri
0
264
Member Avatar for mexabet

I have a custom function called "query" with PDO statement in the functions.php file: /** * Executes SQL statement, possibly with parameters, returning * an array of all rows in result set or false on (non-fatal) error. */ function query(/* $sql [, ... ] */) { // SQL statement $sql …

0
170
Member Avatar for NONONO123

I'm currently working on an android app to fetch data from the server. But when i run it, i get a NullPointerException. Can anyone help me with that? Here is my code: public class MainActivity extends AppCompatActivity { ListView lvPost; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lvPost = …

Member Avatar for NONONO123
0
3K
Member Avatar for prieku

I have two table : buy_temp & buy_detail, i need transfer data from buy_temp to buy_detail . For the first step i will get data from buy_temp like this : $sid = $db->data("email", $user_session); $sql = mysql_query("SELECT * FROM buy_temp WHERE id_session='$sid'"); while ($r=mysql_fetch_array($sql)) { $cart[] = $r; } $j …

Member Avatar for diafol
0
275
Member Avatar for powerade661

I am trying to make it to where it will read the registry and report back if ProxyEnable is set to the value of 1. If it is, it replies back that the privacy is in risk, if not it says privacy is safe. Here is my code. Any help …

Member Avatar for powerade661
0
332
Member Avatar for ressenjack

Anyone have flowchart or algorithm of Snap Card game which can let me to refer since I need it for my assignment. It will be very helpful if provided me the source. Thank you

Programming algorithm c
Member Avatar for Reverend Jim
0
193
Member Avatar for rouse

I have been looking at this code and can't see the errors. I would like as a test for myself to post a SQL query to a PHP file and do the query and return the selected rows. So what is wrong with this POST, and how do I pickup …

Member Avatar for rouse
0
206
Member Avatar for mlinville

Hi thanks for the help I am new to this so sorry if I’m slow. I am trying to make an Access Database I have a quarry that pulls data into a combo box and then auto fills the below text boxes. I want the user will then fill out …

0
147
Member Avatar for Darth Vader

Hello, I try to catch the HTML code from a webpage after I have logged in to a page. HTML is returned but that is the orignal HTML only BEFORE I logged in. For example I try to find "Log out" and other content in the string "getDocumentHTML" returned which …

Programming c c++ html-css
Member Avatar for JOSheaIV
0
344

The End.