355 Posted Topics

Member Avatar for swathys

[QUOTE=swathys;1459022]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

Hi, You can find an example, [URL="http://vb.net-informations.com/crystal-report/vb.net_crystal_report_from_xml_file.htm"]here.[/URL] To use this you need to have a VS version that installed the Crystal Report template.

Member Avatar for Luc001
0
570
Member Avatar for reedom

Hi, You can find some explanation, [URL="http://www.codeproject.com/KB/database/CsvReader.aspx"]here.[/URL]

Member Avatar for Luc001
0
51
Member Avatar for Josef01

Hi, You can delete rows by first selecting the rows and then pressing the Delete key. If you may want to confirm the deletion with the user before deleting them. You can do this with the UserDeletingRow event: [CODE]Private Sub DataGridView1_UserDeletingRow( _ ByVal sender As Object, _ ByVal e As …

Member Avatar for Josef01
0
4K
Member Avatar for roottybrian

Hi, Here's an example how to do it: [CODE]Private Sub PrintDocument1_BeginPrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs) Handles PrintDocument1.BeginPrint '--- Start printing at the start of the string mStringPos = 0 End Sub Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage '--- Setup graphics context …

Member Avatar for Luc001
0
168
Member Avatar for vanzhyme

Hi, You can find a good tutorial, how to create a Chrystal report with VB 2005, look [URL="http://www.aspfree.com/c/a/.NET/Generating-a-Simple-Crystal-Report-using-VS-2005/"]here.[/URL]

Member Avatar for vanzhyme
0
619
Member Avatar for JD69

Hi, I've used this in VB 2008 and works: [CODE]Dim form2 As New Form2 form2.TextBox1.Text = Me.TextBox1.Text form2.TextBox1.Enabled = True form2.Show() Me.Hide()[/CODE] All you need to do is add a button and textbox in form1 and textbox in form2. Put then this code into the button event. However, if you …

Member Avatar for Luc001
0
93
Member Avatar for cjoyce

[QUOTE=cjoyce;1451379]guys How do you Create Database in MS Access Using Oledb in vb.net?[/QUOTE] Hi, You can find a tutorial how to create a Database with Access in vb.Net. Look, [URL="http://www.homeandlearn.co.uk/net/nets12p4.html"]here.[/URL]

Member Avatar for cjoyce
0
277
Member Avatar for SaberExcalibur

Hi, You can find some explanation, how to add your Chrystal Report into your project when you want t publish. Look, [URL="http://msdn.microsoft.com/en-us/library/ms314043(v=vs.71).aspx"]here.[/URL]

Member Avatar for Luc001
0
165
Member Avatar for horserider

Hi, You can find an example, [URL="http://www.codeproject.com/KB/vb/Skin_for_Form_in_VB.Net.aspx"]here.[/URL] Or you can use SkinCrafter, look [URL="http://www.skincrafter.com/"]here.[/URL]

Member Avatar for Luc001
0
72
Member Avatar for Polongo

Hi, Try this: [CODE]Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.WindowState = FormWindowState.Maximized End Sub[/CODE]

Member Avatar for Luc001
0
181
Member Avatar for gadix

Hi, I found [URL="http://msdn.microsoft.com/en-us/library/system.globalization.hijricalendar.minsupporteddatetime(v=VS.90).aspx"]this[/URL] in the MSDN library for the Hijricalendar and [URL="http://msdn.microsoft.com/en-us/library/system.globalization.hebrewcalendar.minsupporteddatetime.aspx"]here[/URL] for the Hebrewcalendar. Perhaps you can find some information how to solve your problems.

Member Avatar for gadix
-1
300
Member Avatar for tendaimare
Member Avatar for Luc001
0
341
Member Avatar for JD69

Hi, If your browsebutton is a combobox, where you can do some selections, then you do something like this: [CODE]Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged TextBox1.Text = ComboBox1.SelectedItem End Sub[/CODE]

Member Avatar for nytro
0
113
Member Avatar for horserider

Hi, That's a datagridview. For some example Images look, [URL="http://www.google.be/images?hl=nl&rlz=1R2GGLL_nlBE409&q=datagridview+image&wrapid=tlif12945672773171&um=1&ie=UTF-8&source=univ&ei=bocpTZjgNp2ShAe-t-zGAg&sa=X&oi=image_result_group&ct=title&resnum=1&ved=0CCkQsAQwAA"]here.[/URL] For an explanation, look [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx"]here.[/URL]

Member Avatar for codeorder
0
126
Member Avatar for markdean.expres

[QUOTE=markdean.expres;1381227]Does anyone know where can I download free controls for my vb 2008? I need other controls that are more fancy or cool. My new proposed system is a multimedia file player and I think the common controls found in my IDE are not sufficient.[/QUOTE] Hi, You can try [URL="https://www.devexpress.com/Products/Free/NetOffer/"]here.[/URL]

Member Avatar for kvprajapati
0
151
Member Avatar for bhagawatshinde

Hi, You can some explanation about Keyboard hook, [URL="http://www.developer.com/net/net/article.php/2193301/Managing-Low-Level-Keyboard-Hooks-in-VB-NET.htm"]here.[/URL]

Member Avatar for Unhnd_Exception
0
1K
Member Avatar for xNegma
Member Avatar for yasho

Hi, You can find some information about Dates and Time formats [URL="http://datawebcontrols.com/faqs/CustomizingAppearance/FormatDateTimeData.shtml"]here.[/URL]

Member Avatar for ShahanDev
0
112
Member Avatar for mrclark

[QUOTE=mrclark;1379101]I have made a program consisting of about 15 smaller projects, each with their own .dll/.exe I need to make a custom installer that will prompt the user for different options, which the installer setup built into VS10 does not support. I need to be able to have this run …

Member Avatar for Luc001
0
183
Member Avatar for Riga

Hi, You can try something like this: [CODE]TextBox1.Text = Date.Now.DayOfWeek.ToString[/CODE]

Member Avatar for Riga
0
330
Member Avatar for mahs

Hi, The listbox doesn't work like that. You can either use a ListView, natively supporting the concept of a column or create a new user control, put a list box onto it and draw in a column header. You can find some explanation about a Listview, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.listview(v=vs.71).aspx"]here.[/URL]

Member Avatar for Luc001
0
89
Member Avatar for Chaos3737

Hi, I found this solution: [QUOTE]I seemed to have solved the problem...I realized the compact frameworks had nothing to do with the problem...and I don't even know why they were installed...so I removed them (that didn't fix the problem)...Windows Update then did a Security Update for Microsoft Visual C++ 2010 …

