20,284 Topics

Member Avatar for
Member Avatar for HarvinderSingh

Hey guys... i am trying to view contents of a text file to a textbox via aid of a button (ViewBtn). i have a treeview(TreeView1) which shows the root folder and displays content in the listview. my query is how do i select a file from listview (ListView1) and display …

Member Avatar for Nokser
0
228
Member Avatar for wasyazwan

How can i extract the information as below from the input file and then show it in the messagebox? and can i show it as center alignment? Adjustment Statistical Summary ============================== Convergence Iterations = 2 Number of Stations = 36 Number of Observations = 128 Number of Unknowns = 70 …

Member Avatar for debasisdas
0
123
Member Avatar for abdalla_92
Member Avatar for debasisdas
0
68
Member Avatar for MondeVB

Hi everyone . can you help me in making a log in form for administrator using the accounts from the MySql database .. i want to know the code in connecting database, because i am new in SQl database Programming.. example there are 2 fields in SQL database the Username …

Member Avatar for debasisdas
0
109
Member Avatar for prakash_rp

hi this is my coding i run no error message but the data is not inserted in the table. i need help what is error in this program Dim MyConnection As New SqlClient.SqlConnection Dim MyCommand As New SqlCommand Dim connstring As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Documentcreation.mdf;Integrated Security=True;User Instance=True" Dim insstr As …

Member Avatar for MeSampath
0
80
Member Avatar for wasyazwan

I have attached that file. The sample of data are as below: PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005041 278.271074.5150 69.4035 08370074.1830 69.2755 083800254.1925290.4620083900254.5615291.010008400008390098.2710 74.3630 20.3943 278.27100.0211 15.5954 74.3726 278.2748 PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005042 278.271074.4940 68.1425 08430074.1610 68.0010 084400254.1720292.1650084500254.5400292.315508460008450098.2710 74.3418 22.0833 …

Member Avatar for wasyazwan
0
582
Member Avatar for bilaman

hello..im trying to do a student registration system i used access as a database the system must have a search button to search student name then whenever i click the student name it will automatically fill the name in a ready made .doc form any one can help me?? im …

Member Avatar for bilaman
0
63
Member Avatar for fansa

I need some help... i am the beginner vb.net developer, so i need someone correct my coading to insert data from text field into database mssql... below is my coading; Protected Sub btnSimpan_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim dtTemp As New DataSet Dim ddClass As …

Member Avatar for fansa
0
104
Member Avatar for TommyTran

Hi everyone! I have an assign ment that says: create an application to let the user enter his or her name (first and last name), then displays the Initial in Upper Case. FOr example: you enter "John Wow", then the Label will display "JW". I know that I'm supposed to …

Member Avatar for ChrisPadgham
0
99
Member Avatar for networkmancer

How to kill a process? I tried this and gives me an error [code] Dim RunningProcess As System.Diagnostics.Process = Process.GetProcessesByName("explorer.exe")(0) RunningProcess.Kill() [/code] and also Any code for enabling Task Manager, Regedit and Folder Option in VB 8?

Member Avatar for Chrono841
0
205
Member Avatar for tqmd1

