20,899 Topics

Member Avatar for
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
208
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
107
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
688
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
76
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
154
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
214
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
118
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
189
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
271
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
794
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
56
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
123
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
143
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
161
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
72
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
70
Member Avatar for LeafProduction

Helllooooooooooo There..I'm new here..and there's something i want to ask ..Please help me if you don't mind..^^ Is it possible for me to restrict my desktop application only for 1 computer..can anyone teach me how to do that?or maybe gimme some references or ebooks for it ..thanks a lot .. …

Member Avatar for etftw
0
93
Member Avatar for dwel

I'm trying to restore previously backup text file into sql server on specified database. Could it be possible using VB.NET? if possible please help me..

0
87
Member Avatar for dwel
Member Avatar for dwel
0
152
Member Avatar for kerek2

Hi all, I'm really need your help regarding how to insert image into blob field in Firebird/Interbase 6.0....I'm using connection trough ODBC ( "DRIVER=Firebird/InterBase(r) driver;UID=SYSDBA;PWD=masterkey;DBNAME=c:\ibss\database\ibssdemo.gdb " I can manage to pull into SQL Server 2008..but not for Interbase....can anyone help me...here my code that giving error...(SQL -104) [CODE] If Not …

Member Avatar for kerek2
0
973
Member Avatar for Agent-of-Chaos

hi, i have this function.. [CODE] Sub DrawScreen(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint Dim myPen As Pen myPen = New Pen(Color.Blue, 2) Dim gr As System.Drawing.Graphics = e.Graphics gr.DrawRectangle(myPen, 1 + x + (i * 4), y + (j * 4), 1 + x + (i …

Member Avatar for Luc001
0
141
Member Avatar for VIPER5646

:?: Hi all I'm trying to import data from an exel sheet to a data grid but I keep on getting the following error "The Microsoft Jet database engine could not find the object" Here is my code Thanks [CODE]Imports System Imports System.Data Imports System.Data.OleDb Public Class ExellFrm Private Sub …

Member Avatar for Luc001
0
271
Member Avatar for Dimansu

I use a custom code in my report.But when it is compiled I get the error message "There is an error in line0 of custom code[BC0203]identifier expected".Below is the my code.Only the 1st part of the code is there.Thnx in advance. [CODE] Public Function check(TrainingMainCategory as string, PreferenceType as string, …

0
59
Member Avatar for LeafProduction

[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Call Open_database() XSQL = "Select stock from item where itemcode like '" & Trim(TextBox2.Text) & "'" CMD = New OleDb.OleDbCommand(XSQL, CONN) CMD.ExecuteReader() If [COLOR="Red"]Missing Code Here[/COLOR] MsgBox("Alert") Else XSQL = "Update item set Stock = Stock - …

Member Avatar for kvprajapati
0
63
Member Avatar for tweakernut

Does anyone know how to create a Application Protocol? For example on a web browser you click a link that goes to "steam://appid/5654" it opens the steam application and the same happens with a bitorrent magnet link. How would you do this in VB.NET? Any help is much appreciated. Cheers

Member Avatar for kvprajapati
0
91
Member Avatar for jackhadding

Hello, I am attempting to write a program that will disable the Local Area Connection while leaving the Wireless connection enabled. My company is using net-books in our stores to demo air-cards and we need to keep them off of the LAN. I'm new to VB and VB.net, and it's …

Member Avatar for jackhadding
0
472
Member Avatar for malcomm

Hi I'm new to databases under vb.net although I've used them extensivley under VB6. I have a main form with a DataGridView on it. Thats connected to the following bits- _TWC_Viewer_SubmissionsDataSet, ViewerDataBindingSource, ViewerDataTableAdapterm and TableAdapterManager. All this was etup by the VB wizard. The database table is named ViewerData. This …

Member Avatar for malcomm
0
143
Member Avatar for dakaboguy

Hello, I am trying to connect a VB.NET 2003 Oledbdataadapter through the wizard to a SQL Server 2005 Database, but i get an error message during the wizard. These are my steps: New Connection, Select provider (Microsoft OLE DB Provider for SQL Server), Select Connection: server name, log on: use …

Member Avatar for dakaboguy
0
264
Member Avatar for Eregnon

I'm trying to use the web request class in vb.net to post some xml. On the reciving end, I keep getting an internal server error with the message: Missing Soap action header". I did some reasearch and saw that a firewall can strip out the soap action header so I …

Member Avatar for kronald
0
2K
Member Avatar for DrkNite

OK not the greatest title but this one is not too easy to put in a few words i have a jpg file for example with a custom file extension of jjj for example now i associate .jjj with my application so that when i click a .jjj file my …

Member Avatar for DrkNite
0
135
Member Avatar for robson

hi guys, i am doing a project in which i am trying to capture input from vb.net interface use the captured input to do calculation in excel and return the output to vb.net interface. the major haddle is linking vb.net with excel. can anyone help?

Member Avatar for Luc001
0
70
Member Avatar for Anigmalee

Hi, I want to set Textbox1 to textbox 55 to .readonly =true by using says For loop,so i need not key in one by one. Any ways to do it? I know sonthing like [CODE] For index As Integer = 1 To 55 Me.b.Controls("Textbox" & index).Text = index Me.b.Controls("Textbox" & …

Member Avatar for crazyhorse09
1
1K
Member Avatar for mototrucker

I have a quesion about using the timer1 function. I am a complete virgin when it comes to programming, so please be kind. I have a project that is using an NCD relay controller to control linear actuators. I want one relay to turn on and then stay on for …

Member Avatar for Luc001
0
78
Member Avatar for ypdev

Hi, I am trying to pass query string from one page to popup window as follow: [CODE]Dim popupScript As String = "window.open('cFinder.aspx?cName=" & c_TextBox.Text & "','', 'width=420,height=200,menubar=no,scrollbars=yes');" If (Not Page.ClientScript.IsStartupScriptRegistered("popup")) Then Page.ClientScript.RegisterStartupScript(Me.GetType(), "popup", popupScript, True) End If[/CODE] The popup window comes up very well only if the text I typed …

Member Avatar for kvprajapati
0
272
Member Avatar for bghodsi

I am splitting the label file path into an array as shown below. When I run the program, I get the error indicated at bottom of this page, Can anyone tell me how to avoid making this error. Thanks Dim arrFilename() As String = Split(lblFilePath.Text, "\") arrFilename.Reverse(arrFilename) Error 1 Access …

Member Avatar for kouroshnik
0
139
Member Avatar for Ebisu

Hi i curentlly have 4 images that i need to load into a picture box at different times, it works fine for me but if i send it to a friend it wont work because the file path is different. i use this at the moment: If filmType = "Jumper" …

Member Avatar for Luc001
0
97
Member Avatar for sanauk

Hi all I want to use windows authentication in my c-sharp desktop application.where I cloud use windows create new users service and allocate local storage space. Any idea will be very helpful Thanks

Member Avatar for kvprajapati
0
113
Member Avatar for BDS_AT

All, I have a DataGridView bound to an XML file, then I add an unbound column of checkboxes to the DGV. [CODE] private void btnReconcile_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); ds.ReadXml(txtPath.Text); DataSet modds = new DataSet(); DataTable dt = new DataTable(); dt = ds.Tables[0].Clone(); foreach (DataTable …

Member Avatar for BDS_AT
0
2K
Member Avatar for itmasterw

I am trying to learn how to populate a tree, I did this same thing back in Vb6 and am trying to learnhow to do it in VB.Net, but I am having trouble with the code. It just jumps out put leaving the tree blank; and it gives no error …

Member Avatar for finito
-1
289
Member Avatar for tanvirahmad

Hi experts I m using Hindi font In a text box, these textbox has a value [B][U]"uxn ¼dS'k½"[/U][/B], when I use select command for searching "uxn ¼dS'k½" value, it's show error. I know this error is showing for ' which is in "uxn ¼dS'k½" , how to search m I

Member Avatar for kvprajapati
0
66
Member Avatar for pritesh2010

Many of the student don't know how to find connection string, if they find then there will be some mistake. it's a simple idea to find connection string try it. and vote for it how to find connection string of any database or any server like, access or sql or …

Member Avatar for etftw
0
1K
Member Avatar for preeti_3617

hi...Im doing M.Sc.(last year)....can you suggest me a research project.

Member Avatar for finito
0
58
Member Avatar for tycham

I have a database set up in Access. Currently I have 12 exact copies so individuals can enter data. We use the data to fill in multiple forms. I know that VB can be used to allow everyone to access one database. Does anyone have this as a runtime module …

Member Avatar for nayak_1983
0
95
Member Avatar for Lee21

guyz i need your help..i'm still developing my project bout evaluation of employees. I'm using the code below,I want to multiply the values of the two specific row/column inside my datatable and then insert the product in the KPIGRDEQUI field in the KWEEKDTL table.Is it possible to be done? please …

Member Avatar for kvprajapati
0
106
Member Avatar for Dmlang1985

Does anybody out there know of any VB.Net tutorials regarding pulling and adding records out of a sql database? I am trying to figure this out on my own, but I just need an example program to show me how to do it. I have figured out how to connect …

Member Avatar for kvprajapati
-2
214
Member Avatar for Ryoolol

Hi, I am working on an application to post some news on Twitter using VB.NET, it's all fine so far but I'm wondering how I'm going to keep it up 24/7. A friend told me I should look into buying a VPS but most seem to be for web hosting …

Member Avatar for kvprajapati
0
117
Member Avatar for flasy12

well im hereagain with another question how do make a league table in vb 2008?? i want it to show this: Position| Team | Games | Wins | Loses | Ties | Goals in Favor | Goals against | Points its for a simulation app so it will have to …

Member Avatar for kvprajapati
0
92
Member Avatar for Anigmalee

Since Visual Basic 2008 Express Edition have no Crystal Report template included. Is there Other way to show Report/Log data similiar way? Maybe by MS Excel? Or MS word? Any hint or Idea will be wellcome^^ many thanks.

Member Avatar for Anigmalee
0
122
Member Avatar for dakaboguy

I have binded a textbox to a column in a SQL Server 2005 Database, when i fill the dataset it displays the data, but when i click the save button it doesn not save the changes to the database. I used this same code to do a Datagridview and it …

Member Avatar for dakaboguy
-1
234

The End.