20,285 Topics

Member Avatar for
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
44
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
170
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
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
283
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
102
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
127
Member Avatar for khentz

Hello, How to reset the properties of the form as well as all of the control properties values when i click a button. Thanks in advanced..

Member Avatar for khentz
0
1K
Member Avatar for klenne

Hi, Actually I don't know if my question belongs in this topic or in the VB.net topic. But I'm making a VB.net application with a mysql database and i have to make a trigger but I don't know where I have to use or implement it in my application. I …

Member Avatar for pritaeas
0
248
Member Avatar for zoraster01
Member Avatar for gunlock777

Hello all, Im currently doing a project which is a system that adds booking records to it it loads the database from a module [CODE]Set Db = OpenDatabase(App.Path & "\cihansol.mdb") Set RS_Staff = Db.OpenRecordset("EPHS_Staff") Set RS_Customers = Db.OpenRecordset("EPHS_Customers")[/CODE] im very new to visual basic so i dont know much anyway …

Member Avatar for shivya jain
0
169
Member Avatar for junharefa

Hi all, I want to create code to delete row in datagridview based on checkBox selection. I've managed added the checkBox Button using code below: private void FormTampil_Load(object sender, EventArgs e) { DataGridViewCheckBoxColumn checkboxColumn = new DataGridViewCheckBoxColumn(); checkboxColumn.Width = 30; checkboxColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridView1.Columns.Insert(0, checkboxColumn); // add checkbox header Rectangle …

Member Avatar for Mitja Bonca
0
377
Member Avatar for arjen

help please..help me in my timer like the time they use in computer shop and when the player is already time out it will alert...[COLOR="red"]the idea like this if the player start 3:00:00 then it will appear in the textbox for the time - in and in the time - …

Member Avatar for codeorder
0
637
Member Avatar for emg31

[CODE]Dim line(10000) As String Dim log_ctr As Integer Open App.Path & "\data\log.txt" For Input Lock Read As #1 Do Until EOF(1) Line Input #1, line(log_ctr) log_ctr = log_ctr + 1 Loop Close #1 If last_log <> log_ctr Then For n = last_log To log_ctr - 1 Text1.SelStart = Len(Text1.Text) Text1.SelText …

Member Avatar for emg31
0
88
Member Avatar for GeekByChoiCe

Not quite sure if im in the right section but lets try ... In my project i want to use a "Local Database Cache" and sync it with my online MYSQL server. Problem here is, the MySQL data-provider is not showing up when doing the wizzard for the Server/Client properties. …

0
74
Member Avatar for AnkitGuru

Can anyone tell me how to auto load data content from a file (primarily containing rtf) when the file is opened. I want to create a system like Microsoft word where you create docx/doc files and double clicking them opens word software and loads the files. I know file associations …

Member Avatar for adam_k
0
145
Member Avatar for abc88

i have a generic list of type datarow. i have to split this list at an index and then use both parts of the list. Eg: list = 1,2,3,4,5 i want to split it at index= 2 i.e at value =3 . then list1=1,2,3 and list2=4,5 how can i do …

Member Avatar for codeorder
0
179
Member Avatar for swathys

Hi i have problem with my timer. when application run it does not go to the timer at all.I have no idea where do i need to troubleshot anymore. Please help if anyone know ! [CODE] If CheckStatusStr = "0" Then Update_CurrBal() SuccessfullySave() ElseIf CheckStatusStr = "1" Then timercount = …

Member Avatar for swathys
0
135
Member Avatar for Fenerbahce

[COLOR=#008000]command.Parameters.AddWithValue("@number", TextBox1.Text) can i do this from another way? [/COLOR]

Member Avatar for yoteksin
0
593

The End.