Dear Experts Data in Table1 is as follows Code-------product--------weight 1-------------Apple----------2.00 2-------------Mango---------3.25 3-------------Banana---------6.50 Then I have Datagridview with three columns same as Code, procuct, weight I have following codes [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click str = "SELECT desc1,weight FROM master where code =" & …

Member Avatar for ChrisPadgham
0
139
Member Avatar for Phen0

Hello all, I am new to VB and need to make a program that does the following: Write a VB.Net program that allows users to enter a series of numbers (separated by a comma) in a text box called series. When the users clicks the command button called Average, the …

Member Avatar for Phen0
0
246
Member Avatar for tqmd1

Dear Experts Sqlserver Table1holds data as follows date---------------sno 01/01/2010-------1 01/01/2010-------2 01/01/2010-------4 01/01/2010-------5 01/01/2010-------7 02/01/2010-------1 02/01/2010-------2 02/01/2010-------6 02/01/2010-------8 How to findout missed sno in 01/01/2010? I want to get this result 3 6 Please help

Member Avatar for padtes
0
104
Member Avatar for tqmd1

Dear Experts On Desktop, I mostly use this erro message What is this, how to get rid of it? --------------------------- Visual Studio Just-In-Time Debugger --------------------------- An unhandled win32 exception occurred in c.exe [5492]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In …

0
66
Member Avatar for ALex_ice

I was given an assignment to create a scientific calculator. I have done all of the buttons except for two: Standard Deviation and Deviation. I don't know that difference between the two and I have have no idea how to program them into a button. I Any help would be …

0
31
Member Avatar for ZidaneXero

Hello everyone I've been trying to google this and had no luck with this issue So i have this form where it prints a certain record i search, but im trying to do restaurant form and a print form that it will print the last order done. So I Know …

Member Avatar for ChrisPadgham
0
85
Member Avatar for good_c_ryan_19

Hi, i need to know which is better in vb.net... BindingSource( such table adapter and etch..) or Hardcode( such as parameters,sqlcommand,sqlconnection that all your codes are programatically done)?.. Which is Which?:confused:

Member Avatar for good_c_ryan_19
0
105
Member Avatar for bbxrider

my first asp.net project, using vb, and vs2005. i started a basic web project, added a web form, default.aspx. as the project progressed to keep a reference to how far i got, some samples etc, i would copy the original default to default2.aspx, default3 etc. i got up to default5, …

Member Avatar for bbxrider
0
102
Member Avatar for sk172online

Hi, I am trying to open the Jquery Dialog box using VB.NET. [B]After the data has been saved successfully[/B], I need the dialog box to show up with the message to the user. Also allow user to perform some other actions like clicking the buttons. If I call the same …

0
107
Member Avatar for JAM1011

Hey all, I am a bit lost. I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered. …

Member Avatar for akulkarni
0
113
Member Avatar for siEricko

Hi I am learning how to use database. I am using sql server 2005. I would like to know how to make an sql query to the database from vb.net. I have tried some code. what i would like to know is, how to make the sqldataadapter statement with 2 …

Member Avatar for siEricko
0
3K
Member Avatar for tqmd1

Dear Experts I use following codes to display data. Next & Back buttons work fine, but when I enter some sno into textbox1 then it displays nothing Codes on textbox1 lostfocus [CODE] Me.ds.Tables("employees").Rows.Find(Me.TextBox1.Text)[/CODE] Codes in Form Load [CODE]Dim sql = "select * from employees" Dim da As New SqlClient.SqlDataAdapter(sql, con) …

Member Avatar for tqmd1
0
83
Member Avatar for sayeedbd

Hello All, I am trying to lock some my video, picture, Excel and Word file in my PC by using Visual Basic. I am using Visual Studio 2008 to develop this application but I am unable to do this job. It'll be something like security utility application. Actually without me, …

Member Avatar for sayeedbd
0
189
Member Avatar for Tschuikow

When I run this Code, the access is denied for all users, my current login too. [CODE] Dim di As New IO.DirectoryInfo("c:\folder") Dim ds As DirectorySecurity = di.GetAccessControl() ds.SetOwner(WindowsIdentity.GetCurrent().User) ds.AddAccessRule(New FileSystemAccessRule(WindowsIdentity.GetCurrent().Name, FileSystemRights.FullControl, AccessControlType.Allow)) ds.AddAccessRule(New FileSystemAccessRule("Everyone", FileSystemRights.FullControl, AccessControlType.Deny)) di.SetAccessControl(ds) [/CODE] How do I deny access for folder for all users, except …

0
61
Member Avatar for jlego

i am trying to test if a form is open or not, i thought the following was working: [code] if frmname.isdiposed = false then call frmname.somefunction [/code] but it doesnt work like i thought it did basically what im trying to do is determine if a form is open or …

Member Avatar for kvprajapati
0
134
Member Avatar for JohnDove

I want to get rid of the "publisher could not be verified..." warning messages that users get when they run my Visual Basic 2008 application, after downloading it from my website. How do I digitally sign it to my company name? My website has a secure area (i.e. SSL certificate). …

Member Avatar for kvprajapati
0
100
Member Avatar for tqmd1

Dear Experts How to apply primary key on sno column in the following dataset [CODE] dim sql = "select * from employees" Dim da As new SqlClient.SqlDataAdapter (sql,con) 'ds.Clear() da.Fill(ds, "employees") TextBox1.DataBindings.Add("text", ds.Tables("employees"), "sno") TextBox2.DataBindings.Add("text", ds.Tables("employees"), "Name") TextBox3.DataBindings.Add("text", ds.Tables("employees"), "City") TextBox4.DataBindings.Add("text", ds.Tables("employees"), "Phone")[/CODE] Please help

Member Avatar for kvprajapati
0
102
Member Avatar for napkinbob

Background: I have a tool that grabs files from a network location based on the file name. There are various files, but the names are all based on the creation date (report052209.txt). What i need to do is take the date selected from a datetimepicker and save a two digit …

Member Avatar for kvprajapati
0
127
Member Avatar for DJAyzed

I have a datagridview on my form called "mainGrid" and im not very good with XML buti found a small example to load but not one to save I wondered if there was a equally simple way to save! Heres the loading code: [code] Private Sub loadGrid() Dim ds As …

Member Avatar for DJAyzed
0
291
Member Avatar for itzshaheer

Dear All I wrote a code to save a data using text box but there are some error like : [B]ArguimentException was unhandled. Cannot bind to the property or column User Privilege on the DataSource.Parameter name: dataMember[/B] My code for saving is : [CODE]Private Sub btnSave_Click(ByVal sender As System.Object, ByVal …

Member Avatar for kvprajapati
0
166

The End.