Member Avatar for gracelyn
0
165
Member Avatar for frank33

Hi, Because your working with Arrays, you should use the Imports System.Collection namespace. You can find some explanation, [URL="http://msdn.microsoft.com/en-us/library/system.collections.arraylist.aspx"]here.[/URL]

Member Avatar for kvprajapati
0
242
Member Avatar for saiju_menon

Hi, You can find an example how to print pdf files in [URL="http://www.daniweb.com/forums/thread145888.html"]this[/URL] thread.

Member Avatar for saiju_menon
0
551
Member Avatar for Trebron

Hi, You can find some explanation, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.afterselect(VS.71).aspx"]here.[/URL]

Member Avatar for Luc001
0
83
Member Avatar for Bardan Jusik

Hi, You can try this function: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click IsPalindrome(strToCheck:=TextBox1.Text) End Sub Public Function IsPalindrome(ByVal strToCheck As String) As Boolean Dim iForward As Integer Dim iBack As Integer Dim iMid As Integer Dim bPalindrome As Boolean IsPalindrome = False bPalindrome = …

Member Avatar for Bardan Jusik
0
308
Member Avatar for phoenix32

Hi, You can find some information about insert a new row, [URL="http://www.java2s.com/Code/VB/Database-ADO.net/UseOleDbDataAdaptertoinsertarowintoAccessdatabase.htm"]here.[/URL]

Member Avatar for kvprajapati
0
195
Member Avatar for hassan_wah
Member Avatar for Luc001
0
177
Member Avatar for SindujaArun

