20,285 Topics

Member Avatar for
Member Avatar for developbala

need 2 fetch from grid for a student with the least mark earned in a subject from the grid ... with reference to reg.no....

Member Avatar for sskelton
0
142
Member Avatar for OldQBasicer

I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... Next loop okay and shows the message box, but then does NOT Exit …

0
64
Member Avatar for dre-logics

I use: Visual studio 8.0 MySql database One table: table :Groups, two fields : groupnb,groupdef One Datagridview with is link to [COLOR="Red"]Mydataset1[/COLOR] [COLOR="Red"]Some times [/COLOR]a get this MySQL error: [COLOR="red"]"Connection must be valid and open"[/COLOR] I use first this command : [COLOR="Green"]MyDataset1.Tables("groups").Rows.InsertAt(row, 0)[/COLOR] Then I change the content of some …

Member Avatar for dre-logics
0
372
Member Avatar for jjmartin0

I have visual studio 2008 pro installed along with a sql server 2008 sql server 2005 mobile. I have installed service packs for the data base file wont open on my computer but it does on the school computers. I don't know what the school computers have on them. The …

0
34
Member Avatar for kerek2

Hi all, Pls help me....i need to save picture from oracle database (blob type) into jpeg....i'm using vb 2005 with console application...After that i need to insert that picture into Other databasse...can anyone help me..tq

0
59
Member Avatar for pv1328

