20,278 Topics

Member Avatar for
Member Avatar for sonia sardana

Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net on Button Click. Any help is greatly appreciated.

Member Avatar for pritesh2010
0
196
Member Avatar for kdw3

Hi All. I am relatively new to programming so this may seem like a trivial question, but here goes. On my form I have a datagridview which is bound to a 'Supplier' table in Access 2003. Once I click on a record on the DataGridView, textboxes below which are also …

Member Avatar for kdw3
0
279
Member Avatar for Sidiq

Hi All! I am new to Vb.net & ado programming so this really just for educational purpose. basically i have a form with a datagrid set to readonly. i have 5 textboxs. when a cell is clicked its value in the row is output to the following textboxs on the …

Member Avatar for steveneaster
0
138
Member Avatar for mindserve

I have an app where it loads the image to a pic box from a path that is stored in an Access database. The image itself is not stored in the database. I have searched everywhere for a solution to get the image to load to the report viewer but …

Member Avatar for mindserve
0
307
Member Avatar for MaxDes

Hi all first post! I am attempting to read an XML and display certain portions of the XML in a datagridview. I was able to get one table at a time, but I am having trouble figuring out how to get ALL the info I want from the XML and …

Member Avatar for MaxDes
0
1K
Member Avatar for trpsjt2008

Hi I Have 100 Picture Box(PictureBox1-100) And I want to use Each PictureBox with loop like [CODE]Dim left as Integer Do while left > 1 PictureBox 'Picture Box number i used left = 'My Procedure Left += 1 Loop[/CODE] How Can I use Each PictureBox From 1 to 100 Thank …

Member Avatar for kvprajapati
0
463
Member Avatar for j_808

I have a datagridview and i basically click a button that goes through all the rows in the table looking at two particular columns: quantity and re-order level. After every row the code checks to see If the re-order level is greater than the quantity of that particular row. if …

Member Avatar for G_Waddell
0
88
Member Avatar for Sidiq

Hi All, you have all probally heard this all before with interaction with MS access in vb.net. Basically i have a single table database, Please could someone provide or point me in the directiong for code for basic command for new, save, remove function via input thought textboxes. i am …

Member Avatar for kvprajapati
0
76
Member Avatar for chanthung

