355 Posted Topics
Re: Hi You have installed it on other windows versions and they are working properly. That sayd, you need to check the references you have inclueded in your application. Some of the references included is not installed properly on the target machine. That's why you are gettting this Specified Module Not … | |
Re: Hi, You can do that with the Datagridview autoSize property. You can find some explanation, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.autosize.aspx"]here.[/URL] | |
Re: Hi, You can do it also with times used, look [URL="http://vbdotnetforum.com/index.php?/topic/31-make-trial-version-of-software/"]here[/URL] for an example. | |
Re: Hi, Create Two details sections (a,b). Format the detail section b to enable "new page before". Then just drop all your fields/text you want onto each details section (page). If you need more data than what your main query returns, you could also drop subreports into the detail sections.... | |
Re: Hi, You can test this with a new windows form: [CODE]Public Class Form1 Dim tb As TextBox Dim tt As ToolTip Private Sub Form1_Load(ByValsenderAsSystem.Object,_ ByValeAsSystem.EventArgs)_ Handles MyBase.Load tb=NewTextBox tb.Location=New Point(12,12) Me.Controls.Add(tb) tt=New ToolTip tt.AutoPopDelay=5000 tt.InitialDelay=250 tt.ReshowDelay=250 tt.BackColor=Color.Tomato tt.SetToolTip(Me.Controls(0),"SomeText") End Sub End Class [/CODE] | |
Re: [QUOTE=krusnik08;1370141]codes pls. the format should be like this. DATE: TEXTBOX1 = month/date/year TIME: TEXTBOX2 = time DAY: TEXTBOX3 = day today pls help me. needed ASAP.[/QUOTE] Hi, You can do it like this: [ICODE] TextBox1.Text = Date.Now.ToShortDateString TextBox2.Text = Date.Now.ToShortTimeString TextBox3.Text = Date.Now.DayOfWeek.ToString[/ICODE] | |
Re: Hello Airgear, I think your confusing with your own created codes and the codes you found in some Amazon books. If that's the problem, then you need a license to use thoose codes. | |
Re: [QUOTE=DanielWuVB;1354656]I added 2 textboxes on the form and runs it...I pressed the enter after I type in simple text.. it will not goto next textbox but tab can do .. why ... no nay code.. strange.... Thanks[/QUOTE] Hi, You can try something like this: [CODE]Private Sub TextBox1_KeyPress(ByVal sender As Object, … | |
Re: Hi, I think you need to call your your array first and then sorting it. Try something like this: [CODE]Public Class frmBubbleSort ' Declare array with Class (form) scope Dim players As String() = {"Crawford", "Upton", "Longoria", "Bartlett", "Pena", "Navarro", "Garza", "Shields", "Price", "Neiman"} Private Sub frmBubbleSort_Load(ByVal sender As System.Object, … | |
Re: Hi, You can find an example, [URL="http://www.codeproject.com/KB/recipes/CrystalReports_in_VBNET.aspx"]here.[/URL] | |
Re: Hi, You can find some explanation how to use the toolstripbutton control, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripbutton.aspx"]here.[/URL] | |
Re: Hi, You can find some tutorial, [URL="http://www.youtube.com/watch?v=Zp1-9morfSE"]here.[/URL] | |
Re: Hi, You can find a tutorial, [URL="http://www.youtube.com/watch?v=DkKoFGFE-R0"]here.[/URL] | |
Re: Hi, You can try something like this: [CODE]For Each cnt As Control In Me.Controls If TypeOf cnt Is GroupBox Then For Each child In cnt.Controls If TypeOf child Is Button Then CType(child, Button).BackColor = Color.Red End If Next End If Next[/CODE] | |
Re: [QUOTE=Hisham-Usif;1313475]I'm wondering whether it is possible to declare a global variable in a click event. I need to declare an array of a specific size. The specific size is generated using a series of IF statements. I only need to know how to declare it. Thanks in advance I'm using … | |
Re: Hi, [QUOTE]Crystal Reports is not compatible with Visual Studio Express Editions. [/QUOTE] There are numerous 3rd party reporting tools available Crystal Reports: [URL="http://www.businessobjects.com/products/crystal/default.asp?intcmp=hp_products_crystal"]http://www.businessobjects.com/products/crystal/default.asp?intcmp=hp_products_crystal[/URL] ActiveReports: [URL="www.datadynamics.com"]www.datadynamics.com[/URL] XTraReports: [URL="http://www.devexpress.com/Products/NET/WinForms/XtraReports/"]http://www.devexpress.com/Products/NET/WinForms/XtraReports/[/URL] | |
Re: [QUOTE=da_aboga;1313206]how can i clear my data table? I am using VB.Net as my front end MySQL as my Back end.[/QUOTE] Hi, You can try something like this: [code]Private Sub ClearTable(table As DataTable) Try table.Clear() Catch e As DataException ' Process exception and return. Console.WriteLine("Exception of type {0} occurred.", _ e.GetType().ToString()) … | |
Re: Hi, You can find at the documentation what members the ListView class has. The documentation lists all the members and describes the SelectedIndices property. So, your a couple of clicks away from the solution... | |
Re: Hi, You doesn't need a timer for this. Here's an example: [CODE]Private Sub Form1_Mousedown(ByVal sender As System.Object, ByVal e As _ System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown If e.Button = MouseButtons.Left Then MsgBox(" You clicked the Left mousebutton") End If End Sub[/CODE] | |
Re: Hi, You can try this: - Change the Format Property of the DateTimePicker to "Custom" - Write the Following in the CustomFormat property: 01.MM.yyyy | |
Re: [QUOTE=selle05;1292583]how to do array of textboxes when a user input a number of textbox to be loaded and when the button clicked, the array of textbox that the user enters will appear? can someone help me with this? Thank u![/QUOTE] Hi, There are several ways of doing that. For example … | |
Re: Hi, Here's a way how to do it. [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim Low As Integer = 0 Dim High As Integer High = 10 ' max integer Get_Random(Low, High) End Sub Sub Get_Random(ByVal Low As Integer, ByVal High As Integer) … | |
Re: Hi, You can find some explanation how to so it, [URL="http://www.vb-helper.com/howto_net_image_resize.html"]here.[/URL] | |
Re: Hi, You can't do that or you should create your own Label. Is there a raison to use a Label, because the Listbox is created for that with VScrollbar. | |
Re: Hi, I think you can use the daysbetween function ie daybetween(date1, date2). You can find an example,[URL="http://www.kenhamady.com/form01.shtml"]here.[/URL] | |
Re: Hi, You can find an example how to drag and drop a textfile, [URL="http://www.dotnetcurry.com/ShowArticle.aspx?ID=192"]here.[/URL] I hope it helps. | |
Re: Hi, Add a button and a new form to your application and name it Child1, then you can try something like this inside the button click event: [CODE] Dim f As New Child1 f.MdiParent = Me f.Show()[/CODE] | |
Re: [QUOTE=p@rse;1279051]I am trying to set the checkbox to be grey. If the user clicks one box and its arguments over ride the other boxes then those will be greyed, but I have searched everywhere for this and cant find it, anyone have a solution? All i have seen was indeterminate … | |
Re: Hi, You should do it like this: In form1 you need a button to show your form2 like this: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim fr As New Form2 fr.Show() End Sub[/CODE] In form2 you can do it like this: [CODE]Private Sub Form2_Load(ByVal … | |
Re: Hi, You should use the Button.Performclick() event for that instead of select. | |
Re: i m a final year engg. student of comp. science deptt. I want some ideas for my project in this year. Ideas in database(oracle) and vb.net are welcomed. Hi, If you want to create your own database with VB.Net, look here. If you want to create a database wit a … | |
Re: Hi, You can find an example, how to create a login form, [URL="http://www.vbdotnetforums.com/windows-forms/30737-vs2005-2008-login-form.html"]here.[/URL] | |
Re: Hi, You can find some information about to send SMS via PC to Mobile, [URL="http://www.andreavb.com/forum/viewtopic_5824.html"]here.[/URL] | |
Re: Hi, You can try this: [CODE]Private Declare Function SetWindowsHookEx _ Lib "user32" Alias "SetWindowsHookExA" ( _ ByVal idHook As Long, _ ByVal lpfn As Long, _ ByVal hmod As Long, _ ByVal dwThreadId As Long) As Long Private Declare Function CallNextHookEx Lib "user32" ( _ ByVal hHook As Long, _ … | |
Re: Hi, To create a texteditor you should use a richtextbox in stead of a textbox. But you can try the codes I gave you for a richtextbox ! For the textcolor, change the code into this: [CODE]If ColorDialog1.ShowDialog = DialogResult.OK Then txtBox.SelectionColor = ColorDialog1.Color End If [/CODE] For the font … | |
Re: Hi, What you can try, I haven't had that problem yet. Go to the solution explorer, right click your application and rebuild your application and then save all. I hope it helps. | |
Re: Hi, For your first question: [QUOTE]Kindly help me about these problems that what a coding for lock the form in runtime and user no adjsut form witdth or length[/QUOTE] You doesn't need a code for that, go to the form property and select Formborderstyle = FixedSingle. That means that you … | |
Re: Hi, You can find some more explanation about dialogboxes in vb.net, [URL="http://www.startvbdotnet.com/controls/dialog1.aspx"]here.[/URL] | |
Re: Hi [QUOTE]Also guys please tell me if there is any website where i can get tutored visual basic....please[/QUOTE] You can find some tutorials for VB 2008, [URL="http://www.vbtutor.net/vb2008/vb2008tutor.html"]here.[/URL] | |
Re: Hi, You can find a convertor, [URL="http://www.vbdotnetheaven.com/uploadfile/psingh/convertvbform04222005063734am/convertvbform.aspx"]here.[/URL] But I never tryed. So, don't shoot the piano player :) | |
Re: Hi, Probably the login form is your first form (form1). That means that if you didn't changed the shutdown mode your application will shutdown completely. The solution is: change the shutdown mode into 'when last form closes' and it will open the next form. | |
Re: Hi, If your using Vb 2005 express edition you can find a good tutorial how to create an access database, [URL="http://www.homeandlearn.co.uk/net/nets12p1.html"]here.[/URL] It should work for VB 2008 express edition as well. | |
Re: Hi, You can find a tutorial, how to design and sample codes, [URL="http://www.homeandlearn.co.uk/net/nets1p17.html"]here.[/URL] | |
Re: Hi, For your first question, you can do it like this: [CODE]Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load TextBox1.Text = Form1.TextBox1.Text End Sub[/CODE] | |
Re: Hi, You can find some information, [URL="http://www.gotreportviewer.com/"]here.[/URL] | |
Re: Hi, You can find a password generator with numbers and upper- and lowercase characters, [URL="http://www.youtube.com/watch?v=sgGD1sAIO-c"]here.[/URL] | |
Re: Hi, When you have created a new image folder in the Bin folder of your application, then you need to use this part of code. foldername is your image folder and imagename is the image you want to load at first. [CODE]PictureBox1.Image = System.Drawing.Image.FromFile(Application.StartupPath & "\foldername\imagename.jpg")[/CODE] However, when you added … | |
Re: Hi, Or you can use the application StartupPath. [code]'First , add reference to ShockWave Flash Object Library 'existed on the COM Tab . Paste the control on your form. 'Use the code below as follow : 'Add your flashfile to the Bin folder Public Class Form1 Inherits System.Windows.Forms.Form Private Sub … | |
Re: Hi, You can find some explanation, how to send SMS with VB.Net, [URL="http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx"]here.[/URL] You can find some more by Uncle Google :) | |
Re: Hi, You should do it like this: [code]Public Class Form1 Dim MonPrice As Decimal Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub RadioBtnMon20_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioBtnMon20.CheckedChanged If Not RadioBtnMon20.Checked Then TxBxPRICE.Text = "100" Else MonPrice = … |
The End.