Hi, I think you should do it like this: [CODE]Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click If ListView1.SelectedItems.Count > 0 AndAlso MessageBox.Show("Do you want to delete this item?", "Confirm", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes Then 'make sure there is a selected item to delete ListView1.SelectedItems(0).Remove() End If …

Member Avatar for SindujaArun
0
87
Member Avatar for dre-logics

Hi, If you know the cell, like having a reference to it from the variable desiredCell you can simply do the following: [CODE]dataGridView1.CurrentCell = desiredCell dataGridView1.BeginEdit(True)[/CODE]

Member Avatar for dre-logics
0
110
Member Avatar for laks_samy

[QUOTE=laks_samy;1401209]I am working vb.net application vs 2005,I am using culture ("ja-JP") japan in my application but i need to display date in this format("dd-MMM-yyyy") how to change it? Thanks[/QUOTE] Hi, You can try something like this: [CODE]Label1.Text = Date.Now.ToString("dd/MMM/yyyy", CultureInfo.CreateSpecificCulture("ja-JP")) [/CODE] I couldn't tested it, because I haven't a japanese …

Member Avatar for Luc001
0
228
Member Avatar for srm_2010

Hi, You can read all about the textbox.scrolltocaret method, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.scrolltocaret.aspx"]here.[/URL]

Member Avatar for Luc001
0
60
Member Avatar for MooGeek

Hi, You can find a good tutorial how to use a Access database with VB.Net, [URL="http://www.homeandlearn.co.uk/NET/nets12p1.html"]here.[/URL]

Member Avatar for MooGeek
0
284
Member Avatar for jingo1126

Hi, You can find a tutorial, [URL="http://www.homeandlearn.co.uk/NET/nets12p1.html"]here.[/URL]

Member Avatar for Luc001
0
115
Member Avatar for Nirvin M

Hi, You can find some information about control resizing, [URL="http://www.codeproject.com/KB/dotnet/Resize_Control_at_Runtime.aspx"]here.[/URL]

Member Avatar for Netcode
0
105
Member Avatar for GeekaByte

Hi, I think you can find some information, about cursors, [URL="http://www.vbdotnetheaven.com/UploadFile/mahesh/1647/Default.aspx"]here.[/URL] He also mentioned that you can create some cursors by yourself with Visual Studio.

Member Avatar for Luc001
0
1K
Member Avatar for zarulhamdi

Hi, Did you tryed the Serialport.Open method. You can find some information, [URL="http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.open.aspx"]here.[/URL]

Member Avatar for zarulhamdi
0
83
Member Avatar for Noorul Ariff

Hi, I think you can find some information, [URL="http://www.vbforfree.com/?p=282"]here.[/URL]

Member Avatar for Luc001
0
118
Member Avatar for mancode1007

Hi, It's like adatapost said. You need the System Security Cryptography class for it. Look [URL="http://msdn.microsoft.com/en-us/library/ms172831.aspx"]here.[/URL]

Member Avatar for Luc001
1
283
Member Avatar for zela

Hi, To prevent other users from accessing the file when you open the file set the FileShare mode to None. Since you did not post any code I am not sure what method you are using to open and update the file. A sample using the would be: [CODE]File.Open("C:\temp\Filename.xml",FileMode.Append,FileAccess.ReadWrite,FileShare.None);[/CODE] Found …

Member Avatar for Luc001
0
95
Member Avatar for tcon

Hi, If I understand correct then it's this you want to accomplish: [CODE]TextBox1.Text = Now.ToString("hh:mm:ss: tt") TextBox1.Text = Now.ToString("M/dd/yyyy")[/CODE]

Member Avatar for Luc001
0
2K
Member Avatar for chris evans

Hi, You can find some information, [URL="http://msdn.microsoft.com/en-us/library/system.drawing.imaging.imageformat.aspx"]here[/URL] or [URL="http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx"]here.[/URL]

Member Avatar for chris evans
0
87
Member Avatar for eikal

Hi, You can find some information and example how to create a Chat program with vb.Net, [URL="http://vb.net-informations.com/communications/vb.net_chat_server_program.htm"]here.[/URL]

Member Avatar for Luc001
0
102
Member Avatar for Altarium

Hi, I think you can find some explanation [URL="http://www.vb-helper.com/howto_2005_datagridview_color_row.html"]here.[/URL]

Member Avatar for Netcode
0
134
Member Avatar for ladyclark

Hi, You can find some good information about anything you need to know for programming, [URL="http://www.homeandlearn.co.uk/NET/vbNet.html"]here.[/URL] I hope it helps you.

Member Avatar for Luc001
0
55
Member Avatar for Kingcoder210

Hi, On the property pane of the rpt files, check if the "Build Action" is set to "Embedded Resource", if it's not then change to Embedded Resource so your rpt file will be included when you do the build.

Member Avatar for Naveed_786
0
475
Member Avatar for Fredag
Member Avatar for Luc001
0
41
Member Avatar for Mubusher

Hi, Did you check Crystal Reports in the list of features to install when you installed Visual Studio 2008? If you didn't do that, no Crystal Reports features will appear in VS. (If you don't remember, you can review the installed features by going into VS setup via Control Panel.) …

Member Avatar for Luc001
0
581
Member Avatar for sharadkmittal

Hi, You can try this to select/deselect checkboxes like this: [CODE]Protected Sub lbtnSelectAll_Click(sender As Object, e As EventArgs) 'Select All Chek Boxes For Each row As GridViewRow In grdArticle.Rows Dim chkSelectCtrl As CheckBox = DirectCast(row.FindControl("chkSelect"), CheckBox) If chkSelectCtrl.Checked = False Then chkSelectCtrl.Checked = True Else chkSelectCtrl.Checked = False End If …

Member Avatar for Luc001
0
1K

The End.