20,284 Topics

Member Avatar for
Member Avatar for mrbillbenson

Wikipedia has most movies well sussed; I would like to take an excel list of movies, call up wiki page using System.Diagnostics.Process.Start("http://www.wikipedia.org/") System.Windows.Forms.SendKeys.Send("Moonraker") System.Windows.Forms.SendKeys.Send("{Enter}") , use sendkeys to enter the name of the movie from the excel list into Wiki's default search text field and {Enter} to launch. What I …

Member Avatar for mrbillbenson
0
150
Member Avatar for S.A.H

hi every body , I want to write a program with vb.net about calculating the GPA in my program I'll ask the user to Enter the number of courses then I'll Generate ComboBox(s) by the number of courses ... So How can I do the dynamic Generate of the combobox …

Member Avatar for S.A.H
0
108
Member Avatar for diyerxa

Hello, Is it possible to change the connection string after setting up a Data Source? I'd like to set up a Data Grid View, but the user must be able to change the location of the database file at a later time (over a network). i've been trying: My.Settings.db1ConnectionString1 = …

Member Avatar for Arunabh Nag
0
166
Member Avatar for atv161

does anyone know how to subtract a certain number of days from a given date? thanks in advance for your help. Nevermind I figured it out with the help of the help index.

Member Avatar for marc-0
0
128
Member Avatar for Loony064

Hey All I'm busy with a program in VB.Net 2008 that performs sales. When a user clicks on the Invoice button, a record with the details of the Transaction is addedd to the Transactions table in the back-end MS Access 2007 database. The Transactions table has the following fields: LogID …

Member Avatar for Loony064
0
95
Member Avatar for vinnarasi

How to delete,update records in listview? Changes also affect the database?

Member Avatar for vinnarasi
0
90
Member Avatar for hery

this is my code. [code] Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click temp = "DaftarGaji" modPY.LookUp("SELECT * FROM MS_UMR ORDER BY TAHUN", strCONNECT, 0, 1, temp) End Sub [/code] [code] Public Sub LookUp(ByVal strRecordtoSearch As String, ByVal strCONNECT As String, ByVal KeyFieldPos As Short, ByVal …

Member Avatar for kvprajapati
0
193
Member Avatar for juliusceasar

Good Day All, I am having issues making reference to .subitems(5) of ListViewStudents below, I can get to .subitems(4) with no issue but it tells me .subitems(5) does not exist. lsvFemaleStudents has 6 columns therefore it should have 5 subitems right? Does anyone know if there is a restriction when …

Member Avatar for kvprajapati
0
83
Member Avatar for whitezombie

I'm new to this forum but I I'm trying to find an answer to my question. I've developed an application in VB.Net using the console option. This program runs from the command-prompt and is very basic. The issue I am having is: 1. I compile the program and copy the …

Member Avatar for kvprajapati
0
186
Member Avatar for ZidaneXero

Hello everyone Im new at this thing of programming and im having trouble in saving a new record to the database, I've searched online for this problem and ive tried all the possible ways that i find in internet but i cant manage to make it work correctly This is …

Member Avatar for kvprajapati
1
449
Member Avatar for ggl0rd

i got 5 textbox... 1st i click at textbox1, then i press tab key then he direct go to texbox4.. how i can setting for from textbox1 then press tab key he go to textbox2..

Member Avatar for juliusceasar
0
102
Member Avatar for adam1991

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 …

Member Avatar for zakarneh
0
94
Member Avatar for blackknight469

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 …

Member Avatar for samir_ibrahim
0
1K
Member Avatar for laks_samy

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 …

Member Avatar for laks_samy
0
112
Member Avatar for rakibuddin ali

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 …

Member Avatar for kvprajapati
0
94
Member Avatar for dre-logics

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] …

0
44
Member Avatar for speedy gonzalos

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, …

Member Avatar for kvprajapati
0
268
Member Avatar for chanlichin

[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 …

Member Avatar for chanlichin
0
130
Member Avatar for udhayakumar_g

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 …

Member Avatar for sknake
0
110
Member Avatar for manutd4life

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='" …

Member Avatar for yorro
0
108
Member Avatar for Piya27

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 …

Member Avatar for samir_ibrahim
0
249
Member Avatar for fawadkhalil

Hi I have dropdownlist populated from database.My requirement is to count the number of records for each dropdownlist item like: Toyota(15) Honda(10) BMW(20) I have used[CODE] ddlMake.Items.Add(datatable.Rows.Count)[/CODE] but it shows records in below format Toyota Honda BMW (15) (10) (20)

Member Avatar for fawadkhalil
0
145
Member Avatar for perumar

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 …

Member Avatar for GeekByChoiCe
-1
120
Member Avatar for nanoh2001

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 …

Member Avatar for nanoh2001
0
1K
Member Avatar for leroi green

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) …

Member Avatar for adam1991
0
113
Member Avatar for Atove

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 …

Member Avatar for Atove
0
118
Member Avatar for yorro

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 …

Member Avatar for yorro
0
486
Member Avatar for sandeepjindal

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.

Member Avatar for kvprajapati
0
30
Member Avatar for PcPro12

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 …

Member Avatar for PcPro12
0
196
Member Avatar for ggl0rd

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 …

Member Avatar for kvprajapati
0
84

The End.