473,544 Members | 801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
6,735
Ravi L
thread by: Ravi L | last post Oct 21 '10 by: Ravi L
I have created a windows Service which invokes executables on remote machines, waits for it to complete and then proceeds to the next machine on the network. The Account type for the windows Service is "Network Service". For monitoring if the process is completed on the remote machine, I am using ManagementEventWatcher class. I get the following...
1
1,348
thread by: Scott Dreadlock | last post Oct 23 '10 by: Joseph Martell
Hi, I'm creating a Tarot card randomizer in VB.net just for an excersize of trying to remain faithful to random while still using certain rules - like no duplicate values. Here's the code. I've attempted to do this already as you can see from the code but the program simply stops half way through. I've also tried the same code with just one...
1
3,802
thread by: sly9er | last post Oct 26 '10 by: sly9er
Hello Techies, Here is an interesting conundrum... Normally I can get the webbrowser control in my vb.net application to scroll using the following code after the webpage loads into the webbrowser control: WebBrowserPageView.Document.Window.ScrollTo(50, 50) But when the webpage uses the dom to update the page after the page loads, the...
1
1,753
thread by: jay123 | last post Oct 26 '10 by: jay123
Hello, I have a page, divided into 3 section. Left Menu, Middle and Right Menu. Left Menu data comes from control, Middle Menu data is sorted on a page and Right Menu links also depends upon page to page so they are set on a page itself as Dim button As LinkButton = New LinkButton() button.Text = "imarket agency list" ...
1
1,774
thread by: ozzy g | last post Oct 29 '10 by: David Gluth
Hi! I created a small program that reads an access database 2007 I added the database from the data sources window, the fields I created were ID, Name, Transaction, email and Number. where number has a YES index(no duplicates) option. And they all are TEXT types. I created a new form and added the datagrid of the database and want to create...
1
3,838
thread by: ben cena | last post Oct 29 '10 by: David Gluth
Hi, I've a problem which is I need to find file with specified extensions on Harddisk ( on all drives ) please can any one help me
1
1,912
thread by: dougancil | last post Oct 29 '10 by: dougancil
I am building an application where a button click runs a sql query and shows a user the next available date that they can process from. The problem was that it needed to be the following Sunday and not the following day. That code looked like this: Public Class Form1 Dim ReturnValue As Object = Nothing Private Sub...
1
2,504
thread by: Thorsun | last post Oct 29 '10 by: Thorsun
It takes a lot for me to give up on finding the solution and for this I've finally reached that point. I have a program that opens a few other programs (PowerPoint, Excel and mIRC) and runs each one inside a panel on the form. I'm having no issues with PowerPoint or mIRC. Excel was working for a bit and now just doesn't work. Here is my code:...
1
2,087
thread by: sasasasa | last post Nov 8 '10 by: Richard Woodard
How can I send emails from my Microsoft Outlook through my code. Dim OlApp As Outlook.Application doesn't even work for me. Any help will be appreciated.
1
4,963
thread by: dougancil | last post Nov 5 '10 by: hikmetrza
I have 4 forms. I have a button on form2 that when pressed, I want it to enable a button on form1. What I've tried is this: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Form1.Button3.Enabled End Sub
1
2,278
thread by: dougancil | last post Nov 5 '10 by: marcellus7
I have multiple queries that I need to run when a user clicks a button but they are all separate queries. Can this be done?
1
1,429
thread by: Suzanne Godau | last post Nov 15 '10 by: yarbrough40
I am trying to pass an image value from pageA.aspx to pageB.aspx. I am very new to ASP.net and have successfully passed the image name in the URL as Printpage.aspx?Image=dsc00015-1.jpg My question is that on PageB I would like to display dsc00015-1.jpg as an image. How to I extract this from the URL and code it in the src= of the image?
1
3,804
thread by: Clark Teh | last post Nov 11 '10 by: marcellus7
Hi, I am lost in coming up with an algorithm and syntax for vb.net to perform a task similar to vlookup function in excel. The text file contains a series of data with each data in a new line. The data should consist of 2 columns. The first word is written immediately as the file opens and the second word is written after a tab. It is...
1
1,477
thread by: svibuk | last post Nov 11 '10 by: marcellus7
Dim cmd As New SqlCommand(SQLSTR, conn) reader = cmd.ExecuteReader() Dim myDataTable As New DataTable myDataTable.Load(reader) If myDataTable.Rows.Count > 0 Then datagridview1.DataSource = myDataTable datagridview1.Columns(2).HeaderText = "QUANTITY"
1
2,186
thread by: Infog | last post Aug 16 '12 by: kattiegriri
I would like to implement Virtual mode on a DataGridView. The issue is that I'm not sure how to bind to ONLY the ID column in my DataTable without binding to the whole table. Adding combobox or textbox columns and handling the CellValueNeeded event is not a problem, I've done that elsewhere in my program. I would like to use something like...
1
4,293
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...
1
5,031
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
1,457
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
1,994
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 ?
1
1,019
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...
1
3,869
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...
1
1,488
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,606
thread by: borri Craig | last post Dec 8 '10 by: borri Craig
I have a data set with a parent child relationship between a patient table and an insurance table. There can be up to 4 insurances for each patient. I want to display them in 4 separate panels of a vb.net form. So if a patient had 2 insurances, then txtName1.text on panel 1 would have the company name of the first insurance, txtName2.text on panel...
1
2,314
thread by: jan reiner | last post Dec 8 '10 by: yarbrough40
good day everyone.. i am doing a project for my school i am having difficulties in inserting data in mysql and also inserting multiple data in just a submit button.. can anyone help me in this? desperately need the answer in this... thanks a lot guys..
1
1,927
thread by: John HL | last post Dec 13 '10 by: John HL
Hello I have been programming vba for some time and am now starting VB.NET. I need to connect to an existing access db file (access 2003). I downloaded VS2010 and found an example on the net. Here is most of the code: Imports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form Dim cn As OleDbConnection Dim cmd...

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.