20,899 Topics

Member Avatar for
Member Avatar for klm910622

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 …

Member Avatar for klm910622
0
153
Member Avatar for toldav

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 …

Member Avatar for toldav
0
222
Member Avatar for RedexProGamma

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 …

Member Avatar for RedexProGamma
0
166
Member Avatar for aerohn

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. …

Member Avatar for aerohn
0
3K
Member Avatar for compulove

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 …

Member Avatar for bluehangook629
0
3K
Member Avatar for afffro

how to make offline database use vb.net and microsoft access?? please help me.. urgent

Member Avatar for codeorder
0
148
Member Avatar for jugnu

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

Member Avatar for Reverend Jim
0
461
Member Avatar for trisha0906

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 …

Member Avatar for codeorder
0
287
Member Avatar for bluehangook629

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 …

Member Avatar for bluehangook629
0
263
Member Avatar for vammy

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.

Member Avatar for vammy
0
127
Member Avatar for mahmodslah25

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

0
40
Member Avatar for cyberwarezcp

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" …

Member Avatar for Netcode
0
651
Member Avatar for deepsmehta

I want to calculate factorial with all proper validations. Can anyone tell me the functions to be use for this using VB.NET...pLz

Member Avatar for Netcode
0
4K
Member Avatar for m1234ike

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 …

0
74
Member Avatar for awmantonio

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 …

0
93
Member Avatar for VIPER5646

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. …

Member Avatar for VIPER5646
0
153
Member Avatar for shers

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() ' …

Member Avatar for GeekByChoiCe
0
176
Member Avatar for Naveed_786

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 …

Member Avatar for Naveed_786
0
342
Member Avatar for consc197

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 …

Member Avatar for consc197
0
245
Member Avatar for consc197

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 …

Member Avatar for consc197
0
167
Member Avatar for consc197

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 …

Member Avatar for consc197
0
220
Member Avatar for vammy

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 …

Member Avatar for bhagawatshinde
0
118
Member Avatar for cyberwarezcp

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 …

Member Avatar for cyberwarezcp
0
146
Member Avatar for Darkicon

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 …

Member Avatar for GeekByChoiCe
0
173
Member Avatar for PM312

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

Member Avatar for stbuchok
0
72
Member Avatar for Phasma

[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 …

Member Avatar for Phasma
0
1K
Member Avatar for slbreaul

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 …

Member Avatar for Reverend Jim
0
77
Member Avatar for GAiXz

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 …

0
108
Member Avatar for skp03

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 …

0
73
Member Avatar for ItDir

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 = …

Member Avatar for GeekByChoiCe
0
798
Member Avatar for bhagawatshinde

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...

Member Avatar for bhagawatshinde
0
120
Member Avatar for kelvin_8188
Member Avatar for skp03

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 …

Member Avatar for codeorder
0
156
Member Avatar for omotoyosi

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 …

Member Avatar for thines01
-2
117
Member Avatar for skyfow89

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. …

Member Avatar for Unhnd_Exception
0
92
Member Avatar for Jollyyy100

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.

Member Avatar for Jollyyy100
0
160
Member Avatar for kelvin_8188
Member Avatar for thines01
-1
147
Member Avatar for Shodow

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 <<

Member Avatar for Shodow
0
175
Member Avatar for VengefulToast

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 …

Member Avatar for bluehangook629
0
254
Member Avatar for lcfjoertoft

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 …

0
239
Member Avatar for sachin mali
Member Avatar for bluehangook629
0
766
Member Avatar for William Ng

][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) …

Member Avatar for William Ng
0
167
Member Avatar for Naveed_786

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 …

Member Avatar for Naveed_786
0
161
Member Avatar for Simran Kaur

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 …

Member Avatar for Oxiegen
0
817
Member Avatar for kelvin_8188
Member Avatar for kelvin_8188
0
469
Member Avatar for bilal_fazlani

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= " …

Member Avatar for bilal_fazlani
0
166
Member Avatar for bilal_fazlani

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 …

0
137
Member Avatar for moone009

[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

Member Avatar for GeekByChoiCe
0
354
Member Avatar for programchamber

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. …

Member Avatar for bhagawatshinde
0
121
Member Avatar for toldav

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 …

Member Avatar for toldav
0
206

The End.