20,284 Topics
| |
Hello folks, I'm currently studying how to use LinQ in VB.NET but I guess I'm stock. I'm using VS 2008 version (framework) 2.0 Anyone who can help me get through this?? | |
Hi sir i m new in vb.net . i want to add product record , in text box i enter packing 25's but 25's not add in table , when i change it 25s it saved. but my requirement is to save 25's. what i do thanks zia | |
Hey guys so how can I actually make a Tab Control using [this](https://docs.google.com/file/d/0Bx-ETTSBtAAfUFM0R2tBUDFpQUE/edit?usp=sharing) image as an active tab and [this](https://docs.google.com/file/d/0Bx-ETTSBtAAfRElBUnkyWkphMkk/edit?usp=sharing) one as an inactive tab. I've already read something about Drawing Tabs but I didn't quite understand it. Thanks. | |
i want to call event procedures (button1_click etc.) on certain conditions Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = "A" then 'here i don't know how to call button1_click procedure End If here is what i want to do :- whenever any character … | |
Hello Community, I'm trying to make a way to post data to my php file located on my website, I tried it on my Windows 8 laptop; it worked fine, then tried it out on my Windows 7 laptop and for some reason it won't work. I have gone through … | |
Is there a way to set a window to the top on screen and set focus on it? I'm having a menu in VB.Net calling a bunch of .exe. Everytime a window apears, it runs itself to the top on screen. But there was a window, problem-able one, with some … | |
Hmm, normally, I just cut all those controls out and delete the GroupBox. But, it's not easy all the time, so me just wondering if there was a way to do it without touching the child controls. Remove the relationship? Or other otions? | |
Ok so im reading int values from an sql database but then the "Executor" comes back as a hex value and it is declared as a int value in sql..all the bit field values i have comes back correctly accept the int values. can someone help me ons this, what … | |
:Notes Repeater :Dim Notes RepeaterDataSource As sqlDataSource = e.Row.FindControl("DataSource1") :NotesRepeater DataSource.Select Command = "SELECT *FROM [contact.Notes] WHERE Type = 'POC' AND ContactID = " & Me.ContactsGridview.Datakeys(e,row.RowIndex).value | |
Okay, I'm pulling my hair out. I'm getting NO error on the following code: Dim cmd As New OleDb.OleDbCommand("CREATE TABLE [" + empTableName + "] ([ID] DOUBLE, " & _ "[LnameFname] TEXT(255), " & _ "[Location] TEXT(255), " & _ "[SalaryOld] DOUBLE, " & _ "[FtePercentage] DOUBLE, " & _ … | |
Hi experts, Im Ron and i have just recently started using VB and have written a small application for sending SMSes. Code: Imports System.Net Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As … | |
Good day folks, I was trying to do a simple project but somehow I'm stocked with it. What I want to do is to get the index of a column in datagridview when a cell is changed? For example this is a dgv: ID | UserID | Status | 1 … | |
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim b As String = "" If TextBox1.Text = "" Or TextBox2.Text = "" Then MsgBox("Data tidak lengkap", MsgBoxStyle.Information, "Login") Else conect = "select * from tbl_id" cmd = New SqlCommand(conect) dr = cmd.ExecuteReader() Try While dr.Read If … | |
I was using the following code to enter an image url at `TextBox1` and display it in `PictureBox1`.Everything worked. But suddenly the displayed image quality is lower than the original link. I've tried `PictureBox1.Load(TextBox1.Text)` and changing `SizeMode` still the same result. Imports System.Net Public Class Form1 Dim client As WebClient … | |
my not getting the values from the textbox when i pressed the button please see the code and give me a solution please.. i want my textbox value to be displayed in the msgbox with textbox.name and button.name Public Class Form1 Dim txtadd1 As New TextBox() Dim txtadd2 As New … | |
how to create controls(like button , textbox) dynamically , i want to create these for 10 or may be more than 10 times . so i think i have to go through loops and probably i can do that but the problem is that how to create controls in runtime. … | |
First off, I apologize since I do not have my code already done in front of me to post, but I've been doing a bit of research with no real guidance or understanding on what to do. I've created a dgv as a seperate form from my main one, consisting … | |
Hi, I would like to know how to hide url link? Example: http://localhost:111/Testdata/page1.aspx?id=1234&year=2013 to http://localhost:111/Testdata/page1.aspx I have tried Server.Transfer but the page from page2 is not http://localhost:111/Testdata/page2.aspx instead it appears http://localhost:111/Testdata/page1.aspx Could someone help me. Thank you! | |
How to get the imgbtnView image button in gridview to display the row of data? i try to use modelpopupextender but the targetid is invalid because the image button is in the gridview. when click on imgbtnView, solistPanel will be display now i cant display the solistPanel. please help <table … | |
I am writing a picture viewer to reside in "Program Files" directory. I then right click on a picture file in any other directory and use "Open with" to optionally chose my viewer. I know how to do all this. But how do I send to my program the path … | |
The days when the calculator had almost 3 thousand visits a day have gone. Since then, there have been several major versions and lots of minor versions. Somehow, I feel pleased in that the present core algorithm follows the rules of the first I read; of course, extending the simplicity … | |
Greetings fellow vb.net programmers, Today i really, really need your help i'm having difficulty in display the quiz items in each textbox i'm out of ideas. What i need to do is. I need to display all the question that is in the database to the textboxes i thought of … | |
Dear Experts, I am facing following problem with oracle 11g while programming. ORA-12505: TNS:listener does not currently know of SID given in connect descriptor System has four database is connecting through sql developer successfully but ohters are not connected. When i am again creating same database for correcting error it … | |
I've built an application that displays the contents of an access database in a datagrid and also a form which allows a user to add a new record to the database. When I tried to run the exe in the bin folder on another computer it displays an error when … | |
Is there anyway to save what I type? Ex. Im online and I start searching things, is there anyway to go back and see a list or something of all of the things I typed? | |
Hey Guys! I've been working on a CLI. Basically I want to recreate the Command Prompt using more user friendly commands. The thing is, as I'm using a RTB the 'Return' Key won't produce a value but it will only skip a line. How can I fix this? Below is … | |
Hi guys, I need your help here. I need to develop a form which scans students ID from a barcode and using that ID i need to further operations. For that I have downloaded [B]CODE 39 BARCODE font[/B]. Now what have to do further ?? Barcode scanner will be available … | |
i want to traverse a checkedlistbox using for each loop for example :- if i want to see that a particular item name exist in checkedlistbox or not. so i think that i need to use for each loop but really don't know how to traverse checkedlistbox using for each … | |
In trying to teach myself about the properties of the textbox, I'm wondering what the propert "Lines" is all about. The value in the property says "String[]Array". When I click this, a box comes up that asks "Enter the strings in the collections (one per line)". Can someone explain to … | |
I have a datagridview that the user can change to various rows and columns (its a grid of squares) When the user presses a button, it generates a list of coordinates of all the squares that are black. That is obviously generated in order. I want it to be mixed … |
The End.