20,278 Topics
![]() | |
Hi expert, i facing a problem when i try to connect to database by using vb.net below is my code: Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim dSet As New DataSet Dim da As OleDb.OleDbDataAdapter Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim User, … | |
I want to know that what is the MAXIMUM number of Forms that can be added in a single project in VB 6.0 and in VB.NET also. any ideas? :) | |
Hi all! I'm developing some software for my current employer and i'm looking to incorporate an option that changes the font size across all forms for accessibility purposes. Now I have managed to make it work; however the code appears long and inefficient. My question to you guys is: Is … | |
Hi guys, Currently I am updating a listview with data in it via clicking on the selected row and displaying that row data onto textboxes and then updating it. What the data has is ID number follow name and QTY. What I want to add to this function is to … | |
Well basically, I edited my patcher/launcher application that is used with a program, and now, when I use it, I get no errors, but it appears in task bar... when I click it... nothing happens. The odd thing is that I am using Windows 7, which shows a preview when … | |
I have a Folder on the Web Server that has files that have been uploaded by users via my Web App. I would like to create a button click event that would download the Folder (Directory) and all of its contents. Currently I have a link on a web page … | |
[code] Dim workspace(1 To 4) As Long ' (1)=left (2)=top (3)=right (4)=bottom SystemParametersInfo &H30, 0, workspace(1), 0 ' &h30 = get workspace size Dim X As Long, Y As Long, w As Long, h As Long X = workspace(1) * Screen.TwipsPerPixelX Y = workspace(2) * Screen.TwipsPerPixelY w = workspace(3) * … | |
Basically, what I want to do is... Have a listbox with a list of directories and the executable name in, e.g. "C:\Directory1\file.exe" "C:\Directory2\file.exe" "C:\Directory3\file.exe" And then using My.Computer.FileSystem.CopyFile(Application.ExecutablePath, [Each List Item Here], True) To copy itself to the directories I want to :) How can this be done? Thanks | |
Hi, I am now want to retrieve only year from my table(summary),field name(dates). So i am facing the problem on how to display the year in combo Box. my sql statement as below. Thanks If i put [b]SELECT DATES[/b], that means day,month and year will display. So, what should i … | |
Hi Professionals, I found these tutorials and codes regarding 'Retrieve E-Mail Through POP3' on an e-book entitled 'Microsoft Visual Basic .NET Programmer's Cookbook'. I understand what each functions/codes are but how do i design the GUI/interface to fit the codes? Please advise. Thank you in advance. Best Regards, Md Azmil … | |
hey =) I'm working on a vb.net application. One of the forms has a few tabs, each having multiple text boxes in it. Because I have so many text boxes, I'm sort of limited when it comes to their size, while I'm allowing the user to enter up to 4000 … | |
I have a DLL that copies an Access database, opens it, reads it, and then closes it. The second time through it is unable to copy the Access DB because the EXE has an open handle to it. The EXE does not reference the Access DB at all, it just … | |
Pls see my code.Nothing is displaying in the grid [code]Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim connString As String = "Provider=SQLOLEDB;Data Source=MSALAMEEN;uid=sa;pwd=Sa1;Initial Catalog=Biometric" Dim myConnection As OleDbConnection = New OleDbConnection myConnection.ConnectionString = connString Dim da As OleDbDataAdapter = New OleDbDataAdapter("Select ID from bdata", myConnection) … | |
How does one backup an Oracle database? which files do I backup? and which recovery Procedure I use? | |
Hai, I don know how to store data from datagrid to SQL database. I also don know how to find the number of records in dataset or datareader. for an example [B]myCommand = New SqlCommand("Select * from discounts", myConnection) dr = myCommand.ExecuteReader()[/B] How can I know whether there is any … | |
Is it possible to disable tabcontrols and enable tabpages | |
Hello good people of vb.net, I'm experiencing problems with an application I'm writing. I have a login dialog that is loaded in the main form's load property, like this: [CODE] Private Sub FrmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' show login if configured If My.Settings.login Then … | |
Hi, I am a newbee here so please be nice to me! I am trying to develop a program in Visual Studio 2005, just to write a program to add a name and age of a student using a form to a database ( i would like to use MS … | |
Hello all, I'm trying to add a new row to a new datatable. The following is my code,but I get the error of "Cannot find the column 0." Anyone can help me on this? [CODE] Imports System.Windows.Forms Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim cn As New OleDbConnection Dim … | |
Hi I want to save the user work in my program step by step , like visual .net , there are solution explorer to move between form that user created and I want to save it as binary file , and the extension of it as the name of my … | |
Hi.. I am using vb.net 2003 to capture image from scanner,web cam and sucess but when i caputure image from digital camera Canon EOS 10D,can't capture. could everyone can help me how to capture/shot image using vb.net? and what canon type which can support? thanx | |
[code] i have a mdi parent and a lot of mdi child and 1 non mdi child form. when i run the project, the mdiparent loads the non mdi child form, which contains a tree view. under that non mdi child form is a splitter. when i click an item … | |
In VB6 i use "Form.Show VbModal" to prevent user to interact with other window than current one. I wanna know how to do this in VB.Net? Thank's | |
i am using vb.net and i dont know anything about paypal. i want paypal in my onlineeducation project.can u explain about it give code for that.whether we have to buy anything for that service.please give complete info about paypal. thank you in advance | |
hi, I have more than two form in my vb.net project. please let me know, how to run(load) or debug my current form?. For Ex: consider forms like, form1,fom2......if i run the project means, it start from the first form, but i have to run only the second form. | |
Is there anyone knows how to make either bar or pie graph in vb.net and getting the data on sql 2005. I need it for our thesis please help me on my problem. Thanks | |
i some help for my project... 1. I create a form..use web browser dan i call link.html...how can i make when i click link in html it will be show form2 2. How can i make datetimepicker get date from server 3. How can i make a dll file path … | |
How do I read what is being displayed in a cli process that my program starts? | |
Hi all I am very new to programming and am having a little difficulty starting an assignment. I need to make a program that takes a telephone number and shows all the different words that could be made for that number. The telephone number cannot have a 1 or a … | |
Hi, I know it should be pretty easy to achieve. I am just starting to learn VB.NET. I need help creating an outline around a custom shape picturebox. I also need to specify the color and thickness of this outline. The path is on variable gp... but I can't figure … |
The End.