Ok, so here it is: I want a video to play when the form is loaded. Once it is done playing, i want to hide the form, and open another form. I am using Microsoft Visual Basic 2008 Express Edition my code is: [CODE]Public Class frmSplashVideo Private Sub frmSplashVideo_Load(ByVal sender …

0
29
Member Avatar for jokers6

Hey guys i have taken part in a programmers elite competition and in a group you are assigned different programs to build. i have VB and C++ .... im really good with C++ but i have never touched VB !! now i have a project to build ... so can …

Member Avatar for jokers6
0
175
Member Avatar for richardmlees

OK, in it's simpest terms, I have a custom object (all string Items) which I add to a list of those items. The list is declared as a global variable. One form updates the list, another contains a dataGridView (vs.net 3.5) that displays the list items. The view displays the …

Member Avatar for kvprajapati
0
119
Member Avatar for jokers6

Hey guys i have this program and i want you to tell me what is wrong cuz i can't figure it out !! This is what i have to do: (the code follows) When the form is loaded, read the records in P3S3 Data File For Import.txt to a listbox …

0
64
Member Avatar for bghodsi

Hi folks: I get the following error when I try to convert sql to access: Microsoft JET Database Engine missing (;) at end of sql statement. The first part works fine but I get the error running second part. Below is the complete coding in vb.net for data transfer. [code] …

0
56
Member Avatar for Anigmalee

[CODE] Select Case (e.Index) Case 0 If Alarmlvl = 3 Then bwcolor = Brushes.Gold ElseIf Alarmlvl = 2 Then bwcolor = Brushes.Black ElseIf Alarmlvl = 1 Then bwcolor = Brushes.BlueViolet End If Case 1 bwcolor = Brushes.Gold If Alarmlvl = 3 Then bwcolor = Brushes.Gold ElseIf Alarmlvl = 2 Then …

Member Avatar for Anigmalee
0
219
Member Avatar for hoofbeats95

Hello. I need to include an excel file in the installation project of an application. I've added it to the install project under application folder. I need to read that file into a dataset during runtime. The file needs to be included on install so that the customer can change …

Member Avatar for hoofbeats95
0
808
Member Avatar for lunaluni

:( im new in vb.net i read some tutorial i still dont understand on how to retrieve data from sql server into datagrid. can someone teach me on how to set it. if got easy tutorial for me also can i have a button call "retrieve" and when i click …

Member Avatar for finito
-1
140
Member Avatar for laks_samy

Hi i am using List View in vs 2005, i added check box but i can't set the properti enable = false, how to set enabled =false in all checkbox coloumn?

Member Avatar for finito
0
94
Member Avatar for meetarun007

Hi to all, I need to display a arrow picture over another picture. But i cant able to make arrow picture transparent other than the arrow. Always it is in rectangle format(Picture box). I tried the picture box color to transparent, But that doesn't worked. Pls Help...

0
96
Member Avatar for Chriswf

Is there a way to make a pop up (like a msg boxs) if the mouse goes over a pannel? If so, what would the code be for it?

Member Avatar for crazyhorse09
0
49
Member Avatar for Agent-of-Chaos

i have this piece of code and i want it to be implemented in vb.net [CODE]Sub DrawScreen() If Picture1.Point(1 + x + (i * 4), y + (j * 4)) = RGB(c1, c2, c3) Then v(&HF) = 1 Picture1.Line (1 + x + (i * 4), y + (j * …

Member Avatar for Luc001
0
294
Member Avatar for Lupus

Hey all I have a problem in my code I can't seem to find a solution for.. One combobox is being filled up with a datatable like this: [CODE]CbUsers.Datasource = usersDAO.getUsers()[/CODE] The getUsers() returns a datatable from my acces database. Users have a name and id, I want to use …

Member Avatar for Lupus
0
138
Member Avatar for michtan

Hi, I wan to copy my directory from a loc to another. But i just able to move. Below is my code. [CODE] PathToMove = "C:\hey\nana\" Destination = "C:\you\nana\" If Directory.Exists(Destination) Then Dim objDir As New DirectoryInfo(Destination) objDir.Delete(True) msgbox("done") End If Try If Directory.Exists(PathToMove) Then Directory.Move(PathToMove, Destination) Else msgbox("Error") End …

Member Avatar for kvprajapati
0
102
Member Avatar for doomkid

Ok so the other day i was playing a game on facebook and decided to make a program to make it faster to play the game and save some time. i made a simple auto clicker with some hotkeys to start/stop and then added some text boxes and some more …

Member Avatar for Luc001
0
219
Member Avatar for danielle23

Hello... I'm having a real hard time with displaying the proper data in Project Summary. First off, I am using an Access database to bring in the data. Total hours are being calculated correctly. Rates are as well. I tested using a messagebox to make sure the rates are being …

Member Avatar for danielle23
0
120
Member Avatar for Swence32

We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the …

Member Avatar for Swence32
0
260
Member Avatar for iamai

Hi i have some problem with the listview control i dont know how to use it here is what i wanna do [code] sub mysub() handles myEvent for i=0 to 3 Dim lv As ListViewItem = ListView1.Items.Add(x(i)) lv.SubItems.Add(x(i)) lv.subitems.add(x(i)) ... next end sub [/code] so when the next event occurs …

Member Avatar for iamai
0
74
Member Avatar for Cardboard Box

Hi I recently learnt how to do crash collision based on colours. So you can use something like img.getpixel(0,0) to retrieve the colour of the pixel at (0,0) on the picture "img." I have experimented quite a lot with it and have managed to make some programs that draw a …

Member Avatar for Cardboard Box
0
211
Member Avatar for prema_g4608
Member Avatar for kvprajapati
0
34
Member Avatar for emaduddeen

Greetings Everyone, We have many forms in an Attendance application I am writing for a local school. The first form is called formBrowseAttendance and the other form is called formBrowseStudents. In formBrowseAttendance is a textbox called editBoxStudentID. Inside the double click event of a grid in the formBrowseStudents I am …

Member Avatar for kvprajapati
0
143
Member Avatar for tanvirahmad

Hi Experts I m using vb .net & crystal report 11 , I m using 4 parameters in crystal report 1 st is "tcomp" , 2 nd is "tled_name", 3rd is "tdt_form", 4th is "tdt_to" , the problem is, when i use first 2 parameters it is working well but …

Member Avatar for kvprajapati
0
128
Member Avatar for ptaylor965

Hi, Could you please show me how to get 1.9 to show with two decimal places (1.90) you can use [CODE]Math.Round(1.99999999, 2)[/CODE] if you want to bring the decimal places down to two but how do you increase from zero or one decimal place up to two? Thanks Peter

Member Avatar for kvprajapati
0
39K
Member Avatar for Learner7

Hi, Are the following references required for VS 2008 users as well? Or only required for [B]VB 2005 Express Edition users[/B]? Please do help.

Member Avatar for kvprajapati
0
98
Member Avatar for johnny.g

Hi all..need a little help from u all. i have created a windows application using vb.net wht i want to do is create a windows service for this application so that it can be started automatically or manually and started and stopped on demand. i have gone thr some forums …

Member Avatar for Luc001
0
162
Member Avatar for krishnisilva

hi, how can i valiadte each cell in a datagrid view seperately, i have one column int which is the 7th column and the 3rd and the 5th are calender control and the first two are combo boxes, and a check box column Question 1: how can i select on …

Member Avatar for kvprajapati
0
165
Member Avatar for dre-logics

I want a row to add data grid view that is linked to dataset and datatable. Aftet that I want to that [COLOR="Red"]new row [/COLOR]in the first cell i want to put a new value (data) [CODE] myConn.Open() myCommand1.CommandText = "select * from groups" myCommand1.Connection = myConn myAdapter1.SelectCommand = myCommand1 …

Member Avatar for dre-logics
0
164
Member Avatar for SuperTaejin

I want to make a program that control powerpoint slides for example, when I start power point in presentation mode as I click the button, then slide goes to next. And when I click one more, then go next slide. I don't know how to send message to powerpoint in …

Member Avatar for SuperTaejin
0
202
Member Avatar for CipherPol9

Hello I created a database on Access with two tables, [icode]Table1[/icode] and [icode]Table2[/icode]. My question is, it is possible to join the columns from [icode]Table2[/icode] in [icode]Table1[/icode]? If it is possible. What do i have to do? Thanks

Member Avatar for CipherPol9
0
73
Member Avatar for RASSHI
Member Avatar for kvprajapati
0
35
Member Avatar for kayjenx

So I have a database (for tracking customer applications through to approval etc.) in MS Access form & and all (but access just isnt the best way to do this for many reasons I wont get into). I have looked at lots of programming language and decide that VB was …

Member Avatar for kvprajapati
0
184
Member Avatar for Learner7

Hi, My code was working fine when I tried with 3 columns. Now, when I mode columns (13) it throws the error. Please see attached the file and do help me. Regards.

Member Avatar for kvprajapati
0
80
Member Avatar for MATTXtwo

Hi guys i'm trying to call an external .vb file class function is it like dim a as ClassName=new ClassName()? so how do you do with this kind of.. I try to search for return value from .vbs to project that i will compiled, but none got the answer.. #The …

Member Avatar for kvprajapati
0
103
Member Avatar for Mr.B

Hello All, I am a little new to .NET Developing, and have learned a great deal recently, but I'm stuck with something. I come from an ASP Background, so please excuse my ignorance ;-p I'm trying to subtract 2 variables, but they don't seem to 'see' one another. I can …

Member Avatar for Mr.B
0
113
Member Avatar for scooby36

I have a piece of code that works for adding multiple rows to a dataset but I think that it is a lot of code and thought maybe someone may know a better way of doing it. I need to add rows to the dataset based on the selection of …

Member Avatar for Alexpap
0
844
Member Avatar for chimpangkoy

hi.. im working with my thesis, can anyone help me to generate auto increment number. for example,when the form load for the first time it will appear transaction 1, and then next time i'll load the form it will be transaction 2, so on and so forth. i am using …

Member Avatar for Alexpap
0
114
Member Avatar for Isoric

Hi, I'm writing a email program and i need to make it so that when I delete a item from a listbox it also deletes from a text file. Right now all it does is delete it from the listbox and when the program is reloaded its still there. Any …

Member Avatar for Isoric
0
118
Member Avatar for sanasini

hello..i want to print a form2 that get the data from form1 . my problem is i can print that form2, but the data from from1 cannot get to form2..can anyone help me?:(

Member Avatar for Alexpap
0
70
Member Avatar for kseling

can anyone tell me why this is getting a runtime error? [code=html] <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="windows-1251" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.Odbc" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register TagPrefix="uc1" TagName="links1" Src="/includes/_header.ascx" %> <%@ Register TagPrefix="uc2" TagName="links2" Src="/includes/_nav.ascx" %> <%@ Register TagPrefix="uc3" TagName="links3" …

Member Avatar for kseling
0
189
Member Avatar for KatyHex

I have been using VS 2003 forever. I am just starting to use VS2008 and I am about to just trash it. It will not render the start up form which is now in a partial class. It uses it to build because I use the objects defined in that …

Member Avatar for KatyHex
0
118
Member Avatar for bninja

Hi all my code is : [CODE]Dim s, w As String s = "a b c 1" w = [U]s.Split(" ")[/U][/CODE] The error is Value of type '1-dimensional array of string' cannot be converted to 'String'. Any ideas ?

Member Avatar for Luc001
0
89
Member Avatar for dakaboguy

I have been using examples from the textbook creating a OleDbDataAdapter using the wizard, everything works fine loading the data into the dataset, but when i try to update the dataset, it doesn't save tod the database, can someone please tell me what im doing wrong: I created the data …

Member Avatar for dakaboguy
0
118
Member Avatar for G_Waddell

Hi, I have an issue involving retrieving a set of child rows in a dataset. I have populated a dataset with three tables Categories, Projects and Tasks. In the dataset relations I have set up a relationship between Categories and Projects and between Projects and Tasks. [CODE] Private Sub Defaults_Load(ByVal …

Member Avatar for G_Waddell
0
232
Member Avatar for chaitanya.josh

Hello, I'm having 1 date time picker in vb.net 2005 and i have written some message on that date time picker's text change event.so when m going to run this application at that time after running m clicking on date time picker arrow key.after that m only selecting month at …

Member Avatar for kvprajapati
0
91
Member Avatar for hassal

Hello, Using visual studio 2008 environment, i would like to change a classic windows application design, so i'm wondering if there is an idea a bout this. i've find some skins like irriskins ([url]www.sunisoft.com[/url]), but i'ts not what i'm looking for. is anyone have any idea, any help will be …

Member Avatar for kvprajapati
0
259

The End.