20,899 Topics
![]() | |
This is my code to load data from a database(SQL Server 2000) into a combo box. I keep getting the error [B]Name 'connString' not declared.[/B](the highlighted section of the code). I've tried posing this error in Google search but there are no answers. I am working in a software development … | |
hi Im trying to rationalise my code as i feel i am doing the same thing a couple of times with different bits of code. What i am doing is query a db and putting the result into a dataset and then filling a datagrid with this dataset..Fine. now i … | |
Hi I have the following code. I have 5 combo boxes and a check box. I want the application to respond for one combo box chosen and work even for several different values from the 5 combo boxes and same applies to the checkbox. I want to know if i … | |
i just finished 3rd year in computer science and engineering from amity university noida. however i am doing summer training with a company in rudrapur. the project i got was to develop a software using vb.net to keep track of all attendace records whose input is given through magnetic card … | |
hi i am just starting with vb.net and have set a connection to an existing access db that i have and am able to get the data displayed on a form. my problem lies where as i want to setup a basic search. i have added a query to a … | |
Hi i am making a application frm for user account .I already make it the user account frm with coding but i need to put login frm first what will search the login enter and password then let its appres the user frm.If the userid and pass enter does not … | |
Hello all, I am having endless problems with the peice of software i am trying to develop. Firstly I couldn't colour the rows of the datagrid and when i was able to do that I couldn't make it work only for one single row instead it colours the whole datagrid … | |
I specialise in web development, e-commerce applications, payment gateways and also run my own IT company - payment gateway provider. Skills include SQL, BizTalk, VB.Net, C#, ASP.NET, ASP, HTML, Jscript. | |
now i am doing something that i thought would be real straight forward but for some reason is not. Im trying to lookup records in a DB based on todays date. ow i know the db contains records for these dates but nothing ever gets returned. My code is below … | |
Hi, I want help in displaying record of same challan no. into one textbox. I have feilds like challan no,sendqty,availableqty,balqty. if i fill one record of challan no 1, availableqty=1000,sendqty=500,balqty=500. next time when i am fill record of same challan no then i want availableqty=500 in textbox. I am using … | |
Hi, I want help in displaying record of same challan no. into one textbox. I have feilds like challan no,sendqty,availableqty,balqty. if i fill one record of challan no 1, availableqty=1000,sendqty=500,balqty=500. next time when i am fill record of same challan no then i want availableqty=500 in textbox. I am using … | |
Any one can help on how to delete a particular string from the contents in a document file | |
HI I have an application that contains certain editable fields (textboxs) and what i want to do is know when someone has changed or entered new text. What i done was in the 'TextChanged' part of a text box was this: Private Sub txtCNotes_TextChanged(ByVal sender As System.Object, ByVal e As … | |
Ok, I had posted this- [url]http://www.daniweb.com/forums/thread128689.html[/url] and got this piece of code from a link ([url]http://vb.net-informations.com/crystal-report/dynamic_crystal_report_from_sql_query_string.htm[/url]) [code=VB.NET] Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Data Public Class Form1 Dim objRpt As New CrystalReport1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim … | |
I am new to VB and am trying to create a program that will search for files in a user specified directory within a specified date range, and then list the files in a list view. I've managed to figure most of it out except how to specify the date … | |
hello, I am having a problem getting all of my items to display correctly. I have a form that has a combobox. When this combobox changes I need to display different items on the form. This is the code to do this but for some strange reason not all items … | |
hi, i'm using one datasource to colect information from my database and to fill one gridview, but before fill it i would like to pick the field txt_alt put it in one function [this function sees if the are upper letters after the first one], case exists i want to … | |
Please help me with this CODE. What I want to do is to update the existing data in my database. Imports System.Data Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.Transactions Imports System.Collections Imports System.Collections.Generic Public Class SelectStaffManager Const strConnectionString As String = "Server=(local);Initial Catalog=VideoClub;User ID=sa;Password=" #Region "SQL Statements" Private Const SQL_SELECT_STAFF As … | |
i am trying import contact list from[B] Gmail,Yahoo or Hotmail [/B]which is provided with [B]email id/user id[/B] and [B]password[/B] . Is There any Solution to access there servers and get the contact list of any one user. pls provide me any solution | |
Hi, i had made one grid view automatic and is giving more results that i want ... In the grid view appears one check box, one text and after the update. So i want to pick that text of each line and put it in one function, if the text … | |
Does anyone know a way in which I can execute PL/SQL statements in a VB.NET program? Any input is appreciated. Thanks. | |
Hey Geeks. I'm happy to be a memeber of DaniWeb. Presently working in VB.NET and like to concentrate on ASP.NET | |
I m Using the Foll. method to Read the Contents of a File. If i m reading the doc,txt prog is working file. I m using the File "D:\pagefile.sys", ERROR is there,The process cannot access the file 'D:\pagefile.sys' because it is being used by another process. how To Read Contents … | |
Hi i am trying to popuate a checked list box with the following code. It works but how do i get the checked list box to keep the entred details or the next time i use the program. like they were put in the items collections properties? any help would … | |
How can i import contact list from any email account by providing User id and Password pls help me out ..... | |
hi guys. currently i'm doing web application in vb.net and crystal report 9. everything is ok until i run the project which problem was occured. Actually, i still newbie with this crystal report..so hopefully someone can help me to fix this problem. i don't know how to find CrystalDecisions.Web and … | |
[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Dice1 As Integer Dim Dice2 As Integer Randomize() Dice1 = Int(Rnd() * 6) + 1 'Randomising dice 1 between 1 and 6 Dice2 = Int(Rnd() * 6) + 1 'Randomising dice 2 between 1 and 6 … | |
Is there any way in which a crystal report be generated by giving the table name at runtime? ie. the user chooses the table whose report is needed and the .rpt files do not exist beforehand. | |
I am planning to write an Examination system but i have some question about how i can start my system | |
Hi! I am tuse from India. I am doing my engineering in Computers. Working with VB.NET and ASP at present, see you in the forums! | |
There are five tabs in a form. (Windows application). Each tab is the subcategory of the tab before it. (Tab 2 is the sub of Tab 1, Tab 3 is the sub of Tab 2 and so on). There are two combo boxes in each tab, starting from Tab 2. … | |
I was just wondering how i could make it so that if the url of webbrowser1 contains http:_____ then [code] button1.visible = true [/code] or if the webbrowser1 url does not contain the certain url then [code] button1.visible = false [/code] Thanks A lot, | |
If i have a table with say x columns and y rows how do i get the contents of the 'i'th column into a arraylist | |
hi, Actually i'am new to VB.NET. i started learning. but when i run a small application in console. i cant see the result. the screen just blinks and vanishes. my code is [ imports System ] [ imports System.Collections ] [ Namespace Myapp ] [ Module Mymod ] [ Sub … | |
Ok i have a textbox named txtingtext_txt and a timer named txting_tmr Kk it works pretty well, well i press the 2 key, a comes up, and if i press it again it goes to b then c then back to a etc... Just like on a phone. There is … | |
Hey all, Is there a way that I can detect when any key has been pressed? Basically I have a login box and if the user has Caps Lock on and tries to enter his password a Tooltip apears, however as soon as they type again I want the tool … | |
For my computing project last year I created a simple booking system in Access 2003 with a little bit of VBA to enhance it a little. However this year I need to improve it. One of the main problems I found with my booking system is that double bookings can … | |
dear guys... i have a code but it runs so slowly i would it to make it fast...can u help me?? what should i do??? [code] Var2 = 0.1 For y = 0 To jlhPro - 1 Do Var1 = Var2 For z = 0 To thn - 1 kata … | |
I have a text file contains non delimited data (Each row consists from 16 fields and has a 131 byte) I used this code to load it's data into datagrid(I have visual basic 2005) The program work fine Now I want load this datagrid into access database I try to … | |
I need to be able to perform the creation of HTML controls (i.e. Tables, form controls) from inside of a DLL in vb.Net I have searched Goggle far and wide for what Import statement references the HTML objects. Imports System.Web doesn't do it. I would like to do something like: … | |
Ok, I fill my dataset in the form_load event, and the datagrid loads up with the data fine. I can search it and update/add members. When another machine on the network adds a member (haven't even tested an update yet) it sends a message to the machine in question telling … | |
Hi, We have developed one small project in vs2005 (VB .Net). In all Operating System we successfully able to launch the exe except windows server 2003. In windows server 2003 it is giving error like this "the application has failed to start because the application configuration is incorrect. Reinstalling the … | |
I have a text file contains non delimited data (Each row consists from 16 fields and has a 131 byte) I used this code to load it's data into datagrid(I have visual basic 2005) The program work fine Now I want load this datagrid into access database I try to … | |
i have 2 tables : 1.Ms_Menu Menu_Id,Menu_Name 001 | Menu1 002 | Menu2 003 | Menu3 2.Tbl_User User_Id,User_Name,Menu_Id User1 |Name1 |001 User1 |Name2 |002 User2 |Name2 |002 i want to joined 2 tables using UNION(or other way if works is fine->left/right join) my coding : [code=sql] SELECT User_Id,User_Name,Menu_Id,'' Menu_Name FROM … | |
In an interface there are 5 tabs (Tab 1 to Tab 5). Each tab has a Binding Navigator to Add, Delete, Save, Edit items. For Tab 2 (subcategory for tab 1), the Delete button in the Binding Navigator has the following code. Tab 3 is the subcategory for tab 2, … | |
An interface has a few tabs on it. (Tab 1 to Tab5). Tab 1 is labeled Item Category Level 1 and the following tabs are named accordingly. Tab 2 is Item Category Level 2, Tab 3 is Item Category Level 3 and so it goes. Item category level 2 has … | |
Hello Everyone, I am very new to VB and currently using VB Express 2008 to create a simple program. However, I am running into a syntax error on my update code. I have done some research on the web but cannot find a common thread. I am hoping some of … | |
hey guys. here is a scenario: i have a form named frm1 and a variable in it [CODE] private x as integer = 0[/CODE] and another form called frm2 that needs to be able to make a local copy of "x" from frm1 and any changes made to "x" on … | |
Part of my code for an Update/Save button in a Binding Navigator is as below : [B]dsInventory.inv_itemsubcategory.Addinv_itemsubcategoryRow(Trim(CatCodeTextBox1.Text), CatItemDescTextBox1.Text)[/B] When I move my mouse to that line of code, there is a message that says : Overload resolution failed because no accesible 'Addinv_itemsubcategoryRow' accepts this number of arguments. Why is this … | |
Dim strSql As String strSql = " Select * from quazatoknitting where yarn_recchno= '" & txtchno.Text & "'" Dim strSql1 As String 'strSql1 = " Select rec_qty from recfromknitting where yarn_recchno= '" & txtchno.Text & "'" Dim da As New SqlDataAdapter(strSql + strSql1, objconnection) Dim dt As New DataTable da.Fill(dt) … |
The End.