159 Posted Topics

Member Avatar for chewie20601

* Ok Change line 21 to double fixedSalary = 100000; Reason: Type of variable not declared also a syntax error, you can't add any character such as "," in type int, double or float and it's unnecessary. * line 23 double commission; Reason: since it's a fraction number (2.5) you …

Member Avatar for chewie20601
0
433
Member Avatar for rianbattle

Are you sure it's connected through "COM9"? (devices and printers >> printer properties >> ports), if yes then add this code before opening the serial port PrinterSerial.DtrEnable = True PrinterSerial.RtsEnable = True Reference : [Click Here](https://www.daniweb.com/software-development/vbnet/threads/376805/serial-port-questions)

Member Avatar for cgeier
0
1K
Member Avatar for oussama_1

Here's a simple game code, open a new vb project and copy paste this code and hit run. the game contains 3 levels, all you have to do is to shoot the smiley faces to earn money using mouse clicks, also there's a boss enemy on level 3. I didn't …

Member Avatar for oussama_1
3
945
Member Avatar for Suzie999

Check your Active solution platform if it is compatible with your System type (e.g. 64-bit)

Member Avatar for Suzie999
0
397
Member Avatar for oussama_1

Hi guys, i was told that with the right settings of Qos in my router, i can prioritize the internet speed between online gaming or watching videos or browsing etc.. but what i want is to give a high priority to my pc among other pc's connected to my router. …

Member Avatar for oussama_1
0
178
Member Avatar for Chem_1

Your "errors" are both logical errors and syntax errors Syntax errors: -when you write a method, you can't use the semicolon, just open the curly braces then write your code then close it. -in your main method it's a "String" instead of "Strings" -as JamesCherrill said, indent your code, so …

Member Avatar for Chem_1
0
223
Member Avatar for Siick7
Member Avatar for stultuske
0
302
Member Avatar for geoamins

Create your database >> connect your device >> open serialport >> read data >> store data. usually there's a manual accompanied with this device and i'm sure there's developer section in it, check it.

Member Avatar for oussama_1
0
74
Member Avatar for docfnt

Use Form.ActiveForm 'close button Form.ActiveForm.Close() 'maximize button Form.ActiveForm.WindowState = FormWindowState.Maximized 'minimize button Form.ActiveForm.WindowState = FormWindowState.Minimized

Member Avatar for docfnt
0
203
Member Avatar for elouch
Member Avatar for elouch
0
244
Member Avatar for deletedaccount

Create a fullscreen black form with low opacity and make it on top most then display your dialog above it.

Member Avatar for Firstgamefreak
0
234
Member Avatar for wa0h@arrl.net

Use a webbrowser from toolbox menu 1 .. pass the address to the webpage Webbrowser.Navigate(URL) 2 .. click the webpage (find) button webBrowser1.Document.All("Button ID").InvokeMember("click") Good Luck

Member Avatar for deletedaccount
0
924
Member Avatar for OTOSystem
Member Avatar for oussama_1
0
193
Member Avatar for Centorpe
Member Avatar for Centorpe
0
342
Member Avatar for KushMishra
Member Avatar for Gulzar_1
Member Avatar for Nebil

