19,728 Topics

Member Avatar for
Member Avatar for pratik65

I have 3 TextBoxes in my Project Form , textbox1 is for taking Maximum_Marks, TextBox2 is for Minimum_Marks and the textbox3 is for taking Obtained_Marks ,but i dont want my Obtained_Marks textbox should take value Greater than Maximum_Marks textbox1 value or Less Than Minimum_Marks textbox2 value. i am trying to …

Member Avatar for Reverend Jim
0
187
Member Avatar for Matigo

Hello guys I have got a little programme that been written in Python, I did connect it to an application been created in Visual Basic 2010, But to run the Python file, Of course you will need to install the Python software/Format to be able to run the python file, …

Member Avatar for Matigo
0
228
Member Avatar for Jawow

Private Sub chktop_Click(Index As Integer) 'read toppings PizzaTop = chktop(Index).Caption End Sub Private Sub cmdBuild_Click() 'message box Dim message As String Dim message2 As String Dim I As Integer Dim b As Double Dim e As Double Dim PizzaSize As String Dim PizzaCrust As String Dim PizzaWhere As String If …

Member Avatar for Reverend Jim
0
168
Member Avatar for akash.kotecha1

I want to send the message from my PC to my mobile usnig vb.net...... please help me.... it's urgent...... and if possible please provide the code.... thank you for your help in advance.... :)

Member Avatar for akash.kotecha1
0
181
Member Avatar for savedlema

Hi all! I have a table with (StudentID,Physics,Chemistry,Total,Average) I want to pull values of Physics,Chemistry and calculate Total and then Average for a specific StudentID. With the following code: "SELECT SUM (IIF(ISNULL([Physics]),0,[Physics])) As Phy, SUM (IIF(ISNULL([Chemistry]),0,[Chemistry])) As Chem, SUM([Physics])+Sum([Chemistry]) as Total FROM tblForm1 WHERE StudentID = '" & Trim(Me.txtSearch.Text) & …

Member Avatar for savedlema
0
1K
Member Avatar for lulu79

I want to display datatable result in a label. I have something like this : PLEASE TAKE ACTION FOR LINE **LABEL** But i want the result to be like this: PLEASE TAKE ACTION FOR LINE **Z3, Z5, Z8** I try to use loop but still cant get the result that …

Member Avatar for lulu79
0
821
Member Avatar for lulu79

I want to perform an UPDATE query but i'm getting this error: ![errorHAVING](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8zL2Vycm9ySEFWSU5HLkpQRw%3D%3D/500 "errorHAVING") This is my Sub in vb.net: Public Sub changeStatus() Dim Sqlstr As String Dim connectionString As String = "server=xxxx;uid=xxxx;pwd=xxxx;database=xxxx" Dim strtTime As String Dim endTime As String strtTime = DateTime.Today.ToString("yyyy/MM/dd") & " " & "06:15:00" endTime …

Member Avatar for lulu79
0
898
Member Avatar for Matigo

Hello everyone In my app i'm using the counter and timer, But im stuck with resetting the counter My code is: If Timer2.Enabled = True Then counter = counter + 1 Label1.Text = counter If Label1.Text = "180" Then Timer2.Enabled = false Timer3.Enabled = true End If End If End …

Member Avatar for Matigo
0
788
Member Avatar for DyO1

Hello, I need a code that will check if a certain text exist. This is how it's now: If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text + Environment.NewLine + ("It's") + DateTime.Now End If and I want to make something like this If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text …

Member Avatar for Reverend Jim
0
219
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a program that will copy text from an excel spreatsheet and place it in another using visualbasic.net not vba? Please Help

Member Avatar for Reverend Jim
0
270
Member Avatar for timon.bijl

Hello , i was kinda getting interested in a keylogger so can anyone maybe copy paste a keylogger code just an easy 1 . If you type something it just has to appear in a textbox if you can help me , please do it! thx

Member Avatar for pritaeas
0
107
Member Avatar for sundar.mjk

