199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for showman13

Good afternoon, I'm drawing a complete blank on this, and decided someone in here could answer the question for me without an issue. I have a mysql DB with thousands of records in it, and over time have used an inadequate system for maintaining terminated records. I've been simply prepending …

Member Avatar for showman13
0
257
Member Avatar for srikanth2321

Hi,, I have a json file and I would like to convert it into java class. The main aim is to create a dynamic interface from the JSON file. I found metawidget library which can generate interface from a java class. I would like to know or possibly a sample …

Member Avatar for Richard_21
0
264
Member Avatar for jarp

I have written a SQL query to find product information in a c# program and it doesn't seem to work at all! I have tested a variety of other queries with my C# code and it works fine, but this throws an exception every time. SELECT TOP (1) CONVERT(varchar, tmpRptAssetEvent.EventTimeStamp, …

Member Avatar for BitBlt
0
204
Member Avatar for davy_yg

Hello, I am trying to control the table width for the form text and input box. I can't even control the main table width with this code: <table border="1" style="width: 10%;"> the width is still too large. I cannot make it smaller. Evenif I change the percentage or pixels into …

Member Avatar for hericles
0
155
Member Avatar for MaddTechwf

Long story short, I inherited an ASP project. I recently was subject to an SQL injection attack. I'm trying to update the search field that allowed the sql attack. I'm no ASP guru at all and would really appreciate any help anyone can give me on how to check the …

Member Avatar for pritaeas
0
125
Member Avatar for Decode098