when you use the getdata methode it collect the values in your query, your "fuel/litre" is no longer there. instead use this code to get your item Dim qry As OleDb.OleDbCommand Dim dr As OleDb.OleDbDataReader qry = New OleDbCommand("SELECT * FROM [fuel_allowance] WHERE [project number]='" & projcode & "' AND …

Member Avatar for PerplexedB
0
1K
Member Avatar for ctrah
Member Avatar for Coudren

You need to create the installer (go to your project properties then go to publish - publish wizard) then on the user machine double click on the installer. also make sure to set your application platform on X86 for it to work on both machines (32bit and 6bit), for that …

Member Avatar for oussama_1
0
457
Member Avatar for Danuja

MsgBox is the default one, you show a string and wait for the user to click the msgbox button in Messagebox.show you can add a custom buttons and icon etc.. MessageBox.Show(message, caption, MessageBoxButtons.YesNo, MessageBoxIcon.Question)

Member Avatar for Ancient Dragon
0
342
Member Avatar for ibpet11

usually a product like this comes with a software disc or you can download it from their website..if thats not the case, is there any part in that documentation that talks about developing or programing if so, upload it or send a url. anyway this is how you read the …

Member Avatar for ctrah
0
3K
Member Avatar for johnsheehan

Read [this](http://www.daniweb.com/software-development/vbnet/threads/475373/adding-data-in-access-database)

Member Avatar for oussama_1
0
257
Member Avatar for Mr.M

Get all files and folders in a directory Dim f As New DirectoryInfo("C:\test\") Dim dirs() As DirectoryInfo = f.GetDirectories("*", SearchOption.AllDirectories) For Each d As DirectoryInfo In dirs ListBox1.Items.Add(d.Name) Dim di As New IO.DirectoryInfo(d.FullName) Dim diar1 As IO.FileInfo() = di.GetFiles() Dim dra As IO.FileInfo For Each dra In diar1 ListBox1.Items.Add(dra) Next …

Member Avatar for Mr.M
0
480
Member Avatar for pbarks1
Member Avatar for oussama_1
0
252
Member Avatar for uDevv
Member Avatar for oussama_1
0
179
Member Avatar for Shft

i once did a pos for a delivery company, they take orders over the phone so i included a caller id in the pos, you can try something like that..just for fun.

Member Avatar for oussama_1
0
138
Member Avatar for fugio

this one works and wont give any error if the item is not selected ComboBox1.Items.Remove(ComboBox1.SelectedItem) but this one will give you "InvalidArgument=Value of '-1' (not 0) is not valid for 'index'" if the item is not selected ComboBox1.Items.RemoveAt(ComboBox1.SelectedIndex)

Member Avatar for oussama_1
0
1K
Member Avatar for Nebil
Member Avatar for oussama_1
0
161
Member Avatar for pbarks1

Private Sub Button7_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button7.Click 'set your timer to minutes Timer2.Interval = 60000 'set you progressbar max value to 45 ProgressBar1.Maximum = 45 Timer2.Start() Button7.Enabled = True Label8.Text = "Match Begins" End Sub Private Sub Timer2_Tick(ByVal sender As Object, ByVal e As EventArgs) …

Member Avatar for oussama_1
0
1K
Member Avatar for Satyam_1

in a button click event create 2 different connection(oleDb.oleDbConnection) like this Dim Connection1 As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source='" & "Access 1 Full Path" & "';" & "Persist Security Info=False;" & "Jet OLEDB:Database Password=" & "your pass" & ";") Dim Connection2 As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source='" & "Access 2 …

Member Avatar for oussama_1
0
471
Member Avatar for t3cho
Member Avatar for azareth
Member Avatar for Mae_1

wow buddy your code doesn't make any sense. you should run this once With dgv_booklist .Columns.Add("ISBN", "ISBN") .Columns.Add("BookCode", "BookCode") .Columns.Add("Title", "Title") .Columns.Add("Author", "Author") .Columns.Add("Category", "Category") .Columns.Add("StudentNo", "StudentNo") .Columns.Add("FirstName", "FirstName") .Columns.Add("LastName", "LastName") .Columns.Add("BorrowDate", "BorrowDate") .Columns.Add("LoanPeriod", "LoanPeriod") End With and that's the add row code Private Sub btn_addborrow_Click(ByVal sender As Object, ByVal …

Member Avatar for Mae_1
0
15K
Member Avatar for Satyam_1

Imports System.Data.OleDb Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Change Tablename,Access Full path,Password Dim CN As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source='" & "Access Full Path" & "';" & "Persist Security Info=False;" & "Jet OLEDB:Database Password=" & "your pass" & ";") Dim cmd …

Member Avatar for Satyam_1
0
429
Member Avatar for khei007
Member Avatar for N.Raghavendran

2 things you should take care of: 1) in your project publish settings, when the user install your application the "application files" and "prerequisites" will be automatically installed on the user machine so make sure you include everything in the application files 2) the user machine platform if the targeted …

Member Avatar for oussama_1
0
246
Member Avatar for Red_Rain

[Click Here](http://www.daniweb.com/software-development/game-development/threads/464500/where-to-start-fro-create-video-game)

Member Avatar for oussama_1
0
191
Member Avatar for اشرف_1
Member Avatar for Satyam_1

> Please tell me the code. Dear Satyam_1 What you are asking is for us to work for you instead of helping you, you see programmers get paid for these codes! Programmers spend a lot of money and years of their time studiyng these codes,don't take this the wrong way …

Member Avatar for oussama_1
0
286
Member Avatar for Halkawt.Papula

There is no path to your resources it's already embeded in your exe app but instead you can use the text inside (only to copy) Like this: Dim Text As New RichTextBox Dim FilePath As String = My.Computer.FileSystem.SpecialDirectories.Desktop Dim lines() As String = My.Resources.wsha.Split(Environment.NewLine) For Each line As String In …

Member Avatar for oussama_1
0
349
Member Avatar for 2292.dana

Add your txt file to your app resources Project - Project properties - resources - upload

Member Avatar for oussama_1
0
149
Member Avatar for Ajay_9

set timer to minutes : timer.Interval = 60000 on button click event put timer.start in timer1_tick event each tick is a 1 minute so count the minutes count = count + 1 and if count == 2 then alert and stop timer (timer.stop). good luck

Member Avatar for oussama_1
0
342
Member Avatar for BogdanCov

use a Yes/No messagebox to interact with form DialogResult MSG = MessageBox.Show("Subtitle", "Title", MessageBoxButtons.YesNo); if (MSG == DialogResult.Yes) { //code } else if (MSG == DialogResult.No) { //code }

Member Avatar for ddanbe
0
174
Member Avatar for DonXai

Is your table a datagrid or a database ? what's the error ? a wild guess DataGridView1.Rows.Add(1) DataGridView1.Rows(0).Cells("T_ID").Value = ComboBox1.Items(0) DataGridView1.Rows(0).Cells("Sbj_Paper_Name").Value = ListBox1.Items(0)

Member Avatar for oussama_1
0
124
Member Avatar for carmamir
Member Avatar for abey ella

If you want your FOUR INDEPENDENT apps to access the same database, you need to host your database online. Use your experience in java to create the android app (eclipse) Use your experience in php to write the login process,connecting,sql commands etc... for the android app. You can learn C# …

Member Avatar for oussama_1
-2
115
Member Avatar for Khyxz

Dim sum As Integer = 0 For i = 0 To DataGrid.Rows.Count - 1 sum = sum + DataGridView1.Rows(i).Cells(4).Value Next as for the second question i didnt understand it, can you explain more?

Member Avatar for oussama_1
0
158
Member Avatar for Johnathon332
Member Avatar for oussama_1
0
286
Member Avatar for mavtcr

'add yourTableName Dim insertCommand As New OleDb.OleDbCommand("INSERT INTO yourTableName (Bank, Acno, Name) VALUES ('" & TxtBank.Text & "','" & TxtAcno.Text & "','" & TxtName.Text & "')", CN) Try CN.Open() insertCommand.ExecuteNonQuery() MsgBox("Record Added Successfully") Catch ex As Exception Finally CN.Close() End Try

Member Avatar for oussama_1
0
363
Member Avatar for JaneLewis1615

The End.