20,285 Topics

Member Avatar for
Member Avatar for prancode

I have this code which displays a login form, i want to encrypt the password before it stores into the sql database and should also be able to verify the pwd when a user logs in. Please help me, it'll be very greateful of you, Thank you. Private Sub Login_Click(ByVal …

Member Avatar for Reverend Jim
0
245
Member Avatar for renzlo

Hi, All, I have a data table that looks like this: USERNAME ICOUNT IAVERAGE DATE_LOGGED LAGX01 1245 1245 05-07-2012 LAGX02 2211 1422 05-07-2012 LAGX03 1698 1112 05-07-2012 LAGX04 4598 1555 05-07-2012 LAGX05 2589 3245 05-07-2012 LAGX06 3321 1155 05-07-2012 LAGX07 3698 3458 05-07-2012 LAGX08 2589 4587 05-07-2012 LAGX09 1598 1142 …

Member Avatar for renzlo
0
380
Member Avatar for gozo12

hi sir smilpy i want is to make a simple action of Brwoser Bookmark (but not menu i want it in listbox) like when i bookmark a websit it has the name and its URL , so when you click on the name it opens itsURL how to save data …

Member Avatar for ChrisPadgham
0
143
Member Avatar for PDB1982

I am trying to figure out how to make a form quicker to fill out for my work, and it involves having a employee enter a patient's name in one text box, and then having that information duplicated in all other name text boxes. Here's what I'm thinking.... function FillName(f) …

Member Avatar for ChrisPadgham
0
290
Member Avatar for Mike Bishop

Hi All, I have a spash screen on my project, this isn't just for effect but to read data from a file before my main project is started. the issue is that i cant seam to close my splash screen..... here is the code from my splash screen. Private Sub …

Member Avatar for Unhnd_Exception
0
2K
Member Avatar for Pamilerin

In sql server , my query brings out more than one row of data SELECT * FROM TABLE 1 WHERE COLUMN LIKE 'PARAMETER' Now i am trying to make it in a dtagrid that the datagrid shows allpossible rows that is supposed to show .This is the code Dim objCommand …

Member Avatar for Pamilerin
0
855
Member Avatar for Pamilerin

I have a problem trying to link my my datagrid view to my sql server stored procedure. The way it should work is that when I select an item in a list from my combo box it returns a set of rows on the datagrid view specific only to that …

Member Avatar for Pamilerin
0
1K
Member Avatar for aminevb

hello i have a database ! and i want to affect it to a datagridview and make a Groupbox where i add a buttons ( add , update , delete ) to controle the datagridview and database ^^ Can someone show me how to do it thank you

Member Avatar for poojavb
0
58
Member Avatar for sidyusuf

hi friends, i have two datetimepickers in a window form application.One datetimepicker is used to select date and second one is for time. Now i want to combine date from DTP1 and time from DTP2 and update the database with the selected combined datetime value using vb.net. Thankyou

Member Avatar for poojavb
0
1K
Member Avatar for Sahil89

HI, I am creating a client server application in VB.NET 3.5 with WPF. I have searched a lot for a week but I didnt find any helpful source to study. After searching everywhere I am not able to move ahead. Can anybody please provide me small example, any link? I …

Member Avatar for Sahil89
0
238
Member Avatar for Sahil89

Hi, I am using MS-Access 2003, VB.NET 2008, I am able to select and delete recordes. But how can I move between records? Imports System.Data.OleDb Class Window1 Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles …

Member Avatar for Sahil89
0
105
Member Avatar for NiTeHaWk4787

Hi everyone. I did a super simple calculator with ASP.net with five buttons: add, subtract, multiply, divide, clear. There are five separate functions for each button's click event. For example: Sub addfunction(ByVal s As Object, ByVal e As EventArgs) If Not IsNumeric(input1.Text) Or Not IsNumeric(input2.Text) Then resultLabel.Text = "You entered …

Member Avatar for Gé48
0
120
Member Avatar for anil_bhavani199

hello.... i create setup using vb.net 2008 with mssql database...... it is run on my machine without any error but when i install it on client-machin i got this error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception …

Member Avatar for uncompletable
0
544
Member Avatar for 432

Hello, wb1.Document.GetElementById("profile_url").SetAttribute("value", "a") When i run this code, it's doesn't work because; i writing "a" to textbox and i see the source code and i can't see "a" because it's like on picture, i see "a" on HtmlInputElement picture on the right. **How can i set value "profile_url" textbox in …

0
61
Member Avatar for Gus_19

I've added a needed feature to my program where the user will move their completed forms to the network drive. Currently the program finds all associated files in the source directory and then moves them, but I was wondering if there is a way to move only selected files or …

Member Avatar for poojavb
0
167
Member Avatar for engo

I m trying to create a html file from vb.net form using notepad. the problem i m having is i can not get more than one var at the time each inputBox with ok click. how can i get all of my 8 variables in one OK button click? Thanks

