4,457 Topics

Member Avatar for
Member Avatar for rony001

hi I want to list all tables in sql server compact 3.5 database and total of a specific column (I have a column name "total" in all tables).when i run the code I get no error but it does not work. can some tell me what is wrong with the …

Member Avatar for castajiz_2
0
217
Member Avatar for sundog1

Hi again guys... I have a little but of an issue with a select statement I cannot seem to fathem out. Below is the code: else if (radioButton3.Checked == true) ; { //Looks at the row Selected in the GridView and then takes the Account Number and Stores in a …

Member Avatar for sundog1
0
170
Member Avatar for sundog1

Hi Guys, Have a random problem as to why my headers are not being shown properly in the form? Possibly a simple anwser but can't see the wood for the tree's at the moment and another pair of eyes is always great. Code below: private void radioButton1_Click(object sender, EventArgs e) …

Member Avatar for sundog1
0
190
Member Avatar for cyberdaemon

Good day, I have a module that upload a record using excel file, and that excel file will be save into the table.. actually i already created that but one ofmy requirement is to clear first the record in excel before it will be uploaded.. how could i clear the …

Member Avatar for cyberdaemon
0
391
Member Avatar for ms061210

Hello, i'm kinda starting to feel out of my mind now. I am creating a simple web game. I am now in the process of putting some php codes here in game to have scores.My problem is that, My game's top score is the person who played the game very …

Member Avatar for ms061210
0
275
Member Avatar for unikorndesigns

Hi, I am developing a CMS in PHP, MySQL for a company in partnership. As you all know PHP is an open source language and it is really easy for a user to resell my software to another client or even publish it online for free. I have an agreement …

Member Avatar for chrishea
0
122
Member Avatar for longtomjr

HI this is Longtomjr, son of longtom, from satelite station Africa :) I love python, blender, guitars and a good ol' comunity. Today it is nice and cool here (yes I saw you guys talking about wheather) only about 30 C, it ormaly gets about 45 C in this part …

Member Avatar for longtomjr
0
161
Member Avatar for chdboy

I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not …

Member Avatar for chdboy
0
183
Member Avatar for deathmagnetix

hello guys .. im building an image map that u can see here http://projectpano.netii.net i don't want mouseout to trigger if I'm not going over another hotspot so the plans in the right corner can stay open even if the mouse is out of the hotspot (so ppl can download …

Member Avatar for AleMonteiro
0
69
Member Avatar for P.manidas

Dear sir/Madam, In my codes CmdDisplay button display only first record from the table and button2 add the all name (Ename field) to combobox1 from the table. How can i show FirstRecord, PreviousRecord, NextRecord and LastRecord using OleDbCommand and OleDBdataReader. Please guide me. [CODE] Dim cn As OleDbConnection Dim cmd …

Member Avatar for G_Waddell
0
2K
Member Avatar for trantran

I have been programming in Windows with C++ and I am tiptoeing linux (mainly because of its most up-to-date C++ and also because of it's open source). I want to do multi-platform programming. The programming part is easy: I don't need help there. The part I need help is in …

Member Avatar for trantran
1
314
Member Avatar for ImZick

Hi guys i have this code which insert the data in the textbox Dim FilePath As String = "C:\Users\ezekiels\Desktop\New Folder\EBU 6.mdb" Dim conn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & FilePath & "") conn.Open() Dim myadapter As New OleDbDataAdapter("SELECT * FROM Table_EBU6", conn) Dim dtset As New DataSet myadapter.Fill(dtset) myadapter.Dispose() Dim table …

Member Avatar for Begginnerdev
0
205
Member Avatar for jangojan

hie guys, a great supportive sites i have ever seen, i am facing a simple issue with my login windows form, which i have created, it works fine no issue, but now i want that after successful login user should be automatically redirect to home screen (windows forms) but unfortunaterly …

Member Avatar for tinstaafl
0
883
Member Avatar for chdboy

