199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for diya45

hi all i make a store procdeure in visual studio wpf when i run a code the error is not solve here is error "Procedure getguestinfo has no parameters and arguments were supplied." and here is the code public class guests { private int guest_id; public int Guest_id { get …

Member Avatar for arunkumars
0
316
Member Avatar for janna1122

hello , can u plaese help me guys I have tried several ways to UPDATE data to a mysql database from radio buttons that have 1,2,3,4 options.. for submitting i have used if (isset($_POST['submit'])) { $v1 = intval($_POST['v1']); $v2 = intval($_POST['v2']); $v3 = intval($_POST['v3']); $v4 = intval($_POST['v4']); $v5 = intval($_POST['v5']); …

Member Avatar for pritaeas
0
241
Member Avatar for dinhunzvi
Member Avatar for diafol
0
87
Member Avatar for mark.barrera.94

can u help me with this: public static void main(String[] args) { Scanner s = new Scanner(System.in); String name; System.out.print("What is your name? "); if(name.equals("Bob")) { System.out.println("Oh hi, Bob. I know you. Good to see you again."); name = s.nextLine(); } } } what can i do?

Member Avatar for NormR1
0
111
Member Avatar for complete

How does Yandex do its trick? I want to programatically get the contents of a Yandex.com search result. The proglem is that a search page url does not change when you do a search on yandex.com and advance to see more pages. It must be done somehow by javascript. Any …

Member Avatar for lamiv007
0
135
Member Avatar for conanzz

I`ve done all the work and the numbers appear in the textbox, but when I press equl it does not give the result! Protected Sub EqlBtn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles EqlBtn.Click If txtentr.Text.Length > 0 Then Select Case Vals Case 1 ' txtentr.Text = Store / …

Member Avatar for conanzz
0
200
Member Avatar for kostaskol

Hello there people. I am pretty new in C and programming in general. I was trying to make a password checking programme and I seem to be stuck. int main (void) {char ch; while ((ch=getchar()) != EOF){ This is the beginning of my code and whenever I try to type …

Member Avatar for kostaskol
0
125
Member Avatar for fion.mccormack

My wordpress site has a custom built plugin that enables people to compare SIM only deals. The problem is that, on the front end, the deals table takes about 60 seconds load in IE8. It is ten times faster in firefox (about 6 seconds). The guy that built the plugin …

Member Avatar for stbuchok
0
218
Member Avatar for green-script

trying to make this script work: <script type="text/javascript"> var tmp='<html><head><title>popup</title>'; tmp+='<script type=text/javascript>'; tmp+='function nowTime(){'; tmp+='var oNowTime=new Date();'; tmp+='var iMonth=oNowTime.getMonth();'; tmp+='var iDate=oNowTime.getDate();'; tmp+='var iYear=oNowTime.getFullYear();'; tmp+='var iHours=oNowTime.getHours();'; tmp+='var iMinutes=oNowTime.getMinutes();'; tmp+='var iSeconds=oNowTime.getSeconds();'; tmp+='var iMilliSeconds=oNowTime.getMilliseconds();'; tmp+='var sNowTime=iHours+":"+iMinutes+":"+iSeconds;'; tmp+='return sNowTime'; tmp+='}'; tmp+='function nowDate(){'; tmp+='var oNowTime=new Date() '; tmp+='var iMonth=oNowTime.getMonth()+1'; tmp+='var iDate=oNowTime.getDate()'; tmp+='var iYear=oNowTime.getFullYear()'; tmp+='var iHours=oNowTime.getHours()'; …

Member Avatar for AleMonteiro
0
747
Member Avatar for xXghostXx
Member Avatar for adam_k
0
257
Member Avatar for stillmarooned

Hi all I would like to search a Excel List of names(voters Registration list) by typing a name to see if that person is registered. Can anyone advice me how to do it or provide me with a sample program Many thanks

Member Avatar for stillmarooned
0
93
Member Avatar for flebber

Is there a good portable environment I can use to put on a USB so I can learn wherever I go. So that I have a basic editor and environment to view results. I do plan to use it at work so as self contained as possible.

Member Avatar for NardCake
0
238
Member Avatar for hhm_pro992

OpenConn() Dim qqttyy As Integer = Val(ListView1.SelectedItems(0).SubItems(3).Text) Dim codee As String = ListView1.SelectedItems(0).SubItems(1).Text OleDa.UpdateCommand.CommandText = "UPDATE Inventry SET QTY = QTY -'" & qqttyy & "'WHERE CODE ='" & codee & "'" OleDa.UpdateCommand.ExecuteNonQuery() CloseConn()

Member Avatar for hhm_pro992
0
229
Member Avatar for anandschiru

Is there any web applications using phpbb features,if so plz reply

Member Avatar for pzuurveen
0
141
Member Avatar for acerious

Here I have some code that will run a program that generates a bunch of lowercase and uppercase letters from length 15-25 and will swap it first using an iterative swap method. It will then generate a second set of letters and will swap it this time with a recursive …

Member Avatar for acerious
0
192
Member Avatar for mc.hitch

first i'm not much professional in JAVA programming but if you mentioned a code how hard is it I'll understand it ... I want to create a desktop application that is connected with an online database to insert/retrieve data from it ... I've searched a lot on google but no …

Member Avatar for bibiki
0
322
Member Avatar for dharmendra1986

I have a database on both the servers with different table values and a third server with the same named db and tables in MYSQL server1-db1-table1 table1 ID Number 1 101 2 102 3 103 server2-db1-table1 table1 ID Number 4 201 5 202 6 303 How can I merge these …

Member Avatar for pritaeas
0
138
Member Avatar for locsin

Post Thread: Searching Database file if existing or not. How to Add the Microsoft scripting runtime dll in my Project reference menu. I saw Microsoft Script in the components. Is this the file? Anybody can help me or give me step by step procedure to add this Microsoft Scripting runtime …

Member Avatar for ritesh9nair
0
354
Member Avatar for giovannitao

Hello, I need to convert string format "18 novembre 2012" (month is wrtite in italian) to php date. Can you help me?

Member Avatar for pritaeas
0
329
Member Avatar for divyakrishnan

How to change collation of a mysql table which is created on MYSQL 4.1.22 ? I used following query ALTER DATABASE `testdb` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ALTER TABLE `testtab` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci It displaying following error messages ****Error SQL query: ALTER DATABASE `testdb` DEFAULT CHARACTER …

Member Avatar for pritaeas
0
264
Member Avatar for lokesh.r.kandula

Hi, My xml has got several tags with same name. I am trying to pick out only top 5 tags. I initially thought this would be simple and tried, but after spending so much time I couldn't get the desired output. Any help would be greatly appreciated. The scenario is …

Member Avatar for Mike Askew
0
169
Member Avatar for persianprez

Hi all, I'm new to xml and xslt. I'm trying to apply a stylesheet to my xml document but I keep getting no stylesheet available. Here is my code for my XSL document, XML, DTD, and CSS: XSL: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <style …

Member Avatar for Mike Askew
0
187
Member Avatar for xXghostXx

What I want to do is to select the orders that are hapened in 2001 ONLY which is "order3" here whats the SQL statment shlould be written HOW I can catch the year part from this full date ??? CREATE TABLE Persons ( P_Id int NOT NULL PRIMARY KEY, FirstName …

Member Avatar for pritaeas
0
208
Member Avatar for myfit

Hi all, I have question that I have a xml file, I add it to my Project C# Win Form, Now I want to change a value of 1 node or element, so what I need to do? Please give a guide or link or example project to me reference, …

Member Avatar for Mike Askew
0
338
Member Avatar for tendaimare

I want to format my textboxes in such a way that when someone fills in the details in the textbox if they press enter button on the keybord the focus is given to the next textbox that they should fill in .I tried the code below that we used in …

Member Avatar for safrans
0
3K
Member Avatar for wycliffe.ottawa

am creating a simple blog application and i have a model in ci called entries model and one particular function that gets a blog entry by id from an entries table table in a database this here is the code <?php class Entries_model extends CI_Model{ function __construct(){ parent::__Construct(); } function …

Member Avatar for wycliffe.ottawa
0
169
Member Avatar for Hanna Jane

Hi Everyone, I need to know how can we represent the projectile motion gven a certain angle and velocity, such that I can watch the animated ball moving in is path on screen.... all using openGL in C++

Member Avatar for saurabh5584
0
3K
Member Avatar for Raju Hasan

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ArticleSearch { public partial class ArticleSearchUI : Form { public ArticleSearchUI() { InitializeComponent(); } private int index = -1; private int totalCount = 0; private int searchPoint; private void searchButton_Click(object sender, EventArgs e) …

Member Avatar for Mike Askew
0
200
Member Avatar for cyanide911

**EDIT: I understood what was wrong. I initialized adrsarr[4] before trying to put in values, then the problem was solved. Please close this thread.** package personal; public class TestAddress { public void buildArray(Address[] adrsarr) { adrsarr[0] = new Address("B402", "3", "42", "Behind Sector 9", "New Delhi", "Delhi", "Delhi", "India", "232113"); …

Member Avatar for jalpesh_007
0
102
Member Avatar for albert.staszak

So I have a main form and 5 other forms. When I press a button on the main form, I want it to open Form2 and disable a certain button in form2 so that it cannot be used. I produced this code but the button is still active and there …

Member Avatar for Jx_Man
0
105
Member Avatar for meenal9

Help..i need java program with help of bufferedReader and IOException... to find sum of 2 nos. entered by user.. plz help i am new to java...

Member Avatar for jalpesh_007
0
128
Member Avatar for Hammer Engineer

Hi I am trying to implement an array based BT.Here is my code for this. But I'm stuck with Postorder traversal. How can I get a Postorder traversal from my array based BT ? My Entire code is given here. package com.TreeLab; public class Stack { private final int SIZE …

Member Avatar for jalpesh_007
0
2K
Member Avatar for Brittinei

Write a program that prompts the user to enter a filename (use a Scanner to get the filename). The program then ouputs to the screen the number of lines, words, and characters in the file. Here is my code: (I'm getting a infinite while loop): import java.util.Scanner; import java.io.*; public …

Member Avatar for jalpesh_007
0
200
Member Avatar for Brittinei

Write a program that prompts the user to enter a filename (use a Scanner to get the filename). The program then ouputs to the screen the number of lines, words, and characters in the file. Im having trouble counting the words Here is my code: import java.util.Scanner; import java.io.*; public …

Member Avatar for jalpesh_007
0
278
Member Avatar for xXghostXx

hey I have table that has date column and I want to select just all the sales that hapen in the first three month between 1/1/2012 to 30/3/2012 How I am able to do this select query ??

Member Avatar for xXghostXx
0
210
Member Avatar for zlloyd1

I am trying to add a try catch block with switches to my program in NetBeans, and it is not excepting any of my already declared variables?? Here is my original code, without any validation: package annual; import java.util.*; import java.lang.*; public class Annual { public static void main(String[] args) …

Member Avatar for jalpesh_007
0
258
Member Avatar for dannybarh

I have a drop downmenu on a page, after users add a content to the db, i do not want the specific value that was added from the dorpdown menu to show in the list again. I do not want to delete that specific value from the dropdown table. Your …

Member Avatar for dannybarh
0
134
Member Avatar for thammalatha

Hi Can any one explain how we use CListCntrl class in mfc to track the listby using dialog based application..just simple example.. thanks in advance..

Member Avatar for thammalatha
0
81
Member Avatar for mbh1992

Need help with the following code, The error comes at line 20. import ogr import os, shutil,sys import osr regionShp = "ne_50m_geography_regions_polys.shp" regionFile = ogr.Open(regionShp) regionLayer = regionFile.GetLayer(0) spatRef = regionLayer.GetSpatialRef() countryShp = "ne_50m_admin_0_countries.shp" countryFile = ogr.Open(countryShp) countryLayer = countryFile.GetLayer(0) dstDir = "spatial_analysis_2" if os.path.exists(dstDef): shutil.rmtree(dstDir) os.mddir(dstDir) dstPath = os.path.join(dstDir, …

Member Avatar for ZZucker
0
189
Member Avatar for nUmbdA

I am working on an assignment for my fundamentals class and we have to create a program that is going to write/read/ and append a file. I wanted to set it up to check and see if example.txt exists. If so then append, else write. My question would be how …

Member Avatar for ZZucker
0
117
Member Avatar for hwoarang69

i want to save the value of there username and password in field. so that next time they only have to hit login. so i only have one file for login page. login.php //html code <form id='login' action='login.php' method='POST'> <input type="text" name="username" id="login_username" class="login_field" value="" /> <input type="password" name="password" id="login_password" …

Member Avatar for LastMitch
0
268
Member Avatar for reimar23

Can someone help me... I am new to vb.net with sql connection and I can't fix this error : variable name '@date' has already been declared. Variable names must be unique-- I need this to be fixed "ASAP" Im running out of time here because of the error here is …

Member Avatar for reimar23
0
337
Member Avatar for jorge.carmonajr

ok so i am new to programing and need to make a program that adds and subtracts two coordinates this is the main file #include <iostream> #include "Coordinate.h" using namespace std; int main() { Coordinate a( 1, 7, 0 ), b( 9, 8, 7 ), c; a.printCoordinate(); cout << " …

Member Avatar for mrnutty
0
124
Member Avatar for hwoarang69

iam doing it so that it inside input field it should say "Password". then if user start type in than it should put chars ****. html file <input type="password" name="password" id="login_password" class="login_field" value=""/> js file /*** login page - password field ***/ var password = 'Password'; $('#login_password').replaceWith('<input type="text" value="" name="password" …

Member Avatar for hwoarang69
0
339
Member Avatar for taylor.mitchell.353

I created a hashing method to make a=1, b=2, c=3...etc. To me it doesn't seem too efficient. Does this look efficient or is there a recursive method or smaller method to do the same thing? /** * Changes String to int * @param key: String * @return (result % arraySize): …

Member Avatar for NormR1
0
301
Member Avatar for Akira01

Hi I recently started working with Java (this morning to be exact) and I'm running into some trouble. I'm trying to make a simple program that will put a deck of playing cards into an array, shuffle that array, then print the shuffled deck. My eventual goal is to make …

Member Avatar for Akira01
0
241
Member Avatar for Programmer629

hi everyone! i was wondering if anyone could hed me in the right direction 2 programming a program like pinger (preferably vb.net). i have visual studio .net 10 so can someone help me? thx!

Member Avatar for Reverend Jim
0
207
Member Avatar for gandalf22

Alright so im supposed to represent an airline. total # of seats is 10. Passangers can choose whether to sit in first or economy. This is what i have so far. If you try the program and try to go from first to economy you will see that it skips …

Member Avatar for zeroliken
0
176
Member Avatar for priyajayan

i have to do a program in BDK.my BDK and JDK are in the same folder java. i have set the path for jdk/bin in control panel.i have created the jar file, jar cfm [jar file name] [manifest file name] [java class name]. i didn't get any error there. but …

Member Avatar for NIsha Smilee
0
232
Member Avatar for jorge.carmonajr

I am having trouble wrapping my head around classes. I'm not to sure what they are used for or how to use them. so i need some serious help with this assignment for my class. This is the assignment: **Create a class called Coordinate for performing arithmetic with x/y/z coordinates …

Member Avatar for Astreios
0
122

The End.