199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Saboor880

HI to all! I am facing some exceptions in my database connectivity programs. I am using jdk7, window7 and Ms Access 2007. I am giving code of programs and exeption. import java.sql.*; public class ResultSetEx { public static void main(String[] args) { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc:odbc:personDSN"; Connection …

Member Avatar for JamesCherrill
0
193
Member Avatar for abhi10kumar

0 down vote favorite I am using Bootstrap 3 which it have Notification, I want that notification with a custom JS function in which I will pass message as a parameter then that message will display in the notification. Below is the sample notify example which will show message on …

0
133
Member Avatar for kgenn

[CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.oledb" %> <%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="vb" runat="server"> Sub BindGrid() Dim connection As OleDbConnection connection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\emong\Documents\Visual Studio 2008\WebSite1\App_Data/dbLupon.mdb") connection.Open() Dim …

Member Avatar for creiglee
0
559
Member Avatar for Karan_8

I am beginner in android programming, I am making a music app the problem I am facing with my app is when my app is minimized and I try to resume the app from the launch icon, splash screen appears for the specified time but after that the android home …

0
131
Member Avatar for Lance_1

im make program using vb6 n tried to get data from msaccess database ,display it in vb6 and save the data to oracle table database.. The table name in oracle is testcoba. Now i can save the data from vb6 to oracle table. But i want is the data will …

Member Avatar for Santanu.Das
0
1K
Member Avatar for nathan.pavlovsky

Hello all! I am trying to take a string that has mixed uppercase and lowercase chars and then convert it to lowercase. I am doing the following line of C++ code: transform(theReadMessage.begin(),theReadMessage.end(),theReadMessage.begin(),theReadMessage.end(),::tolower); //theReadMessage is a string to convert to lowercase and my C++ xCode debugger gives me this message `Too …

Member Avatar for nathan.pavlovsky
0
739
Member Avatar for UK-1991

Hello, I tried to create a gallery using php admins can upload multiple images all the images are uploading correctly like the image is saving in the database as much as I can but the problem is that the image is saving once in the folder Like loop runs images …

Member Avatar for lps
0
246
Member Avatar for Aeonix

I made an API request using AJAX request, I received JSON, I tried my best to use JavaScript to parse it, but to no avail. Instead I used jQuery which made it as painless as 2 lines of code. Now I have JSON array translated into array-ish object in JavaScript. …

Member Avatar for Aeonix
0
405
Member Avatar for Kiri_1

Hi Guys! I'm trying to create an addition game with an image to display as the given number (addends) EX. instead of just displaying texts like 1+1 = 2 I will be using images to display the given numbers and the answer. I have created some codes here that was …

Member Avatar for tinstaafl
0
289
Member Avatar for Steven N

Hello, for fun I have been learning both linux (Mint) and python3 as of late. I have finished a working code that scrapes yahoo for data and selects a series of stocks for me. Today I finished creating an apache2 server using linux. What I had hoped to do is …

Member Avatar for steven.rose.94
0
384
Member Avatar for juansgc

Hi! I don't know how to assign my unique_ptr a new value. std::unique_ptr<int> intPtr; void changePointer(int* ptr) { // I want intPtr to point to ptr // intPtr = ptr; } What should I do? Thanks.

Member Avatar for juansgc
0
155
Member Avatar for Christopher_12

I want to encrypt and decrypt the password and username of my login table I already populate my login table with 5 rows Can anyone suggest some Encryption and decryption algorithms for Password protection? here is my current code Option Strict On Imports System.Data.SqlClient Public Class Frmlogin Private strCon As …

Member Avatar for Reverend Jim
0
322
Member Avatar for Suzie999

Hi I have encountered a problem where I cannot think of a solution. I'm attempting to work with event tracing but the problem is that a handle is not released even when the program exit, and the API appears such that once it is opened or started, it is closed …

Member Avatar for gusano79
0
272
Member Avatar for lloyd.farrell.7

Hi everyone - Just a quick request for help please, I am trying to add two additional country codes to the following if statement. if ($country_code == "GB"){ I would like to add or "sct" or "wls" - But everytime I try I get error messages... Sorry if its a …

Member Avatar for lloyd.farrell.7
0
87
Member Avatar for അരുൺ

Assume that a bank maintains two kinds of accounts for customers,one called as Savings account and the other as Current Account.The Savings account provide compound interest and withdrawal facilities but no cheque book facility.The Current Account provides cheque book facilty but no interest. Current Account holders should also maintain a …

Member Avatar for JamesCherrill
0
1K
Member Avatar for altjen

Im having ap roblem with this. ![1.JPG](/attachments/small/4/cde330e9ebb2a478c54b56e4280cf4a3.JPG "align-left") after I press Save button that image show up it doesnt execute this code String te1 = tf1.getText(); String te2 = TA3.getText(); String te3 = TA2.getText(); String te4 = TA1.getText(); String te5 = tf2.getText(); String te6 = TL1.getText(); String sql = "UPDATE …

Member Avatar for altjen
0
254
Member Avatar for Mariana_1

Hi I am trying to do a game to children so they can notice the difference between to images and study how their memory atention etc are. I want to open the image, and make a questionair where I say if the child was able to find one two three …

Member Avatar for NathanOliver
0
220
Member Avatar for kyupa.suria

.............................. <form action="introducere.php" method="POST" enctype="multipart/form-data"> .............................. <td>Picture 1:<input id="picture1" name="picture1" type="file"><br> Picture 2:<input id="picture2" name="picture2" type="file"><br> Picture 3:<input id="picture3" name="picture3" type="file"> </form> .............................. **introducere.php** ............................ if(isset($_FILES['picture1'])){ $file = $_FILES['picture1']; $file_name = $file['name']; echo $file['name']; $picture1 = $file['name']; if(!$picture1){//if no picture browsed $picture1="NULL"; } } if(isset($_FILES['picture2'])){ $file2 = $_FILES['picture2']; $file_name2 = …

Member Avatar for pritaeas
0
325
Member Avatar for davy_yg

Hello, I am trying to create a picture gallery that can be sorted based on certain category. These are some examples or references on how to do it : http://isotope.metafizzy.co/sorting.html The only difference is that mine is using real picture instead of text which makes the sorting function does not …

Member Avatar for davy_yg
0
913
Member Avatar for strongard63

I have a large piece of code : string num_to_text[] = { "", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" }; string tens_to_text[] = { "", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" }; string power_to_text[] …

Member Avatar for m.shajeeh
0
183
Member Avatar for zelrick

Hello VB.net Programmers, Please help about delimited. I've been looking to the forum and other sites about this but can't find any. Here is my problem. 1. I need to put the text file to excel but this text file don't have comma and tab. This are separated only with …

Member Avatar for zelrick
0
5K
Member Avatar for Hendo

Sorry, not sure how to even word the article title...it's been so long since I did HTML or PHP. I have a small web page that I wrote several years ago. It's all HTML/CSS with one segment of PHP that is used to call to my database to populate scores …

Member Avatar for Hendo
0
199
Member Avatar for Aeonix

I'd like to create `/admin.php` page, which would have AJAX request, sent over to `/core/adm/index.php`, that's easy, basic AJAX request will do just that. But I don't want any direct access to `/core/adm/index.php`, I want it to be accessed only by AJAX request from `/admin.php`. Is there a way to …

Member Avatar for Aeonix
0
230
Member Avatar for Mian_4

i have two combobox and i have two database table in sql server 1st table name is Province and 2nd table name is City if i select province in my 1st combobox then show all cities against selected province show in the 2nd combobox when we click on combobox dropdown …

Member Avatar for Mian_4
0
435
Member Avatar for Aeonix

$replacedString = str_replace(array_keys($array1), $array1, $externalVariableString); I have an entire array above that called `$championToIdConversionArray`, it has about 650 switches, it looks something like this $array1 = array( "1" => "Banana", "12" => "Monkey", "2" => "Apple", "121" => "Human" ); Now if I let script parse numbers "121", it won't …

Member Avatar for Aeonix
0
191
Member Avatar for weekendrockstar

All of my search attempts on here and the Internet at large have resulted in discussions on how to DISABLE parent form's while a particular child is open. But my project seems to be doing that itself just fine. I do not want it to and I am not sure …

Member Avatar for weekendrockstar
0
321
Member Avatar for lewashby

#include <iostream> #include <stdlib.h> #include <cstring> #include <stack> using namespace std; #define MAX_CHARS 100 int main(int argc, char* argv[]) { char input_str[MAX_CHARS + 1], *p; stack<double> num_stack; int c; double a, b, n; cout << "Enter RPN string: "; cin.getline(input_str, MAX_CHARS); p = strtok(input_str, " "); while(p) { c = …

Member Avatar for Suzie999
0
262
Member Avatar for can-mohan

Hi All, I am writing hash function (similar to multimap concept of c++ : duplicate keys are allowed) in order to check the anagrams. but i am not getting desired result . Could you suggest efficient solution for the same. output: key[148]:val[joy] key[174]:val[jam] key[294]:val[paula] key[13]:val[ulrich] key[174]:val[cat] key[174]:val[act] key[148]:val[yoj] key[265]:val[vij] key[265]:val[jiv] …

0
164
Member Avatar for altjen

Im writing a software in vb but I need to know, is there any better library than OpenCV?

Member Avatar for altjen
0
98
Member Avatar for elbren

# my Form # <form role="form" method="post"> <div class="form-group"> <label for="email">Email address:</label> <input type="text" class="form-control" id="email" name="email"> </div> <div class="form-group"> <label for="pwd">Password:</label> <input type="text" class="form-control" id="pwd"> </div> <button type="button" class="btn btn-default" data-toggle="modal" data-target="#myModal" name="submit">Submit</button> </form> # my Modal # <!-- Modal --> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- …

Member Avatar for Aeonix
0
583
Member Avatar for Montazer_1

Dear Core Developer, I want to learn android application development. I am newbie in android app dev. Can anyone please help me out that how to develop android mutiple choice questions (professional) application for mobile and/or TAB. here is the link: http://guides.instructure.com/m/4152/l/41477-how-do-i-create-a-multiple-choice-question i need to develope similar type of android …

Member Avatar for peter_budo
0
343
Member Avatar for serenagrace

is there a way to develop an android app from a linux pc. because i couldnt pay the license fees of microsoft i decided to use linux. i am not a power user but i know html & css. so i have a couple of app ideas i would like …

Member Avatar for peter_budo
0
517
Member Avatar for can-mohan

guys, I am implementing hash function in below code snippet but unfortunetly getting segmentation fault. Could you please help me to understand that what went wrong in this implementation. #include<stdio.h> #include<string.h> #include<stdlib.h> unsigned long hash(char** str ) { unsigned long hash_val = 5381; unsigned long sum=0; char* val ; int …

Member Avatar for can-mohan
0
394
Member Avatar for MrTheMonium

Hello VB Masters, Firstly, apologize if my question is in the wrong place :) I would like to create a loop that will copy a data from rows in the first sheet to the columns in the second sheet. The data in the Sheet1 looks as follows: A B C …

Member Avatar for Slavi
0
259
Member Avatar for jakson321

Instruction: You must use pointers for this lab. No arrays, no structures. For example, if you need an array of floats to hold the scores, do not use float score[15]. Rather use float *score, then use dynamic memory allocation to hold required memory. You must use memory optimally, that is …

Member Avatar for David W
0
1K
Member Avatar for hwoarang69

I am trying to connect access database with eclipse but it is not working. I first created data source in "ODBC Data Source Administrator(32-bits)" for windows than I add the jar file But I am getting an error: ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver SQLException: No suitable driver found for jdbc:odbc:J2EE_Database public class ex01 …

Member Avatar for ~s.o.s~
0
662
Member Avatar for hell hansen

Hi guys! Im trying to get the ighest value from any array coming from mysql query. What i've till now is it! class vfsClass{ function localvfs() { try { $sql = $this->link->prepare("select Vfs_ID from tbl_track order by id asc"); $sql->execute(); $rs = $sql->fetchAll(PDO::FETCH_ASSOC); return $rs; } catch (PDOException $e) { …

Member Avatar for hell hansen
0
2K
Member Avatar for Suzie999

Hi folks. I'm having a problem with VS2010 where suddenly one of my projects is displaying the warning "The referenced component 'System.Data.SQLite' could not be found". All i can find about it in my search is a problem with building both x86 and x64 applications, but my project is only …

Member Avatar for Suzie999
0
272
Member Avatar for praba_web

How to make pagination in slim framework? i have list of deals. I have to set pagination for deal listing.

Member Avatar for cereal
0
348
Member Avatar for altjen

can someone please tell me how to fix this thing? Im loosing my mind here. in a form this code work well. in other it doesn't I create an other form, import everything again and it is not working! try{ int row = Data_Table1.getSelectedRow(); String Table_click1 =(Data_Table1.getModel().getValueAt(row, 0).toString()); String sql …

Member Avatar for stultuske
0
170
Member Avatar for Daniel_45

Create a class called RoomInfo: Need to have the following private variables for class: length (double) width (double) hasTV (bool) houseSize(static double) Need to have following functions for class: Constructors Properties for each variables calcRoomSize: this function calculate the room size and update the house size. Create a class called …

Member Avatar for ddanbe
0
266
Member Avatar for WebMedia_1

everbody, pls i m working on android application with the side menu navigation drawer with fragment and webview but android back button key is not working. this my code Main Activity public class MainActivity extends Activity {String[] menutitles; TypedArray menuIcons; String[] pageUrl; // nav drawer title private CharSequence mDrawerTitle; private …

Member Avatar for Karan_8
0
372
Member Avatar for Vansh_2

I am developing a server which detects a device and its connection speed . is there any way i can detect a client's connection speed through response headers ?? public class Server_X { static int count = 0; public static void main(String args[]) { Socket s = null; ServerSocket ss2 …

Member Avatar for Karan_8
0
540
Member Avatar for SimonIoa

Hello, i have a problem with a variable i use to call a statement. The statement its ok, returns data from database as wanted, i checked it on phpmyadmin. I think that the problem is on the variable. Here is the code $select =mysqli_query($db,"SELECT * FROM table WHERE row is …

Member Avatar for SimonIoa
0
220
Member Avatar for Stefce

I have a problem with this code and i really can't understand what is it.. i have unique ID for every ticket and it works good but i have made a button to open a `modal (#myModal)` and from there to send the ticket to some username but the problem …

Member Avatar for jkon
0
1K
Member Avatar for Shari_1

Hello. I want to make a simple login page using MVC4, where both users and admins can log in. The users should be allowed to see their own details, edit their details. The administrators should be able to list all the users, show a specific users details, edit those details …

Member Avatar for godfrek
0
2K
Member Avatar for gkumaravel

Hi, I want to run php function using jquery ajax, Task is i have two dropdown(html select) **Filter_by_class.php** <form action="filter.php" method="POST" id="filter_students_form"> <div class="field"> <label for="stud_class_filter" class="cbx-lbl lbl-width">Select Class</label> <span class="dbl-dote">:</span> <select name="studclass_filter" id="stud_class_filter"> <option value="">-- SELECT STUDENT CLASS --</option> <?php if ($getStudentClass = $db->query("SELECT * FROM classes")) { if …

0
185
Member Avatar for دليل تطبيقات

i want to know the error in this code <?php $firstname = $_POST ['firstname']; $lastname = $_POST ['lastname']; $pass1 = md5($_POST['pass1']); $pass2 = md5($_POST['pass2']); $email = $_POST ['email']; // filters name function filtername ($field) { $field = filter_var(trim($field), FILTER_SANITIZE_STRING); if (filter_var($field, FILTER_VALIDATE_REGEXP, array ("options"=> array ("regexp"=>"/^[Z-zA-Z\s]+/")))) { return $field; } …

Member Avatar for broj1
0
258
Member Avatar for Papa_Don

Hi group, I'm attempting to create and write to an Excel spreadsheet with data from a text file. The code is meant to parse each line of the text and place the data into individual variables. I then need to place these variables into the appropriate cells on this newly …

Member Avatar for Papa_Don
0
445
Member Avatar for waseem1345

Hello I have an old laptop which run most new games at around 40~60 fps at lowest settings.. I already have a key for Visual Studio 2012 Professional and thinking about Visual Studio 2015 Community.. Will Community 2015 run as fast as the other one? I'm only interested in WPF/Winforms …

Member Avatar for waseem1345
0
240

The End.