20,284 Topics

Member Avatar for
Member Avatar for eikal

Hi, so im having the user pick two separate colors. Now when they pick the 2.... im going to run an event that determines that combination..... for an example if the user picks red and blue the outcome will be +5 points. Now the only way i can think of …

Member Avatar for codeorder
0
109
Member Avatar for Ruch

hello all please help me out,I have designed a database in access having two fields(1.Regno 2.Smartid).I hav also kept some dummy values in RegNo,But the Smartid is empty. Now what code should I write to retrive the RegNo for which the Smartid is empty. I hav used only these three …

Member Avatar for Naveed_786
0
192
Member Avatar for mls

I am planning to create a webpage to collect simple information. Name, email, phone number, college name and also their markes in each subject Exam subject1 subject2 subject3 subject4 Result test1 85 77 90 90 pass test2 89 89 74 74 pass test3 88 91 98 98 pass Name: College …

Member Avatar for mls
0
176
Member Avatar for Skillzilog

im having a problem on double execution, this is a part of audit trail on my system, the DELETE FUNCTION is working, but it aint updating, im getting an error - it says that "Syntax Error on update statement" on i tried to manually query it on my access and …

Member Avatar for AndreRet
0
125
Member Avatar for emko

Hello, I need some help on making a loop for an Windows Form application. This application takes as input a salesperson gross amount, and determines how many of the salespeople earned salaries in each range ($200 - 299, 300 - 399, and so on). I have to use an array …

Member Avatar for emko
0
172
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
637
Member Avatar for xcarbonx

Hi, I'm having trouble lining up data from a file with their respectable columns in a list box. I am using print zones to space out data evenly, but when i run the program the output is still messy. So I need help lining up columns properly together. As of …

Member Avatar for xcarbonx
0
1K
Member Avatar for zaaephod

Hello again! This is something that's been bugging me for a while. Say I have a dgv with several columns and rows of data. Many times while working with the grid, it's necessary to know the number of the column, but all you know is the column header name, or …

Member Avatar for zaaephod
0
1K
Member Avatar for hueikar

hi.i m new in the visual studio basic 2010..can i noe how to import txt file to datagridview? the txt file like below: name>date>id jay,2010,a111* cheryl,2011,a222* i had successfully import the data to the datagridview. but i cant import for the attribute.. the attribute and data will always change if …

0
52
Member Avatar for alex-VX

hi im making a task manager and want to get cpu usage of a process this is how my code looks now [CODE=vb.net] For Each proc As System.Diagnostics.Process In pList Dim lstStuff As ListViewItem = New ListViewItem() lstStuff.Text = proc.Id.ToString lstStuff.SubItems.Add(proc.ProcessName) Try lstStuff.SubItems.Add(proc.TotalProcessorTime.Milliseconds.ToString + "%") Catch End Try lstStuff.SubItems.Add(proc.WorkingSet64.ToString()) lstStuff.SubItems.Add(proc.Responding.ToString) …

Member Avatar for AndreRet
0
2K
Member Avatar for luanht

This is very much in the source code vb.net, c # refer you to learn more . [URL="http://update24h.info/blog/index.php?go=category_51"]http://update24h.info/blog/index.php?go=category_51[/URL]

-3
40
Member Avatar for DavidRathbone

Looking on the web very few have got VB.net 2008/2010 using object arrays working. I felt it was time to give back what I have taken from the web for any other users. VB6 had a simple object array system which has been lost in VB.net As a C#/ C++ …

Member Avatar for AndreRet
1
2K
Member Avatar for linezero

I was trying to get this work, but couldn't find a way to work this out. I'm new to vb.net. In a text box, the user enters a number for example a 9 digit number. I want the user enter to enter a 9 digit number that is starting from …

Member Avatar for codeorder
0
125
Member Avatar for linezero

how to validate a text box to accept only alphabets and numbers. no special characters. in vb.net i have tried the following code but it doesn't allow numbers but it allows alphabets only [CODE]Private Sub TextBox2_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox2.KeyPress If (Microsoft.VisualBasic.Asc(e.KeyChar) < 65) _ …

Member Avatar for kvprajapati
0
3K
Member Avatar for ironclads

