20,899 Topics
![]() | |
Hi guys, I have a total of 72 link labels on a form and I want them to do a similar task. Is there a way to accomplishing this without writing each labels individual code? Example function of the link label [CODE] Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e … | |
Hi, DaniWeb I'm having problems with the insert: (This is the login code, i can't open the register form) [CODE] Imports MySql.Data.MySqlClient Public Class Login Dim server As String = "Server=localhost;Database=escola_musica;Uid=root;Pwd=;" 'Dim server As String = "Server=localhost;Database=esola_musica;Uid=root;Pwd=;" Dim con As New MySqlConnection Dim da As New MySqlDataAdapter Dim sql As … | |
For example on any tinyurl/ajdeijad link (this one is fake), the link redirects to another url I cant grab the whole response because it is 200 MB- what can I do to JUST GET THE URL Here is my code: [code] Dim request1 As HttpWebRequest = DirectCast(HttpWebRequest.Create(urlvimeohd), HttpWebRequest) request1.UserAgent = … | |
Hi guys, Could some one please help me in validating a datagrid coloumn..,i want only alphanumeric values.,symbols like -,+..etc were not allowed..folliwing is the code wht i have.,but it allows only alphabets but not numerals.. [CODE] If Char.IsDigit(e.KeyChar) Or Asc(e.KeyChar) = 8 Or Asc(e.KeyChar) = 46 Then If Asc(e.KeyChar) = … | |
Hi Friends, I need ur help..I have finished my proejct in vb.net with access database. could u please help me in making an exe for this with database.. please help.. | |
Hello, I have formatted an invoice and saved it in a text file. In my text file i used TAB after every field, but when I am trying to print that text file using streamreader all tabs are disappeared. Can you please tell me how to retain the TABs while … | |
i am a beginner, how to authenticate username and password to the database i hope i'll be responded soon | |
just guide me to create a VB.net form that should accept a perfect username and password with the help of the example code | |
I have a an inherited form that has a panel control on it. I want to paste other controls onto this panel but the paste option is grayed out and won't let me do it. I made sure that the template form did not lock the panel. I'm stymied from … | |
I'm quite new to .net so would appreciate your help. My project is nearing completion and I would like to save my work prior to making changes each day, should something go wrong. Eventually I would like to end up with a series of archived projects so that I could … | |
Hi everyone, Well, First of all m glad to join a community of all master minds. My question is : I have a datagridview and each time i enter values in database the values are not reflected in the datagrid untill i load the form again. I want a method … | |
Hi All, I want to search specific range of rows in datagridview. I want to search the entire third row of my datagridview. How can I do that? Here's my current code: [CODE]Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click For Each row As DataGridViewRow In … | |
how to link the form so that it should display as soon as the computer gets started and the user should not access any other thing first he has to attempt the form then after successfully he can acess rest of the other option the form will be containing user … | |
Hi, How to validate the contents of a datagrid per row, per column in vb.net? i have a specific coloumn PlotNo in which values shld nt get repeated..it is an unbound table.. please help me with an example code.. | |
Hi Guys, How do i calculate the sum of all rows in a coloumn..? im using vb.net and access as back end.. could u please gimme an example code? | |
Hello all, I'm developing a project and I faced a probelm of how to insert a new row to specific index choose from user Can anyone help to do that in VB.net Please? Thanks a lot | |
how to link a button in vb.net to a exe file just suggest with the help of the code | |
Hello there I m using Vs 2010 Crystal Reporting ma Reports Working Well When using Normally bt nw When I Use sub reports then reports are showing bt blankso that the main report showing all the data bt sub report w showing ny of them .... acctually i m using … | |
How can we apply wipe in and wipe out animation on VB.NET form. | |
Hi everyone, well I have trying to do an elevator simulator, wich have to includo the panel with the floor, available floors, and a button panel with available floors and button up, down, but I dont understand is how to use the timers for up and down, because I vague … | |
I am unable to run batch file that is located in mapped network drive using System.Diagnostics.Process in VB.Net. I get: [CODE]'<batchfilename>.bat' is not recognized as an internal or external command, operable program or batch file. Press any key to continue... [/CODE] I get the same error when navigate to the … | |
Hello everyone, when integrating a project the Database wouldn't open ( or be imported) without giving this Error Message "...cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported." the problem is one of my team mates informs me … | |
hi sir i m kunal raj want to share my problem pls help me my application is like this : i have to search my data from database with some check box and text box when user select check box specific function go on and then when user enters some … | |
Hello! how to view report particular Customer Name.............in this code when i m type from date or To date report is showing all customer information but i need single customer info with name or Date this is my code........ plz help me sorry my english is not good [CODE]Imports System.Data … | |
So I created a subroutine to do some work but now i have no idea how to pass the results on to another stage in the process. [CODE] Private Sub CheckDates() Handles MyBase.Load Dim Duedate As Date = INFDateLabel1.Text Dim Duedate2 As Date = INFDateLabel2.Text Dim Duedate3 As Date = … | |
Hi, I needed to create in-cell dropdownlist in excel using VB.NET, So i used the code, With xlWorksheet.Range("H2", "H101").Validation .Add(Type:=Microsoft.Office.Interop.Excel.XlDVType.xlValidateList, AlertStyle:=Microsoft.Office.Interop.Excel.XlDVAlertStyle.xlValidAlertStop, Operator:=Microsoft.Office.Interop.Excel.XlFormatConditionOperator.xlBetween, Formula1:="Maintenance Planning") End With It works fine with Excel 2003, but it does not works on Excel 2007. It shows below message, Excel was able to open the … | |
Hi, I cant able to save an excel file from VB.NET. I used the code below: SaveFileDialog1.Title = "Save Excel File" SaveFileDialog1.Filter = "Excel files (*.xls)|*.xls|Excel Files (*.xlsx)|*.xslx" SaveFileDialog1.ShowDialog() If (SaveFileDialog1.FileName <> "") Then [COLOR="Red"]xlWorksheet.SaveAs(SaveFileDialog1.FileName)[/COLOR] End If Error occurred in the highlighted line as "Exception from HRESULT: 0x800401A8". I cannot … | |
Hi there, Sorry to ask a silly/stupid question... I'm new to all this and i'm in the process of learning VB .NET using Visual Studio 2010... I just had a question because I cannot seem to find the answers anywhere on the internet... also we are not upto this part … | |
Hi All, Please help me..i wanted to transfer control to a different form when one form is minimized..,how do i achieve this?vb.net...please help | |
please any professional out there can suggest me with project ideas . . for my final year project work . . plz. .plz. . | |
A co-worker and I are trying to compile a VB.Net / ASP.Net application on another machine. We are getting two different sets of errors. One set of errors lists 103 undefined statements with no library missing. The other error is, " It is an error to use a section registered … | |
i have a formview which show the data from a database.. in another page, i have a datalist that also display data from the database.. in the datalist, i have a hyperlink that when click will navigate to the page that have the formview which display data that suppose to … | |
Hello! I need code that will allow the user to do the following: 1. Select a browse button and choose the folder they want to save a file once the exe file at the end of the program runs 2. Display the folder location the user selected in the textbox … | |
Can someone tell me what's wrong: Imports MySql.Data.MySqlClient Public Class Login Dim server As String = "Server=localhost;Database=escola_musica;Uid=root;Pwd=;" Dim con As New MySqlConnection Dim da As New MySqlDataAdapter Dim sql As String Dim cmd As New MySqlCommand(sql, con) Dim dr As MySqlDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As … | |
Hi Friends, I am working on Project(Window Application in VB.NET) and unfortunately i am getting out of time,Need ur help. Theres one situation in which application to accept Five Email Address but the condtion is that during form load only one textbox need to display first and a button adjacent … | |
I am working on a web application that builds a KML file using a list of coordinates and is supposed to display them on Google maps when you click a button. When I'm testing it on desktop it works, as it brings up google earth with no problem. However, when … | |
My project utilizes a DataGridView that retrieves its data from an Access database file. Is there a "snippet" of code available that prompts the user to locate the database file should it be removed or renamed that will overwrite the connection strings used to create the project's Data Source. | |
Hi everyone! Why does it seem that no one is giving an effort for this concern. I know that the code is long but could anyone please shed some light for me here. I need to create a program that captures video and images using either a built-in camera on … | |
i connect a database (.mdb) but getting error when i try to save a data in field more than 50 character. i also set document field for 255 char. then cant change it even i edit it from ms access. how can i set mdb. file to input 255 character … | |
I want to open some files using my program. and I decided to use a shell command. but when i use shell it gives "file not found error" for example Shell("C:\Documents and Settings\ÖnerYavuz\Desktop\aa.txt") ==> it gives error but Shell("C:\Documents and Settings\ÖnerYavuz\Desktop\warkey.exe")==> its work and i thought it opens only exes. … | |
Hi I am using AxDHTMLEdit for editing HTML docments in my VB.NET application. But while saving this document using AxDHTMLEdit1.savedocument the symbols for POUND, YEN, EURO changes to question mark. (?). I think this has something to do with meta content / charset. But not able to solve this so … | |
I have one field of the student in database and I have to pass two rules in it i.e Classes 1-9 will only have 1 book for 1 week and Classes 10-12 will have 2 books for 2 weeks. How can I do that? | |
On my form I've got a picturebox, radio buttons and check boxes. The check boxes relates to a Square/triangle, in which a square/triangle will be displayed on the picturebox. And the radio boxes relate to rectangle/circle which are displayed when either radio button is selected. I have been told to … | |
Hi everyone, i've utilized asp_net compiler to encrypt my asp.net coding in command prompt (cmd.exe) and moved to other server and it is worked fine, [U][B]This is the command that I executed in cmd.exe[/B][/U] C:\windows\Microsoft.NET\Framework\v2.0.50727>asp_net_compiler -v "/" -p "c:\existing_folder" "c:\new_folder" but if all my original program files (in existing folder) … | |
Hi I am looking to retrieve and play video files from a database. The url and not the binary data is stored in the database. I previously managed the download file when they were stored in the binary format, but now to increase performance I want to just link to … | |
Hi I am trying to store the filepath of uploaded files in a sql server database using vb.net. I have run the code at it uploads fine but nothing is being added to the database. Any help will be greatly appreciated. [CODE]Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As … | |
Hello. Am creating a new program, it is like a webbrowser. But I need to make my own downloader from the webbrowser(I need my downloader start instead of internet explorer downloader, Internet download manager etc.) Sorry for my bad English :S | |
I'm trying to store a data from the checkbox. when i checked on NSO Birth Certificate it has to be stored into my mssql server. here is my code If nso.Checked = True Then strsql = "insert into student info(Requirements) values ('" & nso.Checked & "')" Dim sqlcmd As New … | |
Hi everyone, sorry to bother. I am new in Visual Basic and I am using this in my final year project as a GUI. My system is an attendance tracking system which requires student to scan their rfid tags to make sure their attendance is taken. A lecturer can view … | |
im creating a custom button . when user select a image file for button image i want to add it to the project resource (in design time) . how to do this?? im currently drawing image using image location but its not a good solution. |
The End.