20,285 Topics

Member Avatar for
Member Avatar for deefpi

Hello again :) I download data from database to datagrid. Everything working. I need change a cells background color in datagrid where values is other than null. So If i check cells like that: [CODE] dataGridView1.DataSource = datatable from database; for (int row = 0; row < dataGridView1.RowCount-1; row++) { …

Member Avatar for ddanbe
0
147
Member Avatar for jtodd

Hello everyone! I created a database in Access 2010. I am thinking of creating a front end in Visual Basic and was wondering if anyone had any experience with this. Is it doable? Or should I save my time and use access's front edn?

Member Avatar for NetJunkie
0
112
Member Avatar for jgat2011

Hi I would like to know how one can create reports in Vb.net using sql server 2008 Thanks

Member Avatar for NetJunkie
0
97
Member Avatar for noobies

Hye, I had a difficulties to insert the data in vb.net into sql, I had try few times, but it seems the data can't be read in the database, I hope anyone could help me :(

Member Avatar for Netcode
0
134
Member Avatar for deefpi

Hello. I have a datagrid with 9 columns. I want to add a one row from data table who is that same. I believs I can do it that: [CODE]DataGridViewRow drow = new DataGridViewRow(); foreach (DataRow wiersz in dTable2.Rows) { for (int i = 0; i <= ilosckolumn - 1; …

Member Avatar for deefpi
0
444
Member Avatar for yuki_lyn

Hello, I need some opinions about my project development and studies. My project is entitled Voice E-mail, in which I create an email client server while using the TTS to read the message content aloud. I'm having second thoughts of using NetBeans, since I'm not really good at Java. Is …

0
92
Member Avatar for acepeda

Hey Guys I'm a newbie programmer and looking to see if someone can help me out with a lil program I'm developing.I want to track orders for my small furniture factory. I want to create a tracking number based on the OrderNumber+ProductID+SeriesNumber.It should look like this: 10085-88-01 The SeriesNumber is …

Member Avatar for Netcode
0
82
Member Avatar for anonimous

[CODE]If ListView1.SelectedItems.Count = 0 Then MsgBox("Plese Select a Product") Else Dim price As Double Dim quantity As Integer Dim total As Double price = ListView1.FocusedItem.SubItems(3).Text quantity = ListView1.FocusedItem.SubItems(2).Text If txtProductName.Text = "Happy" Then If txtQuantity2.Text > 20 Then total = price * Val(txtQuantity2.Text) * 0.95 total = Format(total, "0.00") execute("insert …

Member Avatar for Capritarius21
0
113
Member Avatar for jefroxnergal

First of all I want to thank "codeorder" for sharing me this code.. [CODE]Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click With Form2 .TabControl1.SelectedTab = .TabPage2 .ShowDialog() End With End Sub[/CODE] This code actually works in normal windows form but when I try to implement this code to …

Member Avatar for jefroxnergal
0
240
Member Avatar for Ruchi224

Hello.. I am using MS Access 2003 and vb.net to develop a windows application of inventory management. I have used datagridview in the form and using FillBytoolstrip option, can filter data using type. But i have no idea as to how can i update the database to reflect the latest …

Member Avatar for Phasma
0
610
Member Avatar for Oneryavuz

hi i have a program and i need to take some images and add some points lines or something with layer system and i wanna save my picture and layers couse i can delete my lines or points. so i have some questions for my program thx for read and …

Member Avatar for Oneryavuz
0
83
Member Avatar for juniorsilver

I designed an application with vb2010 and i would like it to run on a Windows XP platform without the trouble of installing the .NET framework 4.0 and the VBPowerpacks module. I tried copying the DLL files of what i needed and placing them in the application folder, but it …

Member Avatar for juniorsilver
0
207
Member Avatar for Ehtesham Siddiq

Hi, I have a datagridview on my form.There is a column of roll no in the datagridview. I want that whenever user presses anyother key than a number key(ex:1,2,3,4....)than immediately i should get a messagebox that only numbers allowed. I have tried the below code on datagridView Cellvalidation event but …

Member Avatar for Ehtesham Siddiq
0
1K
Member Avatar for violette

Hi, my problem is, I have set the parameter to be 150 in the database. and the alert triggered should refer to the parameter value. if the calculation result exceeds the parameter value, it will turn the box to red colour. however, i notice that it only compares the first …

Member Avatar for Pgmer
0
102
Member Avatar for jefroxnergal

So I have these two forms. On the 1st form, I have a button and on the 2nd form, I put a tabindex and created a two tab pages. If I click the the button, I want to go to the 2nd tabpage. here's my code.. TabPages2.show() It doesn't work …

Member Avatar for jefroxnergal
0
93
Member Avatar for bunik34

Hello again. On topic, haha, I am using VB 2008, then I noticed that with the Provider.Oledb.12.ACE = database.accdb whatever connection string uses the bin/debug/database.accdb file when I connect my program with a database. Suddenly, a database with the same name appeared on the lets say "WindowsApplication1" folder. Then whenever …

Member Avatar for bunik34
0
143
Member Avatar for acepeda

Hey Guys, Im a young programmer from Dominican Republic and im wondering how do I add data from my database to my datagridview.I know how to add it when the datagrid is empty but I want to add the data to two existing columns in my grid.When I add it …

Member Avatar for Mitja Bonca
0
151
Member Avatar for johnny21

hi to all.. just a new member here & also a beginner in VB.NET.. we were assigned to make a payroll system and we've done most of its part.. but still there are big problems: computation of tax and print employee information.. well, the employee information is really long so …

0
107
Member Avatar for justMarshall

I have what would seem to be a simple problem, but I can't get it. To save screen space, I'm trying to create a simple autohide window using a panel control, which will slide open and closed on the MouseEnter and MouseLeave events. For example, here's what I have on …

Member Avatar for justMarshall
0
605
Member Avatar for anonimous
Member Avatar for aadi_capri

hello folks, can any one please tell me what software can me downloaded to make my own .swf files. i.e flash files........ thank you

Member Avatar for NetJunkie
0
164
Member Avatar for alinutzu

Hi. I have a bounded datagridview and it's work fine. I want to know if I can to add a combobox column to datagridview. Thanks for all.

Member Avatar for riteshbest
0
174
Member Avatar for iefilec

hi. i'm doing a search option in my system where if your searching for a entry even if you didnt typed the whole word, all of the entry that contains the letters that you have typed will appear, well i really cant explain it but it goes like this if …

Member Avatar for Mitja Bonca
0
261
Member Avatar for Winfried

Hello I'm a somewhat VB.2008 (Express) newbie, and would like to write a simple application to let users record a voice file, and send it to a remote web server. In effect, I'd like to combine Windows' Sound Recorder and an FTP client. I'm having two issues: 1. The OvalShape …

0
50
Member Avatar for dwinn

Hello, I have produced some VBA in Access that creates a spreadsheet. I have also created an SQL query that retrieves records from an Access table. I have 48 tables (each table for a specific institution centre). I have created another bit of VBA code that creates a spreadsheet and …

Member Avatar for dwinn
0
140
Member Avatar for casey_sunako

Hi guys. I would just like to know if there is a way to integrate a progressbar that shows the progress of the process? I mean when process.Start is activated, that's when the progressbar starts to load until and stops only when process.HasExited. I hope someone can help. Thanks.

Member Avatar for Teme64
0
507
Member Avatar for Capritarius21

When you are generating report in your application then everytime you run it then it will automatically create temp files. To avoid these junk files you have to kill the TEMP files. Code Syntax: KILL "Directory\Temp filename" Sample (delete all temp files): KILL "D:\OMI FILES\Project\*.TMP" Sample (specific temp file): KILL …

Member Avatar for Capritarius21
0
196
Member Avatar for bunik34

Hello everyone this will be my first post. I am happy that there is a forum like this with very supportive people.:) So on topic.. I am a student creating an Inventory System software for my school using VB on VS 2008. I am having trouble saving items from a …

Member Avatar for Alexpap
0
199
Member Avatar for sidyusuf

hi frnds, i have a datagridview with checkbox column including some others columns,my problem is that i want to make the datagrid noneditable except checkbox column..how do accomplish this task?????? my second question is that i have roll no column in datagridview.i m able to generate roll no through looping …

Member Avatar for Phasma
0
118
Member Avatar for Jollyyy100

Hi i'm doing a project and i need help. I'm designing a system, whereby am unable to use 2 different login authorities, which are Admin and Non-Admin. I am using VB.NET and Ms. Access and need help for the codes. I want something like, if i click on admin/non admin …

Member Avatar for maccinelyro
0
878
Member Avatar for x38class

Is there an element of the treeview object that will hold the original path & can be recalled later without it being shown in the tree. If I only had one treeview I would not have a problem, I have several on the form & all use common sub/functions in …

Member Avatar for Teme64
0
507
Member Avatar for x38class

The child nodes are there when first populated but when drives are changed or re loaded a second time, that is when they are missing, so how do I reset the nodes to show child nodes every time This is my code, can anybody see a problem, any help much …

Member Avatar for x38class
0
232
Member Avatar for casey_sunako

Hi. I would just like to know if there is a way to embed a VLC media player inside windows form in visual basic 2010? Thanks.

Member Avatar for casey_sunako
0
212
Member Avatar for [Prototype]

I'm interested in learning about memorystreams, streaming of bytes , byte arrays, buffers, ftp and how network streaming works, where can I learn this? Things like dim buffer as byte(3000) or dim fs as filelstream = file.read if fs > 0 then I think you understand what I mean, thanks!

Member Avatar for Teme64
0
118
Member Avatar for sidyusuf

hi...i m again here... i have a datagridview on a form which contains studentname (in alphabetical order) and a blank rollno field according to the particular class.Now what i m suppose to do is to assign roll no on button click, starting from first student to last student. Roll no …

Member Avatar for sidyusuf
0
243
Member Avatar for Smalls

I know i'm probably goin about this bassackwards. But, window is loaded, binded textboxes get filled, user edits textboxes and clicks a save button it works, all except crashing with a "vb.net 2010 Concurrency violation: the UpdateCommand affected 0 of the expected 1 records." most of the time but the …

Member Avatar for Smalls
0
188
Member Avatar for deepanbecse

Hi friends...can any one suggest me a solution for accessing the Excel work books using the Microsoft Excel API in VB.net?I have to parse through the excel work sheets and find the position of a particular column in the sheet...

Member Avatar for Reverend Jim
0
1K
Member Avatar for Ruchi224

Hello.. I have a form and i have used a combobox along with datagridview and textbox.. I have various values in combobox namely Mechanical, Electrical, Etectronics etc.. When I select the option Mechanics, I wish only few fields of the table be updated in the gridview, with the type mechanics. …

Member Avatar for Mitja Bonca
0
190
Member Avatar for Raja Pandiyan

Hi, this will work in Edit button click,Getting values from combobox and given input to query.Oprdgv is my Datagrid. I got the error Like, "unable to cast the type 'system.int32' to type 'system.data.datatable" [CODE] Private Sub EditButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EditButton.Click Dim mcode As String …

Member Avatar for peter_budo
0
297
Member Avatar for diyez treze

can you help me to fix this code?? i made that one but there's a problem in searching once you enter the form it just paste all the reservation. but i need to be categorize by name, address, roomtype and email [CODE]Imports MySql.Data.MySqlClient Public Class search Public conn As New …

Member Avatar for Teme64
0
165
Member Avatar for JRCharlie

Hi all I have been trying to to create some reports using report wizard in VS2010, but the report viewer takes to long to render. Does any one know the best way to create a report I'm Using Access 2010 Thanks

0
49
Member Avatar for casey_sunako

I have this problem.. I keep getting this error: Cross-thread operation not valid: Control 'ListView1' accessed from a thread other than the thread it was created on. Here is my code: [CODE]Imports System.IO.Directory Imports System.IO Public Class Video_to_Mp3 Public folderopen As String Dim ofd As New OpenFileDialog Dim sizetext As …

Member Avatar for Unhnd_Exception
0
292
Member Avatar for mike_cao

dear all, i got a problem about the arraylist function.now i want to create and return an arraylist with each student ID for populating listboxes. [CODE] Public Function StudentIDs() As ArrayList End Function [/CODE] To display the student ID in the listbox by calling this function. (i need to read …

Member Avatar for lolafuertes
0
460
Member Avatar for mike_cao

hey all, i got problem about count method. for example, there are three students(a,b,c), and there are two courses(coure1,course2), then student a and b enrol course1, and student c enrol course 2. i need to count how many students enrolled course1. [CODE] Public Function numStudents() As Integer 'return number of …

Member Avatar for Netcode
0
271
Member Avatar for nanologic

hello, i have a problem with combobox to stored in sql database this is my code cmbDept.Items.Add("" & dtUser.Rows(i).Item(0) & "/" & dtUser.Rows(i).Item(1) & "") how to take the first item from combobox "dtUser.Rows(i).Item(0)" and stored in sql database. ??

Member Avatar for nanologic
0
116
Member Avatar for rahman86

Hello everyone here. I am new to vb.net database programming yet i want to create a point of sale software using it. So far I have created a local database, POSSdatabase.sdf , and I have 2 tables, Inventory and Transactions. My problem is how do I relate these 2 tables? …

Member Avatar for Netcode
0
163
Member Avatar for tebogop

I'm trying to save data from textboxes in visual studio using vb.net to sql server 2008. the coonectiong is working perfectly but is not displaying the data output in data grid. This is the part of the code. [CODE] Imports Microsoft.VisualBasic Imports System.Collections.Generic Imports System.Data Imports System.Data.SqlClient Imports System.Text Dim …

Member Avatar for tebogop
0
1K
Member Avatar for casey_sunako

Hi. Guys, I need some help. Does anyone know how to Call cross threads in vb.net while accessing the backgroundworker as well? I keep getting error everytime I run my program... Here is my code: [CODE]Imports System.IO.Directory Imports System.IO Public Class Video_to_Mp3 Public folderopen As String Dim ofd As New …

Member Avatar for GeekByChoiCe
0
357
Member Avatar for bluehangook629

I have a function for a dialog which returns the dialog result back. However, the value of the dialogresult changes from ok to cancel after the value is returned. How can i fix this? this is the part where the dialog is called and the value from the dialog is …

Member Avatar for Unhnd_Exception
0
832
Member Avatar for rinoa0424

Good evening guys :) I had made an RPG game in Visual basic 2008 windows application form. I was already done in the movement of character with the map. Now I am making the quests. The problem is, In the battle mode (like in the ninja saga), I want to …

Member Avatar for nick.crane
0
117

The End.