20,285 Topics
![]() | |
When the array is declared,the size of an array is supplied in the following way: dim inquirybyyearmonthday(20)()() as byte My question is why there are extra 2 opening & closing brackets after (20)? | |
Friends I am new to VB.Net Please help me I have two text boxes. When I press the 'Enter' key in the first text box the focus should go to the second textbox What will be the code? | |
How do I find parts of a word in a string using an array for the keywords? I need to run a program on computers but exclude certin users based off of the computer name. The computers naming convention is xx-yyy-Lastname. The Lastname sometimes has the users initials added to … | |
hello how can i show the form if it already hidden when the user press a button so the form is hidden the code i want is : to show the form if the mousecursor moves at the form area | |
Hi all I have a DataGridView with 2 Columns an Order column (text) and a price Column (decimal) The Datagrid contains all the orders and price for a certain customer. I'm currently adding all the prices and adding a new row to the datatable containing the total.In this row on … | |
Hello! anyone... i cant delete the sheet i have added in my excel file. i already tried below codes to delete it but it doesnt work... and i'm not getting any error which is why i dont know what is the problem.... worksheet.Delete() workbook.sheet("sheettobedeleted").delete() | |
how to Bind data of one datagrid into another datagrid with the checkbox by clicking on a button | |
hi iam new in vb.net.. and what i am doing is i am making time in and time out record. my problem is, i don't know how to stop the time in logging out.. can somebody help? | |
I have 2 tables in sql , one is called stock and the other stock warning the stock table has columns ' Pid, pdescr,current stock, stock warning' this shows up in datagridview 2nd table(stock warning) has columns 'pdescr, current stock' showing in datagridview in the stock table when the 'current … ![]() | |
Hello, I have a scenario where I fetch all the records from a database table using ADO.Net and I want to convert one of the column values which has either "0" or "1". If 0, then "No" should be replaced with 0 and if 1, then it should be "Yes". … | |
Please preview image: I want to create something like this. Red fonts is just typed using paint. (it's not software or else) I know how can I know the Size, attribute type and all so but the main quesstion is how can i create tag on windows? at the bottom. … | |
an i ask for help? what is wrong with my codes thanks in advance Sub show1() Dim DReader As MySqlDataReader SqlCmd = New MySqlCommand("SELECT * FROM book WHERE accesion_num = '" & b_id & "' ", SqlCon) DReader = SqlCmd.ExecuteReader While DReader.Read accnum.Text = DReader.Item(0) isbn.Text = DReader.Item(1) txteditbooktittle.Text = … ![]() | |
I hav two tables sales (sa_no,sa_date,cu_id,total) ladger(ledger_id,cu_id,payment,payment_date) I want to display the transactions of a customer (cu_id) in one crystal report in the order of dates ,such as sa_no sa_date total ledger_id payment payment_date ie one row from sales then one row from ledger for the customer cu_id Please help … | |
'i got a problem here. i want to add a new record to my database but when i click the add button an error occurs saying syntax error on INSERT INTO statement. it is placed on the da.update(ds, "studentprofile") what should i do?? here's the code: Private Sub btnadd_Click(ByVal sender … | |
I have visual basic 2010 windows application assignment in which I have to populate a one dimensional array from a text file stored in the projects debug folder. The text file is 6 five digit numbers on seperate lines. One number was typed then enter was pressed 6 times. The … | |
i want to add child forms in mdi parent form and i done this but the problem is : i have an picture box in the top of MDI form and now here i want is that the child form should load after that picture box and this does not … | |
hello , today i suddenly think about creating an application that has limited uses . i mean after using an application for 30 days , it should not start the application . How can i do that ? i can decide if the day is the last day or not(i … | |
Hi All I have droplistlist populated from database.When i add records everthing is ok with the dropdownlist: but when i edit records it shows duplicate values like High Medium Low Medium how can i romove duplicate values? | |
Hi guys I need help in deleting rows in Excel. What I want is if I delete a row in DataGridView it will also delete a row with the same value. I tried using the OleDb way and I find out I can't delete a row using that so I … | |
I cannot figure out why my code for calculating student grades makes every number I enter an A. Here is the code. I hope someone can help. | |
I want to show on Messagebox the value max and min value in my database. Help guys query = " SELECT Emp_ID, MIN(Log_Type) as min , MAX(Log_Type) as max FROM tbl_timelogs" mysql_connect(True) cmd = New MySqlCommand(query, SQLConnection) reader = cmd.ExecuteReader() | |
![]() | hi guys i just wanna ask why does my program gets an error after i tried changing the formborder to none, the error i get is about the 'Windows' and 'Drawings' not being a part of 'System.Windows.Form.TabPage', what might be the problem of this? ![]() |
Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim no As Integer no = Val(TextBox1.Text) fact(no) Dim ans As Integer = 0 End Sub Function fact(ByVal no As Integer) As Integer If no > 0 Then ans = ans + (no * fact(no - 1)) … | |
i got my project from vb 2005 upgraded to vb 2012..now i had so many problems.. like " dim dte as date = now " it says 'now' is not declared. it may be inaccessible due to its protection level..why is that ? | |
Hi all , Im starting to learn visual basic and I have a question if all dont mind to answer me , I need to know and identify each individual component for this vb commands ? This = That.theOther (something) Much appreciated | |
[](http://www.)how does a datagrid for example when you enter a data and it automatically update/enter at the datagrid when you click the next textbox? please i need a clear explanation tnx XD | |
I have a datagridview (bound) which works fine as long as the users "accepts" each cell they type in by pressing the tab key. However, when they click in another cell before pressing "tab", the value is visible in the cell on the screen but is not actually there. What … | |
Hi I require some one to build a project either by asp.net or vb.net, please message me for more informaiton . thanks | |
![]() | Me.ToolStripMaintenance.Font = New **System.Drawing**.Font("Bookman Old Style", 9.0!, **System.Drawing**.FontStyle.Regular, **System.Drawing**.GraphicsUnit.Point, CType(0, Byte)) Me.ToolStripMaintenance.Image = CType(resources.GetObject("ToolStripMaintenance.Image"), System.Drawing.Image) Me.ToolStripMaintenance.ImageAlign = **System.Drawing**.ContentAlignment.TopCenter Me.ToolStripMaintenance.Name = "ToolStripMaintenance" Me.ToolStripMaintenance.Size = New System.Drawing.Size(90, 70) Me.ToolStripMaintenance.Text = "&Maintenance" Me.ToolStripMaintenance.TextImageRelation = **System.Windows**.Forms.TextImageRelation.ImageAboveText heres a sample of my code with those error, can u help me identify what to do to … |
The End.