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

Home Posts Topics Members FAQ

Visual Basic .NET Forum

4
2,357
thread by: Tom Van den Brandt | last post Nov 7 '07 by: Tom Van den Brandt
Hi, I wrote a simple windows service that includes a FileSystemWatcher. After building and installing the service (installutil) I notice that the service executes twice. I included a write to the application eventlog in OnStart ("service has started and is ready to watch the filesystem") and this results in two entries in the eventlog. ...
4
9,621
thread by: =?Utf-8?B?VGVycnk=?= | last post Nov 8 '07 by: =?Utf-8?B?VGVycnk=?=
I have a DataGridView bound to a collection of Custom Objects. I have enabled adding new rows, but since my object does not have a public constructor (it uses a factory method), I get an error when I attempt to enter the new row. My guess is that I need to override some method so that I can create the object for the grid. But for the life...
4
1,365
thread by: ags5406 | last post Nov 8 '07 by: ags5406
Hi All I have a task that I'm thinking about attacking in two different ways but don't know enough about Windows Services. First: We have a server application written in VB.net that acts as a middleman between various Fortan DLL's (the calculation engines) and various front end client applications (one in Java and two in
4
1,711
thread by: eBob.com | last post Nov 12 '07 by: eBob.com
In my class which contains the code for my worker thread I have ... Public MustInherit Class Base_Miner #Region " Delegates for accessing main UI form " Delegate Sub DelegAddProgressBar(ByVal uiform As Form1, ByRef si As MTCC02.Form1.SiteRunOpts, _ ByVal numitems As Integer) #End Region
4
4,423
thread by: COHENMARVIN | last post Nov 16 '07 by: rowe_newsgroups
Are there any good sources on video game programming in vb.net? Is "DirectX" a set of libraries for video game programmers? The reason I ask is that I'd like to convert a board game into a computer game. Its a game with up to 4 players, so it seems like it would be hard to do. After all, a computer doesn't have up to 4 mouses. And its a...
4
2,780
thread by: tshad | last post Nov 14 '07 by: tshad
I can't seem to find anywhere how to set a null value (default) to a char variable. I know you typically set a char as: Dim temp as Char = "a" But how do you set it to binary 0 (null). In C# it would be:
4
1,528
thread by: =?iso-8859-1?B?UmVu6SBKZW5zZW4=?= | last post Nov 20 '07 by: =?ISO-8859-1?Q?Ren=E9_Jensen?=
Hi I have 2 questions about distribution of windows services. 1: How do you perform a click once on a windows service, so that I can be updated on a regular basis? I can only find out how to distribute the service by using a installer. So when I need to update I have to uninstall and reinstall? 2: How do you make the installer setup up...
4
3,094
thread by: Rachana | last post Nov 14 '07 by: Cor Ligthert[MVP]
Hi, I have understood Data Sets but what is meant by typed/untyped/ strongly typed datasets. Can any one explain me or suggest any site/ article, to get these concepts (and their comparisions) cleared? Thanks, Rachana
4
3,699
thread by: Dan | last post Nov 16 '07 by: Dan
Hi Group Memebers: I am pretty new to asp.net.vb. Please dont mistake me if my Q is silly... I want to list the user names online in home page.... I am adopting this metod: Get the user name after login and insert the names in a table who log
4
2,410
thread by: =?Utf-8?B?bWFydGluMQ==?= | last post Nov 16 '07 by: =?Utf-8?B?bWFydGluMQ==?=
Hi, All, when starting run app, how to let user add item/edit item to comboBox on the Form, Thanks, Martin
4
1,421
thread by: Mich | last post Nov 16 '07 by: Armin Zingler
Hi, i want to put the present time (hours, minutes , seconds only) in a variable. I tried with dim ti as date dim ti as datetime dim ti as dateandtime .... without succes
4
2,998
thread by: John Wright | last post Nov 16 '07 by: John Wright
I have set up a datagrid on my form with six columns. I want to capture the data from six textboxes on the form and add them to the datagrid. All the info I can find about this is with datatables and databinding. I don't want to databind this, this is only a repository for data until the user clicks the save button. Then I will iterate...
4
2,955
thread by: Pieter | last post Nov 27 '07 by: Duy Lam
Hi, I want to bind a proeprty of a child object to a DataGridView, but it doesn't work. For instance: Imagen that I have an object Company, and this object company has a child object Address. Address has a property Street.
4
2,112
thread by: Lloyd Sheen | last post Nov 18 '07 by: =?Utf-8?B?VGVycnk=?=
I just want to select the complete text when someone enters the textbox (mouse click etc.). When I am executing within the IDE (VS 2005 Pro) no problem. Execute outside the IDE and no select takes place. Code: Private Sub tbSearchTxt_Enter(ByVal sender As System.Object, ByVal e As
4
3,191
thread by: Ross | last post Nov 19 '07 by: Ross
Hello, I am trying to Read and Write to a text file on a web server using Microsoft Visual Basic 2005 Express Edition. So far I have managed to complete my testing with a local text file using the StreamReader Class. Is it possible to use this class when trying to read and write to a text file located on a server? If so, could you please...
4
1,905
thread by: Freddy Coal | last post Nov 20 '07 by: rowe_newsgroups
Hi, I would like know if something libraries or programs exist, and send error with a description if the program don't find the libraries, how can make that?. For example: In the use of interop libraries of Office, I declare that libraries in the begin of code: Imports Microsoft.Office.Interop
4
1,735
thread by: andreas | last post Nov 20 '07 by: Herfried K. Wagner [MVP]
I use vb.net express 2005 and when I run programs, made by myself, on several computers I get somewhile (not on all computers) a error message. Windows cannot access the specfied device, path, or file..... How is this possible and can I made the program run on these computers? Thanks for any response
4
269
thread by: thomas1388 | last post Nov 19 '07 by: =?Utf-8?B?VGVycnk=?=
I am created a form to display addresses. There are 5 fields, street, street line 2, city , state and zip code. If there is street line 2, it will become my address line 2, City & ", " * state & zip will become my address line 3. Since some of the addresses don't have street line 2, I like to make City & ", " * state & zip as my address...
4
1,205
thread by: federico | last post Nov 21 '07 by: federico
Hello I have an application that iterates through the messages of a mailbox. The program does fine the job of moving messages that match a criteria. I would like to add to the program the capablity of displaying a progress window. Ideally, the progress window should have a textbox control that display very fast the subject of each email it is...
4
1,446
thread by: HardySpicer | last post Nov 21 '07 by: Phill W.
I have the following call from a Button1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strMp3 As String strMp3 = "chop2.mp3" Me.AxWindowsMediaPlayer1.URL = strMp3 End Sub
4
2,326
thread by: =?Utf-8?B?ZGF2ZQ==?= | last post Nov 21 '07 by: Rory Becker
I can't get Extension Methods to work in Visual Basic 2008 Express. Says "Type 'Extension' is not defined." Looks like the library included with the Express edition is crippled. What am I missing? Here's the code... Imports System.Runtime.CompilerServices
4
5,422
thread by: Jan | last post Nov 22 '07 by: Cor Ligthert[MVP]
Hi there, I have a lot of textboxes in a form, i numberd them from from 1 til 10. for example: txtZpr1.text txtZpr2.text etc.. I want to fill these textboxes by using a loop. Is there a way to fill them by changing the number of the textbox??
4
2,543
thread by: Slickuser | last post Nov 27 '07 by: =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=
How do I automatic move the X & Y to create a ellipse function as below, DrawCircle? Or there any sample source code out there? I want it move down by user input. How can I achieve this? Thanks. Imports System Imports System.Drawing
4
7,169
thread by: yxq | last post Nov 28 '07 by: yxq
Hello, I want to kill the Explorer process, after Explorer process has been killed, it will restart automatically immediately. How to disable it restart automatically? for example, in Windows Task Manager, you can kill explorer process, but it will not restart automatically. My code: ///////////////////////////////////////////// For...
4
1,144
thread by: Freddy Coal | last post Nov 28 '07 by: Trevor Benedict
Hi, My application have some modules that use Excel like a external program. My problem is when the user don't have Excel, I would like exclude the code that use excel inside my code, because this make me a fatal crash. How I make that?. For example, I have the next code: '------------- Imports Excel = Microsoft.Office.Interop.Excel

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.