20,897 Topics

Member Avatar for
Member Avatar for mikejs

Hi I am using the following code to populate text boxes based on a drop down list index change event [CODE] Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As WinControls.UI.Data.PositionChangedEventArgs) Handles DropDownList1.SelectedIndexChanged Dim connString As String = My.Settings.strConn Dim conn As New SqlConnection(connString) Try conn.Open() Dim qry As String …

Member Avatar for mikejs
0
175
Member Avatar for Saurabhvyas9

Hi Friends, This is the code i wrote in order to First open a csv file as excel, then find the required three columns, n then read data from them n save the data into another variables showing them in textbox. As about the csv file, it contains many columns …

Member Avatar for Deepak Shitole
0
1K
Member Avatar for vonbv25

[code] n = Integer.Parse(iVal.Text) x = Double.Parse(xVal.Text) ' fpoly = taylors(iter, x) factorial = 1 poly = 0 Dim a As Integer For a = 1 To n factorial = factorial * a If factorial Mod 2 = 0 Then evenfac = factorial Else oddfac = factorial End If poly …

-2
51
Member Avatar for raaif

I am trying to check for certain processes that is running and then inform the user of those processes via textbox like "The programs; -name of the processes running goes here- are running" The I am using is [CODE]Dim iIndex As Integer Dim isd As Integer = 0 iIndex = …

Member Avatar for raaif
0
173
Member Avatar for mikeybware

I am trying to use WebClient to download a .zip file from my server. In debugging mode the code works perfectly, but when I deploy my software the file does not even begin to download. After my program checks to see if an update is available, it should download the …

Member Avatar for mikeybware
0
320
Member Avatar for AnkitGuru

hi guys i've created a program in vb.net using vs2010 now i want to convert it to a complete PE (platform independent) for that purpose i've downloaded xenocode (Spoon studios) I was wandering if ne one could help me on how to virtualize a vb.net application completely, a step by …

0
143
Member Avatar for bazaanah

please can some one help me on how to connect different vb applications to a database server.like accessing data from one database by different applications...

Member Avatar for Netcode
-1
162
Member Avatar for RichardMuscat

im a student doing my bsc honours in mobile computing from staffordshire university.........as im in my final yr we are supposed to present a fyp..... could anyone share some project titles which are based on mobile systems and which can be unique and challenging........ throughout our course we have learnt …

Member Avatar for Netcode
0
126
Member Avatar for suemaina
Member Avatar for Netcode
0
306
Member Avatar for kylelendo

Hii Friends I have written a vb code in which i can call an external application using shell command "Shell("C:\\abc.exe")" Now when i call this command it avtually executes this command. But what i want is some command where i dont want to run the file but make sure that …

Member Avatar for Oxiegen
0
159
Member Avatar for x2fair

Hi every one, I have a problem in inserting database entry, suppose I have two paragraph entered in one richtextbox what I want is that When I hit save, every paragraph will be save as one database entry therefore my database will have two records.. This uses VB.net 2010. Please …

Member Avatar for Pgmer
0
300
Member Avatar for mshdpotato

I don't think the problem lies within the codes but.. The last thing I did was use datediff.. and show the result on a label.. and when I wasn't satisfied with the result I changed a few lines, and I noticed it was still the same whenever I run it. …

Member Avatar for Netcode
0
108
Member Avatar for Netcode

I deal with vb.net, but i want to take a look at java. Whats your advice on things to expect?

Member Avatar for Netcode
-1
228
Member Avatar for yehtunaung

please help!!!me.. I'm a beginner vb.net programmer I have a difficult that is how can I save image file from vb.net to sql server

Member Avatar for ErnestSeeker
0
381
Member Avatar for jigarsangoi

i want a code to connect the access database 2007 in vb.net i made login form having 2 fields name & password also made an access database having nameid and pwd as two columns,table name is Reg and access database file name is also Reg

Member Avatar for Netcode
0
100
Member Avatar for thwias1b3008

I have a problem on passing value from Main Form to 2nd Form. Actually, I have a [B]2nd Form[/B] on the [B]SplitContainer[/B] and the [B]SplitContainer[/B] is placed [B]inside the Main form[/B]. What I want to do is [COLOR="green"][B]Click the Button on the 2nd Form from the Main Form.[/B][/COLOR] Thanks in …

Member Avatar for NetJunkie
0
225
Member Avatar for chowmein87

I am trying to make an application where i show a picture of the human body and i want to have clickable body parts e.g. arm, leg, head, torso and each of these opens up a form. I already got the picture of the body as a background to the …

Member Avatar for Oxiegen
0
144
Member Avatar for rosstafarian

Hi guys. Im doing a project for college where i have a booking system. The people book for a time slot and i would like to work out how to have a break down of time slots say for one hour periods throughout the day. Something similar to the bottom …

Member Avatar for adam_k
0
1K
Member Avatar for casper1985

