19,729 Topics
| |
Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = … | |
Hi all Greetings, Please give me some advice how can i call my existing report in vb.net any reference is appreciated. I am trying the importing crystal decision but i can't find it on the reference is it maybe because i am not using CR10? or there is something that … | |
I am writing a program for a company and would like to limit how many users can use this program at one time. IE if they have a 3 user licence when the 4th user tries to log in it wont let them. I have no idea how to accomplish … | |
hi, im a new comer in this forum. please anyone can help me for find string in large text file (filesize = 1mb to 5 mb) example: i have a text document file, filename is test.txt file test.txt contains serial number 000001 000002 000003 000004 000005 000006 000007 000008 000009 … | |
Hi iam trying to create a simple script for my macro that i want to copy two different screens to clipboard when paste function is called ,i am using ibm websphere hod please help me if u know how it could be done | |
Hey guys. I want to use this code: Imports System.Drawing Public Class frmBG Private Sub frmBG_Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim g As Graphics = e.Graphics Dim p1 As Point = Me.ClientRectangle.Location Dim p2 As Point = New Point(Me.ClientRectangle.Right, Me.ClientRectangle.Bottom) Using brsGradient As New System.Drawing.Drawing2D.LinearGradientBrush(p1, p2, Color.Red, … | |
hi,i want design a feature which allows the forms to be changed to any theme color during runtime based on user specification can help me.. | |
| Hello, I need a code for saving BackgroundImage from PictureBox1 with SaveFileDialog1. Please help me (I can't find the code) . |
Button1.DoDragDrop(BackgroundImage, DragDropEffects.None) Throws an error ' Object reference not set to an instance of an object. ' First time I've used DoDragDrop, and first time with 2012 :) | |
anyone please explain to me what is the diffrence of this two query select * from tbl_Booking where [Date of Pres] between 'October 11,2012' and 'September 17,2012' (this query can display the information) select * from tbl_booking where [Date of Pres] between 'September 17,2012' and 'October 11,2012' (while this query … | |
hi every one i have a datagridview that show my data in columns. what i'm trying to accomplish is that after choosing a row and pressing edit button a new form will open and split the row for the right text boxes to update the data. the datagridview row shows … | |
Quick question. I am in the process of creating an application that uses alot of images, its becoming quite unbearable having to look through them ect. I was wondering is it at all possible to programatically select an area of an image to display? That way I could group images … | |
Try If myCn.State <> ConnectionState.Open Then myCn.Open() End If If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" Or TextBox5.Text = "" Or TextBox6.Text = "" Then MsgBox("All Fields Are Required") Else strsql = "Update Prod set prod_name ='" + TextBox1.Text + "', … | |
How to get the videos in Listview with all the video details like views title author description dislikes likes favorites tags Thanks in advance! | |
How to Develop a Multiple Document Interfaces(MDI) based application | |
hello, i need some help here, i already bind my database coloumn 'NAMA' to my combobox 'cbNAMA', and now i want to show data from my database on textbox by selecting the row using cbNAMA but i got this error "System.InvalidCastExeception: Conversion from type 'DBNULL' to type 'String' is not … | |
here's my code and that the error whenever i would add something to database. i hope someone can help thanks :) Dim dbDataReader As OleDb.OleDbDataReader = Nothing Dim sqlAdd As String = "INSERT INTO Guest VALUES ('" & txtName.Text & "', '" & txtGuestId.Text & "')" If performNonQuery(connectionString, sqlAdd) Then … | |
how i can do the following : when the user click on some cell : EX: cell(3) of the current datagridview onther datagridview appear and when the user select row from the second datagridview the seleceted row information on cell(4) and cell (5) . someone help plz??? | |
i'm new to VB.Net programming but i want help. i have two MySQL tables created using the following SQL statements: create table tbldepartments ( departmentID TINYINT( 2 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, department VARCHAR( 25 ) NOT NULL UNIQUE ) AUTO_INCREMENT = 50; create table tblemployees ( employeeID … | |
I have a database in MS Access.I want to show the details in a crystalreprtviewer.Please tell me the procedure in VB.net to connect the database to the crystalreport. | |
Hi, All, I need to check if the date values is valid this current year, for example, February 29, 2012, I have used Isdate function but it says "True", is there any other way to do this? Thanks in advance. renzlo | |
,hi sir!..How to add,edit and Delete using vb.net and what are the codes..for it. | |
Hello, As of now I am trying to read in a text file that is tab delimited with uneven columns. My problem is that when I try to split the file into respective lines, I get an "out of array bound" error. I know this is due to have a … | |
First of all thank to every one for such a dedicated mind to help others...... I have a database in Access 07 name as aaaa and a single table in it table1.The table1 have S.NO(primary key),Customer_Name,Date,Balance. Now in front end i.e VB.NET 08 i provide a starting date and ending … | |
I am attempting to create a "dirty form" checking class based on an example found at codeproject. I am hung up on the first line of one of the classes public class ControlDirtyTrackerCollection: List<ControlDirtyTracker> I am unsure how to replicate that : List<> part in vb net. Thanks | |
i have two textbox..TimeInTextbox that contains time in for example(8:00 am) and TimeOutTextbox that contains time out for example(5:00 pm), i want to add TimeInTextbox and TimeOutTextbox to get the total working hours but how am i suppposed to do that? | |
I cant seem to find an answer to this issue. I am opening a form from a user control. I created some public write only properties on the user control, but I cant figure out how to create a reference to the original existing user control to interact with those … | |
hi, i have a problem of Index was outside the bounds of the array. i don't understand how to amend the existing solution in my case. anyone could help me? the message error is System.IndexOutOfRangeException {"Index was outside the bounds of the array. below is the code & the error … | |
I am a beginner in VB. I am trying to make a simple unit converter. Can please some body tell me how can I delete the last character of the number I enter in my inputbox? thank you | |
Hello everyone. I am making a game trainer in vb.net. and want to know how to write a "TEXT" wherever your cursor is. I have already found shortkey mechanism but still looking for this one. Example: I am playing game. I pressed Shift+f3 and no matter which windows is focused … |
The End.