20,278 Topics

Member Avatar for
Member Avatar for Steammike

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

Member Avatar for Steammike
0
319
Member Avatar for mania_comp

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

Member Avatar for hbmichael
0
154
Member Avatar for Atove

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 …

0
50
Member Avatar for BlkR

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 …

Member Avatar for samir_ibrahim
0
5K
Member Avatar for Untam3d

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 …

0
40
Member Avatar for PhilipJohn

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 …

Member Avatar for kvprajapati
0
80
Member Avatar for hery

[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) * …

Member Avatar for sknake
0
97
Member Avatar for vaq

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

Member Avatar for sknake
0
82
Member Avatar for chanlichin

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 …

Member Avatar for chanlichin
0
154
Member Avatar for milhero

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 …

0
67
Member Avatar for LillyPooh

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 …

Member Avatar for GeekByChoiCe
0
103
Member Avatar for TheBrenda

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 …

Member Avatar for sknake
0
110
Member Avatar for realone

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

Member Avatar for samir_ibrahim
0
114
Member Avatar for mister p

How does one backup an Oracle database? which files do I backup? and which recovery Procedure I use?

0
115
Member Avatar for sweetsasthi

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 …

Member Avatar for sweetsasthi
0
93
Member Avatar for Oebenezer
Member Avatar for vampke

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 …

Member Avatar for vampke
0
124
Member Avatar for season2001

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 …

Member Avatar for kvprajapati
0
88
Member Avatar for drexler_kk

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 …

Member Avatar for kvprajapati
0
98
Member Avatar for Nada_ward

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 …

Member Avatar for kvprajapati
0
121
Member Avatar for zuve_fox

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

Member Avatar for kvprajapati
0
66
Member Avatar for brenn13

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

Member Avatar for Masudly
0
102
Member Avatar for hery

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

Member Avatar for GeekByChoiCe
0
76
Member Avatar for k.vijayakumar

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

Member Avatar for ericstenson
0
107
Member Avatar for sathishmarappan

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.

Member Avatar for GeekByChoiCe
0
106
Member Avatar for pepemiso

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

Member Avatar for andymackk
0
114
Member Avatar for soeppp

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 …

Member Avatar for sknake
-1
91
Member Avatar for defiant91
Member Avatar for GeekByChoiCe
0
127
Member Avatar for miketeebo

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 …

Member Avatar for GeekByChoiCe
0
139
Member Avatar for ecedano

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 …

Member Avatar for ecedano
0
159

The End.