20,285 Topics

Member Avatar for
Member Avatar for m1234ike

######################################################################################## My question is : How do you specify shortcuts: (i.e. Firefox shortcut on desktop) in VB? I want to make a program that creates a folder for shortcuts. Thanks in advance, Mike

Member Avatar for sandeepparekh9
0
75
Member Avatar for josephbeluan

hi, anyone could help on how to attach file in mobile phone? if you have sample code for it, can post that. so that we have a reference for our study about attaching file. thank you.

0
65
Member Avatar for m1234ike

I want to create a program that I can create a Text file folder on my desktop and move all the text files into the folder. Here is what I have so far: Below is where I create the Text folder: [code]Dim myPath As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "Text") IO.Directory.CreateDirectory(myPath)[/code] Here …

Member Avatar for codeorder
0
630
Member Avatar for kazekagerandy

i am doing a makeup and hairstyle makeover application in vb.net and i dont know if i can directly edit a photo in a picture box, the features of the project will be: 1. make-up features are a must. 2. it should save the original photo uploaded and the edited …

Member Avatar for kazekagerandy
0
3K
Member Avatar for salohcin

I have a project on my hand which is needed to be written in vb.net, which is to create a vb.net installer to install client and host.The host will have the ability to shutdown all host computer in the network ,lock the computers in screensaver mode and also prevent user …

Member Avatar for THIRUGNANAM.S
0
212
Member Avatar for nengstrom

Hi Everyone! I am a beginner at VB. I have been a systems admin for some time and my new employers are forcing my hand into programming. I am currently Trying to write custom software that interfaces with our Advantage Database. I have the data source and connection opening fine. …

Member Avatar for nengstrom
0
165
Member Avatar for aluda

this is the code help me solve it. Public Class frmBorrowBooks Dim myConnection As New mysqlConnection Dim myCommand As New mysqlCommand 'im mycommandtext As New mysql Dim dr As MySqlDataReader Dim myCommand1 As New mysqlCommand 'im mycommandtext As New mysql Dim dr1 As mysqlDataReader Dim myCommand2 As New mysqlCommand 'im …

Member Avatar for Momerath
0
122
Member Avatar for vn412

Hi, I've a problem handling dataset. I have 3 tables in access database. In loop i am firing query to select values [CODE] for i=1 to 3 sql= " SELECT field FROM tbl where some condition" [/CODE] Now i execute the query to get dataset(ds) as output. [CODE] next [/CODE] …

0
54
Member Avatar for vb.net beginner

hello all.. Hi, I'm having problem to read *.DBF (DBase File) using VB.NET. Below is my code : [code] Public abc As String = "C:\Documents and Settings\LASIM\My Documents\20100126a\JADUAL\TCMSV2" Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sql As String Dim connection As String Dim dsXML …

Member Avatar for lolafuertes
0
727
Member Avatar for billly

hey everyone im a bit of a noob with programing because im only 16 so can you please explain your reply simply. im trying to make a batch file that asks for a password and opens a file and if the password is wrong displays a message i know how …

Member Avatar for sandeepparekh9
0
172
Member Avatar for vb.net beginner

how to select date range? My provider --> Provider=VFPOLEDB.1 im using datetimepicker to pick date. The problem is when i select date range it cannot read my query. But if i just select like this : [CODE]v_str = "Select * from attend where [DATE] = '" & v_dtpDateFrom.ToString("MM/dd/yyyy")"[/CODE] its not …

0
56
Member Avatar for bLuEmEzzy

if the itemcheck is check then all the checks will be add separately to cash... i hope is it clear enough... thank You.. God bless... [CODE] Dim Cash As Double = 0.0 Dim Cheque As Double = 0.0 Dim Other As Double = 0.0 Dim DetermineCash As Boolean Dim CheckedItems …

Member Avatar for bLuEmEzzy
0
161
Member Avatar for Mitja Bonca

Code shows how to bind the data from a database`s table to dataTable and populate dataGridView with it. And then how to pass the modified (or not) data from dataGridView back to dataBase`s table.

Member Avatar for tomason
0
751
Member Avatar for spydanger

Hi im just made a webbrowser on cisual studio 2008 to enter automaticly to a link but me i want the webbrowser to enter to the link and wait 10 sec then click on Tab key then click on ENTER key Then ENTER key again , then wait 10 sec …

Member Avatar for spydanger
0
2K
Member Avatar for arkanoid

I did not see anything about how to have multiple colors in a textbox. Is this possible, or must I use a richtextbox?. I would like to keep it simple if possible by setting it up in a standard textbox. Can someone help me with this? As an example of …

Member Avatar for arkanoid
0
121
Member Avatar for jlego

