19,729 Topics

Member Avatar for
Member Avatar for lebo.bytes

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 = …

Member Avatar for G_Waddell
-1
671
Member Avatar for androidz

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 …

Member Avatar for androidz
0
202
Member Avatar for Mike Bishop

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 …

Member Avatar for Reverend Jim
0
91
Member Avatar for e_user

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 …

Member Avatar for Reverend Jim
0
4K
Member Avatar for atcebad

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

0
59
Member Avatar for Stealthbird97

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, …

Member Avatar for Reverend Jim
0
97
Member Avatar for Jasminemali

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..

Member Avatar for Doogledude123
0
83
Member Avatar for DyO1

Hello, I need a code for saving BackgroundImage from PictureBox1 with SaveFileDialog1. Please help me (I can't find the code) .

Member Avatar for Doogledude123
0
101
Member Avatar for Doogledude123

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 :)

0
168
Member Avatar for mageamida

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 …

Member Avatar for G_Waddell
0
81
Member Avatar for khair.ullah

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 …

Member Avatar for G_Waddell
0
102
Member Avatar for dhatsah

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 …

Member Avatar for dhatsah
0
168
Member Avatar for johnrockscurbi

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 + "', …

Member Avatar for Reverend Jim
0
69
Member Avatar for alex.blanc.52

How to get the videos in Listview with all the video details like views title author description dislikes likes favorites tags Thanks in advance!

Member Avatar for pritaeas
0
178
Member Avatar for Jasminemali
Member Avatar for Hazuan Nazri

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 …

Member Avatar for G_Waddell
0
1K
Member Avatar for gelmi

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 …

Member Avatar for G_Waddell
0
111
Member Avatar for HibaPro

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???

Member Avatar for G_Waddell
0
129
Member Avatar for dinhunzvi

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 …

Member Avatar for poojavb
0
233
Member Avatar for kiranrelent

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.

Member Avatar for poojavb
0
804
Member Avatar for renzlo

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

Member Avatar for Reverend Jim
0
215
Member Avatar for lanie.mollanida
Member Avatar for adam_k
0
137
Member Avatar for xcarbonx

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 …

Member Avatar for xcarbonx
0
312
Member Avatar for gurupts

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 …

Member Avatar for Reverend Jim
0
749
Member Avatar for lion8420

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

Member Avatar for TnTinMN
0
195
Member Avatar for jhedonghae

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?

Member Avatar for Codefiva
0
170
Member Avatar for lion8420

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 …

Member Avatar for lion8420
0
188
Member Avatar for yat862

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 …

Member Avatar for AndreRet
0
2K
Member Avatar for shoebodh

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

Member Avatar for Reverend Jim
0
31K
Member Avatar for SH3H@N

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 …

Member Avatar for SH3H@N
0
195

The End.