I added FileSystemWatcher in Form1_Load like this -
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
....................
Dim watcher As New FileSystemWatcher()
'For watching current directory
watcher.Path = "/"
'For watching status.txt for an...
I am having multiple forms with Find button provided. The forms i am having are Contacts.vb and Users.vb, i want to use single Find.vb form for both of these forms. I mean whether a user presses Find button from Contacts.vb or Users.vb the same form should be opened with corresponding data that is fetched from database.
I tried using F...
Hi
can i save the returning value of eval function in a variable and use it wherever i want?
i can call it just in <asp: .... tags. i can't use them in vb methods. is it possible?
...
I am looking to create an application that uses a remote mysql database, takes a picture from a live video stream, and also interfaces with an RS232 weighing scale. I'm just looking for a one or two sentence definition on what the huge differences are between VB Express and Standard.
I am a PHP developer and I have never worked with ...
I need to build an application outside of my normal comfort zone (web/PHP/JavaScript). Should I use C++/C# or Visual Basic to create my application? I think that the syntax of C# is more like PHP, so that is why I'm thinking to go with C. But also, I have heard that VB is much more straightforward for building a semi-simple applicatio...
I am using VB.net sockets to send a music file from one instance to another. It currently saves the file, but I do not want to be caught up in file-sharing, so I want to "save" it to a buffer, and when it gets to a particular percentage transferred, I want another thread to play the music file, deleting it from the buffer as it plays. ...
I changed config file of the windows many times. Before changing config file I stopped the service and after changing config file, started again. Every thing worked fine.
But last time when I made some changes in config file of the windows service and started it - It didnt worked, I even tried reinstalling the service but in vain.
As ...
I was wondering if there are any good vb.net code repositories around where people share code they have written, widgets they have developed, classes developed? I hate re-inventing the wheel.
...
Well it looks something like this _http://i29.tinypic.com/ib9oiu.jpg I had already posted a question on how to put an arraylist inside a listbox but that's already solved.
http://picasaweb.google.se/109674614304504038591/Desktop?feat=directlink
There is all my code, so I need to be able to edit the selected customer, clicking on custom...
I want to break a string into chunks of 200 characters or smaller, but breaking at the spaces. How can I do this in VB.net? For example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ut dui et sapien ultricies laoreet. Duis eleifend ante et tortor adipiscing tincidunt. Nulla sagittis purus sit amet mauris convallis auc...
I have Form1 that has a textbox and a button. When user clicks the button in Form1, Form2 opens up with a label control that carries the value of textbox in Form1.
What i did is set the textbox modifier of Form1 to Public, but when i call the textbox name of Form1 in Form2, i get an error that says "The name "txtbx1" doesn't exist in th...
Consider a process, in which multiple Application domains are created. Can we share a single static field across these Application domains or can we pass this static field across these application domains? How does CLR handle this?
...
Hello,
I have an app that uses Microsoft.Speech to recognize speech in a WAV file. It works perfectly when run locally as a console app but barfs when executed by IIS.
Assuming I have the following installed on WinServer 2008 with .NET 3.5+:
Microsoft Speech Platform - Software Development Kit (SDK) (Version 10.1)
Microsoft Speech Pl...
Hello everyone,
My problem is data that load at startup in a DataGridView and a cell containing large data that I want to display on multiple lines instead of horizontalScroll
...
Hi Everybody,
i have a problem when i create an executable file of my application created using VisualStudio 2010 and MSAccess 2010. I instal the application and I create a shortcut but when i run the application an error is generated saying that the Data Base file is not found in the same directory of the shortcut (when i create a shor...
hi,
I have an aspx page and I want to access an application on the client after seeking user permission. Both the windows application and the website are to be made in VB.NET. Does any one have any idea as how to go about solving this problem?
Thanks
EDIT:
Here is the problem. From my .aspx webpage in vb.net, a visitor clicks on a li...
I have a file uploading and viewing page in ASP.Net 1.1 using VB. Now the page will be visible in intranet as well internet. Here in my case the intranet and internet servers are different. How can i save the uploaded file in the intranet server and view from there subsequently when the activity is done using the internet server?
...
I have a problem running my project on VB.net 08. Whenever I run my project, it shows an error message:
Could not load file or assembly 'MyProject' or one of its dependencies. The module was expected to contain an assembly manifest.
How can I solve this problem?
...
Hi!
My application is meant to speed up the retrieval of phone call information from our telephone system.
The best way to get this information is to create a new search on the telephone system's web interface and export the results to an Excel spreadsheet which my application then imports into a DataSet.
To get the export, from the lo...
Hi,
The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_O
Does anybody know how to repair it and enable this feature again?
I'm putting triple apostrophe above function and comment tags do not appear. :(
I was trying to reset vs settings but it doesn't help.
...