4,457 Topics
![]() | |
I have created an application using ODBC data sources.it runs on a local machine well. but i want it to run on client machines from central server.the following is the code that i use: dim myconnection as new odbc.odbcConnection("dsn=cleaners") myconnection.open where cleaners is a data source i have manually created … | |
Hi Guys, I am trying to make a connection with Oracle 11g which is installed on a server 2008 BUT have problems with the ConnectionString. Could you please let me know how I set a correct connection String while I have parameters like these: Database name: GISData Server Name : … | |
I have to "re-write" the program that I wrote before. Here is the prompt of what to do: Overview For this assignment, re-write program 7 so that rather than using multiple arrays to hold the player information, it uses a single array of structures. The structure that will be used … | |
Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. … | |
hey i'm planning to display all the datas that is in the database as shown in picture [B]output.bmp[/B]........but i can't print the whole thing in the database, instead i could print only the first row in the database as shown in picture [B]database.bmp[/B]..........can anyone tell me how to print the … | |
Hello, Before I begin, I have had a quick look around for a solution to this problem however time is not something I have lots of right this moment so I am going to post this and hope that by the time I return to complete my work there is … | |
Hi all.... i have found code that displays treeview and listview from database but it is done for microsoft access ... i am try this code for sql sever but end up only in exception,..... can any one modify this code to access the sql database and display the listview..... … | |
anyone help with this? I have a unique id on each line of sql, i want to be able to update a row from a table i tested and tested this but unable to get this working. does anyone know how i am able to do this? [CODE] Dim PINV … | |
I have inherited source code from a project. I am trying to decypher how it all fits together. It uses XAML. The problem is that when I open the XAML files, Visual Studio 2008 does not display it in Design Mode, and when it shows the file in text form, … | |
Hey guys, I'm interested in PHP and was wanting to get better. I figure there is at least a handful of active members who are college students and wouldn't mind learning more PHP. My offer is to create our own, unique, open-sourced educational CMS similar to Blackboard or Angel. It … | |
Hi all, i have a table "Contracts", with fields CompanyNumber, MaturityDate and other fields. i have a form in vb.net, with a textbox that should check if the entered company number exist in my db, if it does it should check whether the maturity date is bigger or less than … | |
Hi Guys, I am trying to list the name of all tables which belong to a selected database from the comboBox1(which is populated from SQL Server 2008).I used the following code but it seems it is just adding all System Tables! to listBox1 instead of choosing tables from selected database. … | |
Okay I'm trying to set up an open file dialog to grab a dll of my choice, then inject it into the application. I know how to use my own custom DLLs, but I also want the ability to make DLLs then use them without modifying the source after run … | |
Hello everyone! Lately I've been working on my own custom CMS and development library for websites. I know that there are A LOT of CMS:es currently out there but the thing is that I've always wanted a simple CMS that doesn't need a lot of dirty tweaks to get it … | |
Hi, I am new to ASP.NET and i have been thrown into the deep end on a project, the person who created this code is no longer available. The website allows an Admin to login and edit, update or delete information in an SQL database referring to PDFs located on … | |
i have the following code which works fine where there is data in the table. when the table is empty and there is no data in the @Ctotal varible i get my error MessageBox.Show("Unable to get Claim Total") is there anyway i can ignore this if there isn't a value … ![]() | |
When I first started working on this article, I was originally planning on reviewing a different product, a new project from Eclipse called Orion. However, it turns out that project just isn't ready for prime time. It's still in a very early stage, and I don't feel I would do … | |
I am trying to display a Crystal Report developed using MySQL database and ASP.NET 2.0 (VS.NET 2005), and for some reason when I pass the database login information to the report it does not accept them (still shows a db login screen). Here is the code: [CODE] Dim cnString = … | |
hi, this is my connection string to connect to mdb file but i'm getting error as remark in red... i create the password using open exclusive method and i generate the p/w. i guess its the way i connect using username and p/w but I have no idea what i … | |
HI, I am trying to write a script to find some mp3 file in some sites. But the code doesn't give any result. any help please ? [CODE]#!/usr/bin/python import sys,os, re, urllib2, socket ,string if sys.platform == 'linux-i386' or sys.platform == 'linux2' or sys.platform == 'darwin': SysCls = 'clear' elif … | |
Hi. I'm having a problem to pull data from MS Access to my combobox. I know how to search one data using another data (e.g: using IC num to search name) but this time I just want to pull the data (e.g: name) that has several rows to my combobox. … | |
my code is working fine, but the output shows for example 12345.000 i would like to only show the data before the .000 is this posible? [CODE] Private Sub GetCurrentJanVOL() Dim con As New SqlConnection Dim cmd As New SqlCommand Try con.ConnectionString = "Data Source=" & ServerV & ";Initial Catalog=" … ![]() | |
Hey, I've been looking around internet for open source autction/bidding system. But with not much luck. Maybe there are some shopping cart system that can be tailored to this need ? (zen cart, magento) I wont need much. However, it would be nice if users could log in add add … | |
i have to show data in datagrid using store procedure...but remember...i m using store procure in seprate class so i m facing difficulties.. how to do it.. thats my class coding... but how to pass it in main form? public Searching() { Myconnection = new SqlConnection("Data Source=.;Initial Catalog=Bahria_Managment;Integrated Security=True"); } … | |
Hi. My problem is, the data that I pull from the database, when try to multiply it, it didn't multiply. The database has Fruit and FruitPrice column. When select fruit form the combo box, it will search the price. But I can't seem to multiply it. The price is display … | |
[URL="http://www.appcelerator.com/"]Titanium[/URL] is an open source package that brings a bunch of development options together into one place. It allows you to take one set of code and deploy it on: [LIST] [*]Windows [*]Linux [*]Mac [*]Android [*]Iphone [/LIST] Even better, you don't need to learn a new language. The development is … | |
Hi, I want to create rss file in php. Everything works fine except one thing: Link of rss <item> is [url]http://www[/url].[first_part]listingID=BC7486705&idxID=089 . Link is OK, but items are not shown when xml is open. I looked at source code of created xml and part idxID of every link in marked … | |
Hello am trying to do this program as my project.and i was able to fix lots of errors but this few errors i do not know what to do. as my 1st and last semester for programing, am not really good in this subject. i added the errors list hope … | |
Hello every one, I have small problem. Can any one tell me how to get the url from an anchor tag dynamically. That is when i click on link the next coming url i need to send to a script can any one help me... My problem is when i … | |
can anyone tell me what's the wrong in the code.............when i run this........the updation is not working [CODE] string sq1; SqlCommand cmd1; SqlDataReader rd1; SqlConnection cn; cn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=J:\\Rcar\\motion\\db_image.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); cn.Open(); sq1= "SELECT * FROM Customers"; cmd1 = new SqlCommand(sq1,cn); rd1 = cmd1.ExecuteReader(); //while (rd1.Read()) // … | |
Hi, I am looking for a good PHP open source events calandar. I want to be able to intigrate it into my own CMS solution, have some events shown on the homepage and links from within the calendar for people to click on an event then read more details of … | |
K I just got this Idea that I want to implement into a program I downloaded. Yes the program is open source but I dont wanna compile it, I just want to sort of Inject?.. What I want to do is add a button to the program and have the … | |
guys i am having problems with my jquery code . the slider that has the words "portfolio , service , contacts" etc . doesn't seem to be working here is my site here [url]http://homejobsinc.t35.com/test2.html[/url] here is my source code [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" … | |
1.I am wondering since the kernel is open source, how can RHEL ask for money? Why is it legal to charge since it's based on open source code. 2.If I wrote a prgram based on GPL software or library, can I ask for money and didn't distribute the code?Is there … | |
i have the following code that isn't working correct [CODE] Dim con As New SqlConnection Dim cmd As New SqlCommand Try con.ConnectionString = "Data Source=" & ServerV & ";Initial Catalog=" & databaseV & ";Persist Security Info=True;User ID=" & usernameV & ";Password=" & passwordV & "" con.Open() cmd.Connection = con cmd.CommandText … | |
[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * VideoStreamingform.java * * Created on 29 Mar, 2011, 7:01:42 PM */ package audivideotransmit; import javax.media.MediaLocator; import javax.swing.JOptionPane; /** * * @author ajay */ public class VideoStreamingform extends javax.swing.JFrame { … | |
here table is creating but the values is not inserting [CODE] private void button_Click(object sender, EventArgs e) { SqlConnection cn; cn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=J:\\Rcar\\motion\\db_image.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); if (cn.State==ConnectionState.Closed) { cn.Open(); } SqlCommand cmd; string sq1; sq1 = "CREATE TABLE [" +Box1.Text+ "] (name CHAR(50) PRIMARY KEY," +"id CHAR(15), … | |
[CODE] SqlConnection cn; cn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=J:\\Rcar\\motion\\db_image.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); if (cn.State==ConnectionState.Closed) { cn.Open(); } SqlCommand cmd; string sq1; sq1 = "CREATE TABLE [B]"+TextBox1.Text+"[/B](myId INTEGER CONSTRAINT PKeyMyId PRIMARY KEY," +"myName CHAR(50), myAddress CHAR(255), myBalance FLOAT)"; cmd = new SqlCommand(sq1, cn); try { cmd.ExecuteNonQuery(); MessageBox.Show("Table Created"); } catch (SqlException sqlexception) … | |
I create website on asp.net, is name ExpenseReport First, I create 'DBConnect' class in App_Code by using namespace ExpenseReport [CODE]using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; namespace ExpenseReport { public partial class DBConnect { private SqlConnection objConn; private SqlCommand objCmd; private SqlTransaction Trans; private String strConnString; private … | |
This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, … | |
Please I just want to start VB.NET what are the tools I need, are there any open source tools that can be used, which books can I use, And other things I need to know as a beginner. Thanks in advance | |
Hello I tried a lot however I have not been able to update data entered in the datagridview into the database table Any suggestions [code] Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim icount As Integer Dim datagrid1 As New DataGrid Dim da As OleDbDataAdapter Dim ds As … | |
This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, … | |
Hello, I'm triyng to connect a camera to a VMR9 filter and I do the following: Create the filter graph Create the VMR9 filter Add the VMR9 Filter to the graph Create the video source filter and add to the graph Create an instance of capturegraphbuilder2 and reference it with … | |
Hi guys, I'm new here and in dire need of help for a problem that I've worked on hours. I created a table 'tblProductCat' in the webform and wanted to populate the table with the code below: [CODE]Imports System.Data Imports System.Data.SqlClient Partial Class ProductCategories Inherits System.Web.UI.Page 'Define DA and DS … | |
hi , i given code for password validation which retrieve the data from oracle table.... it was validating the first record alone... its not validating the next records... help me to validate ... ............... Option Explicit Dim ac As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() If … | |
Hi, I am changing the sql database to database access (.mdb). The problem is when i run my application using sql connection its work well and all the tables are updated but when i use mdb connection it update some of the tables and few other table it does not … | |
I have this litle problem, which is propably very futile, but still I cant't find the solution. I have this function which scans a directory for all kinds of files and returns all the filenames with the right extention. After that I cut of the directory string, put it into … | |
Hi All I am having a problem that's driving me crazy. I've just moved a .Net 2 website to run on .Net 4. The conversion went without any problems and everyting runs well on my development machine in both its raw and built forms. But... when I move the site … | |
Hi i have a program in which i want the main form to get information either from the login form or from the sign up form depending on which one is used. Here is the code below. The information does not seem to appear although there is no error. Please … ![]() |
The End.