20,899 Topics
![]() | |
I want to update the data in database but As I add the code [ICODE]Dim cb As New OleDb.OleDbCommandBuilder(da)[/ICODE] and [ICODE]MsgBox("Data updated")[/ICODE] in the code it generate error where is wrong in the following code [ICODE]Imports System.Data Public Class Form1 Dim con As New OleDb.OleDbConnection Dim ds As New DataSet … | |
Hello I'm working on a local mdb file. I can send to Oledbdataadapter constructor 2 string variables. I looked in MSDN and they say I still have to open connection with Oledbconnection to connect to my mdb file. but I can work regulary without opening the connection. [code=vb.net] Imports System.Data … | |
Suppose I have webbrowser in mine form..Is it possoble to capture only the cookies create by mine webbrower..suppose before starting the project,in mine cookies folder there are cookies names cookie1 & cookie2....Suppose after the project run.cookies created by mine project are named cookie3 & cookie4...I want to delete cookie3 & … | |
Hi All's, I need to read value from my mdb database into currency format in textbox...can anyone guide me please.tq in advance | |
Hi, im working on my college library management system created by someone i dont know, the problem is the changes i"ve made has no effect on the output whenever i run this application, i think the person who have developed that application has locked the code and prevented it from … | |
Hi! I have som auto generated (from xsd file, xsd.exe is used) Partial classes. On of the properties is an arry, her is the code: [Code] Partial Public Class Betaleregrp4900 Private oversiktOverBetaleregrp4899Field() As OversiktOverBetaleregrp4899 Private betalingTotaldatadef21821Field As BetalingTotaldatadef21821 Private betalerAntalldatadef21822Field As BetalerAntalldatadef21822 Private gruppeidField As String Public Sub New() MyBase.New … | |
I have webrowser in my project..Suppose i open google..I want to drag the google image,can somebody tell me how how to get the URL of the image,so dat i can download it from the net... | |
After creating a datasource and generating a dataset, my database has changed. How can I "refresh" the dataset so it sees these changes. One Method I have been able to do is delete the .xsd file from soultion explorer. There go my modified queries & code. Another method tried was … | |
Helllo people I am trying to use vb.net to update an Excel spread sheet.I was doing well until I tried to output the contents of the cells in an input box.Apparently there is a problem with converting the data to type String so that the input box can output it.This … | |
Hi Im writing in visual studio 2008 in VB.net I last porgrammend in VB 6 need help to connect to oracle 11g Database Xavier | |
Hi Alls, I got problem here to check whether the value in listbox more than one or already exist....I already do this code but it just check existing value only not count if it more than that,,,,anyone can show me the way plz... | |
i got some vb.net application.. when i try to run, got error out Font "Arial" does not sapport style "Regular" can anyone tell me why be like this? | |
Hi All, I'm a virgin to this site, so go gentle. :-) I'm using vb.net to write a web application and I was just wandering what was better and what the advantages/disadvantages to using the self-imported SQL file within VB.net or the SQL Server Management to create a database and … | |
Hi guys, i am facing a problem which is i need to create a dynamic gridview control and i need to add eventhandler for this gridview. Therefore, how i add the event? | |
I would like to get assistance on how to retrieve data from MS SQL database to view it on a listbox.In my db i have two columns. | |
Hi, I am writing a VB.NET application, and I'm having a little trouble writing to the database (via ODBC). I can read from it perfectly well, but when I send an "UPDATE" command via ExecuteNonQuery(), I get a "System Error". Can someone help Identify the problem, or maybe propose alternatives? … | |
Hi guys, I writing this vb.net app using an mdi form. I want to be able to use ctrl+z and ctrl+y in my forms' controls. This is not working by default, allthough I read that it should. What could be the problem here? I do not have any code in … | |
Hi, i hav converted a C# code for text justification to vb.net. When i use this code, bydefault cursor position position sets to left side of rtb even if i set righttoleft property true b4 text justification. I need to change this code so that after text justification, cursor remains … | |
newbie help needed im new to asp.net (vb) can anyone help me ive written some code (see below) to pull some vars from a string in the url i needed to send these to a mssql database any ideas how i do this, any code would be much appreciated thanks, … | |
I am a beginner in VB 2008 and MS SQL Server 2005. How can I connect my vb app into a database in SQL Server? Any help is greatly appreciated. | |
[CODE]Imports System.Data.SqlClient Public Class Form3 Dim con As SqlConnection Dim cmd As SqlCommand Dim dr As SqlDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con = New SqlConnection("uid=sa;pwd=igiat;database=harsha1") cmd = New SqlCommand("select * from student") con.open() dr = cmd.ExecuteReader() While (dr.Read()) If dr(0).ToString() = TextBox1.Text … | |
Hi, I am Vlad and my areas of expertise are VB, VB.NET, SQL Server ACCESS. I like music, movies and sports but golf is my absolute favourite recreation and passtime. Cheers! | |
Hi i am developing vb.net software. i have one problem ( The company have number of steels in different size on stock, one customer need 10 steels in different size how to cut the 10 steel from stock with minimum waste. Thanks | |
hi every body. i m jiya. i m software engineer. actually i want idea for my final year project. plz if u people have any idea then share it with me. it should b noticed that i m interesting in vb.net or assembly language projects. | |
Im trying to inject my vb.net dll into the notepad process to hook one of its functions. Now it seems i face two problems.... GetProcAddress returns 0 (it also does if i call that function via c++ dll) Its might be Vista? anyway next problem is that i want to … | |
Hi guys, After figuring out the update data to listview in another post, I have this problem with my textbox I have a textbox that allows the user to enter a certain number, when that textbox has lostfocus(as i have currently set) it will check the database and retrieve the … | |
hi i need two dimensional cutting algorithm with sample code (vb,vb.net or c) pls any one help me. thanks | |
hello world my first post here i found a vb script that send ur network ip to a gmail account through google smtp the problem is : it only send the network ip :( need someone can help in this to correct the codes to send my real internet ip … | |
I want to lock the folder.I have found the code,but its not helpful [url]http://www.codeproject.com/KB/files/Unique_Folder_Protection.aspx[/url] Suppose mine foldername is sonia ,In the codeProject code,he is renaming the folder to sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} & password is set & that password is written to xml file in the folder sonia only...next time when we double … | |
Hi friends, i want to query from excel data(sheet1) and create pivot table in sheet2 and copy that pivot table into .net data table. Is it possible? if yes, plz tell me how to do this? For example my query is "select productname, cost from sheet1" then from query output … | |
Hi Professionals, I am working on a mass emailing program. I can send mass email successfully. My question is how do i add attachments? i have a label(lblAttachment), a textbox(txtAttachment) and a button(btnBrowse) on the attachment row. Here are my codes for the form:- Please advise. Thank you in advance. … | |
Hey all, I have a listbox, textbox, and search button on my form. I am populating my listbox with data from a sql database. I need to be able to seach my listbox and filter it. Here is what I have so far: [code] Sub RefreshListBox() Dim DSDept As New … | |
I have been using VB.NET for a while now, and I can make a ton of things. But for some reason, I can't connect to SQL. I use SQL 2008 express, and Visual Basic 2008 express(will soon get Visual studio :)) So, I go to add a database, I enter … | |
Hey Everyone, My name is Bobby Cruz , but on most IT forums I go by "dsweb1017". I have been working as a Web Developer/DBA for about 5 years programming mostly in C# and VB.NET. I have been dabbling in PHP and Silverlight for a few months now and its … | |
Does anyone know if you can use HttpWebRequest in a Windows Service? I have a small app that checks an IP, works perfectly as a Forms App but does nothing when I convert it too a service. Heres my code: [CODE]Imports System.Net Imports System.IO Public Class Service1 'declare timer Private … | |
I am studying vb.net and am trying to develop a data access program I am getting the following error when I try to add a new record to the dataset. Any help would be great error " Input string was not in correct format. Could not store<LinenIndex> in LinenItemsID colomn … | |
hi i am developing a software using vb.net 2005. i have problem calculating steel cut process. one company have 10 quantity of steel in different size, the company going to sale 3 quantity of steel in different size. my question is how to cut 3 quantity of steel from stock(10 … | |
Hi, Currently having troubles in adding data to the listview i have created. It actually will add the first set of data to both the database and listview, but when i try to add a second lot of data it displays the error message that I have setup. Also how … | |
ok so i have a controle that is made when a user clicks on an image: [CODE]Sub newbox(ByVal x As Integer, ByVal y As Integer, ByVal text As String) PictureBox1.SendToBack() Try Dim PB As New PictureBox With PB .Name = text '.BackColor = Color.Red .Image = Image.FromFile("point.jpg") .SizeMode = PictureBoxSizeMode.Zoom … | |
hello frnds,i want to check if the computer is in sleep mode or not...Suppose my project is in normal state..I change the state to sleep mode,I want that now when the computer wakes from sleep mode,I want that my project is in minimized state..How to check dat? I have searched … | |
Can anyone help with this please? I my VB.NET app to list each of the documents that are currently open in Microsoft Word. If any docs are not saved then I need to save them. I have tried using the Word application object but creating a new App object doesn't … | |
Private Sub InsertDatabase() Dim rowaffected As Integer Dim SqlInsert As String Dim fname As String Dim mname As String Dim lname As String Dim ConnPPC As New System.Data.SqlServerCe.SqlCeConnection("Data Source =" + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\test.sdf;")) ConnPPC.Open() fname = Me.txtfname.Text mname = Me.txtmname.Text lname = Me.txtlname.Text Dim cmd As SqlCeCommand = ConnPPC.CreateCommand … | |
![]() | Hello friends I am Ravi form India. I am doing My final year B.Sc (Information Technology). I am going to complete by March 2010. I had completed My "Developing Enterprise applications Using .NET framework" from NIIT. I am good in VB.Net, C++ and XML. I don't like the Hardware/Networking/ web … |
Dear all, I am making a new windows based application for my firm. My appli9cation is developing by vb.net. I accomplished most of the goal except custom links in rich text box. As my plan the link work with either pictorial or text. For example. If I am refering a … | |
Hi friends, I want to write a multiform application. if I am running form1, I want to call form2 and end form1. can anyone teach me how to do it? I tried to set form1 as invisible, but I found it funny that if I close form2 by clicking on … | |
I have to create a Gradebook program with a Mdb provided by our prof. it is suppose to compose a letter in a listbox to say as so Student Name address Dear student your grade for CMSC 100 are as follow finalexam: semester grade: Best wishes for a good summer, … | |
Hi Professionals, I am using Microsoft Visual Studio 2005. I would like to know how to separate content in a richtextbox([B]rtbTo[/B]) in windows form with a comma automatically. For example after copying email addresses from a .txt file and pasting it to the richtextbox([B]rtbTo[/B]), there should be a comma inserted … | |
Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user … | |
Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user … | |
I m working on project in which i have to add tab & close tab as that of IE. I m able to do dat,but its not very much clean.Check it out.Plz see if somebody can help me to do it more better. [code] Public Class Form5 Public lSelectedTabPageIndex As … |
The End.