20,899 Topics

Member Avatar for
Member Avatar for whitetigerz79

Public Class Projectile_Motion 02 Dim initialHeight As Double ' Holds beginning height 03 Dim initialVelocity As Double ' holds velocity 04 Dim time As Double ' holds time 05 Dim heightVal As Double ' holds height at different intrvals in time 06 07 Private Sub btnmaxheight_click(ByVal sender As System.Object, ByVal …

Member Avatar for kingsonprisonic
0
212
Member Avatar for ISH777

ISH777 //Hello Everyone, I have a Problems Regarding with the IMAGE I create a Program That save Information of END USERS including Image... but the Image will save into Bytes.....and I have no Problem in that as you seen below..... [CODE]Dim xx As String = "insert into tbl_BorrowersInfo (accountno, sname, …

0
76
Member Avatar for ng5

i have a list box and a button. i would like when the button is clicked the selected item in the list box is deleted. any ideas?

Member Avatar for ng5
0
178
Member Avatar for ng5

I have a form with a text box and a form with a list box. I would like to be able to push a button on the form with the text box and have it be added to a list box. any help?

Member Avatar for ng5
0
215
Member Avatar for smudehelper

I have two combobox. I want to transfer all elements from combo1 to combo2 but with a filter only those item from combo1 will go to combo2 which are not in combo2. For example Combo1 ________ This Is Help But Not Combo2 _______ Is But And Quick So after clicking …

Member Avatar for smudehelper
0
113
Member Avatar for macdunk11

I am trying to write a program that will tell me how many calories are in a certain number of eggs, cups of flour, cups of sugar, etc. I have a set number of calories for each of the items (i.e. each egg has 72 calories), but I ask the …

Member Avatar for kingsonprisonic
0
85
Member Avatar for nettripper

I have 1 listbox, 1 textbox, and 2 buttons (for start, and stop) if I press the the buton for start the textbox will display (one by one) the items in listbox.. and if i press stop the textbox will stop displaying items.. is it possible? do i have to …

Member Avatar for nettripper
0
710
Member Avatar for Jx_Man

This Code is easy way to load / show data in Datagrid. This Code write in vb.net 2003 and use sqlserver 2000 as database. I use module to connected VB.Net with SqlServer 2000. so the function to connected can be use in every form in this project.

Member Avatar for neronero
1
2K
Member Avatar for Waldek

Has anyone succeeded in creating a class library solution/project in VB.net VS2010 4.0 Net Framework for COM to run on WindowsXP Excel 2003. I created a dll which changed specific data in an excel worksheet. The dll worked just fine on the development computer but wont work on any other. …

Member Avatar for rubberman
0
157
Member Avatar for Tobyjug2222

Hey guys, I've been having a bit of a problem using the while function. Here is my code (Simplified): [CODE]Dim RandomNumber3 As Random Dim RandomOutput3 As Integer RandomNumber3 = New Random() RandomOutput3 = RandomNumber3.Next(1, 9) Dim RandomClass As Random RandomClass = New Random() While (RandomOutput3 = RandomOutput Or RandomOutput2) RandomOutput3 …

Member Avatar for Tobyjug2222
0
234
Member Avatar for gozo12

in form it have 2 listbox and in listbox1 and listbox2 items have "s1" , "s2" "s3" [CODE] Select Case ListBox1.Text And listBox2.Text Case "s1" p1.visible=tre Case "s2" p2.visible=tre Case "s3" p3.visible=tre End Select[/CODE] i want that the code check it item in listbox1 or 2 then do the same …

Member Avatar for gozo12
0
177
Member Avatar for dilse4sk

hi every 1. i am trying to make a search form with 1 label(surname) and textbox. i have 1 gridview on the form aswell. can you plz provide me any code so that when i type in textbox i should c the result in the gridview. wat i have done …

Member Avatar for M.Waqas Aslam
0
866
Member Avatar for moone009

Hi there I am new to .net and I have put at least 4 hours in to figuring out why i cannot view my results when I run a datagrid in my 2010 visual studio WPF application. Also, it looks like it is only filling one record in the datagrid. …

Member Avatar for M.Waqas Aslam
0
321
Member Avatar for gozo12

[CODE] Private Sub save_Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer w = New IO.StreamWriter("e:\test.txt") For i = 0 To ListBox1.Items.Count - 1 w.WriteLine(ListBox1.Items.Item(i)) Next w.Close() End Sub[/CODE] this code will save all items in listbox but i want when u click an item(selecteditem) …

Member Avatar for M.Waqas Aslam
0
171
Member Avatar for renzlo

Hi All, I can't figure this out, I have a listview and I want to export it and finally found how to do it but I'm stuck here.. Here's the code. [CODE] Dim Row0 As WorksheetRow = sheet.Table.Rows.Add Row0.AutoFitHeight = False Row0.Cells.Add("PROJECT_NAME", DataType.[String], "s67") Row0.Cells.Add("USER_NUMBER", DataType.[String], "s68") Row0.Cells.Add("JOBNAME", DataType.[String], "s68") …

Member Avatar for renzlo
0
286
Member Avatar for easygi

The startup that I set in my project is not the same when I open the exe file of my project. Someone can help me? tnx

Member Avatar for easygi
0
73
Member Avatar for flywheeljack

Hi there, I am currently working on an application that prints out several labels from 2 different printers. The printers use the same 3rd party software though so currently i am just passing command line arguments to the 3rd party application to print the labels. However there is very little …

0
56
Member Avatar for sirmcfly.works
Member Avatar for Mitja Bonca
0
166
Member Avatar for vishalchauhan
Member Avatar for poojavb

Hello, Can any one provide me with the Crsytal report runtime installer for Visual Studio 2010.. I have the installer of Visual Studio 2008 but its of no use... I need the installer that is the .msi file.... Can anyone provide it to me...coz I have searched a lot....

Member Avatar for poojavb
0
169
Member Avatar for networkmancer

Any commands for creating database using oracle command? as well as creating tables? I have this in creating table but did not work. Having invalid table name error. [CODE] Imports Oracle.DataAccess.Client Imports Oracle.DataAccess.Types Public Class dump Dim conn As New OracleConnection Private cmd As OracleCommand Private da As OracleDataAdapter Private …

Member Avatar for Reverend Jim
0
524
Member Avatar for obwills

please help!!! i have a datagridview on my form with customers info which is linked to my database. i want to execute a line of code based on the information in one of the columns in the datagridview??? for example i have a datetime column which stores dates(and maybe time) …

Member Avatar for obwills
0
139
Member Avatar for Gobble45

Hello VB.net'ers. I've got a problem. I have a feeling it is an easy one, but for the life of me i cant figure it out. My project at the moment is to grab content from a website and use it in some way (havent worked out this part yet, …

Member Avatar for thines01
0
1K
Member Avatar for tendaimare

i am inserting a row in an acces table but I also want to get the id of the last inserted row so that I can use that value. Any ideas on how I can go about it? [ICODE] Dim iSql As String = "Insert into CompanyDetails (code,description) 02 Connections.MyDataAdapter(iSql) …

Member Avatar for M.Waqas Aslam
0
243
Member Avatar for Hajira

hi i am doing a project in vb.net on serial communication. The command i write in text box is written on serial port and responds accordingly and displays the result in multiple text box along with the command. I want to display only result but not command.i want to delete …

0
45
Member Avatar for docgrid

i have datagrid on my interface with few columns eg. student name, address and age. on top of that there is a text box to include the group name. i want to save all the grid data into table called "groups" in access database. as an instance under group 1 …

Member Avatar for M.Waqas Aslam
0
114
Member Avatar for roshu10

Hi guys...... My problem is.... If we write some lines of code in button click event...... How to set the sleeping timer means..... For eg---- Suppose we wrote 10 line of code in button click event.... After the exicution of first 5 lines of code,,, remaining 5 lines of code …

Member Avatar for roshu10
0
101
Member Avatar for daydie

Yo guys heres my code: Im trying to extract one line each time the sub is called and if no more lines re-set to 0 and start again Problem is that it does not increase even tho i have set it as an array, still brings up he first line …

Member Avatar for daydie
0
177
Member Avatar for dhaval.2cool

please help me with code that stores the images in a local folder n not in database.......also i want to rename the image with autonumber.....please help

Member Avatar for scarcella
0
73
Member Avatar for marcmanlin2

Hello Guys! I am using listview. i want to search using textbox records from the database and display the searched records in listview. i read some post here with same/like mine but they're using datagrid. :|

Member Avatar for marcmanlin2
0
223
Member Avatar for thedonedeal

When I add a NEW row to the datagridview, it for some reason freezes the datagridview. That is, it adds the rows pulled from the database to the grid. But you can't add rows to the datagrid by some a click button event. Nor can you select a row in …

0
138
Member Avatar for gozo12

i use this code under the CurrentMediaItemAvailable for windows media player but it will not show the title or the name , but it will show some media name , but some media file will not ! [CODE] Private Sub AxWindowsMediaPlayer1_CurrentMediaItemAvailable(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_CurrentMediaItemAvailableEvent) Handles AxWindowsMediaPlayer1.CurrentMediaItemAvailable …

Member Avatar for gozo12
0
206
Member Avatar for HEMAMBUJAVALLY

Where can i get the header files. I need to covert the BLS algorithm from C to VB.Net. So i need to understand every lines in this code. [URL="http://crypto.stanford.edu/pbc/chunked/ch02.html"]http://crypto.stanford.edu/pbc/chunked/ch02.html[/URL] Please guide me. I need an example to perform BLS algorithm(like bob and alice example). I'm feeling difficulty in this algorithm. …

0
45
Member Avatar for choosechrist

I had started a similar thread earlier, but i did not get any explanations. I hope i am not crossing any line by repeating. My problem is this. every form in my application accesses the database through a connection string within the startup(Login) form. the login inturn gets the user …

0
86
Member Avatar for marcmanlin2

in vb6 i used to make a recordset and a query for particular table/s or field/fields to print or view in data report. now i want to know how to do it? (here in vb 2010) example in my database (.accdb) fn mi ln address <<<-- this are the fields …

0
69
Member Avatar for marcmanlin2

how can i avoid data duplicate in the database? i mean if i add in the fields that has been already save it will still save. i don't know how to query or filter not to add the same info. i have the code below but it still save if …

Member Avatar for marcmanlin2
0
163
Member Avatar for selman555

Hi all, I have question about sessions in web services (VB). I created a function that allows me to login to my web service. I created a session here and added some values I retrieved from a stored procedure. The code will explain more :) [code=vb] <WebMethod(EnableSession:=True)> _ Public Function …

Member Avatar for thines01
0
280
Member Avatar for PutingPanday

HELP I NEED TO GENERATE A RANDOM ID FOR MY EXAM... NEED TO GET THE FIRST 3 LETTERS OF THE FIRST NAME....How do I do this?been searching for hours.. help greatly appreciated

Member Avatar for thines01
0
135
Member Avatar for cheekangteh

Hi, i am facing a weir error.. bellow are the code that give by 32feet.net, it is (Bluetooth chatting sample) [CODE]Imports System.Net Imports System.IO Imports System.Net.Sockets Imports InTheHand.Net.Sockets Imports InTheHand.Net.Bluetooth Imports InTheHand.Net Public Class ChatForm Inherits System.Windows.Forms.Form Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu Const MAX_MESSAGE_SIZE As Integer = 128 Const MAX_TRIES …

Member Avatar for thines01
0
218
Member Avatar for ceteris

im new in vb and i just create a simple calculation if i click the button for compute it will display the error please help me [CODE]Dim price As Decimal = txtprice.Text Dim quantity As Integer = txtquantity.Text Dim totalprice As Decimal = txttotal.Text totalprice = quantity * price[/CODE] [COLOR="Red"][B]working …

Member Avatar for Reverend Jim
0
2K
Member Avatar for jaimin4829

[CODE] I m trying to make totaly disable mdi child form1 when another data entry form2 opened. Bcz by mistak on clicking frm1 frm2 go to back that i dont want to do. Me.enabled=false and frm1.sendto back. can't solve the problem. [/CODE]

Member Avatar for M.Waqas Aslam
0
145
Member Avatar for anju13
Member Avatar for choosechrist

i've come across many methods online to create a datetime picker within a datagrid view, but i haven't got a proper solution. i have a DGV which takes in truck no and date of arrival. i want the second column to appear as a datetime picker so the users can …

Member Avatar for choosechrist
0
198
Member Avatar for vaishnaviS

Hello , I am doing a project on Resort Website where I have a module of Room Reservation. I want a code for checking the availability of rooms when user selects arrival date and departure date and clicks check button. database room_details table ------------------ roomno type rate_regular rate_delux rate_suite -------------------- …

Member Avatar for poojavb
0
134
Member Avatar for bigzos

I am able to save the datagridview as an excel sheet but everytime i do it,the previously saved file gets replaced which i do not want..i want the file to be saved with a new name everytime [CODE]Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim …

Member Avatar for bigzos
0
2K
Member Avatar for choosechrist

In my application, i have put a question on form closing if the user wants to save the changes?. But right now, i have just put it in default whether they make changes or not. I thought of prompting it on text change.. but the text automatically changes on load …

Member Avatar for pROKO
0
454
Member Avatar for sushmapotla
Member Avatar for codedude

I have a Windows aplication where i want to click a link in a website automatically after an automatic login.Now i am done with automatic log in.but unable to click the link which is enclosed inside <a> tag eg: <a>to be clicked link</a> any help will be appriciated

Member Avatar for markjames2012
0
2K
Member Avatar for Contagious98

I cant seem to login into my crystal report viewer. It wants me to login with the user name and the password. I've already provided the UN and the PW during the crystal report database connection. I really do not know why it fails. I only have these codes. [CODE] …

Member Avatar for Contagious98
0
215
Member Avatar for kingsonprisonic

I am using WebBrowser Control... When form is loading i set webbrowser to navigate a website. Now this website running too much popup ads.. So each time webbrowser navigate a new popup window open out of my application.. Is their any way to stop that.. Thanks in advance...........

Member Avatar for kingsonprisonic
0
132

The End.