Hi, I have wrote the code below to connect to my database, i am using myphpadmin via wampserver. Can anyone help create a record set to connect to the same database. The below code is in a module, i would like the record set to be in the same or …

0
45
Member Avatar for mad_1989

Hi, Can you help me how to call two lines from VB Script and give the same in .bat file as input. Here is my VB SCript code.. --------------------------------------------------------------------------------------- [code]Set oShell = CreateObject( "WScript.Shell" ) Set ObjFSO= CreateObject("Scripting.FileSystemObject") Str1="Version=3.1016.0.0" Str2="Version=3.1017.0.0" Getxml1 = "D:\BuildShare\CMS_Maternity\lorenzo tranche2\maternity\webclient\wizard\lorappmaternityslui.web\moduleconfig\modulecatalog.xml" Set objFile = objFSO.OpenTextFile(Getxml1, 1) strText …

Member Avatar for Reverend Jim
0
228
Member Avatar for chilume

I wanted to connect to unix and call a shell script program from dot net application (windows application). do i need to use MS Winsock control to connect to unix or is there any other best option? Kindly let me know. Thanks

Member Avatar for discovery-power
0
169
Member Avatar for daniells

please whats d code i should put when requesting for a user to enter text on vb 2008

Member Avatar for dashawk
0
83
Member Avatar for khentz

How to connect vb.net to access database and save all the informations within a form. For example, I have a form name:Form1. Within that form, I have textboxes for Firstname,Middle Initial and Lastname. And when I click the button save. All of the information will be passed to my access …

Member Avatar for Netcode
0
96
Member Avatar for huBelial

Hello, I have a program that reads images from my access database. What I'm trying to do now is write the images out to a folder but I don't know where to begin. The "ms" variable holds the images. [CODE]Option Explicit On Public Class Form1 Private cn As ADODB.Connection Private …

Member Avatar for Netcode
0
352
Member Avatar for Mike Bishop

i have a calculation and the results are outputting like so 96.5471447543161 i would like to format this text box to only show 96.54 (no rounding) below is the code i am using. [CODE] Dim d1 As Double = Nothing d1 = ((Val(Me.txtgoodsout.Text) + (Val(Me.txtnrft.Text))) / Val(Me.txtrawin.Text)) * 100 Me.txtyield.Text …

Member Avatar for bLuEmEzzy
0
132
Member Avatar for lovely ari

[COLOR="Red"]hi there how you doing guyz i want to make pong game in VB.net i want it for one player like this one [url]http://www.quantumstate.co.uk/pongscreen.png[/url] i didn't find good tutorials all what i found was a tutorials to make it in VB6 i need it in VB.net any tutorials or full …

Member Avatar for et289
0
185
Member Avatar for mikejs
Member Avatar for mikejs
0
141
Member Avatar for TestVBnet

I have got My 1st DataTable TableA from Database which is given below [CODE=text] Item Place ------------------------- ItemA PlaceA ItemC PlaceC[/CODE] I have got My 2nd DataTable TableB from Database which is given below [CODE=text] Item Status --------------------------- ItemB ItemC Complete[/CODE] The New Data Table will Look Like Below [CODE=text] …

Member Avatar for Netcode
0
89
Member Avatar for aldeene

i'm using this code [CODE] If txtCashTendered.Text = "" Then MsgBox("Input Amount First!") txtCashTendered.Focus() Exit Sub End If If ctbTotal.Text < txtCashTendered.Text Then Try Dim x x = MsgBox("Finalize Transaction?", MsgBoxStyle.YesNo) If x = vbYes Then txtCashChange.Text = Format(txtCashTendered.Text - ctbTotal.Text, ".00") FinalizeTransaction() End If Catch ex As Exception MsgBox("Create …

Member Avatar for aldeene
0
93
Member Avatar for vijaybrar

