20,285 Topics
![]() | |
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) = … | |
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. | |
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 … | |
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=" & … | |
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. … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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. … | |
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] … | |
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 … | |
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 … | |
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 … | |
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) … | |
I Have Email Sender Program and i want that the program could send email with images inside too. thanks | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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? | |
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 … | |
How to create setup file with database...........please help me | |
[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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to get COM PORT PIN STATUS like(Epson,Samsung,LIPI,HCL700 ect...) using Winforms in vb.net 2003 | |
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 … | |
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 … | |
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, … | |
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! | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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() … | |
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 … | |
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 … | |
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 = … | |
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='" & … | |
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 … | |
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 … |
The End.