5,053 Topics
![]() | |
Hello, I'm a newbie working with vbnet but i'm trying to create a project were I enter a name in a textbox and save it to a access database. I'm trying to create the OledbConnection but i'm getting this error: "oleDbException was unhandled" this is the code i'm using: [CODE]Private … | |
Hi i could not specific Record from my binary file. This is the method to list out all records. [code] int student :: showall(fstream &fp) { student rec; fp.seekg(0,ios::beg); int i=0; cout<<"Position\tRoll No\t\tName\tBalance"<<endl; while(fp.read((char*)&rec,sizeof rec)) { cout<<i*sizeof rec<<"\t"; rec.show(); i++; } } [/code] While running this i got the below … | |
![]() | Main Form = Frm_Engineer_Search Sub Form = Frm_Engineers Frm_Engineers populated by Tbl_Engineers I've been trying to link together a textbox with a subform so when a surname is entered into TxtSearch and CmdSearch is click it will run a query/refresh the subform displaying the correct record which correspond to the … ![]() |
I cannot believe how loooooong i have been searching the internet for this. However i have a form that i have created in Visual studio 2010. I have 3 text boxes for FIRST NAME, LAST NAME and NOTES. I have 1 button to submit data. When i click the button … | |
The HP Compaq Elite series of business PCs has an extremely wide array of available towers all focused on delivering the computer power needed to run your business. After our recent review of the [URL="http://www.daniweb.com/hardware-and-software/pc-hardware/motherboards-cpus-and-ram/reviews/387133"]8200 Elite Ultra-Slim PC[/URL] we were excited to see what else the line had to offer. … | |
Hi..this is my coding. Its compiled successfully. But i could not get my result. I don't know whether the data stored in the file successfully or not. Please Help me. [CODE] #include <iostream> #include <fstream> #include <cstring> using namespace std; struct status { char name[80]; double balance; unsigned long account_num; … | |
hello guys in daniweb. i have a application windows based created in vb.net that contains crystal reports and access .accdb files. to be honest i have tried to publish this app for 11 times and still there to be some problem. the application will install but it cannot run. it … | |
I’m trying to create Web Application using ASP.Net via Visual Studio 2010. The Database that I use is Access, with connection Method OleDb When using the query “Update” or “Delete”, the programs shows no errors, but the data in Access does not change. While for query “Select” and “Insert”, the … | |
[CODE]<html> <head> <title>Applicant Login Page </title> </head> <center> <body bgcolor = "#000000" text = "#70db93"> <h1> Passport System <hr> </h1> </center> <form> <p> Fill in the form below. </p> Title <input type = "radio" name = "response" value = "Mr" checked = "checked"> Mr <input type = "radio" name = … | |
![]() | I've created an append query to move records from one table to another. Am i right in thinking it should move the records then delete them from the previous table? If so then for some reason its not working for me. Using MS Access 2003. [ICODE]INSERT INTO Tbl_Job_Temp SELECT Tbl_Job_List.* … |
Hi there.! I've been working on our Software Analysis Development project for how many days and sleepless nights, the application is an Online Shopping. I'm using Microsoft Visual Studio 2010 as my environment, then I used C# as language for the site. I used Microsoft SQL 2008 R2 as my … | |
i am just developing a library management system as one of my project. i using vb.net 2010 and the MS Access 2007 as back end. when i save some records into my database through my application it is correctly saved and i confirmed it through opening the relevant table in … | |
Hello, as anyone reading this might have guessed I need help. And please forgive me for making it long. [COLOR="Green"]You may skip right to [B]Found Half of a Solution[/B] if you don't want/need the background of my problem.[/COLOR] [B][U]Why and What[/U][/B] I am developping for a client an Excel worksheet … | |
Please help, something is wrong. I've been running Malwarebytes and AVG daily but something still seems wrong. My taskbar is beige as I type this and sometimes my speakers stop working. I don't have the malwarebytes log because I ran it before coming to this forum. Also when I ran … | |
Hello all! I'm helping my employer redesign their database system. They're currently using MS Access exclusively, but they are updating their computer systems to Apple machines and want to convert to a standalone application to access a background database (e.g., a standalone Java program using JDBC to access a background … | |
I'm using Visual Studio 2010, Win 7, MS Access 2010, C++, Direct ODBC, 32 bit. The first SELECT statement executes. The INSERT, SELECT, SELECT and UPDATE statements don't nay help is appreciated. Thanks. [CODE] #include <windows.h> #include <stdio.h> #include <sqlext.h> const char* DAM = "Direct ODBC"; SQLCHAR szDSN[256] = "Driver={Microsoft … | |
[CODE]#include<iostream> #include<fstream> #include<string> using namespace std; #define months 12 #define temps 2 void getData(int [months][temps],int,ifstream); void testcout(int [months][temps],int); int main() {int y=0; string skipwrd; int mainArray [months][temps]; ifstream in_data; ofstream out_data; in_data.open ("C:\\Users\\Worker\\Desktop\\Ch09_Ex09Data.txt"); getline(in_data, skipwrd); getline(in_data, skipwrd); in_data>>skipwrd; getData(mainArray,y,in_data); y++; getData(mainArray,y,in_data); } void getData(int locArray[months][temps],int x, ifstream locin_data) {int z=0; … | |
Hey guys.. this isn't a coding qs... my php cant read any of my mysql functions... eg. mysql_connect, etc.. everything else in my php works... but even if i echo after mysql_connect it wn't print, but if i echo before it will... its not a coding problem because it works … | |
This is problem that I have struggled with for some time, but im sure the answer is very simple... I have a sub report that performs calculations on 2 fields ( [Rate] [Hours Worked] ) from a table called [Hours]. The report is GROUPED by [Rate] and is as follows: … | |
All, I can't seem to find anything on the web about how to connect to a LibreOffice database. I am currently using the following code to connect to a MS Access database and would like to know how to change it to work with LibreOffice. [CODE]String strConnect = "jdbc:odbc:DRIVER=Microsoft Access … | |
I scanned initially using MBA-M. It an infection but it was unable to get rid of it. I attached the following logs as requested. GMER did not post initial scan log. I tried twice. Nothing was found by MS malicious software. Nothing was found by MS security essentials. I was … | |
Using: MS Access 2010 Visual Studio 2010 with Provider=Microsoft.ACE.OLEDB.12.0 Connection I have 2 forms: frmCustomers contains datagridview that launches frmEdit used to edit record. The issue I am having is my save button on frmEdit saves changes to the datagridview on frmCustomers but not to the database frmCustomers: [CODE]Public Class … | |
Hi, I want to know that if i have form in html and i want to save data in MS Access or any other database so is it possible? if yes so how? i use php to connect mysql but i didn't use simple html connection... I hope someonw iwll … | |
Using: MS Access 2010 Visual Studio 2010 with Provider=Microsoft.ACE.OLEDB.12.0 Connection I have tried multiple ways to do this fought through Concurrency issues current code gives no errors however when I re Fill DataSet nothing has been removed from database... Current code for Button1(reload data), Button2(delete row): [CODE] Private Sub Button1_Click(ByVal … | |
can someone help me connecting ms access 2010 to visual basic 2008, this is the error of my program every time I run it "The 'Microsoft.ACE.Oledb.12.0' provider is not registered on the local machine." here is my code for the provider Imports System Imports System.Data Imports System.Data.OleDb Public Class Form1 … | |
when i am trying to use delete button on my frame it is showing such exception and stack trace is here java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at MyFrame.actionPerformed(AcctHld.java:225) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253) at java.awt.Component.processMouseEvent(Component.java:6099) at javax.swing.JComponent.processMouseEvent(JComponent.java:3287) at java.awt.Component.processEvent(Component.java:5864) at java.awt.Container.processEvent(Container.java:2109) at java.awt.Component.dispatchEventImpl(Component.java:4460) … | |
i have a program that has a database in access and i want to update data but when i click on update button on my frame nothing happens no error no exception and no work. here is my code [CODE]bUpdate=new JButton("Update"); bUpdate.setBounds(275,600,100,50); c.add(bUpdate); bUpdate.addActionListener(this); public void actionPerformed(ActionEvent ae){ Object o=ae.getSource(); … | |
Dear All, Pls. help me I have insert data to MS.Access and re-load data to DataGridView, it's always do at LoadAllData() but some time datagridview is not refresh. [CODE]Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\EmployeeDB\EmployeeDB.mdb;User Id=;Password=;" Dim conn … | |
I have a database with a list of process owners. The users of this database wants the process owners emailed when a form is updated with a click of a button. I can email to one person using a macro but this requires additional codeing which I am not all … | |
hi am a newbie to the vb.net thing. am using ms access for my database. i have a customer table in my database where sutomer details like first name, last name, address, etc are stored. i've created a form in vb.net and i have a text box, a datagrid and … | |
Hello, I created an application, that scans remote IIS servers/websites and get their location of log files. I need to check the amount of the log files. Obviously the log files are located in default location (customer decision :D ). Problem is that those locations are not as shared folders, … | |
Hello there! I need your expertise in vb6. I made a new exercise for my vb6 subject using database Microsoft access. With the fields of FirstName, MiddleName, LastName, Birthdate and Age. and there is correct information of my family in every fields. Using navigation command. Im using Microsoft ADO Data … | |
I previously had AVG antivirus and SpyBot search & destroy on my computer. I recently uncovered three files on my C:\ drive that won't even let me access or delete them because they say I am not an administrator (I am, and have always been the only user on this … | |
I am a student and we are working on a project in Access database but in windows. When I go back home I tried to run and edit the project but it didn't work. Notice that I don't have Access installed on my mac. My questions: 1- do I have … | |
![]() | Please could you tell me where I am going wrong I want to open 1 of 2 forms depending if a certain text is present in a field of a table. If text "Expired" is present in the 'Name' field of Table 'MAIN' then open form 'Expired' and if is … ![]() |
hi. i'm doing a search option in my system where if your searching for a entry even if you didnt typed the whole word, all of the entry that contains the letters that you have typed will appear, well i really cant explain it but it goes like this if … | |
hey guys, I play need for speed world and yesterday my brother was using my computer and when I play games it lags. Im sure its a virus because when I woke up this morning there were ads on my screen. Here are the logs you requested. GMER does not … | |
I have two tables like Staff Table ............ Staff ID Staff Name Age ...and more Staff Salary Table .................. Staff ID Staff Name basic Salary ...and more Now I have created the Staff Salary form in which I got the staff ID from the staff table using the lookup wizard … | |
Hello everyone this will be my first post. I am happy that there is a forum like this with very supportive people.:) So on topic.. I am a student creating an Inventory System software for my school using VB on VS 2008. I am having trouble saving items from a … | |
I know i'm probably goin about this bassackwards. But, window is loaded, binded textboxes get filled, user edits textboxes and clicks a save button it works, all except crashing with a "vb.net 2010 Concurrency violation: the UpdateCommand affected 0 of the expected 1 records." most of the time but the … | |
Hi To All, Once againg I'm in a big problem. I'm using C# 2008 and Access 2007. My DB contain 2 tables Customer and Booking. Both having Relation on CustomerID column. Customer -> CustomerID (PK) and Booking -> CustomerID(FK) Now I want to display the few columns from Customer and … | |
![]() | I'm trying to create a database to store product and customer information. An item have many batch numbers (batch ID) a batch number can only belong to one item an item can be in many products a product contains many items an order can contain many products a product can … |
This is the syntax i have written in vb.net to compare the text entered in textbox with the database. If existing, the value will be entered in databse, if not, it will give a msgbox displaying to add a new contact. I am new in vb.net. The database is Ms … | |
Hello !! I am trying to implement datagridview using b.net and ms access. While I import the data from database, the connection is established and test connection succeeds. But, during the last phase, i get an error saying : Could not load type 'Microsoft.VisualStudio.DataDesign.SyncDesigner.syncFacade.SyncManager' from assembly 'Microsoft.VisualStudio.DataDesign.SyncDesigner.DslPackage, version 9.0.0, Culture=neutral,PblicKey … | |
Does anyone have any experience using curl from MS Access. I would appreciate some pointers, | |
![]() | Hi, I am trying to query a database to retrieve information about a product. Firstly the user must select a product from a Combo box, and what i want it to do is when they have selected a product for it to search for the items that are within the … |
Hello; I need help with an annoying virus or malware. My search results display correctly, but clicking on any of the urls in the results takes to me usually to a "How To" page or a list of sales sites related back to the searched topic. To get anywhere i've … | |
Public Class Form1 Inherits System.Windows.Forms.Form Dim con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim run = New OleDb.OleDbCommand Dim sql As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load dbprovider = … | |
How can i compile my application so the access database is inbuilt in the executable file so i can use it without installing microsoft office. | |
hi i'm making a little application in vb.net and i need to use a data base. so i used some of my aspx functions and the same data base. the problem is that every time i run the application and do something that needs to get values from that db … |
The End.