473,811 Members | 2,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

0
1,105
thread by: yuentong | last post Dec 22 '10 by: yuentong
hi guy, My question is to create a poll system for basically 2 condition which is single vote and mulitiple vote per poll. For the single vote, it can be single vote per day or per duration. In our system there is a few poll to vote. But the code that i had implement unable to remember the cookie base on the poll. I am a newbie in...
0
1,177
thread by: bbaamm | last post Dec 22 '10 by: bbaamm
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) If FileUpload1.HasFile Then Try ' alter path for your project FileUpload1.SaveAs(Server.MapPath("~/ExcelImport.xls")) Label1.Text = "Upload File Name: " & _ ...
0
979
thread by: Manoj Kumar Luh | last post Dec 22 '10 by: Manoj Kumar Luh
I have a data grid where I am displaying the data. Also there is a functionallity 'Export to Excel'. I have writeen the code for that , but my requirment is I have to fix the first row which is the columns name from the table, so that when user scroll , the columns name should not scroll only data being displaying on the sheet should scrool. ...
0
1,000
thread by: Siddharth Madan | last post Dec 20 '10 by: Siddharth Madan
I can see the files of the folders in the list view. but am not able to open the files. be it doc, xls or anything. My aim is to open all documents just by double clicking the file from the listview.
1
2,788
thread by: Sanket Shah | last post Dec 18 '10 by: Sanket Shah
Hi, I have one sample project to automate Internet explorer in VB 6.0. The same thing when I am trying to do with .Net its just hangs my Internet explorer document. I am not able to type or click on any control on the page. Here is the sample code block. Imports SHDocVw Imports mshtml Public Class FrmRecorder Dim WithEvents IE As...
0
1,074
seraieis
thread by: seraieis | last post Dec 17 '10 by: seraieis
I'm running into an error that doesn't make sense to me when converting an OleDbCommand to use OleDbParameter's. I'm using a VB.NET front end, connected to an Access database (will soon be migrated to SQL Server). When I run this bit of code, the row is inserted correctly (notice the My.User.Name in the select statement): cmd = New...
0
1,136
thread by: Rajat Kumar | last post Dec 16 '10 by: Rajat Kumar
I have a page in ASP.NET 2.0. I add a button in design view and the page runs fine. I then double-click the button to create the click method in the code. Then when I run the page I get the error "error BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types." I have tried deleting...
0
1,478
thread by: Nikunj Bhatt | last post Dec 15 '10 by: Nikunj Bhatt
I am developing a project in VB.Net and I am using Gujarati fonts (non-Unicode). I have placed a DaraGridView (DGV) and displaying the data stored in database in DGV. In DGV, if the contents of the cell is truncated, the DGV shows ellipses (three dots) (...); but as the font is set to a Gujarati font, it displays a Gujarati alphabet "ઈઈઈ"...
0
1,295
thread by: Justin Meese | last post Dec 14 '10 by: Justin Meese
I have a VB.NET application where I would like to have the code behind set a label on the master page with some information. I have tried to expose the label in a public property in my master page, but it doesn't seem to be working. I may just be overlooking something small. Any help?
0
1,439
thread by: kprawin | last post Dec 14 '10 by: kprawin
Hi sir, Im new to Visual Basic, and I tried a simple application using VB2008 and MS-Access. It is a simple application to store Employee ID, Employee Name and Employee Photo. Both Employee ID and Name are of String type and Photo of OLE type in MS-Access database. I created the file employee.mdb and placed the file in MyProjects folder where my...
1
1,406
momotaro
thread by: momotaro | last post Dec 14 '10 by: yarbrough40
Hi, I was wondrening if there is any built in functions to search for a sequence in a string thanks in advace
1
1,940
thread by: John HL | last post Dec 13 '10 by: John HL
Hello I have been programming vba for some time and am now starting VB.NET. I need to connect to an existing access db file (access 2003). I downloaded VS2010 and found an example on the net. Here is most of the code: Imports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form Dim cn As OleDbConnection Dim cmd...
2
2,098
thread by: David Callen | last post Dec 13 '10 by: Joseph Martell
Hey Guys Quick question which I'm sure is actually pretty simple but I'm pretty new to this. I have a piece of code for a program where when a specific checkbox is checked\unchecked (In this case "Allyellow") it checks\unchecks any checkboxes within a group of 14 with a lightyellow backcolor. While the piece of code below does this fine...
0
1,170
thread by: Stephen Wallace | last post Dec 13 '10 by: Stephen Wallace
Hi experts, i want to know what's the best way to export data from spreadsheet to datatable? maybe, any way that can export data from spreadsheet to datatable. Thanks for any answers.
0
1,759
thread by: Michiel de Vrie | last post Dec 12 '10 by: Michiel de Vrie
Hello, I am writing a simple httpwebrequest bot for a client, but for some reason i can't succeed in passing a single cookie. I'll clarify in steps: Bot connects and gets cookie Bot tells the server its active Bot posts data to server Bots tells server its disconnecting Bot disconnects and quits
2
1,927
thread by: mike germinoma | last post Dec 10 '10 by: mike germinoma
Hey, everyone first time so bear with me if something looks odd. Im working with a file and need to set the value of a variable from an integer(which it is in the file) to a String(to be consoled out). Im recieving an error in the if statments. Am I on the right track or is there another way of doing it? Any help would be great. Att: is the vb...
1
10,763
thread by: BudgetGuru | last post Dec 9 '10 by: BudgetGuru
I am using Visual Studio 2005. I have just figured out how to create a Custom Action during installation, but I can not figure out how to get data from the installer. Following is the simple test code that I am trying to use to call the directory that the user defines during installation, but the Path string is not returning anything. Public...
0
1,171
thread by: osaka katta | last post Dec 9 '10 by: osaka katta
sir i want to connect is done using vb.net as front end, back end as oracle 8i. i want to know that how can i show that change made from one computer can be seen from any of pc connected.. i.e. demo of how management systems work when multiple pc are connected.
1
1,612
thread by: borri Craig | last post Dec 8 '10 by: borri Craig
I have a data set with a parent child relationship between a patient table and an insurance table. There can be up to 4 insurances for each patient. I want to display them in 4 separate panels of a vb.net form. So if a patient had 2 insurances, then txtName1.text on panel 1 would have the company name of the first insurance, txtName2.text on panel...
0
1,546
thread by: akshathakbhat | last post Dec 8 '10 by: akshathakbhat
how shall i read/write USB port using VB6.. i need for my project. wat are all the connections i need to make please specify as i don't know how to do it..
0
1,281
thread by: arsh | last post Dec 8 '10 by: arsh
how can i fetch the answer from windows calculator in a textbox using vb.net?
1
2,329
thread by: jan reiner | last post Dec 8 '10 by: yarbrough40
good day everyone.. i am doing a project for my school i am having difficulties in inserting data in mysql and also inserting multiple data in just a submit button.. can anyone help me in this? desperately need the answer in this... thanks a lot guys..
6
2,257
thread by: Thom Hehl | last post Dec 7 '10 by: Joseph Martell
I have created the following com class in vb.net using VS 2010: <ComClass(AgileApi.ClassId, AgileApi.InterfaceId, AgileApi.EventsId)> _ Public Class AgileApi #Region "COM GUIDs" ' These GUIDs provide the COM identity for this class ' and its COM interfaces. If you change them, existing ' clients will no longer be able to...
0
2,355
thread by: Ed Pisa | last post Dec 6 '10 by: Ed Pisa
Hello, I have been working with this problem now for several days. I can delete and Update my data but I can not get it to insert a new record. I receive the syntax error insert into. I am not using any reserved words and I have not been able to find my answer googling like crazy. Any help would be greatly appreciated. below is the code that...
0
1,237
thread by: tsopi | last post Dec 5 '10 by: tsopi
(Visual basic 2008 express edittion) I have made a tabbed webbrowser and what i want is that when the webbrowser page is loaded the name of it will go to the form text ,the tab text, and the apsolutepath at the URL textbox on top. My problem is that i cannot find what i will put in the handle option becouse i want to handle all webbrowsers...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.