kind of directed towards adatapost... in most of my applications, i have a public function called DBUpdate() [CODE] Public Sub DB_Update(ByVal strQuery As String) Dim ADOCmd As New ADODB.Command Try If ADOConnect.State = ConnectionState.Open Then Call CloseConnection() ADOConnect.Open(dsn, user, pass) ADOCmd.ActiveConnection = ADOConnect ADOCmd.CommandText = strQuery ADOCmd.Execute() Catch ex As …

Member Avatar for jlego
0
152
Member Avatar for SaberExcalibur

After deploying my project, I tried to install it on other pc , it installs well but whenever i run the .exe application my database file which is MS Access cannot be found. Well obviously the path is the problem. How would i make my path flexible and so that …

Member Avatar for DONPAWPAW
0
110
Member Avatar for Chair

Hi, I want to populate a listview with items from datagrid view. I've been searching for solutions but it seems that all the scenarios I found were about populating listview with items from tables in database, not from another listview or datagrid view. I'm trying this code: [CODE] For count …

Member Avatar for Chair
0
1K
Member Avatar for swathys

Hi, can anyone guide me on [COLOR="Red"]how to check the server DateTime when the application launch. i want to make sure the user PC has the same DateTime as server when the user use the application.[/COLOR] Reason being is some user may tend to change their DateTime backward and it …

Member Avatar for Luc001
0
136
Member Avatar for y2kshane
Member Avatar for reedom

[B] Dear Sir, Good morning How to open CSV file within form in asp.net and control it like a Matrix thank you[/B]

Member Avatar for Luc001
0
51
Member Avatar for airesh

guys, how to check data if it is already in the database? i am using sql server.. thanks

Member Avatar for kvprajapati
0
99
Member Avatar for xxxferraxxx

Hi, I need to make "Keygen" that gen text not randomly with two text boxes, i need to use it for "username and "password" gen that i puted to gen. Please help with the code :)

Member Avatar for xxxferraxxx
0
209
Member Avatar for roymrinal123

Dear Sir, Good morning How we can Upload data from Excell to our Access database through VB .NEt Please Help me

Member Avatar for kvprajapati
0
72
Member Avatar for JD69

I have 1 form with the progress bar and 4 buttons with the following code. I would like to create another form that shows the same progress bar with the same progress. Please help Here's my code for progress bar [B]form load code is:[/B] [code] ProgressBar1.Minimum = 0 ProgressBar1.Maximum = …

Member Avatar for codeorder
0
166
Member Avatar for roymrinal123

How we can show data from acess database in datagrid please help me about the code

Member Avatar for kvprajapati
0
85
Member Avatar for JD69

VB2008 I am trying to click a button on a website but its not working for some reason. I've used this code on another site but the html code doesnt look the same. Here's the HTML Code <input type="submit" onclick="return fnbValidateLogin()" value="Login" name="Login"> Here's what i Tried theElementCollection = WebBrowser1.Document.GetElementsByTagName("input") …

Member Avatar for codeorder
0
261
Member Avatar for bettybarnes

hi can anyone please help me with the codes in search stored procedure.. for example.. i have combobox which lists lastname, firstname, pt_id, (the choices if i want to search for a particular record) i forgot the code for search T.T

Member Avatar for bLuEmEzzy
0
103
Member Avatar for RenanLazarotto

Hey people! I've saw many many times lots of custom controls, so I decided to build mine. I just don't know how :$ what do I need do to do to build a custom listbox control? Thanks!

Member Avatar for RenanLazarotto
0
1K
Member Avatar for bettybarnes

Conversion from string "Widow/Widower" to type 'Integer' is not valid. here is my code [CODE]classLibrary.addParameter("@Sex", SqlDbType.VarChar, txtSex.TextLength, txtSex.Text) classLibrary.addParameter("@Room_ID", SqlDbType.VarChar, txtRoom_ID.TextLength, txtRoom_ID.Text) classLibrary.addParameter("@CivilStatus", SqlDbType.VarChar, cboxCStatus.SelectedItem, cboxCStatus.Text) classLibrary.addParameter("@Nationality", SqlDbType.VarChar, txtNationality.TextLength, txtNationality.Text) classLibrary.addParameter("@Religion", SqlDbType.VarChar, txtReligion.TextLength, txtReligion.Text)[/CODE]

Member Avatar for jlego
0
240
Member Avatar for bettybarnes

this is the error message... The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Admission_Record_PT_Chart". The conflict occurred in database "HospitalManagementSystem", table "dbo.PT_Chart", column 'Chart_ID'. The statement has been terminated. my code is [CODE]Imports System.Data.SqlClient Public Class Admission Private cs As New SqlConnection("Data Source=SAbio;Initial Catalog=HospitalManagementSystem;User ID=sa;Password=TRACERT123") Private da As New …

Member Avatar for bettybarnes
0
241
Member Avatar for RenanLazarotto

Hey guys! Some time ago, I saw someone asking about trial software protection, and my first thought was a '30-day evaluation' mode. I was thinking on how it can be done without using any third-party programs. How can I detect the first run and count down (or up) the number …