package mobile; import java.util.*; /** * * @author user */ public class Mobile { /** * @param args the command line arguments */ public static void main(String[] args) { int[][] data = new int[10][10]; data = timesTable(10,10); Scanner scan = new Scanner(System.in); System.out.print("Enter Row:"); int row2 = scan.nextInt(); System.out.println(""); System.out.print("Enter …

Member Avatar for stultuske
0
272
Member Avatar for djblois

I need to set a default value in a combo box and i cannot figure it out. Sorry I am new to Javascript (and web development). I am not really asking someone to write the code for me but point me in the right direction. Function BuildTechnicianListDropDown(strSelectBoxName, intLockID) Dim rst, …

Member Avatar for djblois
0
175
Member Avatar for burhanahmed92

I have a multicolumn listview. There are three button Add, delete and Updata. List is working fine, it add, delete and update list data. But i want to save every row inside listview when i click save button. Bellow is my XAML. <TextBox Canvas.Left="12" Canvas.Top="12" Height="23" Name="textBox1" Width="120" TextChanged="textBox1_TextChanged" KeyDown="textBox1_KeyDown" …

0
250
Member Avatar for janicemurby

hya can someone take a look at this coding its for view profile and it has a on/offline on it when i log in it shows offline and nothing echos through see pic ![c6bd41d477df56cf7543dd36a623ada0](/attachments/large/4/c6bd41d477df56cf7543dd36a623ada0.png "c6bd41d477df56cf7543dd36a623ada0") <?php include("config/db_connect.php"); $profid = $_GET['profid']; // code for user details $query = mysql_query("select * from …

Member Avatar for diafol
0
286
Member Avatar for UK-1991

Hello guys does any one knows about the wordpress. I need to create a referal program in wordpress like someone wants to register on the website and been reffered by someone he or she would be required to provide a referall code so we would be able to see who …

Member Avatar for lorenzoDAlipio
0
139
Member Avatar for Lilgenski16

//BlackJack // Plays a simple version of the casino style game of blackjack; 1 - 7 players #include <iostream> #include <string> #include <vector> #include <algorithm> #include <ctime> using namespace std; class Card { public: enum rank {ACE = 1, TWO , THREE , FOUR , FIVE , SIX , SEVEN …

Member Avatar for Lilgenski16
0
242
Member Avatar for sergio_pb

Hello guys. I already install the mysql conector and my for studio 1.2 nu t in th visual studio 2012 i cant conetor to database. I try three time reinstall but is the same thing. Someona knows or somenoa already have this problem.«?

Member Avatar for Begginnerdev
0
207
Member Avatar for ncassambai

Hi so basically I need to create a timer for this simple maths test. I need it to give each question, lets say 30 seconds for test purposes, and then move onto the next question after the time is up and repeat the timer like that. Just cant figure it …

Member Avatar for woooee
0
144
Member Avatar for TheGuy831

Hi ive been trying to click a close button within a iframe within a webbrowser control.. my code works in WebBrowser.Document not Reading Outterhtml="x" Try WebBrowser1.Document.GetElementById("bannerClose").InvokeMember("Click") Catch ex As Exception End Try and Dim theElementCollection3 As Windows.Forms.HtmlElementCollection theElementCollection3 = WebBrowser1.Document.GetElementsByTagName("img") For Each curElement As HtmlElement In theElementCollection3 If curElement.GetAttribute("alt").Contains("x") Then …

Member Avatar for J.C. SolvoTerra
0
3K
Member Avatar for arafath077

how to display this charactor in page Schönefeld . it display like Sch�nefeld

Member Avatar for diafol
0
113
Member Avatar for haze man

Hi guys, I am pretty new here and with android development. I have created my first app and am looking to expand on it and add some more style to it. What I am trying to do is add a navigation drawer to the app. So instead of the buttons …

Member Avatar for peter_budo
0
361
Member Avatar for ravi142

Hello New One in App Developement I need information about.. I want to make Store account in both Google Play and iTunes for hosting of my application so any cost required for registration.where i can register.? any one help me. Thank You

Member Avatar for peter_budo
0
168
Member Avatar for androiddev

Hello, Could anyone help please on the next topic? My android app does not start on emulator. it gets stuck on this step "Starting activity com..MainActivity on device emulator-5554" package com.fun.funapp; import java.util.Random; <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.fun.funapp" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="18" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" …

Member Avatar for peter_budo
0
315
Member Avatar for jasmine.koh.562

Imports System.Data.OleDb Imports System.Data Imports System.Web Imports System.Web.UI Partial Class _TakeSurvey Inherits System.Web.UI.Page Dim sid, query1, query2, query3, query4, query5, query6, qnos, currentQ, q_type, filledby, qid, status1 As String Dim dbcon As String = "Provider=Microsoft.Jet.OleDb.4.0;" & _ "Data Source=|DataDirectory|SurveyDatabase.mdb" Dim con, conn, conn1, conn2 As OleDbConnection Dim da, da1, da2, …

Member Avatar for xrjf
0
154
Member Avatar for Maideen

Hi I have an issue in below stored procedure. below Store procedure is working fine. But fixed the Year. Any one know How can do the year dynamically select by user? SELECT * FROM ( SELECT salesEXE,SalesEXEName,name,gross,YearNo FROM vw_Pivot_Month_ALL) TableYearNo pivot (Sum(gross) for [yearno] in ([2008],[2009],[2010],[2011],[2012],[2013],[2014],[2015],[2016],[2017],[2018],[2019],[2020]) )pivotTable pls advice Maideen

Member Avatar for isozworld
0
282
Member Avatar for Xiao_1

Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select * From tbl_assignment Where ProjectNo ='" & cbbproject.Items(cbbproject.SelectedIndex) & "'" Dim sqlCom As New System.Data.OleDb.OleDbCommand(sql, conn) …

Member Avatar for Santanu.Das
0
120
Member Avatar for AmrMohammed

Greetings, I'm facing a problem with the SQL Server and this problem concerning numbers when compared each other and these numbers are stored in the columns of data type NVARCHAR or VARCHAR. For example, if I'm having a column with data type NVARCHAR and it contains such values: 1 2 …

Member Avatar for isozworld
0
268
Member Avatar for lester2020

Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click Dim checker As Boolean = True Dim prompt As String = String.Empty Dim people As Integer Integer.TryParse(txtPeople.Text, people) people = ValidatePeople(txtPeople.Text) If people = 0 Then prompt = prompt & "Invalid number of people " checker = False …

Member Avatar for Santanu.Das
0
197
Member Avatar for alfred.tasic.7

i have a problem in my code i can't get the best answer on how to double click the data in the listview and store the value in the textbox in the other form pls help me. I am very please for your response this is for my project.. thank …

Member Avatar for Reverend Jim
0
956
Member Avatar for Azii

Hi, I am trying to fetch username from session variable of one php page to another php page. This below code fetch username from login page <?php $uname = $_GET['uname']; @session_start(); if($_SESSION[$uname]) { ?>.... //Remaining Code When I click submit button to go to my next php page I want …

Member Avatar for broj1
0
316
Member Avatar for ashhhh

I'm a newbie in programing I've got this problem after I added timer on to the my program. I can't figure out what goes wrong. I just want to chekc if the timer can run or not. #pragma comment(lib, "SDL.lib") #pragma comment(lib, "SDLmain.lib") #pragma comment(lib, "SDL_image.lib") #include "SDL/SDL.h" #include "SDL/SDL_image.h" …

Member Avatar for Moschops
0
313
Member Avatar for schroaus

Does anyone know a way to remove the 0's from an integer? i.e 1320000 would be 132 and 540 would just be 54.

Member Avatar for schroaus
0
126
Member Avatar for nitin1

/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; class Test{ public static void main(String args[]){ String Str = new String("WelcometoTutorialspoint.com-"); int i=0; System.out.println("Return Value :" ); for (String retval: Str.split("-", 2)){ System.out.println(retval); System.out.println(i); i++; } i=0; System.out.println(""); System.out.println("Return Value :" ); for (String …

Member Avatar for nitin1
0
169
Member Avatar for Olga_2

Hi guys please am new to c# sharp am having trouble to insert Events into the databse for an application am building I keep haveing the this error"The connection was not closed. The connection's current state is open." please any advice on what to thanks in advance guys. here is …

Member Avatar for isozworld
0
2K
Member Avatar for rogwar

Hi everyone. I have question and i hope someone will be pleased to help me. I am trying to write a python script which can extract data from a file (Iter.dat) and then put data in a tableau like the out.dat file. Here is what i wrote: f = open('Iter.dat', …

Member Avatar for rogwar
0
264
Member Avatar for kidkardel

![059f66a5bfcd6a29caa513f06d6ee5d1](/attachments/large/4/059f66a5bfcd6a29caa513f06d6ee5d1.png "059f66a5bfcd6a29caa513f06d6ee5d1") Hello again, I am now encountering the above problem. i dunno what to do and tried everything. my Column for Capital is decimal so i dunno why it is saying varchar. my codes are con.ConnectionString = //insert data source; if (con.State != ConnectionState.Closed) { con.Close(); } cmd.Connection = …

Member Avatar for isozworld
0
205
Member Avatar for jean_5

I have the following code: if (filtro.FinalDate != null) { FinalDate = String.Format(" Data <= '{0}' ", filtro.FinalDate.GetValueOrDefault().ToString("yyyy-MM-dd") + " 23:59:59"); } But when I compile and type something in the FinalDate, the following message appears in the log: Could not convert string to DateTime: 18/11/2014. Path 'FinalDate', line 1, …

Member Avatar for isozworld
0
7K
Member Avatar for Azii

This is regarding the sending E-mail using php and OUTLOOK. I have a "php page" which collect output from previous page. once clicking on send button, it should open my OUTLOOK client, which should have collected data as the body of email.

Member Avatar for broj1
0
1K
Member Avatar for Gaurav arora

Hi all, I have created a table in which i have a DateTime Column . i need that i dont want to insert values in that column from the front end. i have created a trigger for that purpose. whenever i insert a row in that table the dateTime column …

Member Avatar for Timothy_3
0
213
Member Avatar for nikk8a

Hello, I have a string which consists of tokens enclosed in square brackets []. I need to identify these and process the string to replace them with some other derived values. I am unable to get list of tokens via Pattern matching. Below is my code snippet. String str = …

Member Avatar for nikk8a
0
247
Member Avatar for ZeroEddy

Below is my code. I want to make a calculator using javascript. The script will check weather you enter a diget. If not it will display a message on the screen saying to enter one. However I want the paragragp "answer" to display the message. I cant seem to get …

Member Avatar for ZeroEddy
0
466
Member Avatar for Slavi

Well basically, I was coding earlier and I encountered this for(int i = 0; i<acl.size();i++){ //System.out.println(acl.get(i)); if(acl.get(i).contains(role)){ permissions = acl.get(i).split(":"); if(permissions[operation].equals("yes")) return true; } } and I was getting index out of boundary exception, but I knew that wasn't the case so I decided to use a for loop to …

Member Avatar for Slavi
0
137
Member Avatar for jarmouz

Hello , I have this error Deprecated: Function split() is deprecated. How can i resolve this problem. I use explode and preg_split but the problem persist $add=long2ip($result["ip_src"]); $mask="24"; $ipNetmask = $add."/".$mask; list($ip, $netmask) = split("/", $ipNetmask ); $ip_elements_decimal = split("[.]", $ip ); $netmask_result=""; for($i=1; $i <= $netmask; $i++) { $netmask_result …

Member Avatar for jarmouz
0
200
Member Avatar for Pyler

So I'm trying to remove 2 brackets from lines I'm reading from a file. For some reason when I run my program the characters in between the delimeters is removed. for example `greetings pe()ple` would end up as `greetings pe` I'm using a char array of delimiters. `char delimiters[] = …

Member Avatar for Pyler
0
208
Member Avatar for diya45

hi everyone i have 1 question regarding array in c# application how i arrange numbers in ascending or descending order in array using c# software i do this int array=new int[1,2,3,4,5] furhter i cant processed plz can anyone tell me about this thankx..

Member Avatar for cronynaval
0
4K
Member Avatar for Xiao_1

in existing project of combobox not just show the the project No. and also show the textbox of the project name this is my code is it corrct: Private Sub DataOfProject_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If …

Member Avatar for Mr.M
0
227
Member Avatar for fireburner29

re, I required multiple list(checkboxes) download option in core Php. I have generated web app using core Php. There I have written report generation code. Pls help me to write the download script.

Member Avatar for matrixdevuk
0
119
Member Avatar for Jhon_3

I'm trying to read 2 files each has aprox 1MB but when I check for memory usage i get 2MB (this still persist for more file f*1mb) It is possible to read each file with minimum memory usage?

Member Avatar for mike_2000_17
0
96
Member Avatar for lefteris.gkinis

I have the following code in my web page <div class="RegFieldsCountry"> <ajaxToolkit:ComboBox ID="Country" runat="server" CssClass="RegComboEntry" TabIndex="8" Width="180" ValidationGroup="SetUserValGroup" AppendDataBoundItems="true" DropDownStyle="DropDown" ToolTip="Country Selection" BackColor="#C0C0C0" ValidateRequestMode="Enabled" EnableViewState="true" ListItemHoverCssClass="CountryHoverListItem"/> <asp:RequiredFieldValidator ID="RequiredRegComboValidator" runat="server" ControlToValidate="Country" ErrorMessage="Η επιλογή χώρας επιβάλλεται." ToolTip="Η επιλογή χώρας επιβάλλεται." ForeColor="red" ValidationGroup="SetUserValGroup" CssClass="RequiredValidator"/> </div> What I get from that is a ComboBox …

Member Avatar for BMXDad
0
499
Member Avatar for bob.smithy.10

hey,I have been working on a program, or at least trying to get started, but i am having some difficulty. On step 5 i am unsure on weather i would need to use a for loop of a if statement. and how would i do this. Step 6 : is …

Member Avatar for bob.smithy.10
0
226
Member Avatar for zebnoon

Dear friends, I am developin g online survey form. Please, suggest me i have a question.and three options for answer.for example-: What is your favirite Country? A-Pakistan B-India C-USA now i put redio buttons against them.Users will come and vote for countries. and he can view result after vote that …

Member Avatar for zebnoon1
0
326
Member Avatar for CrashDiesel

<html> <head> </head> <body> <div align=center> Login <form name="form1" method="post" action="b.php"> <div align="center"> <table border="1"> <tr> <td width="120">Username :</td> <td width="144"><input name="user" type="text" id="user"></td> </tr> <tr> <td width="120">Mot de passe : </td> <td width="144"><input name="password" type="text" id="password"></td> </tr> </table> </div> <p align="center"> <input type="submit" name="Submit" value="Enter"> </p> </form> </body> </html> …

Member Avatar for CrashDiesel
0
153
Member Avatar for J.C. SolvoTerra

Sorry guys, I'm just really excited about this. My very first use of Polymer Tags (Need Chrome) [Live Core-Header-Panel](http://www.mysnippets.solvoterra.com/) Looking forward to developing with this. What are your thought's on the fast aproaching Polymer Tags?

Member Avatar for J.C. SolvoTerra
0
120
Member Avatar for Santanu.Das

This conception I get from a post on CodeProject by [Heriberto Lugo](http://www.codeproject.com/Tips/837177/Recursion-for-Beginners-Sorting-Ten-Numbers-Withou). But that was for only 10 numbers. Then I had an idea to use it in vb. There are many shorting process like Bubble Short, Linear Short etc. But exceptionally it does not use loops as others do. …

Member Avatar for David_50
0
525
Member Avatar for mcroni

hi, have already written a GUI program on a different Pc, i copied the py file unto a new pc to continue with the building,i have installed all the necessary modules but it gives an error when i run it. Traceback (most recent call last): File "C:\Python34\aaaa.py", line 2, in …

Member Avatar for Gribouillis
0
340

The End.