20,278 Topics

Member Avatar for
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
270
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
129
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
183
Member Avatar for mikejs
Member Avatar for mikejs
0
137
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
86
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
88
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
106
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
71
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
539
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
109
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
128
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
475
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
420
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
130
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
187
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
215
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
166
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
250
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
139
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
497
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
102
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
111
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
181
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
102
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
139
Member Avatar for mikejs

Hi I am trying to submit a date value from a DateTimePicker1 using short date format 05/02/2011 I get an error on submission .NetSqlClient Data Provider:conversion failed when converting date and/or time from charecter to string this is my insert [CODE]cmd1 = conn.CreateCommand cmd1.CommandText = "INSERT INTO tenant(firstName, lastName, Email, …

Member Avatar for mikejs
0
280
Member Avatar for tmparisi

Here is, basically, how my application works: When windows starts, my app starts. Whenever my app is running, it hides the desktop, taskbar, etc... When a button is clicked in my application ("Start program"), then my application will set its visible property at false and another application will start. Everything …

Member Avatar for tmparisi
0
100
Member Avatar for slaith

k we're working on a billing system Currently I am working on the categories module. Here's the thing: I need a dynamically changing UI. So the user can add categories, delete them and teh UI would accordingly add or remove controls automatically. I used DataGridView, but since the fetching and …

Member Avatar for slaith
0
123

The End.