Member Avatar for engo
0
108
Member Avatar for Jake.20

Good Morning guys i just want to ask on how to upload an image in silveright during runtime or could please give me some silverlight tutorial website. thanks guys. I'm using vb.net silverlight.

0
51
Member Avatar for jprs.22

So I'm developing this minesweeper flags game and I have to deliver it in a couple of days, and I've already created the algorithm to show the numbers around the flags but it isn't working. Here's my project: http://www.tempfiles.net/download/201205/241554/flaghunter.html Could anybody give any help? :0 Best regards, jprs.22

Member Avatar for Reverend Jim
0
122
Member Avatar for waleed.makarem

Dear Experts, **Problem :** I need to save a datatable to a binary file , in binary format , in order to make the process fast because the datatable may contain up ten millions rows. So , XML is not favorable because it makes the file large sized , and …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Rabex

Well i created small different projects and then in the end i needed to put all those projects in one i added them by right c clicking on my project name under solution explorer all were fine except one that im facing with duplicate resource parameters...this is the error im …

Member Avatar for Begginnerdev
0
179
Member Avatar for Iamateur

How to make only one record at a time get inserted in the database table and also delete from the other table? Once the details are filled ,I insert it in table1 as the new record and I delete the same record from table2. Note: Table2 is the table that …

Member Avatar for Reverend Jim
0
205
Member Avatar for fiaworkz

I am developing a program that gets the html source code of a certain webpages in a website. I already developed one program that does so, here's the sample code Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(TextBox2.Text) Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim …

0
84
Member Avatar for jbutardo

Hi, I have this question about the control triggers, I have this project that have textbox, using it's textChanged function and setting the autopostback in to true. Now, when I trace the command I have notice that the function have been triggered twice, and I just want to know now …

Member Avatar for |-|x
0
286
Member Avatar for gozo12

Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load System.IO.File.WriteAllBytes("e:\", My.Resources.file.exe) End Sub End Class but alwys i get thie error access to the path e:\ is denied but the hard drive is accessable , so how i copy a fil from …

Member Avatar for Gé48
0
145
Member Avatar for olegb

I have the following dilemma. We have developed a sophisticated system in VB.NET that takes in a few parameters and then generates result files as an output to those parameters. We want to be able to to "feed" these parameters to this "engine" from the web (preferably some ASP page), …

Member Avatar for hericles
0
250
Member Avatar for Iamateur

There are 3 textboxes->textbox1,textbox2,textbox3 and 1 button. In textbox1 bname will be stored and in textbox2 aname is stored. Bname and aname are columns of databasetable. This are not unique. There are same bnames and anames records. What I am trying to do is: when the user clicks on button …

Member Avatar for adam_k
0
103
Member Avatar for aminevb

i have an error in a Button click : Dim ConStr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = C:\Users\amine\Documents\projet.mdb" Dim Conn As New OleDbConnection(ConStr) Dim Save As New OleDbCommand("INSERT INTO Client(Nom,Prenom,Adresse,Téléphone,[date]) VALUES(@p1,@p2,@p3,@p4,@p5)", Conn) Try Save.Parameters.AddWithValue("@p1", TextBox1.Text) Save.Parameters.AddWithValue("@p2", TextBox2.Text) Save.Parameters.AddWithValue("@p3", TextBox3.Text) Save.Parameters.AddWithValue("@p4", TextBox4.Text) Save.Parameters.AddWithValue("@p5", DateTimePicker1.Text) Conn.Open() If (Save.ExecuteNonQuery()) Then MsgBox("Ajout réussi …

Member Avatar for G_Waddell
0
114
Member Avatar for poolet

Hello, I am trying to design a game for a school kids (6-15 age) and I need a specific help... If you can of course... First of all the program (game) will be an "Open sources" I don't really like to sell my programs so, I will create for free... …

Member Avatar for Begginnerdev
0
168
Member Avatar for hehehaha

About catch webbrowser input file path. My webbrowser have a browse file button. <input name="uploadfile" type="file" id="uploadfile" size="50" /><br> How can i catch the file path into TextBox after i browse the file? > such as C:\Users\Test\Desktop\abc.jpg

Member Avatar for Begginnerdev
0
55
Member Avatar for AliAwwad

hi, i made a form that its pupose is chatting... very simple one, one user talks with another one. so there is two INSERT simultaiously. Sure, i put the mdb file on shared folder, EVERYONE have full control, the mdb file is NOT read-only. when only one chat form loads, …

Member Avatar for Begginnerdev
0
117
Member Avatar for Sahil89

Hello Daniweb, Can anybody please tell me that, can we configure remoting for the LAN? I studied it halfway but I realised that its for web, but i think i can be possible for LAN too. Please do reply with something :)

Member Avatar for Sahil89
0
93
Member Avatar for seek
Member Avatar for bigzos

