20,284 Topics

Member Avatar for
Member Avatar for johmolan

I try to copy data from rows in my db and then add them with another ID. but somehow I think I have made a mess out of it. [CODE] Public Sub Ordreupdate() Dim dtbl As New DataTable Dim dt As New DataTable dtbl = Kalkyle1DataSet.Tables("Ordre") dt = dtbl.Clone Dim …

Member Avatar for JRitchie777
0
95
Member Avatar for Maya Pawar

Hi friends, Anyone know how to take backup of Access database through Coding in vb.net. Means when i click on button ,the folder should be automaticaly created and that folder contains Access database file with current entered records means updated database. Plz if u know plz help me all. Thanks …

Member Avatar for JRitchie777
0
135
Member Avatar for Naveed_786

I am using the following code to delete record it did not delete record but just only populate message record deleted successfully what should i do now please please help me. [CODE]If TextBox1.Text = "" Then MessageBox.Show("Please Select record to delete......", "ALI ENTERPRISES", MessageBoxButtons.OK, MessageBoxIcon.Information) Exit Sub End If If …

Member Avatar for PsychoCoder
0
162
Member Avatar for xfrolox

well i didn't know how to name it, well my problem is that when i put center parent its centered from the form that was open obviously but when i put my program after the screen resolution like it cuts more then the half of the program and i open …

Member Avatar for xfrolox
0
214
Member Avatar for breakid

Hi, I build a project in visual basic 2008 with reference excel. I copy the project to my notebook and now I get 15 error. [CODE] Warning 1 There are updated custom wrappers available for the following referenced components: Excel ,Microsoft.Office.Core. Warning 2 Cannot load type library for reference "AxMSChart20Lib". …

Member Avatar for JRitchie777
0
267
Member Avatar for praveenpvs

Hello Everyone I need to convert string to an image in vb.net. In my project, i need to capture the signature and show it as image. Capturing signature is done and it returns the data as string. I need to take this string and show it as image. I am …

Member Avatar for JRitchie777
0
3K
Member Avatar for Thyoric

