4,457 Topics
![]() | |
can any1 help me to connect my project to ms access database. i'm a newbie in vb.net. this is my code in vb6 to connect to the database can any1 help me to do it vb.net..hope sumbody can help me.. this is how i do it in vb 6 1. … | |
This is my Default.aspx.cs using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { … | |
I found some open source code written in C that does most of what I want for a project and am having some trouble making the modifications I need. I am hoping the solution will help me better understand pointers and memory allocation as well. The original code takes in … | |
Hi Folks - I have been spending gays spinning my wheels on getting some form validation to work - I have text boxes and radio buttons on the form - The validaiton is written in Javascript It is an ASP web page - It seems that the Javascript validation code … | |
hello .. here is main.txt and extra.txt. i scaned my system because windows explorer, iexplorer and winamp errors started to appear more often then usual. and when last night i started to render image in 3dsmax (and vray), i needed to restart computer - windows has stopped and this message … | |
Hi there. I'm new to Python. I started learning it 3 days ago. I've figured out everything by myself so far, but this is stumping me: Whenever I load a file such as a html document or a text file, it loads fine. But when I load this gif or … | |
what it is, i have saved data on a previous form into the database as words, but then i convert the words into its own unique ID. thus i want to load the data in another form, but i want to load the name of the item, not the ID. … | |
I want to run the following code. Its giving error as "Fatal Error" not able to open 'print.hpp' . No such file or directory.. I didn't understand what is #include "print.hpp". what type of file it is. shall we have to write this header file before executing the program. [code] … | |
I need to write a small program which collects (20-36 string) data from several com (serial ports) and sends them out on one. For example com2,3,4 to com1. It should be on Windows Xp workstation. (It is possible that I will do it later on linux, it seems to me … | |
Hi to all! What is the worlds biggest .NET open source project? is it NASAs World Wind project? Regards, cyberjoe | |
Hi there, Do you guys know any good software that I can use to manage passwords. It would be great if it was open source, but I wouldn't mind paying for it too. Basically I want to store: - linux server passwords, root password, linux user passwords - mysql passwords … | |
Hello, I am a java developer (with a few years experience). I have just been assigned my first C# project. So far I have only written UI in java (Swing), coding by hand. I have found this to be easy and manageable. When I opened Visual Studio (not for the … | |
I'm having a bit a of a problem writing to a spreadsheet using OLEDB. I can insert fine, but all the number i insert come up as strings in the spreadsheet. I tried converting to a double using Cdbl() however the number still shows up as a string. Here is … | |
I'm having issues with my 3d programs mostly, especially games. a few days ago, they suddenly started getting about 1-2 fps, while reporting that they get 12-15 fps, which is considerably lower than what they had been getting. I haven't installed anything for some time and assume that something is … | |
Hi there I am creating a system where I link a .net app to a oracle db and am currently working on linking it to the database so that I can add new users for oracle here is my code: [CODE]Imports system.Data.OracleClient Public Class Form1 Dim OracleConn As New OracleConnection … | |
[code=ASP]<html> <title>CodeAve.com(Create Excel on Server)</title> <body bgcolor="#FFFFFF"> <% accessdb="a" cn="DRIVER=Microsoft Access Driver (*.mdb)};" cn=cn & "DBQ=" & server.mappath(accessdb) Set rs = Server.CreateObject("ADODB.Recordset") sql = "select id,empname,phone from empp" rs.Open sql,cn rs.MoveFirst file_being_created= "states.xls" set fso = createobject("scripting.filesystemobject") Set act = fso.CreateTextFile(server.mappath(file_being_created), true) act.WriteLine("<html><body>") act.WriteLine("<table border=""1"">") act.WriteLine("<tr>") act.WriteLine("<th nowrap>id</th>") act.WriteLine("<th nowrap>empname</th>") … | |
this the the code for inserting data in a database [CODE]Dim cn As New Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & Server.MapPath("database.mdb")) cn.Open() Dim cmdr As New Data.OleDb.OleDbCommand cmdr.CommandText = "SELECT [Customer_ID] FROM [Customers] WHERE FirstName LIKE '" & User.Identity.Name & "'" Dim id As Integer cmdr.Connection = cn id = System.Convert.ToInt32(cmdr.ExecuteScalar()) Dim … | |
I have a parent form that has a combobox. Whn the form loads I get the data from the db and bind to the combobox. that works fine and here is the code I use in form load to cause this to happen: [code] conn.Open() cmd.Connection = conn da = … | |
Cool that worked, maybe you could help me with the overall problem also. I am trying to insert a picture into my database. Now that I have the invalid column name solved I have another error. The error is stating that I cannot insert a null into the column and … | |
[code=cplusplus] //I got almos this program done, it gets the apropiate result skipping some steps. //How do i pass the "int diff" to the "printText function". diff is the largest elemt or the //more repetitive letter from a text file, where the alphabet was shifted by 12. //Also, The largest … | |
Can someone recommend a good, reliable open source PHP script that allows for a user to login with a username and password/id. I want to allow a user to enter his/her username and password, where the password pulls specific data from the database, such as all the data with a … | |
Well I made it through my first semester of an MSCS. Almost. This summer I want to build a game. I am trying to understand a little bit of the history of Windows graphics and am a bit confused. There's WinAPI. There's OpenGL. There's DirectX. As I understand it, OpenGL … | |
[code] // The "DTfiveint" class. import java.io.*; public class DTfiveint { public static void main (String[] args) throws IOException { BufferedReader five = new BufferedReader (new FileReader ("five.txt")); int multiply[] = new int [5]; for (int i = 0 ; i < multiply.length ; i++) { multiply [i] = Integer.parseInt … | |
Hi, I hope someone can provide some answers for me. I have a large application which creates an Access MDB and tables upon certain conditions. The problem is that the application does not release and close the Access MDB. I do not understand why. Desktop: Windows 2000 Access Drivers : … | |
Hi guys ! I'm currently reading "Programming Ground Up" by Jonathan Bartlett ([URL="http://www.amazon.com/Programming-Ground-Up-Jonathan-Bartlett/dp/0975283847/ref=sr_1_1?ie=UTF8&s=books&qid=1211474405&sr=8-1"]Amazon[/URL], [URL="http://savannah.nongnu.org/projects/pgubook/"]Book's page[/URL], [URL="http://download.savannah.gnu.org/releases/pgubook/"]Download Book[/URL]) The program toupper.s in Chapter 5 frustrates me to some extent :-) It's working fine, no problem. But There's a certain part, I just don't understand. Where does the computer know to start … | |
Hi All, I am using AJAX to load content into a particular div on my webpage (it is a script from dynamic drive - [url]http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm)[/url]. I am also using another script created by [url]http://www.cabel.name/2008/02/fancyzoom-10.html[/url] to zoom out the screenshot/s that appear in the dynamically loaded content. Unfortunately, the fancyzoom script … | |
I keep getting this error and I can't figure out why. Here is my code: <% set conn = server.createobject("adodb.connection") set rs = server.createobject("adodb.recordset") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("/data/newsleepermedia.mdb") & ";Jet OLEDB:database" rs.open "select * from Prices WHERE id=" & request("idnum"),conn,3,3 if not rs.eof then do while not rs.eof response.write … | |
Hi! I don't have access to office on the server. Does anyone know an open source way to generate an xls file for download? Or is there any way of generating a file that upon download will auto open into excel? Thanks ramil | |
I am trying to setup a classifieds script. I think I am getting close, but I have one issue. When I try to open the page, it opens but only displays the first part of the page. If you visit [url]www.clairson.com/ocalads[/url] you can see what it is doing. If you … | |
Thank u so much for sending this code,and i appreciate it so much.But i need to be able to move foward by getting thesame code that will save into the database,Others conversion i used were'nt working.Pls help me with the code that will save in to the database(SQL server) with … | |
i am developing a project so it involves working with picture.i have a code in vb6 that can retrieve image from the sql server,the code is this.And i need exact of such code that will be able to save into the DB,to avoid disparity in the binary conversion. Dim CN … | |
I have some webspace that I used so far for university assegnments. I would like to to convert it to blog website where I will place some rants, codes and some maybe for somebody interesting info that I find along the research path of my MSc project. Website will be … | |
Hi all, After I open a connection between an Access database and my project I try to drag the database node onto the Windows Form but it always fail I am not able to create an OleDbConnection to the data source. How this problem can be solved? regards Khaled | |
I haven't been on the forums for over like 20 days because I have been busy with things, and then my internet died. Not that anyone cared, but I'm just saying this so Vmane won't think that I just copied his code solution and ran away if he stumbled upon … | |
Whenever I open a page with urllib or urllib2 (file = urllib.urlopen(urllinkhere)) and when I print it, I get this: [IMG]http://i121.photobucket.com/albums/o229/Shadow14l/boxes1.gif[/IMG] See all the square boxes? Unknown characters or something... Well they are and represent the returns (new lines). If I saved this to a text file, all the boxes … | |
[CODE] #!/usr/bin/python #SQL Table/Column Fuzz #How to use this tool: #In this script you can test Tables, Columns or #Both. # #For your site argument set TABLE,COLUMN or both for #which ever you want to test. #Example: #./d3.py www.site.com/shop.php?id=-1+union+all+select+1,COLUMN,3+from+TABLE-- # #Add the errors you receive to the ERRORS array. # … | |
hi, I am having some troubles while trying to connect a database which uses mssql server. Every attempt results with the error "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." [CODE][INDENT]OleDbConnection conn = new OleDbConnection();[/INDENT] conn.ConnectionString = "Provider=SQLOLEDB;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=voters;Data Source=T_YALTHIS\\SQLEXPRESS;Workstation Id=T_YALTHIS;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use … | |
I get this error message when trying to open my 2002 access database using MS visial Studio 2005 "System.IO.FileNotFoundException was unhandled" using the code below Imports System.Data.OleDb Imports System.Console Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Source=C:\temp\MIRC\CCC_DATA.mdb;Persist Security Info=False") cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\temp\MIRC\CCC_DATA.mdb;") cn.Open() | |
Hello all, I am writing a script that is supposed to do a few simple things: 1) Start a single outlook if one is not running (Which looks to be fine) 2) Open a specific exchange server message, in outlook. This thing keeps returning the error: vbscript runtime error (3) … | |
After several days, red eyes, sleepless nights and gray hair, I _still_ can't get swf to cooperate. I've tried both loading the pure .swf, and encapsulating it in a separate .html page (01.swf and 01.html) Still, the script I'm trying just sits there. The audio is a self-esteem message, that … | |
1) How do I tell if I have java 5 or java 6 installed? 2) I have my program commented using javadoc syntax. However, when I run javadoc from the command prompt and then open the html files, I do not see any documentation. What am I doing wrong? For … | |
Hello, I'm looking for a Form Processor in PHP with advanced features (ex: ability to save form data inside a CSV file, autoresponder, ability to use reCAPTCHA services...). Do you know a good one? (preferably an Open Source project, GPL/Freeware) Thanks, Chris | |
Hi All I am trying to use VB to access a query in a MS Access Database and pass in a variable to run this query storing the query results in a recordset in VB. I am not very sure this is possible. In other words I am using vb … | |
hello to everyone i have a program that can update the data that you've edited in the gridview design the problem is whenever i have 3 records in my database and i edited one of them in the grid view all of them gets updated.. can anyone help me with … | |
Hi all. I have a login Form where user can insert Nickname & Password. I have a database where i have listed new registered user and store their information. The problem is when I control the Form data "pass" and check if it's equal to the rst("pwd") into the database. … | |
[code] 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; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet … | |
I'm trying to set permissions in mysql for an ecommerce open source application (freeway) for a path: Set the permissions on Freeway/images directory to 777 in my terminal I have typed: chmod 777 /Sites/Freeway/images but it is telling me that "no such file or directory exists", and yet when I … | |
Hey, I am currently having some problems with VB.net and MSSQL. I'm trying to create an application to learn more about VB.net, I decided to create a simple login system for the application (like the ones they used in distributed applications which have a centeral SQL server). I have come … | |
[code] 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; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet … | |
[code] 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; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet … |
The End.