355 Posted Topics

Member Avatar for angstetra

Hi, You can find some information, [URL="http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx"]here.[/URL] Or you can try a thirt party like INNO Setup, look [URL="http://www.jrsoftware.org/isinfo.php"]here.[/URL].

Member Avatar for Luc001
0
117
Member Avatar for Joshua Kidd

Hi, Perhaps you can find some information, [URL="http://www.codeproject.com/KB/miscctrl/GMapNET.aspx"]here.[/URL] How to use this Control.

Member Avatar for sgt_toasty
0
117
Member Avatar for uchendu korie

Hi, He're some examples how to play with Dates and Time. See, wich one you need: [CODE]Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Label1.Text = TimeOfDay.ToLongTimeString Label2.Text = DateAndTime.Now.ToString End Sub[/CODE]

Member Avatar for Luc001
0
183
Member Avatar for bLuEmEzzy

Hi, You can try this: [CODE]For Each dr As DataRow In myDataSet.myTable.Rows Me.toolStripTextBox1.AutoCompleteCustomSource.Add(dr("myColumn").ToString()) Next[/CODE] Make sure you have your AutoCompleteSource set to CustomSource.

Member Avatar for bLuEmEzzy
0
1K
Member Avatar for MikeTackett

Hi, I should use a Class for this so that you can call it instead of writing the whole code over again.

Member Avatar for Pgmer
0
155
Member Avatar for twigan1015

Hi, I think a better way of doing this to use the Arrowkeys. The reason way is, if the user needs the letter W or Q then he can't use it because of another action.

Member Avatar for MikeTackett
0
131
Member Avatar for tstory28

Hi, I've one more question: What will you do if the number doesn't match in listbox2?

Member Avatar for Unhnd_Exception
0
361
Member Avatar for pratibhamohanty

Hi, You can find an example how to convert a Crystal report to PDF file, [URL="http://www.codeproject.com/KB/vb/JatsArticle1.aspx"]here.[/URL]

Member Avatar for Ronln
0
3K
Member Avatar for msqueen082
Member Avatar for msqueen082
0
120
Member Avatar for baldandwild

Hi, This: [CODE] Else FutureJob = future[/CODE] Should be: [CODE] Else FutureJob = future[/CODE]

Member Avatar for baldandwild
0
214
Member Avatar for eldaerys

Hi, You should use the Image..Fromfile method. You can find some information, [URL="http://msdn.microsoft.com/en-us/library/4sahykhd.aspx"]here.[/URL]

Member Avatar for Luc001
0
64
Member Avatar for code07

Hi, What you also can do is, go to ask by uncle Googl or you can read [URL="http://www.homeandlearn.co.uk/net/nets12p1.html"]this[/URL] tutorial about databases with access.

Member Avatar for Luc001
-3
135
Member Avatar for zambag

Hello zambag, You should create a new thread, because this thread is solved. Thanks, Luc001

Member Avatar for peter_budo
0
203
Member Avatar for matthewskyle

[QUOTE] I would also like a way to eliminate having 40 textboxes on a page lol, because the idea was to have a pop up box or something open that would let the user submit it and then return to the question instead of hiding textboxes[/QUOTE] Hi, You can try …

Member Avatar for Luc001
0
206
Member Avatar for VBrulez

Hi, You should My.Settings. You can find some information, [URL="http://msdn.microsoft.com/en-us/library/ms379611(v=vs.80).aspx"]here.[/URL]

Member Avatar for Luc001
0
165
Member Avatar for RenanLazarotto

Hi, To delete the last typed char you need this: [CODE]Private Sub btnBackSpace_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBackSpace.Click If (lblDisplay.Text.Length > 0) Then d = lblDisplay.Text.Length lblDisplay.Text = lblDisplay.Text.Remove(d - 1, 1) End If End Sub[/CODE] To change the value signal, you need this: [CODE]Private Sub …

Member Avatar for RenanLazarotto
0
131
Member Avatar for chabo

Hi, You want to print the bill. What's that the bill? How did you showed the ordered food by the costumer? ........ It's like walking in the dark without any lights... Give us some light and I'm sure you'll have a solution for your problem :)

Member Avatar for chabo
0
232
Member Avatar for ashwinshenoy

Hi, What you also can do is to create a splasscreen. In that screen you can add some program information like Name, programmers, version, etc... Add a progressbar and when the value reach 3 sec. then show the form load.

Member Avatar for Luc001
0
930
Member Avatar for yashodhan05
Member Avatar for chintan_1671

