Posts
 
Reputation
Joined
Last Seen
Ranked #348
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
86% Quality Score
Upvotes Received
43
Posts with Upvotes
42
Upvoting Members
33
Downvotes Received
8
Posts with Downvotes
8
Downvoting Members
4
16 Commented Posts
3 Endorsements
Ranked #486
Ranked #180
~228.43K People Reached
Favorite Tags
Member Avatar for geetajlo

Hi, If your combobox is set with the "DropDownList", then use Combobox1.SelectedIndex = -1

Member Avatar for jeric_2
0
7K
Member Avatar for Rahul47

Hi, You can try this; Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Integer, ByVal hWndInsertAfter As Integer, ByVal x As Integer, ByVal y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal wFlags As Integer) As Integer Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal …

Member Avatar for Rythorian
0
844
Member Avatar for Luc001

Like the title says, I'm trying to coloring an empty cell in bounded datagridview. I've got this code to coloring a cell with specitic value and is working well. This code is in the DatagridviewCellFormattingEventargs. If e.ColumnIndex = 5 AndAlso e.Value <= Date.Now.ToShortDateString Then e.CellStyle.ForeColor = Color.DarkGreen e.CellStyle.Font = New …

Member Avatar for M.Lingo
0
352
Member Avatar for harsh01ajmera

Hi harsh01ajmera, Go to the menubar and select -> project -> Call function -> change Shutdown mode into: When last form closes. That means that you can close your login form without closing your application.

Member Avatar for Varun_9
0
3K
Member Avatar for Eschen515

Hi, You should do it like this: [CODE]Sub Main() Dim Bday As Date Console.WriteLine("What is your date of birth?") Bday = Console.ReadLine Dim d1 As Date Dim d2 As Date d1 = Now d2 = Bday Dim iage As Integer iage = DateDiff(DateInterval.Year, d2, d1) - 1 Console.WriteLine(iage) Console.ReadKey() End …

Member Avatar for ChristaJocelyn
0
949
Member Avatar for Lee21

Hi, You can do it like this: [CODE]For Each frmApproval As Form In Me.MdiChildren frmApproval.Close() Next[/CODE]

Member Avatar for Mike_25
0
6K
Member Avatar for Mike Bishop

Hi, You can try something like this: [CODE] If Me.txtLine2Rcon.Text = "" Then MsgBox("Please insert a running condition for Line 2 before you add it to the database", vbOKOnly) End Sub else Dim NewLongDesc As String Dim RConv As String Dim StkCodeV As String ' rest of your code[/CODE]

Member Avatar for Deep Modi
0
258
Member Avatar for y2kshane

Hi, You can try this: [CODE]'following code resizes picture to fit Dim bm As New Bitmap(PictureBox1.Image) Dim x As Int32 'variable for new width size Dim y As Int32 'variable for new height size Dim width As Integer = Val(x) 'image width. Dim height As Integer = Val(y) 'image height …

Member Avatar for Reverend Jim
0
9K
Member Avatar for BillyMagic

Hi, Keyloggers are considered malicious , but it actually isn't quite clear whether you mean the same thing as we do with that term. If you are wondering how to store something, anything, then consider these points: 1) What type of data is it? Keys can actually be bytes, integers, …

Member Avatar for arpin
-4
231
Member Avatar for ashwinshenoy

[QUOTE=ashwinshenoy;1550853]Hi John, Thank you for the reply.. I used the Publish method to create a setup file of my project. But I have another problem. When I try to install it in the other computer which does not have VB installed, it does not execute. It gives an error message …

Member Avatar for joshl_1995
0
2K
Member Avatar for selvaganapathy

Hi, After looking up the error found that you've got a Virus on your computor that could be the WORM_KLEZ.E . You can try to do a Total scan with your Antivirus or do a Registry Clean. You can find some information about the virus and a solution, [URL="http://threatinfo.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM%5FKLEZ%2EE&VSect=P"]here.[/URL]

Member Avatar for Reverend Jim
-1
711
Member Avatar for twigan1015

Hi, Here's an example how to save the listboxitems to a textfile: [CODE]Private Shared Sub WriteToFile() Dim SW As StreamWriter SW = File.Create("c:\MyTextFile.txt") For Each item As ListItem In ListBox.items SW.WriteLine(item.text) Next SW.Close() End Sub[/CODE]