this code works but it doesnot display multiple records.. like if i search for Andrew, i want my code to display all names similar to Andrew, Alex, Adam..etc can anyone please help me with the code. Mu code is listed below. thanks [CODE] Private Sub Find_Load(ByVal sender As System.Object, ByVal …

Member Avatar for finito
0
124
Member Avatar for didijc

Hey everyone, What's i'm trying to accomplish is this - I have a webbrowser control & a treeview control...once I load a website I create a HTML DOM tree representation of the website using the code below... What I want to do now, is the following: [LIST=1] [*]mouse over any …

Member Avatar for didijc
0
253
Member Avatar for Dr-Delta

hi, I have a problem with Operator '&' someone may help me with this problem. thank u :) [code] Protected Overloads Overrides Sub Render(ByVal writer As HtmlTextWriter) If String.IsNullOrEmpty(Name) Then Throw New NullReferenceException("Name must be set on a widget") End If Dim sb As New StringBuilder() [B]sb.Append(("<div class=""widget " & …

Member Avatar for Dr-Delta
0
829
Member Avatar for Anigmalee

The situation is like this, says: I have textbox1 to textbox20 to show real-time reading, then textbox21 to textbox40 for other purpose. So textbox1-20 can be manage in group through: [CODE]For index As Integer = 1 To 20 Form1.Controls("Textbox" & index).BackColor = SystemColors.Window Next [/CODE] The problem is, after some …

Member Avatar for Anigmalee
0
158
Member Avatar for Funsize

I am making a simple unit converter, and wanted the user to specify the number of decimal places to be displayed for the results. The user selects which conversion they want to perform from another combo box, and I have a select case to decide the calculation needed. Eg. [code]Select …

Member Avatar for Funsize
0
280
Member Avatar for Anigmalee

Is there a event detect change of Listview item count? Like it will be trigger whenever i add an item or delete an item form listview. I search on MSDN Listview Event member, but cant c any usefull. Any help would be please:) Thanks

Member Avatar for Anigmalee
0
205
Member Avatar for VirendraThakre

I want to upload photo on click in VB.NET and want to store it in SQL 2005,also want to retrive it in picture box on another click.

Member Avatar for elshan0011
0
105
Member Avatar for Smith5646

In my program, I want the user to be able to move an MDI child window anywhere inside the MDI container but I need it to be kept completely inside the container boundary. For example, the upper left corner should never be at a location less than 0,0 when moved …

Member Avatar for Smith5646
0
670
Member Avatar for LennieKuah

Hi Good Guys, I need your help. Please Help me. I am trying to extra CustomerID, CompanyName, from XML File to Update SQL SERVER using xpath function. Being new to XML I don't know how to do it. Please help me with sample coding so that I can learn the …

0
73
Member Avatar for Lanoosh

hi am new here and in vb.net and i've been trying to display outputs form an array but the message box appears empty with nothing in it .. here is the code : [code] Dim r As Random = New Random() For i = 1 To dept_no For j = …

Member Avatar for kvprajapati
0
153
Member Avatar for FrogBoy

Hello, I'm wondering if I should take this personally. I haven't quote grasped this whole "class" concept yet, but I'm working on it. When following the instructions below, the "test" portion of this code: "test.variable" has an underlined error that says that "test" is not declared. If i remove the …

Member Avatar for steveneaster
0
212
Member Avatar for Smith5646

I have a main form that has IsMdiContainer = true. I have a second form (FamilyForm) that is to be the MDI child. Using the code below, when the line TempForm.MdiParent = Me is executed, the FamilyForm window size, font, and all controls are larger than shown in Visual Studio, …

Member Avatar for Smith5646
0
114
Member Avatar for Learner7

Hi, How to add an [B]existing form [/B]of old project to a new project? Which extension type files to be added to work that existing form correctly? I actually need [B]frmContacts.vb[/B](because a lot of textboxes and other controls are there) which I have added now to my New Project. Since …

Member Avatar for Learner7
0
185
Member Avatar for daviddoria

I have some white text I am putting over a very light background. Is there anyway to outline the text in black? After some googling it looks like there are some pretty complicated solutions, but I am looking for something like a check box that says "outline". Is there such …

Member Avatar for daviddoria
0
1K
Member Avatar for daviddoria

I set the .Interval of a timer to "10", which I believe means 10 milliseconds. Since there are 1000 ms in 1 second, if I count to 100, I should have 1 second, right? The problem is, if I use a physical stop watch and compare it to my program, …

Member Avatar for kvprajapati
0
266
Member Avatar for vbpro

I've created a second form for my project.How can I show it? I find it's different from the VB6.The form.show , visible = true ... are not working now. How can I do this?

Member Avatar for kvprajapati
0
789
Member Avatar for tanvirahmad

hi experts i want to using [B][U]"krutidev010" Hindi[/U][/B] font in vb .net. Is it's possible if yeas, pleas how it??

-1
54
Member Avatar for wakeup12

Hello, I have used the following code to list my serial ports on my computer, but i am receiving the abnormal portnames as my attachment. The portnames should be as following text: Com3 52 8 11 38 6 13 53 4 My code: [CODE] Dim ports As String() = IO.Ports.SerialPort.GetPortNames() …

Member Avatar for Dukane
0
120
Member Avatar for Dr-Delta

Hi Please tell vb.net equivalent of following: [B]C# Syntax[/B] [code] public class AuthorList : Control { static AuthorList() { Post.Saved += delegate { _Html = null; }; } [/code] [B]I tried using C# to VB.NET code converter which gave me this:[/B] [code] Public Class AuthorList Inherits Control Shared Sub New() …

Member Avatar for Dr-Delta
0
140
Member Avatar for bghodsi

The following is the complete coding for moving data from sql to access, I get an error saying that Microsoft JET Database Engine missing (;) at the end of sql statement!!!! Could you tell me what I am doing wrong? Imports System.Data.OleDb Imports System.Data.SqlClient Public Class frmMain Inherits System.Windows.Forms.Form Private …

Member Avatar for bghodsi
0
159
Member Avatar for Bold Eagle

I have a listview with multiable items. All items have the following columns saleman, company, part, qty, price. Now I'ming pulling each items from a combobox and calculate price. I would like to get any/all items that have been adding more than once, which happens because some part have been …

0
70
Member Avatar for Learner7

Hi, I have the following code in my form. I would like to retrieve data from the MS Access database to ListView1. What will be the code? [CODE]Public Class frmContacts Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da …

Member Avatar for kvprajapati
0
69

The End.