19,728 Topics
| |
I have a form with a data grid on it, theres 2 text boxes the user enters there username and password and it goes to the database that works fine..but ive got the code where it Updates the Datagrid straight away but it duplicates all the other data in the … | |
what is the code for searching for and removing a blank line in a multi-line text box? im using VB Express '08 and can not figure it out. my problem is im loading a sample.text file and using [icode] txtFile.AppendText(ControlChars.NewLine & activetext & ",")[/icode] to add new text from user … | |
Hi i used Microsoft Ribbon.dll in my mdi form i have added few tap, panel, button etc. i have changed button style DropDown then i added dropdownitems -> employeeaddress, profitandlos, employeepayment, employeetaxdetails etc. my problem is if click employeeaddress menu that time i displayed employeeaddress report form after that i … | |
Sir, i hv a problem with database? in my PC i have sql server (develop) edition 2000 and MS-SQL server 2005 (sql server management studio express CTP) . In my web page asp.net (vb.net) data connection is succedded. But when i run the web page and fill up the text … | |
I use Visual Basic 8.0 I want to set in [COLOR="Red"]Application settings [/COLOR]a [COLOR="red"]default Export directory [/COLOR]for my export files So that i can read in my program with [COLOR="red"]my.settings.export [/COLOR]the default Export directory Export directory is locatie on: c:\program\export [B]Can someone explain to me how I can do that?[/B] … | |
Hi, I am fairly a newbie to vb.net and am developing an inventory control windows application for a client. I am creating a search form for my application. This search form searches the categorys table and returns the results in a datagrid view. The search bit of it is working, … | |
[QUOTE]I am facing the problem in select the item dates. This is because i only want the condition of month from table dates. So i think the data set i write it get the error. Any one can help me,Thanks.[/QUOTE] [CODE] con.Open() sql = "SELECT DISTINCT Month(dates) FROM summary WHERE … | |
Hi I am a new user in VBNet. Someboady Please help me to find the solution for the following. Atpresent I am woking in a electronics based project. I measure the voltage and current measurements in to some string variables. So on each press of a button the values in … | |
Am getting problem with this update statement: Here's the code: [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "Update Sales set CustomerId='" & txtCustomerId1.Text & "',WatchId='" & txtWatchId1.Text & _ "',Dateofsales='" & txtDate.Text & "',Quantity='" … | |
Hi All, My update query refuses to update the data in the Excel sheet via OLEDB connection. I am able to insert and retireve the records but could not update. Though my syntax is correct and when I execute the query using ExecuteNonQuery, it shows no error no exceptions but … | |
write a windows application that allows the user to enter a seven-digit number in a multiple line textbox when the user clicks the generate words button. example 6392277 = NEWCARS [code] Partial Class Form1 Inherits System.Windows.Forms.Form Public Numbers(7, 3) As String Public Phonenumber As Integer Public output As String Private … | |
Hello dears in Daniweb, I'm a beginner in vb.net I have a question regarding searching in Access Databases. to illustrate: if I have this table in Access [ATTACH]11292[/ATTACH] which contains the name, mobile, Telephone, address and the area (highlighted in Red) Now if I want to Search for persons who … | |
hey all, I have a form where a user selects from a couple radio buttons. once THAT button is selected i want a new form to load where the user has to fill out personal info and submit. what's the best and easiest way to set this up? like: 1) … | |
Hi all; i'm trying to connect my program to an SQL Server Express database... however i am just getting an error that simply states: "Login failed for user 'sa'." Within my code this appears on: objConnection.Open() my code so far is: [code] Imports System.Data.SqlClient Imports System.Data Private Sub Form1_Load(ByVal sender … | |
How do you set or adjust opacity of controls during runtime? (buttons/textbox/etc) I've tried this [CODE=vb] Public Sub setOpacity(ByVal opacity As Integer) Me.BackColor = Color.FromArgb(opacity, 255, 255, 255) End Sub [/CODE] But error returns that it controls does not support opacity. [B]I want my controls to load on runtime with … | |
i am using visual studio2008. the submit coding show temporay storage of data on form but it is not inserting into the data base. On the other hand sql server authentication show permanent submission. | |
Ok, so I'm kinda new to programming, but I'm quick to grasp it. I like programming. Anyway, I'm trying to write a program that will do this. If a user types in a name in the first line of a textbox and clicks a button, the name will be wrapped … | |
from my this code for search record.. what code for update after i search the record? anyone can help me? [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click Dim ConString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=""H:\PROJEK\New Sistem\SISTEM_DATABASE.mdb"";" ' string declare connection ke dbase Dim DBCon As … | |
Hi, I have posted about receiving email before and this is a follow up of my progress. I have only one form and it consists of 2 buttons, one for downloading messages from the server, the other, to disconnect the connection. I also have one listview and one textbox to … | |
hie if the user, after working with the form wishes to reset it, how can it be done. will me.refresh() help. wht is it used for? | |
I'm trying to pull in a file name from another class... I have a three classes... My main class, a class called Transaction, and a class called Account. I have two sequential files. "CHECKING.TXT" or "SAVINGS.TXT" that I have loaded into arrays in my main class. I need to pass … | |
Okay... So I've actually made it to the final project in my Intermediate Visual Basic class. Yet, I'm still feeling stupid - like I've never attempted any project at all. I think my main confusion in this project is that we're using two seperate sequential files. I CAN and HAVE … | |
How to create custom button to save attachment from specific mail-item | |
hi i want to create a csv file using [B]VB.net 2003 [/B]and save the data from an array in it... i have searched everywhere and i did not find a solution. please help :'( | |
''' <summary> ''' FUNCTION TO CALCULATE SUM OF TWO TIME VALUES ''' PASS TWO DATE VALUES AS STRING ''' </summary> Function GetTimeSum(ByVal dt1 As String, ByVal dt2 As String) As String Dim ReturnStr As String = "" If dt1 = "" And dt2 <> "" Then Return dt2 ElseIf dt1 … | |
Below is code i wrote as a wrapper for the microsoft office interops. It provides ways to establish the instance of the application and cleanup any remaining office processes after use. [I]Note the class I use is alot bigger but i have added the basics as a starting point.[/I] This … | |
Connection To Access Database and Save,Retrieve,Update D:\access\try.mdb=The Address of the Access database table 'Try'. Take a module as ModMain(Copy the code) table fields: idno,name,designation.(idno=auto number) textBoxes=TxtName,TxtDesignation And Combobox=CboRetrieve buttons=new,save,retrieve,exit | |
how to avoid quotation marks in a textbox | |
can we make dropdownlist noneditable.if possible how to make it. | |
Hello, If a user has a few of my applications open and he/she minimises them I would like to group these in the task bar like MS Word for example. Product Name - Application 1 Product Name - Application 2 Product Name - Application 3 Product Name - Application 4 … |
The End.