Member Avatar for tdeath
0
2K
Member Avatar for kipslem

Hi, To view your powerpoint presentations into your application, without to open Powerpoint Office. You need a Powerpoint Viewer ActiveX control for that. You can download one, [URL="http://www.freedownloadscenter.com/Programming/ActiveX/Free_PowerPoint_Viewer_ActiveX.html"]here.[/URL] I hope it helps for you.

Member Avatar for mufu411
0
476
Member Avatar for pc20912

Hi, You can add a Column to your Datagridview and then select a DatagridviewImageColumn. In the properties go to Appearance and add an Image

Member Avatar for pc20912
0
1K
Member Avatar for Paul_15

Hi, You can try something like this: Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged TextBox1.Text = ComboBox1.SelectedItem End Sub

Member Avatar for Paul_15
0
232
Member Avatar for shenn.to

Hi, You need to declare your tabpage as the new one, give this page a name and add that new tabpage to the Tabpagecontrol. Add this code to the Listview selectedindexchange event. Try this and show us your codes.

Member Avatar for shenn.to
0
232
Member Avatar for sushilsth

Hi, Remove this part: ' Fail validation (prevent them from leaving the cell) e.Cancel = True

Member Avatar for Begginnerdev
0
3K
Member Avatar for TechSupportGeek

Hi, Please create a new dicussion instead to have more luck, because this discussion is 3 years old and Solved. Thanks in advance!

Member Avatar for Luc001
0
2K
Member Avatar for yagelnnn1

Hi, You can find a tutorial, [Here](http://www.tutorialspoint.com/vb.net/vb.net_combobox.htm) Please try some coding and when you still have some trouble we'll glad to help.

Member Avatar for yagelnnn1
0
189
Member Avatar for ShadyTrips

Hi, You can find some information, [Here, with example codes](http://www.tutorialspoint.com/vb.net/index.htm)

Member Avatar for ShadyTrips
0
140
Member Avatar for LobeRoni

Hi, Here's an example how to create a Login form with a database: [code]Imports System.Data.OleDb Public Class LoginForm1 ' OK button Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=E:\VBproject\myDB.mdb") Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM Users WHERE …

Member Avatar for sunilkumarasem
-1
2K
Member Avatar for Eternal Newbie
Member Avatar for manoj_582033

Hi, There are basically two ways to start application when Windows starts. First and maybe the easiest way is to copy a shortcut to your application in Startup folder. Second way is to start up VB.NET application from the Windows registry. Some installer applications can do this for you. But …

Member Avatar for Eternal Newbie
0
226
Member Avatar for oldSoftDev

Hi, You can find an example about Removehandler, [Here](http://msdn.microsoft.com/en-us/library/6yyk8z93%28v=vs.90%29.aspx)

Member Avatar for Eternal Newbie
0
1K
Member Avatar for major_lost

Hi, Try this: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load ComboBox1.Items.Add("") ComboBox1.Items.Add("1") End Sub Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged If Not TextBox1.Text <> "" Then ComboBox1.Enabled = True Else ComboBox1.Enabled = False End If End Sub Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e …

Member Avatar for major_lost
0
300
Member Avatar for IsaacMessi10
Member Avatar for Luc001
0
154
Member Avatar for rdprecure

Hi, I think you can try this: ' Display items in the ListView control For Each row As DataRow In dtable.Rows listView1.Items.Add(New ListViewItem(New String() {row("Firstname").ToString(), row("Lastname").ToString()})) Next

Member Avatar for tinstaafl
0
363
Member Avatar for Mr.M

Hi, After a little search via uncle Google found some information about Microsoft POS, [ Here](http://msdn.microsoft.com/en-us/library/ms828083%28v=winembedded.10%29.aspx) Hope it helps,

Member Avatar for Mr.M
0
707
Member Avatar for nel gomez

Hi, I think that you need to add EZTwain to your project using Project - add item: Go to the EZTwain toolkit folder (usually \Program Files\EZTwain), go to the sub-folder for your language: VB.NET, add the declaration file you find there.

Member Avatar for nel gomez
0
273
Member Avatar for IsaacMessi10

Hi, Perhaps you can find some information, [Here](http://xkom.blogspot.be/2011/07/custom-tab-control-with-cool-appearance.html)

Member Avatar for IsaacMessi10
0
454