473,811 Members | 3,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
1,495
thread by: Andrew Badura | last post Dec 4 '10 by: David Gluth
Dim cv As Integer Dim cc As Integer Dim CurrentValue As Double Dim ObsoleteValue As Double Dim Ans As Double For cc = 0 To DataGridView1.Columns.Count For cv = 1 To DataGridView1.Rows.Count CurrentValue =...
1
1,025
thread by: John Wall | last post Dec 4 '10 by: David Gluth
I'm trying to use this variable called Group that's created in my Login form to use in other form: Public Class Login Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim conn As New SqlClient.SqlConnection Dim command As New SqlClient.SqlCommand Dim...
0
895
thread by: Developer111 | last post Dec 3 '10 by: Developer111
Hi, I am working on a project in VB.net 2008. I have a problem arising while opening a form as modal from a modeless form. I have attached a project to demonstrate the problem. This demonstration contains three forms with following characteristics. • “Form1” is main form of the demo application and • “Form2” is opened as modeless form...
0
891
thread by: senthil kumar v | last post Dec 2 '10 by: senthil kumar v
I have a small application which reads a CSV file using OLEDB dataadapter into a datatable. I have a scenario where the cells can contain only a hyphen(-). But the dataadapter reads it as zero(0). Please suggest a solution.Thanks.
1
3,878
thread by: Edwin Elston | last post Dec 2 '10 by: Edwin Elston
This is a conceptual question, so I'm not inluding code yet. I can't understand how to share a context menu strip between controls - how do I know which control the user was in when he right clicked it and made a selection? Example: I have 3 text boxes that all use the same contextmenustrip and require the exact same functionality so no need...
0
1,055
thread by: Edwin Elston | last post Dec 2 '10 by: Edwin Elston
I'm new with Data Sources and am using VB.Net in VS2005, although I have VS2010 available if it matters. In previous code I just wrote queries using OleDbConnections and OleDbCommands but wanted to learn about using Data Sources. My requirements are pretty simple, the underlying data in the SQL database is modified from outside sources or...
0
991
thread by: starlight849 | last post Dec 1 '10 by: starlight849
Hi, I am using vb.net in visual studio 2008. I am trying to detect the version of excel that a user may have installed on their computer. Can anyone give me a hint of how to do this. Much thanks, starlight849
0
895
thread by: Behnaz HM | last post Dec 1 '10 by: Behnaz HM
Hi there I am trying to convert my vba code into vb.net language and I am very new to this field. Could anyone help me with the modifications? Thanks in advance Behnaz This is my vba code: Public Sub Calc() Dim InputRange As Range Dim DateRange As Range
0
1,226
maliksleo
thread by: maliksleo | last post Dec 1 '10 by: maliksleo
hi i follow the following example http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?path=~/aspnet/samples/ctrlref/navigation/TreeView/TreeView10.src for treeview to populate ondemand. Now i want to refresh the treeview text when some one renames a folder. I tried every thing and failed kindly give me a solution for that. I am...
0
799
thread by: cik nur | last post Dec 1 '10 by: cik nur
hi... i have one problem in my programming using vb.net... i want to insert data into database, using multiple condiction (if else statement)... before it save, it check wheather the matrix no and date already save in database or not. the condiction is in one date only one report is allow, this is only one student this is my code: ...
0
1,426
thread by: Paul Morriss | last post Nov 30 '10 by: Paul Morriss
I get this error from an application: ************** Exception Text ************** System.NullReferenceException: Object variable or With block variable not set. at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type,...
0
1,243
thread by: Stacey Prahl | last post Nov 29 '10 by: Stacey Prahl
Option Strict On Public Class frmBookPublishing ' Class Level Private Variables Private Shared _intSizeOfArray As Integer = 16 Private Shared _strWarehouseItem(_intSizeOfArray) As String Private _decBookPrice(_intSizeOfArray) As Decimal Private _intBooksOnHand(_intSizeOfArray) As Integer Private _intBooksOrdered(_intSizeOfArray) As Integer
1
1,464
thread by: sara samy | last post Nov 27 '10 by: Joseph Martell
i made application for computing totient function but it doesn't give me any result this is a code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim n As Integer n = CStr(TextBox1.Text) Dim phi As Integer Dim i As Integer
1
2,001
thread by: preeti08 | last post Nov 27 '10 by: Joseph Martell
I have one EXE on my server machine (Windows Server 2003) and now i want users on multiple computers (Windows XP) to create one shortcut on there repective machine and access this EXE. How can I do that ?
0
930
thread by: manish m pawade | last post Nov 26 '10 by: manish m pawade
Sir, i am a mechanical Ph.D student and i am attempting to develop a programme for my Ph.D.where in that progarmme their is no error but when i run that programme one error comes that is "Retrieving the COM class factory for component with CLSID {31230FF8-E725-11D0-BC84-00A024BA1088} failed due to the following error: 80040154.". then i cnot do...
0
1,159
thread by: Davide Menini | last post Nov 26 '10 by: Davide Menini
Hi, this is my question: I've a stored procedure in a sql server. I can display the rows in a datagridview passing through a datatable that load the corresponding datareader. All I need is to enable cells editing. I nkow that the DT has the readonly property setted on true (datasource is a stored procedure not a table). I want...
0
996
thread by: Developer111 | last post Nov 23 '10 by: Developer111
I am developing a Windows Service Application in VB.net (using WMI). The application monitors for occurrence (Start) of any new event/ process in Win32 environment. The code which I am using for handling this monitoring event is as under:- WithEvents Watcher As ManagementEventWatcher Watcher = New ManagementEventWatcher(New...
0
1,441
thread by: Daryl Lee | last post Nov 20 '10 by: Daryl Lee
I'm currently coding a for fun version of a texture transfer tool from a paper i read from SIGGRAPH'01..i've figured out most of the coding based on the C# i found somewhere but I'm having trouble with its conversion into VB.NET. my line Dim ptr As Pointer(As Byte) = CType(CType(bmpData.Scan0, Pointer(Of System.Void)), Pointer(Of Byte)) ...
1
5,042
seraieis
thread by: seraieis | last post Nov 19 '10 by: seraieis
I'm having problems with DGV's in .NET when it comes to saving information from the view. If the user has been entering information into the record (i.e. CellBeginEdit has been raised, but not CellEndEdit yet) and then saves the record, the changes made to the row will not be saved, because they haven't clicked off the row. Short of creating a...
1
4,312
thread by: dougancil | last post Nov 19 '10 by: David Patz
I'm building an application that will be using several (7) SQL queries, I'm wondering whats the best way to approach this since I've never built an app with this many queries in it. These queries really won't change, just the start date and end date and I have query in my first form that finds out the next available date by checking a table. What...
2
2,993
thread by: Luisa Rodrigues | last post Nov 18 '10 by: Luisa Rodrigues
I'm programming in vb 2008 and i would like to change the mouse icon when the user crosses a certain object. I want the icon to be a picture of my own, not a system one. In vb6 it was really very simple and now i'm stuck with something aparantly so basic. I apreciate any help! Thanks! :)
0
877
thread by: qfchen | last post Nov 18 '10 by: qfchen
I have a network device on the local area network, it gets the IP address dynamically, how can I find it and get its IP address in VB.NET code? I only know its mac address is like 08-24-B0-01-XX-XX, the first 4 byte is fixed. Any way to get its IP by finding the MAC first? or any other ways? Thanks
3
2,831
thread by: ReyS | last post Nov 17 '10 by: Andy Sanders
Is it possible to see the source code through the program debug database file. I lost the source code file but eventually I just have the exe and the pdb file, I am just wondering is there a possibility to get the source code through the pdb ? Thanks,
0
887
thread by: Glen Thompson | last post Nov 17 '10 by: Glen Thompson
Re: previous log "vbCr not showing in emailmessage" Is there are difference between using: ... vbCrLf .. and Imports Microsoft.VisualBasic .. ... ControlChars.vbCrLf or ControlChars.NewLine Refer to: http://www.velocityreviews.com/forums/t86846-re-simple-question-about-vbcrlf-is-not-declared.html
0
891
thread by: dougancil | last post Nov 16 '10 by: dougancil
I have a form in an application that I'm building that allows users to edit the data from a datagridview. I have two buttons, submit changes and cancel. What I'd like to do is when the user presses the submit changes, that it first shows them the edits that they've made, then asks them if they're sure before they are allowed to proceed. Here...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.