4,457 Topics
![]() | |
I consider myself a very patient guy with a whole lot of determination to get things working within say, a program i'm working on. However, I feel that I am only wasting precious time that I could be using to actually gain knowledge in something rather than hitting my head … | |
Hello Friends....One more doubt... I have a connection module in which I have written the open and close database connection.... if database connection is an error it will return false else if success it will return true the function of the modules will be called from the form code.... what … | |
Imports System.Data.SqlClient Imports System Imports System.Data Imports System.Collections Imports System.Windows.Forms Imports System.Resources Imports System.Data.OleDb Imports System.Drawing Imports System.Net.Mail Imports System.Configuration Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports System.Web.UI.HtmlControls Public Class Form1 Inherits System.Windows.Forms.Form Dim counter As Int32 = 0 Private Sub Form1_Load(ByVal sender As System.Object, ByVal … | |
Simple Sound Player Goal The goal of this assignment is to implement a simple sound player. The application has been partially implemented, and you need to complete the missing bits. When you open the project, you will see the class structure depicted below. Three of the classes are fully implemented … | |
Hello and Good day. I wanted to create a simple login / logout script in php. I have tried/copied all the available tutorials here in the web but I seem to have the same problem to all the scripts. Everytime I hit the login button i get redirected to a … | |
Hi, I have a problem finding a textbox control which is within panel and this panel is within datalist control. I would like to get textbox.text property and I tried several ways but I always get empty string "" although textbox contain some text in it. My code is below: … | |
How to delete a row from grid view using connectivity code. con = new SqlConnection("Data Source=SPICOM15-PC;Initial Catalog=Student;Integrated Security=True;Pooling=False"); Label lblstid = (Label)GridView1.Rows[e.RowIndex].FindControl("lblId"); TextBox txtname = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtname"); TextBox txtclassname = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtcity"); TextBox txtemailid = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtEmailId"); cmd.Connection = con; cmd.CommandText = "Update Information set Id='" + txtid.Text + "',Name='" + txtname.Text + … | |
![]() | Hi All, I've developed a site for a small to medium sized company. The current website is only 3 months old. After attaining much success, the company has plans to expand its site. This is great for the business, but is a bit of a pain for the web developer … |
Hi, I am trying to check if the username entered by the user in the textbox exists in the Access database I am using. For some reason, I am unable to get this correct. My code is as follows: Protected Sub btnRegister_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles … | |
Good afternoon, I'm having somee trouble with a functional application, the only thing missing is switching the motion regions with an image. Any help is higly appreciated. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.Text; using System.Windows.Forms; using System.Threading; using AForge; using AForge.Imaging; using … | |
I need help creating a form for a project. I'm open to HTML5 , Jquery , Javascript but I will need this to be compatible with Iphone/Ipad/Android. I need to create a form with a text field. Only 7 digit model numbers will be typed into the field. Based on … | |
I have read plenty articles on Bool methods that have problems returning a value and i have been having the same problem except I cant see anyway around mine. public bool GetAdministrators(string userName, string password) { SqlConnection conn = new SqlConnection("Data Source=(local); database=ManagementNAV; Integrated Security=True"); SqlCommand cmd = new SqlCommand("GetAdministrators", … | |
i m trying to make a multiple level slide in-out menu in juqery.. i m able to open one div.. but not able to hide open div and show the clicked one.. this is my work.. click menu1 only working.. when i click menu2 everything goes work.. please have a … | |
anyone can help? i want to check whether the data has been exist or not. but its shows some error in this code. error :No value given for one or more required parameters. Public Sub doSave() Dim con As New OleDb.OleDbConnection(My.Settings.KK3DB) Dim cmd As New OleDb.OleDbCommand Dim adap As New … | |
Hello xD First : Im new to c# stuff Im having some windows form app. I read data from datagridview(iv puted in from table..works fine) and i should write it to table in database.. My insert statment doesnt do nothing.. private void button3_Click(object sender, EventArgs e) { int amorplanid = … | |
Hi all, I am designing a log in page and every day i face a new problem :'( The code now is working fine but i want to add exception to check if the Login Id and the password are not exist in the DB table I tried to put … | |
Hi again guys... Right, Having issue with a ADODB connection as I have never used one before. Currently trying to read files out of a folder using the ODBC connection that comes with the Software I want to extract data from. I have managed to get the connection to the … | |
Hello all :) I am still a beginner at ASP.NET and VB.NET so I could use all the guidance I can get. So thanks in advance :) I am building a web application using Visual Web Developer as the IDE and Microsoft Access as the database. The application allows users … | |
i have problem with query the database. i want to add data into two table that share same Primary key. here my code error message :The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the … | |
Hi all, I am using DataReader for the first time and i faced more than one error and this is the last one ((Index was outside the bounds of the array.)) and it's point to this line Dim result As Data.SqlClient.SqlDataReader = dr(Data.CommandBehavior.CloseConnection) I think I have problem with closing … | |
![]() | By opaque binary i mean so that people cannot see the source code if they open the file in their text editor, so instead of seeing: print "You cant see me!" it would be something like: "0101010001010101001001010" And yes, i am trying to do this with python. |
I have created an application in C#. I want to make it copyright protected / license. I want my application to be freeware, and not open source. From where and how to obtain the software license? Please help!! | |
hi, I prepare for a project for LAN monitoring,and I want to display hosts connected to the network with a jTree( the name or the adress of the machine),I do not know where I can start,is there any open source software that allows making something similar and thanks for help | |
Hi guys, I have an issue with the code I've written in C# where the listview will connect to the database without a problem but it will only populate the 1st row of the table BUT.... it will duplicate it for the exact amount of records I am expecting to … | |
Hi All I am working on a html parser 'selenium webdriver' and on one of the pages I found an image with text on it.The page contains other information as well. I tried to see the page source if I can extract the text on image using webdriver but I … | |
I have been searching for the answer for 2 months, but still no success. Below the setup and connection string and all checked already. Firstly my errorlog file error = 18456 Severity 14 State 11 (Login failed for user OLDPC/GUEST. Token based server access validation failed with an infrastructure error. … | |
Hello, I have a HTML file, as well as I have an excellent program that can print anything to PDF. Although I have a HTML document with frames and I'd like to convert it to PDF but with the navigation links within the HTML transfer to the PDF. Does anyone … | |
Hello: I have a bit of an interesting delima: I have a form with select box which is dynamically db populated and based on the first selection, additional data populates two other linked boxes (a input and a textarea). This process happens in a table row. here is the source … | |
I can't add infromation to my Projet.mdb ! please help me ! this is my code Try Dim ConStr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = C:\projet.mdb" Dim Save As New OleDbCommand Dim Conn As New OleDbConnection(ConStr) Save.CommandText = "INSERT INTO Client(Nom,Prenom,Adresse,Téléphone,date) VALUES(@p1,@p2,@p3,@p4,@p5)" Save.Parameters.AddWithValue("@p1", TextBox1.Text) Save.Parameters.AddWithValue("@p2", TextBox2.Text) Save.Parameters.AddWithValue("@p3", TextBox3.Text) Save.Parameters.AddWithValue("@p4", … | |
Hi all, I'm trying to get some values from my database using data reader. Its my first time in using dataReader and I have this error "Value of type 'System.Data.SqlClient.SqlDataReader' cannot be converted to 'String'." My code Public Sub LogIn(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim … | |
[COLOR="Red"]Hi all, I'm in my final year and I'm supposed to do an IT Project Managment Assignment. I have little knowledge in IT Proj. so I need your assistance and guidance to put me on the right track. Some points and hints from you will make my life easier. I … | |
 I was tired of always looking for a way to underline labels like in Windows property dialogs. I created this little control that allows you to set a two-tone line above, below behind or in front of a label (even through it!) to solve that problem. The image … | |
I am downloading content from a web source using URLDownloadToFile winapi function All is well, with that, the content is downloaded to the correct path. My probems start when I try to read it, like below, the loop never exits. myReadFile.open(sFile); if (myReadFile.is_open()) { while (!myReadFile.eof()) { //code; } } … | |
Here is the code copied from w3schools ([url]http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_suggest):[/url] [CODE]<html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState == 4) { … | |
Hi. I am having connection issue while connecting to using below string provider=IBMDADB2;Data Source=XXXX.XXXXX.COM:5000;Database=C2RCU0;Uid=s858;Pwd=cccc Getting error like database not found. But What i found was connection to mainframes it self was not happenning. Do i need to provide any other information or what i am missing here.. sConnection As String … | |
Hey,,I tried the following code to retrieve data from an excel file,apply query and save the result of query to another excel file. Now there are two problems: One,I am getting the required data but some reduntant unwanted data too. Second,It only works if the excel file, from which the … | |
Hi, I created an application which allows a user to capture screenshots and save them as images at a pre-defined location. Now, I want to insert the saved images to a word document. I am aware of Apache POI, but that is still under development and it seems that you … | |
Hi, I am using MS-Access 2003, VB.NET 2008, I am able to select and delete recordes. But how can I move between records? Imports System.Data.OleDb Class Window1 Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles … | |
I've added a needed feature to my program where the user will move their completed forms to the network drive. Currently the program finds all associated files in the source directory and then moves them, but I was wondering if there is a way to move only selected files or … | |
haii I an trying to connect to openfire server from a remote system that is not with in my LAN.I got an error that server not found. I tried both by using IP address and server host name but the same error. Is it possible to connect to server from … | |
i have an error in a Button click : Dim ConStr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = C:\Users\amine\Documents\projet.mdb" Dim Conn As New OleDbConnection(ConStr) Dim Save As New OleDbCommand("INSERT INTO Client(Nom,Prenom,Adresse,Téléphone,[date]) VALUES(@p1,@p2,@p3,@p4,@p5)", Conn) Try Save.Parameters.AddWithValue("@p1", TextBox1.Text) Save.Parameters.AddWithValue("@p2", TextBox2.Text) Save.Parameters.AddWithValue("@p3", TextBox3.Text) Save.Parameters.AddWithValue("@p4", TextBox4.Text) Save.Parameters.AddWithValue("@p5", DateTimePicker1.Text) Conn.Open() If (Save.ExecuteNonQuery()) Then MsgBox("Ajout réussi … | |
Here is a class to SQL use an access database: Class MyDB Public DBName As String Private con As New OleDbConnection(ConStr) Sub New(ByVal DBN) DBName = DBN End Sub Private Function ConStr() ConStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DBName & ";" End Function Private Sub ConInit() If con.State <> ConnectionState.Open Then … | |
Please help me with my database connection. It says that I have an error with my Insert Statement. Imports System.Data.OleDb Public Class Form1 Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim connection As OleDb.OleDbConnection Dim mydb, mystr As String Dim dateFiled = Date.Today Dim user … | |
Dim cmd As OleDbCommand = Nothing Dim smd_search As String = "select * from Old_info where UG_PG='BSc'" Dim con As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\Bavu's\project\vb files\dms\SPA_Database.accdb") Dim myDa As OleDbDataAdapter Dim mydataset As DataSet cmd = New OleDbCommand(smd_search, con) myDa = New OleDbDataAdapter(cmd) mydataset = New DataSet() Try If con.State … | |
I need any Open Source Sentence Grammar Corrector for one of my projects. I searched it on Google but couldn't find any. All the results coming link to only Grammar Checker tools only not grammar corrector. Please suggest me any open source tool which can correct the grammar also or … | |
Hi friend! I want to get the code which helps daniweb to show the preview of every site/link it gets. For example let me give a link [here](http://www.google.com) whenever i hover my cursor to that link,it shows me a preview of that site. Can you give me the code which … | |
Hi friend! I wanna create my own online sms site. But I stuck with something. That is, i got an open source gateway called [kannel](http://www.kannel.org) But what I want to know is,what are the key ingredients for an online sms service. I mean the stuff i want to create online … | |
Hello Friends, I m Developing an windows form application. i have a winform on which i have datagridview and i am saving the data to Sql Server database from datagridview directly . i m using the following code for connecting & saving data of datagridview to database using button click … | |
`Public Class login Dim cnn As New OleDb.OleDbConnection Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim cmd As New OleDb.OleDbCommand If Not cnn.State = ConnectionState.Open Then cnn.Open() End If cmd.Connection = cnn If cmd.CommandText = "SELECT UName FROM Account WHERE UName =" & Me.UsernameTextBox.Text Then … | |
Hi All, I am using Visual Studio 2010 and for my database I'm using SQL I am trying to make a multi user login and valdate the input with my datatable the problem is that i made a login page but it's just check the username and the password but … |
The End.