4,457 Topics

Member Avatar for
Member Avatar for surferxo3

Let me be specific: I have the following components in my project: 1) Form 2) Textbox 3) Button 4) DataGridView 5) A class named Database - It has all the code stuff to interact with the database means it can insert,update,delete etc I type the desired name in the textbox …

Member Avatar for surferxo3
0
3K
Member Avatar for surferxo3

[CODE] public partial class DataTrialForm : Form { private String connectionString = null; private SqlConnection sqlConnection = null; private SqlDataAdapter sqlDataAdapter = null; private SqlCommandBuilder sqlCommandBuilder = null; private DataTable dataTable = null; private BindingSource bindingSource = null; private String selectQueryString = null; public DataTrialForm() { InitializeComponent(); } private void …

0
69
Member Avatar for blee93

I just started learning PHP and I tried looking for answers, but couldn't find any. When i type in [CODE]<?php echo '<p>Order processed.[/CODE] embedded into HTML, it works fine, but when I put [CODE]<?php echo '<p>Order processed.</p>' ?>[/CODE] it always has the closing tag '?> shown in the browser. Is …

Member Avatar for mikulucky
0
398
Member Avatar for thejoker011

hello everyone... i need some good open source Graphs and Charts gui(2d and 3d) for java. Please suggest me some.

Member Avatar for peter_budo
0
303
Member Avatar for aileengrace03

Private Sub Text5_Change() Dim ccs As Double Dim bal As Double Dim loss As Double Dim pcs As Double Dim bcs As Double Dim bgl, aa As Double Dim total As Double Dim a As Long Dim X, y, z As Integer X = 0 z = 0 a = …

Member Avatar for BitBlt
0
214
Member Avatar for pri20

I want to perform automatically, the windows login by passing username, password in java code.Is there any open source tool available to record the username password fields etc of the machine.

Member Avatar for NormR1
0
154
Member Avatar for rcbandit

Hi, I'm new to java programming. I need a help about implementing OSGI module and EJB. I wrote this simple OSGI bundle: [CODE]package com.cryptoLib; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class cryptoSha { public cryptoSha() { } public String stringHash(String hash) throws NoSuchAlgorithmException{ MessageDigest md = MessageDigest.getInstance("SHA-256"); md.update(hash.getBytes()); byte byteData[] = …

0
64
Member Avatar for gtsrit

data not save on the strGno, is there is another way to do this? Dim connetionString As String Dim strSQL As String Dim conn As SqlConnection Dim ds As New DataSet Dim strGNo As New TextBox strSQL = " Select * From DocNos Where DocId='" & Trim(Doctype) & "' " …

0
48
Member Avatar for Dorar

[B]My project is Housing reservation system for University I design the interfaces by VB and connect to my oracle data base account Oracle 11g, VB express edition are used The proble is with the login form [URL="http://im20.gulfup.com/2011-12-23/1324652639153.png"]http://im20.gulfup.com/2011-12-23/1324652639153.png[/URL] when I debug and enter the ID & password for User : according …

Member Avatar for dspnhn
0
513
Member Avatar for maxxxx

I have a drop down menu on my page, and I want to change the background color of the box from white to match the rest of the page, how do I do this. Thanks [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta …

Member Avatar for charisma
0
184
Member Avatar for k2k

I am testing an open source application. When at the setup stage after installing mysql, php all the good stuffs, I have to specify where the mysql server is. Here is the problem, if I put in "localhost" as the mysql is installed on the same box, it would work …

Member Avatar for rubberman
0
118
Member Avatar for dhanlak

Hi, I am trying to bind a datagrid with a datatable in WPF. This is my first project in WPF. The datatable has a single column. The datatable is bound with a table that has a varbinary image column in database. In database, this is the table structure table tblPicture …

0
107
Member Avatar for jcarbillon

guys,,need help :( I cannot upload file using this script [CODE]<?php if($_FILES["zip_file"]["name"]) { $filename = $_FILES["zip_file"]["name"]; $source = $_FILES["zip_file"]["tmp_name"]; $type = $_FILES["zip_file"]["type"]; $name = explode(".", $filename); $accepted_types = array('application/zip', 'application/x-zip', 'application/x-zip-compressed', 'application/octet-stream', 'multipart/x-zip', 'application/x-compressed'); foreach($accepted_types as $mime_type) { if($mime_type == $type) { $okay = true; break; } } $continue = …

Member Avatar for jcarbillon
0
108
Member Avatar for evanescence

Hi, there. I've been trying to get my program to work for several hours now and I just can't fgure out what's wrong with my code. It's about passing a variable between processess using pipes. Each process increments it M times. The program works perfectly when I use shared memory, …

Member Avatar for evanescence
0
142
Member Avatar for nelly89

Urgent..hai i need everyone help. i have a prob which is i cannot update the GVPapar row by row..actualy im used join table between table Kuiz,table DaftarPelajar and table pelajar..Could is also add table DaftarSubjek when i want to update??? because in update i want also update the data of …

0
65
Member Avatar for opticaltim

Hi, I'm making a login application but i have the following problem. When an user clicks the button "Login" it is allways correct. I would like to check in my sql database if the user and password match. Does anyone have an idea? [B]Database.cs[/B] [CODE]using System; using System.Collections.Generic; using System.Linq; …

Member Avatar for opticaltim
0
222
Member Avatar for YungSoprano

Hi everyone, I'm creating a booking application for a hotel and have encountered an error on the following code; [CODE]Public Class Seaside_Hotel_DB Dim dbconn As OleDb.OleDbConnection Dim dbcmd As New OleDb.OleDbCommand Dim dbread As OleDb.OleDbDataReader Dim spath As String Public Sub New() spath = Application.StartupPath spath = spath.Replace("\bin\Debug", "") spath …

Member Avatar for YungSoprano
0
209
Member Avatar for Mona Ali

[CODE] protected void RefList_SelectedIndexChanged(object sender, EventArgs e) { // Define ADO.NET objects. string selectSQL; selectSQL = "SELECT * FROM Project "; selectSQL += "WHERE Ref#= '"+RefList.SelectedItem.Text +"'"; // Label14.Text = RefList.SelectedItem.Text; SqlConnection con = new SqlConnection(); con.ConnectionString = "Data Source=.;Initial Catalog=Project;User ID=sa;Password=786"; SqlCommand cmd = new SqlCommand(selectSQL, con); SqlDataReader reader; …

Member Avatar for thines01
0
225
Member Avatar for deva89

Sir, I am currently doing a project on "Pharmacy Management System". My question is "Can I used DataGridView to show the items that i have searched and the rest won't be visible??" If yes then can anyone give me the code for search button?? I have used the following code …

Member Avatar for kamilacbe
0
158
Member Avatar for desolatebeast

ok so i need to ask the user for a file to use for the input, then i need to read the input a line at a time, because i am trying to take postfix expressions from the file and evaluate them then return the result in the user's choice …

Member Avatar for v3ga
0
136
Member Avatar for akmal1981

Dear prog wizards, Please help as I am noob at this. I got source code from other website in which I made small changes to cater my need. I have created a database called 'a_database' and table called 'property' using XAMPP 1.7.7 . The columns are 'id', 'Type', 'Price' and …

0
53
Member Avatar for khess

A new version (9.0) of [URL="http://www.postgresql.org"]PostgreSQL[/URL] is in beta and ready for public testing. If version 9.0 lives up to its proposed [URL="http://www.postgresql.org/about/featurematrix"]feature list[/URL], then it is serious competition for MySQL. PostgreSQL proponents have long suggested that PostgreSQL has always enjoyed superiority over MySQL. I beg to differ but that …

Member Avatar for evanx
0
1K
Member Avatar for padmaja527

[code]public partial class Home_AlumniLogin : System.Web.UI.Page { Buildconnection c = new Buildconnection(); public string conn = ConfigurationSettings.AppSettings["dsn"]; public string str = "Data Source=S-90E1F156B1BF4\\SQLEXPRESS;uid=a;database=college"; public SqlConnection con; protected void Page_Load(object sender, EventArgs e) { } protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { con = new SqlConnection(conn); string str = "select ID1 …

Member Avatar for prit005
0
121
Member Avatar for naazsayed

hi, i have a project in my last year and have 2 queries i am using vb.net and sql server 2005 as backend first problem is, i have a search form in which a field called billno is searched and all details are displayed in datagridview but the problem is …

Member Avatar for naazsayed
0
225
Member Avatar for nick_hunk91

I am preparing a Business Management System, in which the user enters the details of purchase and sale, where item number identifies the stock availability. Suppose i purchased item1 as Business Stock, it was not in the stock, it is updated in table 4. But if it exists, i gave …

Member Avatar for BitBlt
0
1K
Member Avatar for Taino

Hi, I am trying to complete this application. just using a simple Array. I have most of the instructions down and included some additional stuff I thought was practical; it seems to work up to a point. I will continue to explain. These are the instructions: 13.13 ( Cafeteria Survey …

Member Avatar for WaltP
0
395
Member Avatar for consc197

I am coding some new forms and i need some help i believe. Here is what i want to do: I have a table called tblComparison - this table has the following columns: [LIST] fldDate fldAverage fldMorning8am fldMorning11am fldLunch2pm fldAfternoon6pm fldNight1159pm [/LIST] The 5 last columns have numbers entered. The …

Member Avatar for consc197
0
243
Member Avatar for siraero

Hi daniweb first of all, sry my english. I have a problem with at update code, I was hoping that U can help me, im new to this. i have a code where i get an id from another page, from update.aspx?id=1 up to 6 ATM. my code works fine …

Member Avatar for Sarama2030
0
204
Member Avatar for consc197

Hello everyone, I have been coding a Reset Login Details form, the user needs to enter the new Username, the new Password and the Current Password. Here is my code below - something in the form is not working as i am getting an error when i fill in the …

Member Avatar for consc197
0
220
Member Avatar for ptsm

hi I have recently set up a website, and I notice it looks fine in Firefox, but in Interenet explorer , its almost unusable, also I noticed that if I try it on wider screens it shows a little better in explorer but still not the way I want, fix …

Member Avatar for ptsm
0
70
Member Avatar for hericles

Hi, I have heard of source forge and github and the like but I was wondering if anyone knew of a site that listed open source projects looking for members - so definitely WIP instead of a released project. I actually found just such site about 2 months ago, after …

Member Avatar for vadriaan
0
128
Member Avatar for deni_bg

Hello people! I have a question. I use windows xp operating system and ms office professional 2007. When I want to import a tif file in Excel 2007 as a hyperlink from Hyperlink button, I succed import the tif file, but when I double click on the link it occurs …

Member Avatar for rubberman
0
272
Member Avatar for Nastadon

So I've used datagrids a few times, but never with a masterpagefile. I thought it would be the same, but it doesn't seem to be working for me... [CODE]<%@ Page Title="Products" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="F._Default" Debug="true" %> <%@ Import Namespace="System.Data.OleDb" %> <script runat="server"> Sub Page_OverLoad() Dim dbconn, sql, dbcomm …

Member Avatar for phoenix911
0
87
Member Avatar for AquaNut

Hi All, Finally getting somewhere with this project and can see the light at the end of a very long tunnel.. I have one more hurdle to overcome so any help in pointing me in the right direction would be greatly appreciated. I have a bound datagrid which I fill …

Member Avatar for AquaNut
0
494
Member Avatar for ilovejava

my objective is to implement an Java to HTML syntax highlighter. The program should works like this 1) It reads in any .java source code file 2) It parses the file for keywords, strings, numbers, etc. 3) It outputs HTML markup of the source code 4) When you open the …

Member Avatar for ilovejava
0
231
Member Avatar for Golffor1

Hello, I have a program where I am using an object array that I declare from a class. I am trying to store information from a text file into this array. I will then be doing other items like searching the array and displaying it into another text file. I …

Member Avatar for thines01
0
855
Member Avatar for parag_dekate

this is the code... I am trying to update a element from login table but it not showing any error massage or any thing execution is error free but finally whenever i check the database its not updated.. i'm using access2007 database with vb 2008.. PLEASE Help me.. [CODE] dbprovider …

Member Avatar for adam_k
0
113
Member Avatar for cummings15

I have a error with a nodeType. I believe it is just one line. The error says "[Linker error] undefined reference to `insert(nodeType*,std::basic_ifstream<char,std::char_traits" and "Id returned 1 exit status" This line is the part of code that i believe is wrong. [CODE]nodeType *insert(nodeType *list, ifstream& inFile);[/CODE] [CODE]#include <iostream> #include <string> …

Member Avatar for r.stiltskin
0
152
Member Avatar for jhoop2002

I am trying to create a web app using C# 2005 where I can upload an excel document, store it in memory and read the contents. I have my code working if the file is saved on the hard drive, but i don't want to have to save the file …

Member Avatar for ashutoshbajpaij
0
1K
Member Avatar for tashiDuks

Hi EveryOne, I have some problem in validating duplicate values while saving & updating my records to SQL database. I have following codes: [B]1. Decalaration Code[/B] [CODE] #Region "Declarations" 'Declaration for Navigation Dim inc As Integer Dim maxRows As Integer Dim ds As DataSet = New DataSet Dim dvEmpDesignation As …

Member Avatar for tashiDuks
0
133
Member Avatar for John A

[B]Introduction[/B] Many people might wonder why you would want to compile source code. After all, most Linux programs can be had by simply opening up their favorite package manager and clicking "install". The package manager does the rest. However, there *are* reasons why you would want to do this. For …

Member Avatar for beeho
6
482
Member Avatar for jackmaverick1

Sorry, but I REALLY don't understand what could possibly be wrong with my code (or maybe it's not my code?). When I run the writeChar(char*,char) function, my program crashes. I really don't have any idea why, as my pointers (I think, I've checked, but I'm not very good at that) …

Member Avatar for Schol-R-LEA
0
351
Member Avatar for weeraa

I've developed a software using VB.Net and SQL compact edition database. (.sdf file) Now i want to add my .sdf file to setup file. I've search internet and create setup file. when i install the software, it is created new folders in program files including my database file and exe …

Member Avatar for lolafuertes
0
241
Member Avatar for shella

Hi guys, I'm not very good with ASP but atually I need to fix some stuff and I'm encountering weird problem when I tried to connect to Access database into my localhost. Actually when I do something like this: [CODE]conn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("/cms/db/cms.mdb")[/CODE] I return this error: …

Member Avatar for shella
0
156
Member Avatar for Rohan rawat

Inside a button link database with gridview . [CODE]protected void Button2_Click(object sender, EventArgs e) { string strSQLconnection = "Data Source=ABC-0D30299B90A;Initial Catalog=JAPIT;Integrated Security=True"; SqlConnection sqlConnection = new SqlConnection(strSQLconnection); SqlCommand sqlCommand = new SqlCommand("select * from Doe_detail", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); }[/CODE] For edit and update …

Member Avatar for vijay_myl
0
279
Member Avatar for kunalraj

hi sir i m kunal raj want to share my problem pls help me my application is like this : i have to search my data from database with some check box and text box when user select check box specific function go on and then when user enters some …

Member Avatar for kunalraj
0
206
Member Avatar for sheennave

[CODE] System::String ^name_string; SqlCeConnection ^sqlConnection = gcnew SqlCeConnection("Data Source=Northwind.sdf"); sqlConnection->Open(); SqlCeCommand comSelect = gcnew SqlCeCommand("SELECT * FROM tablo WHERE id = 33 ", sqlConnection); SqlCeDataReader ^reader = comSelect->ExecuteReader(); name_string = reader["name"]->ToString(); sqlConnection->Close(); [/CODE] What's the mistake on the code above ? :?:

Member Avatar for sheennave
0
128
Member Avatar for naveedqadri

Dear Experts, New to C# , My page is in ASP.Net with C# coding, I am getting this error, while debuging. Your help would be appriciated. ---------- System.NullReferenceException was unhandled by user code Message="Object reference not set to an instance of an object." Source="App_Web_print.aspx.c0a41cfd.e1sjotnx" StackTrace: at ASP.soft_reports_print_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) …

Member Avatar for thines01
0
446
Member Avatar for crc0002

Here is the program assignment: [icode] Graph abstraction is important because it is used in many different areas of science, engineering, computer sciences and software engineering. For instance, the Internet makes use of graphs to represent the Internet router network configuration in order to determine the best route for forwarding …

Member Avatar for mazzica1
0
1K
Member Avatar for Beary21

I'm trying to login to Valve's Steam website, but without any luck my 2 different scripts aren't working. Help please!? Any script I find on the web appears to be outdated. [CODE] import urllib, urllib2, cookielib, webbrowser data = urllib.urlencode({ 'action': 'doLogin', 'goto': '', 'steamAccountName': "****", 'steamPassword': "****", }) # …

0
207

The End.