Hey guys,I have an excel sheet with one of the columns as name .There are many rows with same name and I wish to mail all the rows with same person name to that person(given there is a column specifying email address).I will be thankful for your suggestions. The following …

Member Avatar for bigzos
0
102
Member Avatar for KushMishra

Hello everyone !!! I recently designed a web application using VB.Net and tried to copy a folder (containing multiple files) from one disk drive to another but unfortunately I didn't succeed. I tried using a file upload but that is only for single/multiple file selection however I want to select …

Member Avatar for KushMishra
1
155
Member Avatar for mistersalty

Hello again, I'm still working on my game, and now I'm running into a situation where I am using 4 radiobuttons in a groupbox for the answers, as each question changes the text of the radiobutton changes and along with it the correct answer. I want to be able to …

Member Avatar for mistersalty
0
878
Member Avatar for dilse4sk

hi every one i use the above code to restrict the user to enter the past date. but i am getting this error message If NewBookingDataGridView.Item(3, 3).Value.ToString() < Now.Date.ToString() Then MsgBox("you are trying to save records of past date.") error is ** Index was out of range. Must be non-negative …

Member Avatar for hericles
0
105
Member Avatar for ZidaneXero

Hello Everyone So I have 2 datagridviews that compare information between them and if it does match it colors the rows in green and after its done all the white spaces colors the rows in RED, so the main thing is that i dont know how to print only the …

0
104
Member Avatar for george8

Hi all... I hope you have good time .... I have problem in the new program and I want to your help .. I want to back up the database type from Access, but my problem I could not generate code to determine the path of the database, I noticed …

Member Avatar for Sahil89
0
291
Member Avatar for CEOEngineerSoft

Here is a class to SQL use an access database: Class MyDB Public DBName As String Private con As New OleDbConnection(ConStr) Sub New(ByVal DBN) DBName = DBN End Sub Private Function ConStr() ConStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DBName & ";" End Function Private Sub ConInit() If con.State <> ConnectionState.Open Then …

Member Avatar for Sahil89
0
202
Member Avatar for Iamateur
Member Avatar for Animal Mother

How do I find the number of USB ports available, and what their references are. Example there are 6 USB ports on my motherboard what code would I use to find their reference like, port 1 is called 0 and port 2 is called 1. I want a user to …

Member Avatar for Begginnerdev
0
199
Member Avatar for Iamateur

I have created a Combo box with the 3 items. And one more Combo Box with the 9 items. When one item of 1st combo box selected,the 2nd combo box should show only 3 items out of 9 items. how to do this? I tried but not getting it.

Member Avatar for Reverend Jim
0
148
Member Avatar for Subhajyoti_Saha

Hi, I am trying to create a custom listbox control by inheriting the default system.windows.controls.listbox class which would automatically select the item based on keyboard input. Currently the listbox provided in Visual Studio is capable of searching only on the first letter, but I am trying to create onw which …

Member Avatar for artemix22
0
103
Member Avatar for vijaybrar

hi There please help me in these program because the character only moves 1 time but it must be like this input: abcd output: dabc then when i click forward again output cdab output: bcda output: abcd like this and also it must be in backward to when i click …

Member Avatar for Reverend Jim
0
157
Member Avatar for bettybarnes

Hi I have a program in java that outputs 1000 hello world without using iterators (for, do while etc).. I tried to translate my code into vb.net and here's my code: `Module Module1 Sub Main() printToThousand(1) End Sub Public Function printToThousand(ByVal i As Integer) Dim r As Boolean Console.WriteLine("Hello World") …

Member Avatar for Reverend Jim
0
86
Member Avatar for Iamateur

I have got menu bar. In that there is Logout option also. When the user clicks on Logout then it should pop up the msg that "successful logout" and close the current page and redirect to login form. I wrote this code: Me.Close() MsgBox("Logout Successful") Form1.Show() Form1.TextBox1.Text = "" Form1.TextBox2.Text …

Member Avatar for artemix22
0
155
Member Avatar for Gus_19

My textboxes and labels are fine in design view, but when I switch over to Debug or Build, a couple of the textboxes are pushed together and the labels aren't in their original spots. Haven't seen this before and was wondering if anyone has any suggestions as to why and …

Member Avatar for Mitja Bonca
0
232
Member Avatar for Gus_19
Member Avatar for adam_k
0
64
Member Avatar for ManafShabbir

I am making a project for my final year, asp.net with vb.net ( Beginner ). i upload the file using the fileupload control of asp.net on the server. Now how will the client be able to download that file? Would appreciate help.

Member Avatar for ManafShabbir
0
107
Member Avatar for Iamateur

I have added 2 Combobox on form. Combobox1 and Combobox2. I have connected databasetable to Combobox1. i.e. Showing items of Combobox1 from database table column A. i.e. displayed one column of databasetable in Combobox1. Same way I have connected same databasetable but different column B to Combobox2. So,What I am …

Member Avatar for fox_3
0
113

The End.