Hi, Here's an example: [CODE]Dim associatedChar As Char ' Returns "A". associatedChar = Chr(65) ' Returns "a". associatedChar = Chr(97) ' Returns ">". associatedChar = Chr(62) ' Returns "%". associatedChar = Chr(37)[/CODE]

Member Avatar for chintan_1671
0
732
Member Avatar for Olivis

Hi, You should do something like this: [CODE]Private treeViewWithToolTips As TreeView Private Sub InitializeTreeViewWithToolTips() treeViewWithToolTips = New TreeView() Dim node1 As New TreeNode("Node1") node1.ToolTipText = "Help for Node1" Dim node2 As New TreeNode("Node2") node2.ToolTipText = "A Tip for Node2" treeViewWithToolTips.Nodes.AddRange(New TreeNode() {node1, node2}) treeViewWithToolTips.ShowNodeToolTips = True Me.Controls.Add(treeViewWithToolTips) End Sub[/CODE]

Member Avatar for Olivis
0
189
Member Avatar for kipslem

Hi, I think you should use a powerpointviewer for that instead of the powerpoint.exe . That means that you can use an ActiveX control like the activex control from windows media player. To download the powerpointviewer look, [URL="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=048dc840-14e1-467d-8dca-19d2a8fd7485"]here.[/URL] After you downloaded and installed the viewer you can find the AciveX …

Member Avatar for kipslem
0
293
Member Avatar for msqueen082

[QUOTE=msqueen082;1524749] I have to use dates in calculation ... like a client types a appointment datat in textbox and in another textbox it shows that the date has to be between two days. [B](appointment written in text box has to be 90 days after today but less than 100 days …

Member Avatar for msqueen082
0
187
Member Avatar for eldaerys

Hi, You can find a Tic Tac Toe tutorial, [URL="http://vbprogramming.8k.com/tutorials/tic-tac-toe.htm"]here.[/URL] This one is the easyest one, just googled ;)

Member Avatar for Luc001
0
99
Member Avatar for bklynman01

Hi, Did you added that desktop icon again to the newer version setup of your application. If not I think you should try that.

Member Avatar for bklynman01
0
93
Member Avatar for eileenc87

Hi, Add a label in designtime and place it above the datetimepicker, just like Codeorder showed. In the properties of the label set the text: - Please Select Date - and the textalign = center. That's all.

Member Avatar for codeorder
0
501
Member Avatar for margaretna

Hi, You can use the OpenfileDialog Class for that. You can find some explanation and example, [URL="Private Sub button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)"]here.[/URL]

Member Avatar for Luc001
0
128
Member Avatar for hercx

Hi, In the properties of the textboxes you doesn't want the focus set Tabstop = False For the textbox set Tabindex = 0

Member Avatar for hercx
0
101
Member Avatar for sarifah n

Hi, You can try something like this: [CODE]Me.DataGridView1.Rows.Insert(0, value1, value2) ' values you entered[/CODE] Didn't tested it

Member Avatar for sarifah n
0
3K
Member Avatar for suvisoya

Hi, A string containing the column name followed by "ASC"(ascending) or "DESC"(descending) will change the datatable order. The columns are sorted ascending by default.

Member Avatar for suvisoya
0
60
Member Avatar for e-papa

Hi, Yu can find some VB 2008/2010 tutorials, [URL="http://www.visual-basic-tutorials.com/"]here.[/URL] There some good books depending on the VB version on the net.

Member Avatar for e-papa
0
150
Member Avatar for kazekagerandy

[QUOTE=kazekagerandy;1517232]is there anyway that i can place an object in a specific coordinates in vb?[/QUOTE] Hi, When you speek about coordinates with Mapping, then I think of Latitude and Longitude. You can find some tutorial, [URL="http://www.vbdotnetheaven.com/UploadFile/scottlysle/GPSandVBNET09062007021746AM/GPSandVBNET.aspx"]here.[/URL]

Member Avatar for kazekagerandy
0
81
Member Avatar for bLuEmEzzy

Hi, You should try something like this: [CODE]Dim item As ListItem For Each item In ListView1.ListItems If item.Selected = False Then 'do your stuff here End If Next[/CODE]

Member Avatar for bLuEmEzzy
0
158
Member Avatar for miss_indie

Hi, I think you can find some information, [URL="http://msdn.microsoft.com/en-us/library/ms720163(v=vs.85).aspx"]here.[/URL] And specially step 3 .

Member Avatar for miss_indie
0
83
Member Avatar for honey61399

