20,899 Topics
![]() | |
[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 … | |
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 … | |
:( 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 … | |
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? | |
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... | |
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? | |
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 * … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to insert the images in database using vb.net.... both using web cam and scaned photo | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
i need a logout code in vb.net back end access pls help thnx in advance | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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?:( | |
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" … | |
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 … | |
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 ? | |
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 … | |
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 … | |
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 … | |
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 … | |
good evening all:) first I want to start off by apologizing for my savefiledialog post..I did not mean to break forum rules regarding format for coded posts. I have decided to revamp my project entirely and have decided to make a few combo boxes on a windows form. What I … | |
Hi, I would like to how I can load a set of values in a comboBox from a TableAdapter. I have the tableAdapter method to read the data , (in this case GetDataByStreet)--> Me.StreetsTableAdapter.GetDataByStreet() But I don't know how to assign the sentence to the comboBox, in order to load … | |
Hi Group, Need some help. I'm performing some statistics on a txt file that has multiple columns using a collection list (vb.net 2008). My files can contain 100,000+ samples per file. How would I code my function to have it perform work on the first 3000 samples and continue the … | |
Hello Guys. Consider the following: I have a text document that has a lot of data. I want to search for a specified term say "apple" and remove that entire line of data from the document. Thanks. | |
Hi, How can I call this sub? Getting an error as it is attached in the .JPG. Please help. Thanks. | |
Can someone explain to me how to write the VBA Code that will close another Access Application/Database? I have two Access Programs running. The first Access Program, called Main Program. It is the primary program which contains numerous tables, records, et cetera. I have created a second database, called Employees … | |
Ok so i have a uni assignment to delete lines of text out of a text file, so far i have figured out how to search the text file for specific bits of text, i,e name of user, ive also used a loop to find out what line in the … | |
Guyz, i need your help. How will create an array of checkbox, I dont know to create it on vb.net but as far as i know in vb6 you're just going to create a toolbox then if you copy and paste it,it will automatically ask if you want to create … | |
Datagridviews on each tab and invisible both id, on the first tab, you will not see the id on the datagridview, but, the second tab, the id is on the datagridview????? HOW TO FIX IT? Thanks. | |
Hi experts I m using .net , I create some temporary tables at run time, how to print these table data thru crystal report |
The End.