hi it 's working but the Grid view not disp.lay the details Dim cn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;" & "Data Source=D:\Task_one_one\TaskNew\TaskNew\App_Data\db1.mdb") cn.Open() Try Dim myTable As DataTable = New DataTable("MyTable") 'Dim ds As DataSet = New DataSet myTable.Columns.Add(New DataColumn("Emp Id")) myTable.Columns.Add(New DataColumn("Start Time")) myTable.Columns.Add(New DataColumn("End Time")) myTable.Columns.Add(New DataColumn("Hours")) myTable.Columns.Add(New …

Member Avatar for G_Waddell
0
173
Member Avatar for dr.syroj
Member Avatar for Programmer629

* Hey ppl! i was wondering if anyone could get me started with a project in VB.NET 10. the project i wanna create is a program lik outlook 2010. its prob a long shot but i want it to be in *COMPLETELY* VB. i have VS 10 .net and u …

Member Avatar for Programmer629
0
177
Member Avatar for bballdrew45

I am currently working on a program for a higher or lower card game. I have my game set up and in place, however I am having trouble keeping track of the cards that have already been drawn from the deck. I am only playing with one deck and need …

Member Avatar for gianni.joris
0
262
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to replace a cell value from one excel spreadsheet and save it as another spreadsheet but with the replaced cell value. Please Help

Member Avatar for joshl_1995
0
1K
Member Avatar for ebrahim1

Hi all Im trying to send integer value from combobox in form 1 to textbox in form 2 I try use this code on form2 : me.textbox.text = form1.combobox.selectedvalue This code works with a textbox **does not have a data source** but when I **set** the data source for the …

Member Avatar for ebrahim1
0
144
Member Avatar for EmpK

For a project i have to create a program that is able to write and read a sequential file and list the contents into textboxes. So far i am able to write to the file but the problem is i am not able to retrive/read the information from the file. …

Member Avatar for xerohomicide
0
224
Member Avatar for pratik65

i have textbox in my form and i want it take only numbers from 1 to 12 only and not any thong else...i am trying but iam not getting the logic for it

Member Avatar for Reverend Jim
0
110
Member Avatar for EmpK

How do i make a label display if the textbox value that was entered is invalid? This is my code so far and when i press the button to find the invaild source the label is suppose to appear but nothing is happening when i click the button. Private Sub …

Member Avatar for Reverend Jim
0
183
Member Avatar for magord86

I'm trying to switch "M" to "Mr." and "F" to "Ms." when the last name is selected in the listbox. When I clicked on the first name it worked, but when I clicked on anyother name, I got this error message: --Additional information: Index was outside the bounds of the …

Member Avatar for magord86
0
280
Member Avatar for Bliper

Hi All, On my form I have a datagrid. From this form I initialise a new instance of my data access class and using a dataadapter I return a datatable from my sql server database. The datatable is then set as the datasource for my binding source and intrurn the …

Member Avatar for khair.ullah
0
148
Member Avatar for EmpK

So far i have a code that only allows you to enter numbers but how do i limit the value from 0 - 9999. Also how would i be able to display a message label if the user is doing something illegal. Right now i have the messagebox setup but …

Member Avatar for EmpK
0
697
Member Avatar for 404notfound

I found a tutorial online that so far has been aswesome. I downloaded the access db and so far can read and browse through it. However, when I try to write back to it (btnSubmit_Click), nothing happens. All other buttons work fine, I can still browse, and I get absolutely …

Member Avatar for XEN0
0
177
Member Avatar for adam.n.halpin

I am trying to print all the contents of a combobox in a program. For example: ComboBox1 Contents: Yes No Maybe No opinion My code so far for PrintDocument1: Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim horizontalPrintPosition As Single Dim verticalPrintPosition As Single Dim …

Member Avatar for Begginnerdev
0
218
Member Avatar for mikeybware

I have the following code which prints my datagrid nicely. The problem is that it only prints the first page and cuts off everything thereafter. I know I need to implement the e.HasMorePages = True in some manner but I am unable to get that working. Here is my code: …

Member Avatar for robtrue
0
316
Member Avatar for VirusHeart
Member Avatar for renzlo

Hi, All, I am running out of options and I can't fix it. I am loading a form with webbrowser control which loads a java applet in another form, it is working but I can't type in the textbox, what am I doing wrong. Attached is the project solution, hope …

0
89
Member Avatar for x38class

I have an app that fails because mscorlib is not installed from Net Framework 2 SP2 Without it, I get the following error: Could not load type 'System.DateTimeOffset' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The error can not be trapped in the runtime of the application, it appears when app …

Member Avatar for x38class
0
213
Member Avatar for james19862012

Hello all, First time poster here. I'm creating a website for class that essentially lets people register with a user name and password. Whenever they're logged in they will have the opportunity to go to a page called SubmitStory.aspx where there will be a textbox, lets say it's just called …

Member Avatar for JorgeM
0
255

The End.