Hi, For your second question, use this in a button event: [CODE]System.diagnostics.Process.Start("shutdown", "-s") ' Will cause the computer to shutdown[/CODE]

Member Avatar for Luc001
0
143
Member Avatar for markdean.expres

[QUOTE=markdean.expres;1507418]Guys how do I save settings of a form like its background color, fonstyle, sontsize etc. I cannot save them as string or text into my access database.[/QUOTE] Hi Mark, You can also try to do this with the My.Settings object. You can find some information,[URL="http://www.devsource.com/c/a/Languages/VBNET-Using-MySettings-for-Application-Settings/"]here.[/URL]

Member Avatar for PdotWang
0
196
Member Avatar for horserider

Hi, To let the code that Animal Mother provided work. You need to change in the properties of that Tabcontrol the [B]Drawmode = OwnerDrawFixed[/B]

Member Avatar for Unhnd_Exception
0
1K
Member Avatar for Pure1108

Hi, You should try something like this: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If CheckBox1.Checked = False Or TextBox1.Text = "" Then MsgBox("Error, You forgot something") Else MsgBox("Progressbar coding goes here") End If End Sub[/CODE]

Member Avatar for Luc001
0
163
Member Avatar for anirudhrudr

[QUOTE=Mysterious;1185106]it works for the final result, but when you click the dropdown button it shows you day and month, I want to pick years only, how can I do that thanks[/QUOTE] Hi, If you want only a dropdown with years to select without any days and months, then you doesn't …

Member Avatar for tim.newport
0
8K
Member Avatar for brynFlew

Hi, When you first open up a project written in VS 2008 inside VS 2010 it will normaly prompt you to upgrade the project. What this actually does is update the project (.vbproj) and solution .(sln) files to be compatible with VS 2010. Did you tryed that?

Member Avatar for brynFlew
1
1K
Member Avatar for mogaka

Hi, You can find some information, [URL="http://msdn.microsoft.com/en-us/library/Aa362761"]here.[/URL]

Member Avatar for Luc001
0
70
Member Avatar for markdean.expres

Hi, Go to the properties of your button and use this text: &Open and this name: btnOpen You will see in the designer the text appear in the button like this: [U]O[/U]pen Now, try this part of code: [CODE]Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click …

Member Avatar for Luc001
0
71
Member Avatar for Yousha

Hi chibex64, Your code only shows a randomvalue and not the datetime.minute or datetime.year. You should do it like this: [CODE]'declare variables Dim randomvalue As New Random 'create random object Dim randomhold As Integer 'generate random number For i As Integer = 0 To 9999 randomhold = randomvalue.Next(1, 9999) txtUserId.Text …

Member Avatar for Yousha
0
181
Member Avatar for Joshua Kidd

Hi, You can find some examples how to create custom buttons, [URL="http://www.codeproject.com/KB/buttons/CButton.aspx"]here.[/URL]

Member Avatar for Joshua Kidd
0
161
Member Avatar for yoge911

Hi, You can find some information, [URL="http://stackoverflow.com/questions/1163149/custom-action-on-uninstall-clickonce-in-net"]here.[/URL]

Member Avatar for yoge911
0
145
Member Avatar for markdean.expres

[QUOTE=markdean.expres;1481952]Guys, is there a way to programatically and more efficiently sort records displayed in a datagridview control? If so, how?[/QUOTE] Hi, You should use the Datagridview.Sort method. You can make your sorting in a ascending or decending direction. You can find an example, [URL="http://msdn.microsoft.com/en-us/library/0868ft3z(v=vs.80).aspx"]here.[/URL]

Member Avatar for markdean.expres
0
131
Member Avatar for bettybarnes
Member Avatar for Luc001
0
33
Member Avatar for mr3army

Hi, You can try something like this: [CODE]Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged, _ RadioButton2.CheckedChanged If RadioButton1.Checked Then MsgBox("You clicked Radiobutton1") End If If RadioButton2.Checked Then MsgBox("You clicked Radiobutton2") End If End Sub[/CODE]

Member Avatar for mr3army
0
100
Member Avatar for rkmeena

Hi, You need to use the performance counter class for that. Look, [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx"]here.[/URL]

Member Avatar for Luc001
0
65
Member Avatar for bLuEmEzzy

Hi, You can't add a Checkbox into the listview header, but you can add a checkbox into the listview header and use this ccde to use it. [CODE]Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged For Each lvitem As ListViewItem In Me.ListView1.Items If lvitem.Checked = …

Member Avatar for bLuEmEzzy
0
2K

The End.