355 Posted Topics
Re: [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 … | |
Re: 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. | |
Re: Hi, You can find some explanation, [URL="http://www.codeproject.com/KB/database/CsvReader.aspx"]here.[/URL] | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
Re: [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] | |
Re: 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] | |
Re: 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] | |
Re: 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] | |
Re: 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. | |
Re: Hi, You could try: [CODE]Dim str1() As String = Nothing[/CODE] | |
Re: 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] | |
Re: 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] | |
Re: [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] | |
Re: 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] ![]() | |
Re: Hi, Put the Label part inside the For Each loop. | |
Re: Hi, You can find some information about Dates and Time formats [URL="http://datawebcontrols.com/faqs/CustomizingAppearance/FormatDateTimeData.shtml"]here.[/URL] | |
Re: [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 … | |
Re: Hi, You can try something like this: [CODE]TextBox1.Text = Date.Now.DayOfWeek.ToString[/CODE] | |
Re: 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] | |
Re: 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 … | |
Re: 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] | |
Re: Hi, You can find an example how to print pdf files in [URL="http://www.daniweb.com/forums/thread145888.html"]this[/URL] thread. | |
Re: Hi, You can find some explanation, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.afterselect(VS.71).aspx"]here.[/URL] | |
Re: 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 = … | |
Re: 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] | |
Re: Hi, You can try with topmost like this: [CODE]Me.Topmost = True[/CODE] | |
Re: 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 … | |
Re: 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] | |
Re: [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 … | |
Re: 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] | |
Re: 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] | |
Re: Hi, You can find a tutorial, [URL="http://www.homeandlearn.co.uk/NET/nets12p1.html"]here.[/URL] | |
![]() | Re: Hi, You can find some information about control resizing, [URL="http://www.codeproject.com/KB/dotnet/Resize_Control_at_Runtime.aspx"]here.[/URL] |
Re: 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. | |
Re: 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] | |
Re: Hi, I think you can find some information, [URL="http://www.vbforfree.com/?p=282"]here.[/URL] | |
Re: 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] | |
Re: 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 … | |
Re: 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] | |
Re: 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] | |
Re: 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] | |
Re: Hi, I think you can find some explanation [URL="http://www.vb-helper.com/howto_2005_datagridview_color_row.html"]here.[/URL] | |
Re: 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. | |
Re: 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. | |
Re: Hi, Do you have any errors and is Crystal Reports installed in VS 2010? | |
Re: 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.) … | |
Re: 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 … |
The End.