I'm trying to get a VB.Net application to type into a file upload control field. The application currently navigates to the correct page, and clicks the "BROWSE" button so the "Choose File" window opens, but when I use SendKeys.Send( "Testing" ), nothing types into the field, even though the cursor …

0
43
Member Avatar for eladreznik

I am trying to delete a row and update the database, i wrote the code, but it results in an error: Dynamic SQL generation for the updatecommand is not supported against a selectcommand that does not return and key column information. the SQL table contains a primary key, any idea …

0
68
Member Avatar for d_a_r_k

Hello, I'm working on some project and I need your help guys. I'm just a beginner. I searched the forums for a related topic but couldn't found any resolved answer. So how can I make start my external application "DXSETUP.exe" at center screen position using this code? Thanks. [CODE]Private Sub …

Member Avatar for AndreRet
0
3K
Member Avatar for mynameisshafiq
Member Avatar for Pundia

Hi everyone, I'm in this proyect where I need an area in the form where I can place just dots, then join these dots with an straight line between them. How can I do that? I placed a Picturebox to see functions there but nothing is clear. Any help would …

Member Avatar for codeorder
0
220
Member Avatar for lewisco

I have a multiline text box which is used to enter barcode numbers into. I have a barcode scanner and all the barcodes will end in L2, L3 or L4. Once a barcode is scanned in I need VB to detect either L2, L3 or L4 then go to a …

Member Avatar for codeorder
0
1K
Member Avatar for aljiro

Greetings Good People of DaniWeb, I have been on a search for a solution for my problem for weeks and weeks now. My search has brought me into this wonderful community in which I hope to find help. I will be doing my part in the community by providing help …

Member Avatar for aljiro
0
2K
Member Avatar for tahir_77

I am beginner in vb.net, I have created a report in SQL Server Report Builder 3.0 and I want to call/run this report from vb.net form. Please tell me how can I do this, if you have any sample code will be highly appreciated.

Member Avatar for AndreRet
0
49
Member Avatar for Learning_Curve

I am currently working on an application for use with scanning an printing devices. I use the ManagementObjectSearcher in order to retrieve device names and Id's: For example using (Don't forget to add the reference to System.Management.dll in the framework 2.** folder if you're trying the code) [CODE] Dim searcher …

Member Avatar for AndreRet
0
394
Member Avatar for 290nerd

I'm having trouble working with VB.Net 2010, I'm trying to have a Windows Media Player video play, and once it ends I want it to go to a new task. But I cannot figure out how to get it to get to that new task in the event that the …

Member Avatar for AndreRet
0
43
Member Avatar for zaaephod

Hello, first post =D Seemingly simple question, but I can't seem to find the solution. [CODE] (above were other SQL statements I had been fooling with) SQL = "SHOW TABLES;" Try conn.Open() da = New MySqlDataAdapter(SQL, conn) Dim cb As MySqlCommandBuilder = New MySqlCommandBuilder(da) da.Fill(ds, "products") dgvMain.DataSource = ds dgvMain.DataMember …

Member Avatar for AndreRet
0
193
Member Avatar for Trle94

Hey every one... im trying to read file path from .txt I can read it but there is one big hole in which i stepped.. So if you could help me out?? lets see the code looks like this: [CODE]Imports System.IO Public Class Form1 Function INIparse(ByVal TextStringToProcess As String, Optional …

Member Avatar for Trle94
0
152
Member Avatar for eladreznik

i need to create a vertical seperation line in a panel, how do i do so ? do i need to create a place holder and just load an image or is there a better way for doing so ?

Member Avatar for codeorder
0
68
Member Avatar for ACARS

I know this might have came up, but i have a login code and once logged in it would show u your information that u entered in the sql database just for that one person that logged in. Here is my problem when i login it shows another users information, …

Member Avatar for kronald
0
147
Member Avatar for D4rkN3t

I'm new to Vb and I'm just testing some stuff and at the moment im trying something new and im stuck... So here is what i want to do... [URL="http://img441.imageshack.us/img441/9858/hfghdfhg.jpg"]http://img441.imageshack.us/img441/9858/hfghdfhg.jpg[/URL] I want the username and Password fields to be the mail and password in here... [CODE]Dim MyMailMessage As New MailMessage …

Member Avatar for kronald
0
141
Member Avatar for iamthwee
Member Avatar for sukanya1990
0
5K

The End.