20,899 Topics
![]() | |
ok i know connecting access. i want to learn database connectivity using sql server in vb.net. How do i create a table in sql server in vb.net visual studio i dont have sql server installed in my pc also performing database manipulation in windows application(i have been doing it in … | |
Yet another date time related sql statement i need help with, oh how I loathe them. I need to find the records between now and a week ahead. I have this so far [CODE] Dim con As New OleDb.OleDbConnection Dim OleDBCon As System.Data.OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
but an erro occurs specifying that syntax error in update statement.Plz tell me how i could rewrite the code[code]cmd = New OleDbCommand("update login SET password=@password where username=@username", con)[/code] | |
I have a datagridview with 10 columns. Every month the user will update new info in the grid. I would like to have a datetimepicker next to the binding navigator. The purpose of the datetimepicker is to scroll forward or backward month by month. If scrolling forward the datagridview creates … | |
Hey all I'm having loads of problems trying to update my database with a dataset, I have been looking around forums and posts and trying all sorts of work around's, as far as I can assume, I will need to manually create (insert, update) function querys (even though as far … | |
I Use visual Basic 8.0 and Mysql 5.0 I have one Table1: [COLOR="Red"]Table1[/COLOR]: RecordID , Integer = primary key auto_increment NOT NULL Articlenr , Integer Articlename, Char(20) Table1: has two records: RecordID, Articlenr ,Articlename 1 , 1000, Hamer 2 , 2000, saw I want to use Datagridview to update Mysql … | |
Hi, I am trying to find a logic for reading sql query data and displaying it properly. i have 2 sql tables Modul & Relation (see attachments) which i am using to create a GDL file format (see Old and New GDL file attachments). I am trying to extract data … | |
Hello I have an array of 50 text strings, is there any way that i can easily link each item in the array to a different text box on the screen? and then to have the text boxes auto update if the array changes? Thanks Simon | |
I was wondering whether anyone could tell em whats wrong with this code. Its trying to get the records where the theorydates (stored in a database as shorttime) are before 2 years ago and return the records in a datagrid but it doesnt. [CODE] Private Sub ExpiredTheoryTest_Load(ByVal sender As System.Object, … | |
how can i save the path of the picture i've browsed. i'm using vb.net as my front-end and ms access as my back-end. thanks in advance :) | |
Hello again. I would like to ask if anyone knows how to use datagrid, that when i clicked or double clicked a data shown in datagrid it will appear in a textbook.. thanks in advance. | |
Hey, i am trying to convert a 2D array to a 1D array and also the reverse. Not sure if i am doing it right so does anyone know how it can be done. below is the code i have for 2D to 1D but now how do i do … | |
If suppose i am using the vb. How can i export the data from text file to datagridview. I need with sample code. Its very helpful to me. | |
Hi guys, i am a Management Information System student in my last year and now i am preparing for my graduation project, the programming language i want to use is VB.Net in addition to ADO and ASP.Net and SQL SQL Server, so anybody can suggest me an idea that i … | |
Hi, I am using visual stuido 2008 to develop a smart device application for a pocket pc but seem to be having trouble loading an image into a picturebox. The image is stored on the web and becuase I am using the compact framework normal methods arent working. Can someone … | |
How do you make something happen everytime the program runs? [code] Dim CloseValue As String = Space(255) Win32.GetPrivateProfileString("Close", "value", "Default", CloseValue, 255, "C:/UserData.ini") [/code] I need that to execute, I've tried Public Sub Form_Load() Public Sub Form_Initialize() Public Sub Form_Active() None works, I've tested with MsgBox("HELLO") to see if that … | |
Hi This is my first time posting after daniweb has helped me alot but I couldn't find a solution for this so I thought hey why not ask. Basically I would like to have an sql statement which selects all the bookings from a table in microsoft access callled tblBookings … | |
Dim LogonControl = CreateObject("SAP.LogonControl.1") Dim conn = LogonControl.newconnection this is vb.net code.how to use this in csharp.net. in asp it is used like--server.createobject("Sap.logoncontrol.1") please help me. thank u. | |
hi evryone. i really dont get it. i want to put keyboard shortcuts on the button i have other than clicking this buttons. but the problem is i dont know how. i tried putting an ampersand (&) sign before the text of the buttons and it work, but the ampersand … | |
Hi, i have a division of 2 integer that give me a result as 2,3944534 ... how i can give e result as 2,3 ??? please help me! | |
Hi, My first post, please be gentle. I have 64 booleans - all must be displayed on a single screen as a series of checkboxes ([B]no[/B] - I don't care about the 65th bool, [B]yes[/B] - it [U]must[/U] be a single no-scroll screen on the UI). As a VBA-refugee, I … | |
hi i need help with add edit and delete records in access using vb.net. i got textbox 1 to5 and three buttons which named addnew ,edit, delete. my database is in name records.mdb i want user to enter the information and click addnew button and the system save the records … | |
HI! I am working with an image tagger system.. Im done reading the file's properties.. then when i go to code for keywords.. an error exist saying that Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154. I Already added the DSO … | |
Hi All, I hope someone out there can help with this. I'm writing an app where a user selects a folder on the network for a job to deposit output into. The person setting up the job will not necessarily be the same person who runs the job and that … | |
hi everyone. can someone teach me how to validate the textbox in vb.net? that the textbox can only accept numeric only. and the other textbox can only accept alphanumeric only. much thanks. | |
hi, i want to use DataGridView to display the result from 3 textBoxes ? is it possible to do that ? Please help | |
ive created a function for generating username, password, email to log in on a website but the problem is i want to use all account one at a time for example num|username|email|passwd 1|username1|email@email1.com|password1 2|username2|email@email2.com|password2 3|username3|email@email3.com|password3 4|username4|email@email4.com|password4 5|username5|email@email5.com|password5 log in 1st acct ... do something then logout... then log in 2nd … | |
I have a form with 6 combo boxes next to each other, they all have the same data source, which is an array. I need to be able to select different values in each combo box.and its value will be entered to textbox and insert to database. i need its … | |
How to Check whether the Exchange Server 2003 is installed on Target computer while making installer? | |
Hi I am new to the forums and have problems with a program I am trying to write. If you could point me in the right direction. It is a vb.net version of the concentration game with a twist. Upon form_load a listbox is loaded with 8 item names(2 of … | |
I'm trying to create a form that has a text box that only accepts text entries (i.e. no numeric entries). I can't figure it out....this is what I have so far... [code] Private Sub textName_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles textName.TextChanged If textName.Text.Trim <> "" Then Try … | |
Hey, I have a strange problem. I added an image as the background image for a form in VB.net. When I run the program, after approx. 5-6 seconds, the image partially overlays itself, as in an offset overlay of the underlying image. I never had this problem in VB6, but … | |
[I]Hello! In my application, i want to make the user write the code by himself. Like, he have a textbox, there he is going to put the code like, msgbox("Hello") then when he press the button, the msgbox will open. So, anyone out there got any ideas? Thank you! -Prims0[/I] | |
hallo everybody, i'am isni..i'am from indonesia...vb.net forum i need e-book or tutorial vb.net 2005 or 2008....please!!!thanks a lot. | |
hi! am a final year student and i need u to help me wit some project topics in vb.net. and the source codes. thanks | |
I'm new at this. How come this doesn't work... [CODE] Private Sub ColorKeyForm_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint 'Draws diagonal line of dot and dash on form Dim objGraphics As Graphics = Me.CreateGraphics Dim objPen As Pen objPen = New Pen(Drawing.Color.DarkBlue, 3) objPen.DashStyle = Drawing2D.DashStyle.DashDot objGraphics.DrawLine(objPen, … | |
Hello all, In attempt to use a class contained in a DLL provided with an application which we are a vendor for, I am running into the following error when I close the application; .Net-BroadcastEventWindow.2.0.0.0(etc) The instruction at "0x########" referenced memory at (etc) I am able to add a reference … | |
I am having some trouble moving labels up and down. I've gotten them to move left and right but cannot seem to get them to move up and down. Also I wanted to control a picture box by arrow keys. I'm not totally sure along which code I need to … | |
Im making a simple program to log into a website I subscribe too and check if I have any mails. However im getting stuck when trying to input the username field this is the code for the username field: [CODE]'<input type="hidden" value="qfqovig" name="actualval">[/CODE] And this is the code ive been … | |
hello again i wrote a class but not able to see the output in visual studio [code] Public Class Class1 Public Shared Sub Main() Console.WriteLine(Min(10.1, 10)) Console.WriteLine(Min("last", "first")) Console.WriteLine(Min(#1/1/2000#, #3/4/2000#)) Console.ReadLine() End Sub Overloads Shared Function Min(ByVal dblA As Double, ByVal dblB As Double) As Double Min = IIf(dblA < … | |
I am new to crystal reports. I have a form with a binding source bind to the invoice table. I want to generate invoice report when the user selects an invoice record from the datagridview and clicks generate report. What i want is 1. how can i set the report's … | |
Ok. So. I'm trying to develop an application to capture the input buffer to identify a device's input commands to build a user control that uses this commands for further use. I'm actually developing a project that simulates Guitar Hero, and I want it to recognise the Guitar Hero Controller's … | |
hey there, i am creating a program, and i have text fields such as Customer Name, address, postcode, telephone email etc. and i also have a button 'add record' what do i have to code in add record to actualy save the records.. will i have to make a file … | |
hey there, i have a main menu on my program which has the option of registering. I have enter name and password .. and a button Confirm i want to be able to store the added username and pasword to the login form so that it will work... what must … | |
I am trying to open a cmd window as an admin but it never works. I can open a command window but it does not open as the admin.. Here is my code (VB.NET 2008).. [code] 'This is in a module Public strUserName, strPassword, strDomain As String Public SecPassword As … | |
Hi Guys, I have a problem getting my head around an issue with printing labels. I can get my program to print a single label from gaining the ID number for that record and using the e.drawstring method but I need to print multiple labels say from one persons ID … | |
hi.. I am developing sms application using vb.net that application can send and deliver sms, the problem of my application is can't display delivery report such as pending,delivered,fail how can i display delivery report using atcommand on vb.net? i have searched google, all status delivered message is "Delivered" if destination … | |
i just want to know, what is much better to do for data access? include the database to my solution (tools>connect to database), or just hardcode everything? somebody reply please. thanks | |
I am doing fyp with rfid student attendance system currently. And, I face the problem on saving the database's data.This is the code that i write below: [code] Dim sqladapter As SqlClient.SqlDataAdapter = New SqlClient.SqlDataAdapter("select * from table_0", conn) sqladapter.Fill(ds, "table_0") Dim sqladapter_1 As SqlClient.SqlDataAdapter = New SqlClient.SqlDataAdapter("select * from … | |
Hi, I was hoping that I could get some guidance from some of you guys on Object Design with Database back ends. I am trying to build what could be considered to be my first full scale application, which is a student tracker (simplification). While I have a reasonable idea … |
The End.