Member Avatar for CodeWord
0
348
Member Avatar for Jake.20

I'm having a problem with the error in verifying the usernames that are already existing in the record/database. When you inputted a username that already existing it will throw an exception, and when you change the username, it still throws the exception.

Member Avatar for Jake.20
0
173
Member Avatar for msaranya

I am trying to create an Excel sheet and save it in server... Once it is saved, I display a link to the user "download excel". He can click it and then download it.. The pblm is I cant save the excel it says "The file could not be accessed." …

Member Avatar for Pgmer
0
221
Member Avatar for vanzhyme

Im using VB.NET 2005 i want to sum two records in database. So when i retreive them to display in my textbox they already sum. the numbers are in text. please help me ... im a newbie.. this is my code. con.Open() cmd = New OleDbCommand("select * from ChargedItems where …

Member Avatar for Pgmer
0
171
Member Avatar for danholding

Hi all i have been dancing around this problem for a couple of weeks now and have not got any closer. Description: i have created a crystal report in SQL5 and exported it fine but now i have gone to open it in visual studio 2008 and it does not …

Member Avatar for danholding
0
175
Member Avatar for Asen

I generate my xml into "variable string str" by using "dataset.GetXml" and then I write the "xml which is contained in variable str" into "file.xml" by using "sFile.WriteLine(str) while 'sFile' is a stream reader" My reason for using 'writeline' instead of 'dataset.WriteXml' because I need to encrypt the 'xml stored …

Member Avatar for Asen
0
196
Member Avatar for Jake.20

Guys, can you give me some idea on how to turn the combo box/drop down box uneditable.

Member Avatar for bLuEmEzzy
0
96
Member Avatar for Joshua Kidd

Hello, I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone …

Member Avatar for Joshua Kidd
0
79
Member Avatar for haqayyum

Dear Friends I am using visual basic 2008 amd creatomg a datagrodview format like below Product Code | Product Description | Price | Qty | Discount(%) | Total 00001 Biscuits 10 2 00002 Cream 50 2 Now I wnat to get total balance in total column after less discount in …

Member Avatar for CodeWord
0
103
Member Avatar for bklynman01

I'm relatively new with VB.net, so please bear with me... I have a tabpage with 28 textboxes in it. These textboxes will be loaded with data and maybe changed. There is a Save button on the form that will take the data from these textboxes and save them in a …

Member Avatar for CodeWord
0
173
Member Avatar for bettybarnes

i have problem guys about overload resolution Overload resolution failed because no Public 'Add' can be called with these arguments: 'Public Function Add(text As String) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'text' cannot convert from 'DBNull' to 'String'. 'Public Function Add(item As System.Windows.Forms.ListViewItem.ListViewSubItem) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'item' cannot convert …

Member Avatar for CodeWord
0
189
Member Avatar for jvlb

Hy!. i remember that in Qbasic i could assign values to variables from a text file. (not in the code inside.). How to make the same in VB.NET? Thanks in advanced.

Member Avatar for CodeWord
0
105
Member Avatar for abhi10kumar

How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..??

Member Avatar for Mitja Bonca
0
124
Member Avatar for vbnetworker

My Form have a multiline textbox. In this textbox, theres lines like that: name1 - phone1 and i have to convert every line in 2 variables (or array). eg: name = "name1" phone = "phone1" how could i make it?

Member Avatar for vbnetworker
0
169
Member Avatar for Gazzmonkey

Hi all, I've got a small problem with a database I'm working on, the project was given to me by college kids & their Teacher to complete. They created the database using Access 2007 and I'm left building a Windows App user interface in Visual Basic. Anyway I can't figure …

Member Avatar for Gazzmonkey
0
136
Member Avatar for TIP.Synergy

I am using update query statment but is not working for this code [CODE]Dim myConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= Provider=Microsoft.Jet.OLEDB.4.0;Data Source=../lms/DBLMS.mdb") Dim item As Integer myConn.Open() myComm = New OleDbCommand("UPDATE tblVehicles SET Vehicle_Type = " & cboVehicle_Type.Text & ", Vehicle_Model = " & txtVehicle_Model.Text & ", Plate_No = " & …

Member Avatar for DONPAWPAW
0
5K
Member Avatar for abhi10kumar

Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ??

Member Avatar for jay.gadhavi
0
181
Member Avatar for rkmeena

Hi............ How can i pass and access the array variable in Stored Procedures

Member Avatar for bLuEmEzzy
0
77
Member Avatar for mroberts50

I am using Visual Basic Express. Here is my code but my number is always a whole number when I divide I want it to be two decimal places. For example 367/12 should equal 30.42 not just 30. I do not understand what I am doing wrong? Private Sub btnIntegerDivide_Click(ByVal …

Member Avatar for bLuEmEzzy
0
243

The End.