20,285 Topics

Member Avatar for
Member Avatar for renzlo

Hi All, I need to compare one file in each file in the folders, some sort of duplicate check through md5 hashcode that I've found in my google search. Here's the code of functions: [CODE]Public Function CompareFiles(ByVal FirstFile As String, _ ByVal SecondFile As String) As Boolean Return ReadFile(FirstFile) = …

Member Avatar for renzlo
0
325
Member Avatar for akshaya kochare

Please do help me!!! i have to validate date using date time picker such that u can't choose the date /month/year before you were born.

Member Avatar for bluehangook629
0
79
Member Avatar for anwar.mustafa

I am facing a problem, I have pulled some records in DataGridView from database. Now I want that when I select some rows from DataGridView and click on command button, ID's of all selected rows should be displayed through message box. By using followng code I am able to display …

Member Avatar for lolafuertes
0
160
Member Avatar for Mike Bishop

i am having issues with an update query. i normally use SQL 2005 but for this project i am using an access 2007 database please can anyone point me in the right direction, [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As New OleDb.OleDbCommand Try con.ConnectionString = "Provider=Microsoft.Ace.OLEDB.12.0;Data Source=" & …

Member Avatar for Mike Bishop
0
204
Member Avatar for xxblinddzxx

Hi , i am on a projet and i am stock. I'll first explain you my prog abit so you'll know what im looking for. First my prog scan a specific path "C:\music" which contain Mp3. Then it takes the MD5# of all mp3 and put it in a listbox1. …

Member Avatar for xxblinddzxx
0
141
Member Avatar for nickg21

Hello everyone, I am making a set of tables that have relational keys associated with them like an order system. Basically I am trying to store the Customer Info, then the order and so on and so forth, but I need to store the "customer" ID in the Order table …

0
79
Member Avatar for akshaya kochare

i need to validate the textbox such that in can accept numbers only but the entered no should be greater than 0 , it can be 0.1 and should be less than 101.

Member Avatar for Mitja Bonca
0
228
Member Avatar for compulove

I created some code for a browse buton and it works, but I want to send the textbox information to the text file according to the headings that I have listed within it. I am getting an error when I put [CODE]Handles Browse.Click[/CODE] and I get errors whenever I try …

0
127
Member Avatar for Wolxhound90

Hey all, I'm trying to do a project which involves reading the text from a number of textboxes and putting it into a string. I'm just wondering if there's an easier way to it other than: [CODE]CreateString += TextBox1.Text + TextBox2.Text + TextBox3.Text... (etc)[/CODE] I have thought about creating a …

Member Avatar for codeorder
0
814
Member Avatar for anwar.mustafa

I am developing a Windows Forms Based Application using dbo.database and Visual Basic: I populate some Orders in DataGridView1 using LINQ 2 SQL from "tbl_Orders" where OrderStatus is "Pending". I change OrderStatus Column Type to "CheckBox" in DataGridView, Now I want that when I select some records (Orders) by checking …

Member Avatar for adam_k
0
309
Member Avatar for chellemits

Hi. Can someone help me with my problem? Here is where the error occurs. [CODE] da = New OleDbDataAdapter("SELECT * FROM booklet WHERE booklet_num= '" & txtbkletnum1.Text & "'", con) cb = New OleDbCommandBuilder dt = New DataTable 'this became yellow and error appears as datatype mismatch in criteria expression. …

Member Avatar for Pgmer
0
151
Member Avatar for violette

can anyone help me..how to do a loop in my code here..I want to do a loop for one year only..after another year it will create a new column. For example when column A already fill with year 2008 and another column B will create fill with year 2009. [CODE] …

0
70
Member Avatar for spelltox

Hi guys ! A little something i hope you could help me with - I've converted an html to XML and now i want to get all the child nodes nested within a DIV element with a specific attribute (class="itemInfo"). Because the html that the XML is based on changes …

Member Avatar for spelltox
0
482
Member Avatar for lcfjoertoft

I'm creating a small program to read from an SQL server, loading result into an array, pivoting the array to my liking and mailing it out to selected members of a group. It's going to be run once a day with Windows schedule. I have the connection, query and mail …

Member Avatar for hericles
0
265
Member Avatar for quentinqid

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized. the error is here: line 20 Line 18: cn.ConnectionString …

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

I want to export my database selected information into word 2003/2007. If i use below code then it takes more time [10 minutes] for 20000 records to display. Is there any other way to display 20000 records into word 2003 /2007 within 10/15 seconds [CODE]Dim ds As New DataSet dscmd.Fill(ds) …

Member Avatar for G_Waddell
0
175
Member Avatar for gal7

I Have Email Sender Program and i want that the program could send email with images inside too. thanks

0
128
Member Avatar for lmali92

I am using Visual Studio 2010 I have multiple forms and when I hit close button(red X, top-right) from any form, i want the project to close entirely. Now when I do this, this does not happen by default. I always have to click on the 'stop' button in VS …

Member Avatar for codeorder
0
3K
Member Avatar for bikashdas

Hi Is there any way to do nested mail merge in vb.net . i can do only simple mail merge. but not nested mail merge. My Code gives: [code] <District1> <District2> <District3> [/code] What i want [code] <District1> <Code ID><Code Name> 1 pcs 2 pcs <District2> <Code ID><Code Name> 14 …

Member Avatar for bikashdas
0
400
Member Avatar for lcfjoertoft

I've extracted some data from an SQL server, put it into an array, and want to mail it's content to a group of people. All quite easy, until it comes to presentation in the mail body. When I set it up manually in Excel and do Copy - Paste it …

Member Avatar for lcfjoertoft
0
82
Member Avatar for kera

I need to create an application with two forms. The startup form holds the names of the dormitories and the other holds the meal plans. When the user selects a dormitory and meal plan, the application should show the total charges for the semester on the startup form. Here is …

0
135
Member Avatar for vammy

Hi Guys, Is it possible to dynaically create table name in MS Access: Below is my CODE: [CODE] strSQL = "CREATE TABLE" + Me.Text + "( ID Counter," & _ "Name TEXT(50) NOT NULL," & _ "PRIMARY KEY(ID) )" [/CODE] But,im getting a run time error that syntax is wrong. …

Member Avatar for vammy
0
130
Member Avatar for OblibSystems

Basically im trying to make a game where shapes fall from the sky and the user controls the sprite to avoid them. I have it working but only with 1 block falling at a time. I am using the paint method to draw my shapes. I was wondering how to …

Member Avatar for the_carpenter
0
226
Member Avatar for gani_2

Hi, I am new to VB.NET and xml and I am trying to parse the xml file of format mentioned below and display it using textbox in VB.NET. But I am not able to parse it. Can anybody pls give me a code snippet to parse the xml shown below …

Member Avatar for thines01
0
4K
Member Avatar for weeraa

I've developed a software using VB.net and SQL server 2005. This is the connection string that used. [CODE]Data Source=MY-PC\SQLEXPRESS;Initial Catalog=studentInformation; Integrated Security=True[/CODE] But now i want to use SQL server compact edition. So what should i change in this connection string?

Member Avatar for adam_k
0
128
Member Avatar for xtanmanx

I've searched for this but could not find exactly what i need to fit my needs. If it already exists, i apologize and thank you for the redirect. Fairly new to VB, but have a good understanding. Scenario: Have 3rd party software that has many drop down options for each …

Member Avatar for rthrtshrfhsrh
0
1K
Member Avatar for muneeb213
Member Avatar for weeraa
0
138
Member Avatar for thetechlady21

[COLOR="Green"]I am trying to select a row in my datagrid. There are two columns only. The row displays into two text boxes. I am trying to figure out how to select the next row in my datagrid. I have tried looking at your examples but I am still having trouble. …

Member Avatar for Reverend Jim
0
194
Member Avatar for ogsim07

hello guys, can you pls tell me now to go ahead with this, basically i just want client to say "C:\temp" ENTER then, server must reply with all its files in c:\temp Is there a way to do this, or may be i am wrong, can u tell me any …

Member Avatar for Reverend Jim
0
196
Member Avatar for Sharukh

Problem I have actually two list boxes and grid view.The grid view has three coloumns fields.Now i want to customize the grid view with the list box. Suppose the fields are employeename,employee id,employee code. The left list box contains all the three fields namely employeename,employee id,employee code.There is an add …

Member Avatar for Sharukh
-1
141
Member Avatar for noobies

I have 2 query which I want to make it as 1 query. Could anyone help me. Because the query is just the same. The difference is they have 2 condition which 1 query for same year and another query for different year. [CODE]If (bboard = "All") Then If (qter1 …

Member Avatar for adam_k
0
111
Member Avatar for BWS9292

My assignment is to create an application that allows the user to type an item's price into a single textbox, add the price to the previously entered prices, and display the total charge which includes a $15 shipping charge and a 3% sales tax. Example: I type 10 in the …

Member Avatar for adam_k
0
92
Member Avatar for sri_Chennai

how to get COM PORT PIN STATUS like(Epson,Samsung,LIPI,HCL700 ect...) using Winforms in vb.net 2003

0
48
Member Avatar for ananth3125

here in the below coding a paragraph is added to new document created with vb.net coding, but i need to merge a document file in the newly created document, kindly guide me the coding........... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oMissing As …

0
59
Member Avatar for ninjatalon

I've created an application where our clients can have access to our program by logging in. It uses our database for most information. I want to implement a richtextbox where it saves notes but i don't know if i should be saving that information as a file or what. Also …

Member Avatar for ninjatalon
0
84
Member Avatar for bluehangook629

I couldnt find a forum for sql so Im going to post here. If Im in the wrong forum then please move me. I have a table with following data Fields: OID, Product, Condition, QTY DATA: 1, Product A, NEW, 60 2, Product A, B, 60 3, Product A, C, …

Member Avatar for bluehangook629
0
185
Member Avatar for compulove

I am writing a program that should allow the user to press a browse button to browse their directory and save a text file with the form information they wrote in. Can someone give me a website or a link to see how this is done! Thank you!

Member Avatar for Reverend Jim
0
86
Member Avatar for kothaisaravan

Hi, I have developed a VB.NET Application with backend MS Access. Now I want to install on the user's machine, so i deployed the setup project. I need to know how can i create a desktop shortcut for my VB.NET Application. If I just copy and paste the filename.exe file …

Member Avatar for IrshadIkhlas
0
171
Member Avatar for pipelian

I have a datagridview (unbound) that i want to calculate percentages based in a total. I already done the total (in a label.text). So what i want for the second column is to find out the percentage for each quantity that varies every time i enter a new quantity value. …

0
112
Member Avatar for kurohige

so i'd being working on an access app, VBA and i need to restart it, the application usually goes stops running when error 3043 or internet connection goes down.. is there any way i can restart this application without having to build another app to check if is running.. thanks …

Member Avatar for kurohige
0
941
Member Avatar for ginnipig

Hello All, I have two tables that can't be changed. One contains Stock codes / country codes, the other has country code / description for each code. I have a combobox with all the country descriptions that can be added to the stock code table. my problems is i can't …

Member Avatar for ginnipig
0
244
Member Avatar for ananth3125

hai , here in the below coding the files are merged , but the resulting format is stored as "encoded text" , i need the format to be ".doc" or ".rtf" files [CODE] Dim mydirpath As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) Dim txtlist As String() = Directory.GetFiles(mydirpath, "*.doc") Dim strfile As New …

Member Avatar for G_Waddell
0
104
Member Avatar for Reverend Jim

I have a NumericUpDown control that I want to allow the user to change with the mouse scroll wheel. The problem is that even with the following code [code] Private Sub numSeries_MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles numSeries.MouseWheel If e.Delta > 0 Then numSeries.Value += 1 Else …

0
219
Member Avatar for ananth3125

here in the below coding i got the filenames displayed in the listbox, but i need the option for selecting .doc or .rtf which is to in dropdown in text box by selecting the selected fileformats to be displayed in the textbox......... [CODE] Using flb As New FolderBrowserDialog If flb.ShowDialog() …

0
52
Member Avatar for ChrisTech

I am developing a point of sale program for a project subject. The trouble im having is when i press on the button to add the item from a textbox to a listview i receive an error: See attached Screenshot. my code is: [CODE]Private Sub SalesScreen_Load(ByVal sender As Object, ByVal …

Member Avatar for Reverend Jim
0
241
Member Avatar for stuidabest

this is all of the code i have so far [CODE]Public Class Form1 Dim SelectedWord As String Dim IntNoWords As Integer Dim stringarray(1000) As String Dim strword As String Dim Wordlength As Integer Dim UnderscoreWord As String Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EndButton.Click End …

Member Avatar for Reverend Jim
0
93
Member Avatar for vammy

Hi Guys, Im trying to update a datagrid and a text box value in access database. both shld be saved in the same coloumn.,unfortunately its not happening. they were gettign saved in a deifferent rows. PLEASE help. conn.Open() sqlQRY = "Insert Into tblPlot(SurveyNo)" sqlQRY = sqlQRY & "Values" sqlQRY = …

Member Avatar for WaltP
-1
103
Member Avatar for violette

Hi, Function GetReaderYear() As IDataReader Dim command As New MySqlCommand("SELECT aa.alert_id as alert_name,(SELECT alert_value a FROM company_alert a WHERE a.alert_id=aa.alert_id AND a.stock_code='" & bplc1 & "' AND year_id= '" & byear1 & "' AND a.period_id= 5 ) AS b1 ,(SELECT alert_value b FROM company_alert b WHERE b.alert_id=aa.alert_id AND b.stock_code='" & …

0
88
Member Avatar for Hersch

Hey. I am fairly new to VB.NET so I research alot when I run into bugs. Problem is I cannot find a solution to this, or anything remotely dealing with it. I am developing software to connect to a remote mysql server, run a query, and come back with a …

0
142
Member Avatar for Ruchi224

Hello !! I have a windows form having combobox and textbox controls.. I have to generate a part number, consisting of combobox and textbox values included.. I can explain in detail.. This is the code i have used to define a variable "type".. [CODE] If ComboBox1.SelectedIndex = 0 Then type …

Member Avatar for Ruchi224
0
138

The End.