Hello, I was wondering if there is a way to select areas of an image in VB .NET 2008, kind of like how you can select areas of your desktop in Windows Systems(kind of like [url]http://i49.tinypic.com/29y5cok.jpg[/url]). I've searched and searched for ways to do this, but I can't figure out …

Member Avatar for dskv
0
105
Member Avatar for cocoll

hello! how can i get the index of selected row in listview in mouse up? thank you

Member Avatar for codeorder
0
140
Member Avatar for lukechris

Hi, I am requesting code for a countdown timer please, where 2 labels (Minutes label = label6 and Seconds label = label7) I have tried for a long time to try and get this to work, and it has to be "Hours:Minute" format. I will add below the awful start …

Member Avatar for codeorder
0
441
Member Avatar for Naveed_786

Hi guys, I am using this code to update a record after searching but it gives me error here is my code please please help [CODE] Dim con As New SqlClient.SqlConnection Dim strCon As String = "Data Source=ITS;Initial Catalog=Payment;Integrated Security=True" Dim strCommand As String = "SELECT * FROM CustomerInformation WHERE …

Member Avatar for pabloh007
0
135
Member Avatar for cocoll

hello! i need help with mouse click. i need to place in a timer_tick a code that detect if i clicked with the mouse. so i know that i can use on mouse click event ,but i have many and many controls so it's take a lot of time and …

Member Avatar for codeorder
0
132
Member Avatar for mooseable

I have been learning VB.NET and am currently having troubles retrieving data from an XML file. I'm trying to keep the code as simple as possible as I only need to select single items from an XML file, not rows of data. The XML file contains: [code]<CurrentPeakUsage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://au.com.amnet.memberutils/"> …

Member Avatar for mooseable
0
210
Member Avatar for Maya Pawar

Hi friends................... I have created report in vb.net. I m inserting 30 to 50 records .then set table as datasource to report. It takes 5 minutes.Plz anybody tell me how to do it fast. Then my pc is hanged I have also tried adding datarows into datatable instead of inserting …

Member Avatar for habeeb.pld
0
67
Member Avatar for lar99

Hi, can anyone help me with this problem I have with Crystal Reports (using as part of Visual Studio 8)? I have to create a report which consists of a set of data that is displayed in either 3 column format (down then across) or 4 column format, depending on …

0
51
Member Avatar for G_Waddell

Hi All, I'm using VB.net to create a batch of word documents using the Microsoft Office OpenXML SDK. The documents are made up of a header and the main body which is made up of a table. I can sucessfully create the table in the main body. The issue is …

Member Avatar for G_Waddell
0
254
Member Avatar for Tweed

Alright I am going to try to put this in the least confusing way possible. I have a form that contains multiple textboxes. These textboxes are initially disabled and their text has been grabbed from a file that has been read in. No problems yet. There are 20 lines that …

Member Avatar for codeorder
0
600
Member Avatar for mustoora

Hi, I'm using Visual Basic 2005. I'm trying to create shortcut keys for my buttons. Currently, i have 2 buttons, presentButton and plotButton. When i press spacebar, it will perform the presentButton Click Event and when i press Enter, it will perform the plotButton Click Event. Is that possible? Private …

Member Avatar for codeorder
-4
135
Member Avatar for aquarian
Member Avatar for codeorder
0
248
Member Avatar for Orphæus

Hi all! I am making a TimeCard application and I got stucked.. Anyway, the program looks like this: the user inserts date,start hour and finnish hour into 3 textboxes. On the fourth textbox it will show how many hours he has spent. I am using StreamWriter to save the data …

Member Avatar for codeorder
0
119
Member Avatar for xfrolox

I'm using a border-less form. Well when i press the Tab button the form looks like it refresh for a sec then when i click the button it looks like this ( After - Before ) [url]http://img823.imageshack.us/img823/8359/65608283.png[/url] how can i prevent it to look with that border ?

Member Avatar for codeorder
0
95
Member Avatar for Marc.Gauthier9

Hello, I am working with form having multiple tabpages. I need to set the focus on first textbox of all tabpages. I tried to declare the following when the form loads, but only txtbox1.select() is working. Private Sub frmMaintab_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load txtbox1.select() 'First …

Member Avatar for codeorder
0
466
Member Avatar for Denxerator

Is there such a code when activated will create a new window and display a text file? Like e.g. (You open the debug), there is a button. If you click the button, a new window pops up and displays a certain text file on the hard drive. P.S. I am …

Member Avatar for codeorder
0
2K
Member Avatar for TrueVb.NetNoob

Hi Guys! I wanna ask questions about the code [CODE]Me.hide[/CODE] I have a button to switch between two forms, and I used the me.hide code to perform the action. However When I exit the program, the debug is still on, meaning that the form which I hide is still running. …

Member Avatar for codeorder
0
587
Member Avatar for QB_Pete

I need to install something called .Net Framework. I have checked several sites on Microsoft and this issue is as clear as mud. There is a file called dotnetfx.exe that is supposed to be able to install the .Net Framework to my Windows 98. (I have an 8K console application …

Member Avatar for codeorder
0
1K
Member Avatar for jithumathew

Dim Ctrl As Control Dim check As Integer Select Case check Case check = 1 Ctrl = txtName If Ctrl.Text = "" Then validatingControls(Ctrl) MsgBox("enter text") ErrorProvider1.SetError(Ctrl, "enter text") End If Case check = 2 Ctrl = txtAge If Ctrl.Text = " " Then validatingControls(Ctrl) ErrorProvider1.SetError(Ctrl, "enter text") MsgBox("enter text") …

Member Avatar for codeorder
0
156
Member Avatar for jaz854

Hi All, I am getting the below error message when I try to degug my program. The 'Migrosoft.Jet.OLEDB.4.0' provider is not registered on the local machine Thanks in advance.

Member Avatar for JSS at MSSU
0
182
Member Avatar for ujjval dave

i had tried on this code,but when this code is in running mode it will update all rows in database. I want to update specific row in database. please somebody help to solve this problem.

0
47
Member Avatar for Bold Eagle

I have a txt file that I need to read into a listview, but I need to read from a specific line in that file. Can someone point me in a direction on doing this. Below is a sample of the txt file to read, 6400,3200,2,95.5,84,76.6,0 1,2,-20,15,0,0,0,"NO",0,0 TOTAL GPM= 6400 …

Member Avatar for codeorder
0
195
Member Avatar for michtan

Hi there i have a tumbnail Control box. Everytime my pictures load i click it will show in Image Viewer or photoshop can i view it in picture box instead of open a new window in other application? Pls help!

Member Avatar for codeorder
0
122
Member Avatar for Simran Kaur

Hello Friends, I am converting VB 6 code to VB.Net in VS 2010, Framework 4. I am unable to find equivalent code in VB.Net for ListBox1.Items.Add(New VB6.ListBoxItem("Sam",0)) Error Message: "'Microsoft.VisualBasic.Compatibility.VB6.ListBoxItem' is obsolete". I tried "ListBox1.Items.Add(New ListItem("Sam",0))" but it is not working though I added "Imports System.Windows.Forms.ListViewItem". and VB6.Format() Error Message: …

Member Avatar for codeorder
0
383

The End.