I'm trying to get values from DataGridView to the another form in textboxes and in Picturebox ,data in textboxes are there ok, but when I try to get a picture in a picturebox from DB it gives me this error. Buffer cannot be null Parameter name :buffer and here is …

Member Avatar for chdboy
0
3K
Member Avatar for Lobster1071

OK, I've exhausted my searching, so if someone can point me to a link with a good example, that would be super. I'm simply trying populate a combobox with data from an Access table (it's a simple contact list with Name and Number). Every example I find and try, I …

Member Avatar for Lobster1071
0
1K
Member Avatar for initialise

Hi All, I have two major problems and they may or may not be linked. My main problem is with an application that I am creating. So far, I have only created the GUI using Netbeans 6.8. When I run the app through Netbeans then everything works fine. However, when …

Member Avatar for adisri
0
448
Member Avatar for jangojan

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.Data.SqlClient; namespace testingdatabase { public partial class Form3 : Form { public Form3() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { new Form1().Show(); this.Close(); } private void text_searchstring_TextChanged(object sender, EventArgs e) …

Member Avatar for ChrisHunter
0
138
Member Avatar for silvercats

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.Data.SqlClient; namespace Dbconnection { public partial class Form1 : Form { public Form1() { InitializeComponent(); } SqlDataAdapter da; SqlConnection con; DataSet ds1; private void Form1_Load(object sender, EventArgs e) { con = new SqlConnection("Data …

Member Avatar for silvercats
0
192
Member Avatar for SpyrosMet

Hello, I have this Windows Phone app I need to do that gets information from the Google places API about places that the user searches for. For each place I need to have a pushpin on a bing map I have inserted. The problem is that I'm a newbie in …

0
139
Member Avatar for yvrej17

Hello! I need a help from my code in filtering the male/female regular/contractual employees. Scenario: I have 4 checkboxes the 'cbox' for contractual, 'rbox' for regular, 'mbox' for male and 'fbox' for female. What I wanted to happen is when I check 'mbox' it will display male employees in as …

Member Avatar for yvrej17
0
191
Member Avatar for A Haunted Army

i've been working on a game project, its a slider platformer and i've been having problem with getting the movement working, the movement is time based instead of being fixed to the frames per secound so the movement is consistent. the movement was working when i was testing out the …

Member Avatar for A Haunted Army
0
1K
Member Avatar for A.Muqeetkhan

guys i need ur help i want to insert data directly into the sql table using c# here is my code all that i have been able to do is get the values from the table not insert them i tried to do it this way but apprently there is …

Member Avatar for Ancient Dragon
0
245
Member Avatar for dan.ni.aiza

*It's my first time here but the way I see things around here is good * I'm a newbie in VB2010 so please don't judge me too much... HERE is my codes for INSERTING DATA but the problem is I don't know how to use it for SEARCHING Imports System.Data.SqlClient …

Member Avatar for Reverend Jim
0
251
Member Avatar for yvrej17

I just wanna ask what's wrong with my code it says syntax error on INSERT STATEMENT but I can't find the error @.@ Try Using conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & System.Environment.CurrentDirectory & "\employeedb.mdb;") conn.Open() Dim command As New OleDbCommand("INSERT INTO employees (first_name, last_name, MI, address, age, contact, status, department, …

Member Avatar for yvrej17
0
380
Member Avatar for DJSarma

Please help me!I want the code for doing following task in perl. Task is that "Read the paragraph from a file and print it in another file in ascending(total number of words in a sentence) order." My sample task: If the input "Hi! my name is Sarma. Can you help?" …

Member Avatar for voidyman
0
580
Member Avatar for Rahul47

Hello Guys, Here is an interesting problem. I have the following code. But it seems like I am missing out something in the process of populating drop down menus with data from database. You guys have a look at it and please give your valuable suggestions. Private Sub Open_Exam() Dim …

Member Avatar for Philippe.Lahaie
0
446
Member Avatar for devianleong

As title show. I still not able to connect my ms.access login database . Please help me ~ Dim con As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\leong\Documents\Visual Studio 2010\Projects\WindowsApplication4\WindowsApplication4\coursework.accdb") ' Dim cmd As OleDbCommand = New OleDb.OleDbCommand("SELECT * FROM AdminUser WHERE Username ='" & Usernametxt.Text & "' AND Password ='" & Passwordtxt.Text & …

Member Avatar for Begginnerdev
0
144
Member Avatar for Rahul47

hello people, I have the following piece of code. Private Sub SR_No() Dim con As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\VB Applications\PROJECT_1\PROJECT_1\examdb.mdf;Integrated Security=True;User Instance=True") Dim cmd As New SqlCommand("Select MAX(SR_No) from Stud_Master", con) con.Open() Dim dr As SqlDataReader = cmd.ExecuteReader() MessageBox.Show(sr) con.Close() End Sub I wish to fetch SR_No into a variable sr. …

Member Avatar for Rahul47
0
120
Member Avatar for hust921

Hello everyone. I made this "text file de/encryption" program as my first big C project. It's working pretty decent, and takes a lot of special characters and tabs without any problems. I have tested the code by encrypting and then decrypting some source code, and compared the output with the …

Member Avatar for hust921
0
233
Member Avatar for ebabes

Please help me solve these errors that I usually receive. I've created an application that reads, updates, and inserts a record into an Access database. But every time I press the **Update** button to update a record, I usually receive this error message "**Syntax error in UPDATE statement**". On the …

Member Avatar for moonshine4
0
1K
Member Avatar for firebird102085

Hi Everyone, I am just starting out so I am sorry for this basic of a question. I have developed the code below to run a very simple program, but, each time the program runs the console window comes up during the program run but closes itself automatically. It should …

Member Avatar for Suzie999
0
333
Member Avatar for ITech

i want to monitor the egress interaface(tx) of the firewall and identify the users bandwidth, visited websites, who is having the most bandwidth for internet etc. i am planning to do this by port mirroring the port which is going to the firewall. the mirrored port will be connected to …

Member Avatar for BigPaw
0
313
Member Avatar for andika.kurniawan.121
Member Avatar for Ancient Dragon
0
356
Member Avatar for silversurf

Hello everyone. I am trying to build a inventory and pos software with vb 6.0 and MS-Access as database. In one of my form I have the following code to call my inventory of a certain invoice number to print tag for my products. I am using a MSHFlexgrid with …

Member Avatar for silversurf
0
2K
Member Avatar for Ancient Dragon

![Untitled40](/attachments/small/0/Untitled40.png "align-left") I'm trying to figure out how to add a new connection to MySQL running on a different computer on my network. When I click Project --> New Data Source a list of drivers appears, but none of them are MySQL (see thumbnail) which I have previously installed. I'm …

Member Avatar for Ancient Dragon
0
281
Member Avatar for korathualex

I want to read data from word file without using interop.word dll..Because i don't want to install word in every server....Is it possible to deploy interop.word without installation of word in iis..If not provide a solution to read word file without it with complete code....I tried with open xml sdk …

Member Avatar for AleMonteiro
0
292
Member Avatar for dheeraj.mangrah

Hi, Could anyone solve this for me. I'm using VB 2010 and Access Database file. The database consists of a table called 'usertbl' with 'username', 'type' and 'level' fields. The records are as follows: Record 1 - Username: admin Type: admin Level:1 Record 2 - Username: user1 Type: user Level:2 …

Member Avatar for dheeraj.mangrah
0
130
Member Avatar for Suzie999

I was just thinking of trying to create a simple tcp client server for simple comunication. In my head it was all about typing in a window and my friend sees what I type and then responds. Then as my mind wondered, i thought about making the communication via voice. …

0
58
Member Avatar for bwaha

Hi, I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point. I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the …

Member Avatar for adam_k
0
3K
Member Avatar for HunainHafeez

i am trying to pick a Varchar field (Question) from tblUser where email = session variable , it doesn't give error but picks -1 and shows it, why ? even that column isn't empt for the matching email code: String connectionString = "Data Source=COSANOSTRA; MultipleActiveResultSets=true; Initial Catalog=Waleed_orsfinal;Integrated Security=True"; protected void …

Member Avatar for HunainHafeez
0
218
Member Avatar for lovely ari

hi I have an access database, which I connect it to the form I have text boxes which displays info from the fields in the database. I have created a "Next", and "Previous" button, which the user can move between the database info but i don't know the code for …

Member Avatar for Ruzz
0
3K
Member Avatar for Thomas7399

Hi all, I have another question. I am trying to use an update statement to update an item in a listbox. Please see below: Imports System.Data.SqlServerCe Public Class Edit_Sensor_Form ' Shared variables Dim con As SqlCeConnection = New SqlCeConnection("Data Source=C:\Users\Bryan\documents\visual studio 2010\Projects\SiteSecure v1.1\SiteSecure v1.1\Database1.sdf") Dim myDA As New SqlCeDataAdapter Dim …

Member Avatar for Thomas7399
0
187
Member Avatar for Thomas7399

Hi, I am brand new to using SQL with VB. I am trying to be able to insert data from any given row in my SQL table. The row to be inserted is selected by the user on a listbox on Form1. Here is my code: Imports System.Data.SqlServerCe Public Class …

Member Avatar for Begginnerdev
0
246
Member Avatar for dharmil007

Hi guys i m doing an EJB project on Library Management using NetBeans Out of which the first Step create a "CREATE ACCOUNT" page & get all the details from User & store it in Database. Using JSP for this. Everything is created, but when i try to Click Submit …

Member Avatar for subramanya.vl
0
3K
Member Avatar for lhhippie1

Hello all, I am having a little issue I was hoping to get some help with. I am working on an app and everything was going great. I was able to write to my db and all feilds were working great, so then I wanted to add a user password …

Member Avatar for Reverend Jim
0
352
Member Avatar for triumphost

I'm diving into various Image reading and writing methods and writing my own. I decided to tackle TGA/Targa. I got reading working flawlessly. It reads both compressed and decompressed .TGA files. I got writing decompressed .TGA files working. However, I cannot figure out how to write Compressed .TGA files. I …

Member Avatar for triumphost
0
1K
Member Avatar for paine_today

Hello Daniweb Univere, I am looking for a good program to use to store several dozen text documents, make them searchable, and ideally, allow me to link to specific lines of the document. I imagine there are programs like this, I have just been unable to find them. Any suggestions …

Member Avatar for diafol
0
239
Member Avatar for Kareem Klas

Dear members, In a previous post I got useful tips to study C++ for game programming. I was using bloodshed Dev c++, but it had too many bugs. Now I use visual studio express 2010. But I can't get along with it. In bloodshed you had a blanco "page" and …

Member Avatar for Kareem Klas
0
203
Member Avatar for Lethugs

Hi, I have done my vb.net application and ready for deployment, my database is located somewhere in my drive c:, i used this code to get connection string from app.config Public Sub main() constr = System.Configuration.ConfigurationManager.ConnectionStrings("WindowsApplication7.My.MySettings.nameConnectionString").ToString Con = New SqlConnection(constr) Try Con.Open() 'MsgBox("Server Connection is Open ! ") 'frmMain.Connection.Text = …

Member Avatar for john.knapp
0
480
Member Avatar for silversurf

Hello everyone. I am developing a inventory and pos software myself with vb 6.0 and ms-access as database. In my sales invoice I want to generate the sales invoice number serially. I mean when I load the sales invoice form the txtsinvno text box will automatically generate the sales invoice …

Member Avatar for silversurf
0
592

The End.