20,899 Topics
![]() | |
hi.. i'm new in using vb... can anybody help me to check the problem inside my code? [CODE]Imports System.Data.OleDb Imports System.IO Public Class editMovies Private Sub editMovies_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim con As OleDbConnection = New OleDbConnection(conString) Dim cmd As OleDbCommand = New OleDbCommand("SELECT … | |
I need help in write this code. If someone can give me a hand on this please. I need to determine which students have a specific major based upon the button that is clicked , then code will pull all the CS student's name and put them in the results … | |
Hi again... I have been working on a small webbrowser application, and am having trouble with my Favorites bar script. So far I have [CODE]Public Class frm_Main Public Function NewFav(ByVal Name As String, ByVal URL As Uri) Dim twoToolStripMenuItem As ToolStripMenuItem = New ToolStripMenuItem(Name) AddHandler twoToolStripMenuItem.Click, AddressOf Me.twoToolStripMenuItem_Click Me.FavoritesToolStripMenuItem.DropDownItems.Add(twoToolStripMenuItem) End … | |
I have an error "ERROR [22018] [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression". I am using VBdotNet2005 and MS Access as its database, and I can't really get the hang of this error. I've been trying to google the answer but I cannot find solution for this. … | |
I am trying to copy the contents of a folder into another folder in another drive using XCOPY. Here is code I have now but it isn't working and I figure xcopy would be the easier way to go because MOVETO and CopyDirectory haven't been working because its copying files … | |
how to make offline database use vb.net and microsoft access?? please help me.. urgent | |
Hi, I need to know how to run an application on client machines from a Central location for example from an application server? Thanks and Regards | |
i would like to sort the information inputted on the textbox and make it appear on the listview of another form by using the combobox. like if i inputted my Surname, First_Name and Middle_Name and i chose the "Full" item for my paytype with the id number "txtid" and the … | |
Hey guys, I am trying to find .NET Framework Configuration Tool which used to be in the control panel for older versions such as .Net Framework 2.0. I just noticed that it is not there anymore, and mscorcfg.msc is also missing from the machine. I googled on it and one … | |
Hi Guys, How do we create relation ships between tables using a sql query? im using MS Access and VB.net. Please post an example,tht would b really appreciated. many thanks. | |
Hi All in my project (bot) i want to make two http requests one by one with cookie like : delete something , then appear (Are you sure to delete?) message ,then click submit thanks for all | |
Hello I wanna asking, i have a database ( online ) which have a 3 table ( Name, Link, Status ) I wanna ask how to : Check Name Data is it Same with the TextBox1? if it same check the status data is it "A" for Active or "N" … | |
I want to calculate factorial with all proper validations. Can anyone tell me the functions to be use for this using VB.NET...pLz | |
Hello DaniWeb, I have a new idea for an app: I have an external harddrive and I usually backup my desktop with a cleanup folder which I usually move to the external harddrive. The problem is: when I search for a file (i.e. example.mp3) I will find multiple copies which … | |
Hi! I have a problem in Crystal Reports on VB.NET 2008. I have two GroupHeaderSection, one is grouping per Department and the other is per Section. Under the Section grouping, I have series of Summaries, i.e. EmpA, EmpB, EmpC. These summaries are the Sum of all the workOutputHrs of employees … | |
I have two arraylists. The JobArraylist gets adresses from a database table and JobIDArray Gets the ID for those addresses. I'm populating a Combobox with the JobArrayList which is working ok. When I select a an address in the combobox I use the sectectindex to get the AdressID from JobIDArray. … | |
Hi, I have a User Control that contains a Button. This button works for the first click. But the Click Event is not fired in the second click. Please help. Here's my code: [CODE] Public Sub New() MyBase.New() ' This call is required by the Windows Form Designer. InitializeComponent() ' … | |
Hi all, Can anybody tell me how can i give option to user to design there own reports???? i.e They should be able to define 1. Report Title 2. Reports Fields(When they click on Work Order button they should be able to view Work Order Table column and they should … | |
I am coding some new forms and i need some help i believe. Here is what i want to do: I have a table called tblComparison - this table has the following columns: [LIST] fldDate fldAverage fldMorning8am fldMorning11am fldLunch2pm fldAfternoon6pm fldNight1159pm [/LIST] The 5 last columns have numbers entered. The … | |
How can i add a menu and make it to appear on all forms within that project? I remember that 2 years ago i was able to do this with VB6 however with VB 2010 i am unable to do this currently. Right now i added a Menu Strip on … | |
Hello everyone, I have been coding a Reset Login Details form, the user needs to enter the new Username, the new Password and the Current Password. Here is my code below - something in the form is not working as i am getting an error when i fill in the … | |
Hi guys, Im using a datagrid for user to enter input. However,im restricting the grids to some value.My grid is actually not bounded to any database. so,here is my requirement: whn the form is getting displayed,all grids are getting displayed.,which dont want.,only row2 shld get displayed to user after he'l … | |
Hello, I wanna asking How to Make a Waiting while Proccessing? I mean I want when the software proccessing login into my Online database, the Button1,TextBox1,TextBox2, LinkLabel1,LinkLabel2 will hide and the Waiting Picture is show, Here is my code : [CODE] Button1.Visible = False Button2.Visible = False TextBox1.Visible = False … | |
I'm working on a program that allows me to quickly write database entries. There are 123 columns, almost all of them I'm not using right now so I figured I'd write a program to speed up the process of adding entries to the database. The problem I'm having is exporting … | |
hi I used to write below code for do Loop in vb6 [CODE]Do While Recordset.EOF <> True[/CODE] How to get this or replaced for ado.net vb.net Thanks ![]() | |
[B]Read a CSV file into a DataGridView[/B] [CODE]'12/4/2011 'Code to read CSV file with headers using 'ACE.OLEDB.12.0 Connection 'The following is a Sampling of <EXTENSION.csv> 'The CSV file contains all the Extension on my Desktop Computer 'The full file has 923 Rows with Headers: 'EXTENSION,DESCRIPTION,EXECUTABLE_PATH '.mde,Microsoft Office Access MDE Database,C:\Program … | |
Hello :) I'm working a project for class that involves a database connection. I have an Acess database called "Libraries" that contains two tables called Libraries and Books. I have to create a form that has two DataGridViews(one that contains the Libraries and their ID #'s, the other that has … | |
GOOD DAY .NET PROGRAMMERS!! ^_^ [URL="http://www.daniweb.com/forums/attachment.php?attachmentid=23184&stc=1&d=1323465600"]http://www.daniweb.com/forums/attachment.php?attachmentid=23184&stc=1&d=1323465600[/URL] I'm having a problem with SMS APPLICATION "see the picture"? when i click the SEND button after typing the number of the recipient and the text messages it's not responding same as the LOAD button and nothing happens after that so i have no … | |
the below code should be modified for the button1 to open a file only admin can do it for that i want a password protection as the password is matched then admin can specify which .exe file should be on the button2 on the button2 .exe file should save it … | |
I can not get labels to print on a Windows 7 64 bit machine. The program works on windows 7 32 bit. The error is [B]Can not Create OLE Objects[/B] [CODE]Public Class ArmsInput Dim strAssemblyCode As String Dim strLineID As String Dim strLabelPrinter As String Public strConnection As String = … | |
Hi, How to avoid webbrowser data copy, paste to word or notepad in vb.net. Disable right click on webbrowser by using [ICODE]IswebbrowserContextmenuEnabled =false[/ICODE] Thanks in Advance... | |
in VB.net about list box, i have a doubt if we need to browse a file from a open file option than how to select a file from the open option and only name of the file should be written on the button and by clicking on the button u … | |
HELLO GREAT PROGRAMMERS IN THE HOUSE I HAVE THIS ERROR AND DONT KNOW HOW TO GO ABOUT IT. ITS REALLY HOLDING ME DOWN Build failed due to validation errors in c:\users\omotoyosi\documents\visual studio 2010\Projects\TheUI\TheUI\DataClasses1.dbml. Open the file and resolve the issues in the Error List, then try rebuilding the project. SECONDLY … | |
I'm trying to create a class that uses an array as a property, but I can't get it to work. I've tried doing this like 3 completely different ways and they all yield the same error. The first line of code generating the error is [CODE].question(0) = "abc"[/CODE]. Please help. … ![]() | |
Hi All, I wanted to know if its possible to create a right click function in vb.net MDI form. Example the way we right click on any program it gives us a list of options, is it possible to do it in vb.net and how? Need help, thank you. | |
| |
here i have 2 listbox i already have the code for the selected item moving right and moving left but i don't know how to move all of the listbox1 to listbox2 by just click >> or listbox2 to listbox1 << | |
Hi forum, I am wanting to advance my programming knowledge to the next level: to create games. I have a pretty-good understanding of VB.NET and I am wondering what I could do to make games. I know that most on-the-web games are written in ActionScript with Adobe Flash, but would … | |
Hi all I have "borrowed" a function from the net, and need som help in modifying it to do what I want. [CODE] Public Function CrossTab(ByVal dtS As DataTable, ByVal leftColumn As String, ByVal topField As String, ByVal dataValue As String, Optional ByVal pFix As String = "") As DataTable … | |
when insert in the first char then it display the related item the combo box | |
][B]Is that possible to highlight the row when the cell value is change ? Can anyone teach me and explain to me ? Thanks[/B] [CODE]Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click Dim update As New dboperation Dim t As DataGridViewSelectedRowCollection = Me.DataGridView1.SelectedRows update.makeconnection() If (Me.DataGridView1.Rows(t(0).Index).Cells(0).Value.ToString) … | |
I am auto generating data grid and I am using check box in Data grid View, Now i am invoking check box state changed event but it produces the following error Handles clause requires a WithEvents variable defined in the containing type or one of its base types. Here the … | |
Hi friends, I have downloaded VS Express 2010 edition from Microsoft website. I want to convert a VB 6.0 project into VB.Net using VS Express 2010. Is it possible to do it without the "Upgrade Wizard"? How much will it cost me to get basic VS 2010 Professional with the … | |
please help... please see attached file for further explanation... | |
heres a form i have created. its a search form. [url]http://img266.imageshack.us/img266/722/paymentsh.jpg[/url] it searches and lists the results in list view. heres my mssql query : [CODE] select transactions.trans_id,transactions.cust_id,transactions.trans_amount," _ & "transactions.trans_date,customers.fname+' '+ customers.lname as customer from transactions inner join customers on transactions.cust_id=customers.cust_id " _ & "where trans_type='inv' and (trans_id= " … | |
I am making an invoice system. Please have a look at the images. [url]http://img32.imageshack.us/img32/9216/capture1iv.jpg[/url] [url]http://img839.imageshack.us/img839/1228/capture2cq.jpg[/url] as you can see, the place order button is creating an invoice. I have actually created a junk table and a junk column in it just to setup the invoice_id and load it when "invoice … | |
[CODE]Dim FilestoCopy As String Dim NewCopies As String FilestoCopy = "C:\Users\Documents\*.txt" NewCopies = "D:\New\Documents\" If System.IO.File.Exists(FilestoCopy ) = True Then System.IO.File.Copy(FilestoCopy , NewCopies ) MsgBox("File Copied") End If[/CODE] I was wondering how to switch this to copy all .txt file from FilestoCopy to NewCopies | |
I'm attempting to do something that I know should be simple but I keep messing it up somehow. First, I'm attempting to change the font color using the color in the font dialog box, but the color will only work with the next character entered into the rich text box. … | |
Hello everyone its me again try to learn VB. I need help to make sure if my code needs to be modify. Here is the instruction: 1- The list box that contains the city names is not visible when the program runs. lstCity.Visible = Not lstCity.Visible (still showing at run … |
The End.