Hi I need help with this, supposed to be when i input a string example "ab12*&" there are three output Number of Letters: 2 number of Integers: 2 number of Special Character: 2 but my program shows the number of character [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for Pgmer
0
109
Member Avatar for mikejs

Hi I have set pane1.hide() and panel2.hide on form load however the panel still shows when I had only one panel it worked fine the new panel is exactly the same size placed directly over the other. Why does it still show? I know I could use multiple forms it …

Member Avatar for mikejs
0
78
Member Avatar for sandeepparekh9

hi.. i just made two function related to excel . 1. Merging all sheet of excel as tables in single Dataset 2. Exporting a dataset to Excel File .(all the tables of dataset as sheets) i just wanted to share.. i hope it becomes helpful to you. ps: Dont forget …

Member Avatar for sandeepparekh9
0
542
Member Avatar for Oneryavuz

i have a control dll and i use this control in my project then i change this controls codes after i do it . appears some error on this lines in form1[designer] [ICODE] Me.Dentisyon1 = New WindowsControlLibrary1.dentisyon Friend WithEvents Dentisyon1 As WindowsControlLibrary1.dentisyon [/ICODE] what should i do? thx for answers

Member Avatar for Oneryavuz
0
111
Member Avatar for Oneryavuz

i for example i save ppt in OLEDB OLE Object :-/ and i need to open this powerpoint file in my program how can i do that :| thx for answers :|

Member Avatar for Oneryavuz
0
139
Member Avatar for Oneryavuz

i have a table and oleobj column in this table. i save some files to oleobj. and i need to open them how i can do that. for example i save ppt in oleobj and ineed to open this powerpoint file how can i do .. 2nd question. can i …

Member Avatar for Oneryavuz
0
477
Member Avatar for blivori

I currently have this piece of code: [CODE]Sub Button1Click(sender As Object, e As EventArgs) If dlgFolder.ShowDialog = Windows.Forms.DialogResult.OK Then txtPath.Text = dlgFolder.SelectedPath Try Dim CopyFile As String = Path.Combine(Directory.GetCurrentDirectory, "pdftk.exe") Dim CopyLocation As String = Path.Combine(dlgFolder.SelectedPath, "pdftk.exe") Dim pyScript As String = Path.Combine(Directory.GetCurrentDirectory, "pdfmerge.py") Dim pyLocation As String = Path.Combine(dlgFolder.SelectedPath, …

Member Avatar for Reverend Jim
0
431
Member Avatar for mikejs

Hi I have managed to sort out my date issue however although I have used the same code format on of my tables is not being updated and I am not getting any error msg so not sure why it will not work this is my code [CODE] cmd1 = …

Member Avatar for adam_k
-1
133
Member Avatar for iampord

Is anybody know what is the easiest way to encrypt and decrypt text from textbox? Thank you in advance. Good day!

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

For my user system, I require each user to have a unique id. The reading in and saving of the user data is all done, but now I'm focusing on adding new users. In my add user dialog, I have the information fields required to create a new user, one …

Member Avatar for djjavo
0
190
Member Avatar for djjavo

Hi, I'm coding my program on VB.net and I take my laptop when I am away and use my PC back at home. I know this may sound simple, but what is the easiest way to get the project on another PC. For example, in Java I know that you …

Member Avatar for djjavo
0
223
Member Avatar for djjavo

Basically I use text files to hold the program data, which is loaded in to variables when the program starts. I use StreamWriter to write to the text files when they update within the program. This is fine although the writer adds a extra line when I do not want …

Member Avatar for djjavo
0
171
Member Avatar for 0096

Hello, I am learning VB and got stuck..I found nothing in books and tutorials. I want to make simple quiz (100 questions), structure: 1 lbl = question, 3 radio buttons (answers) and 1 button(next question). I added access database to DataSource, binded data to lbl and radio buttons, it automaticaly …

Member Avatar for 0096
0
254
Member Avatar for mikejs

Continuing on from my adding data to the db I am using the following to try and update the db [CODE] End If 'Refresh_Form() conn.Close() 'update property table Dim connUpString As String = My.Settings.strConn Dim connUp As New SqlConnection(connUpString) Dim cmdUp As New SqlCommand Try connUp.Open() cmdUp.Connection = connUp cmdUp.CommandText …

Member Avatar for Netcode
0
142
Member Avatar for maroin22
Member Avatar for fez1234

Im currently making a type of gym membership software using vb.net as the front end and access database to store the records. Ive been working on this for the past few weeks, ive been battling errors and complications all the time, and im getting to the point where the deadline …

Member Avatar for merylleanne13
0
511
Member Avatar for iampord

Good day everyone! I just like to ask is there a way to run my application automatically, right after the installation. A Ton of Thank you in advance.

Member Avatar for iampord
0
105
Member Avatar for mikejs

Hi I want to use an id reference that had just been created in a different table I have an insert query that adds a new user to the users table the t_id is auto generated I want to use the t_id value in a new query that runs after …

Member Avatar for adam_k
0
114
Member Avatar for dougancil

I am running a stored procedure and presenting the data back to users in a simple datagridview. I'm unable to figure out a way to filter my data through the SQL side, so I wanted to see if I could filter data through the datagridview. Basically my sql query returns …

Member Avatar for Oxiegen
0
193
Member Avatar for Oneryavuz

for example i have 2000 picture box and i have a array the lenght of 2000. and my picturebox names is like pb1,pb2 .... pb1999, pb2000 so if my arrays 1393th item is not null i want to change 1393th pictureboxs color. is there any easy way? i know i …

Member Avatar for Oneryavuz
0
106
Member Avatar for AaronDickey

[CODE]newUserCommand.CommandText = "INSERT INTO users(username, password, security) VALUES('" & newUserNameBox.Text & "';'" & newPassWordBox.Text & "';" & newUserSecurityBox.Text & ";'"[/CODE] I cannot find where the syntax error is but vstudio tells me the error is in a unclosed quotation after ;

Member Avatar for AaronDickey
0
142

The End.