20,285 Topics
![]() | |
######################################################################################## 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 | |
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. | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to create crystal report using xml files??? | |
[B] Dear Sir, Good morning How to open CSV file within form in asp.net and control it like a Matrix thank you[/B] | |
guys, how to check data if it is already in the database? i am using sql server.. thanks | |
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 :) | |
Dear Sir, Good morning How we can Upload data from Excell to our Access database through VB .NEt Please Help me | |
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 = … | |
How we can show data from acess database in datagrid please help me about the code | |
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") … | |
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 | |
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! | |
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] | |
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 … | |
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 … | |
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. | |
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." … | |
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 … | |
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 … | |
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 … | |
Guys, can you give me some idea on how to turn the combo box/drop down box uneditable. | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..?? | |
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? | |
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 … | |
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 = " & … | |
Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ?? | |
Hi............ How can i pass and access the array variable in Stored Procedures | |
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 … |
The End.