I am designing an application that puts common tasks that we use in one place. One of these involves checking information from Active Directory. I have not done done any programming that invol...
Hello, I have written a windows service in vb.net but I have a memory leak and I believe the issue is because I am not sure how to declare and dispose of variables and objects. The service ru...
Hello,
Let's say that I want a length of size 2, and then I want to put some strings in it
Dim Ar(2) as string
Ar(0) = "A"
Ar(1) = "B"
Why is it that I'm able to play around with th...
I created few textfields and a listview to display the data from the database. When i hover listview, i want the data associated to display on the respective textfield.
My code can work pe...
Hi,
I am trying to change a folder (and all its sub folders and files) permission in Visual studio 2008 and VB .Net 3.5. Also I can not use windows AD as it is not implemented.
What is...
Can I disable a button embedded in a DataGridView, created by adding a DataGridViewButtonColumn?
Thanks.
I am trying to connect to an already established Access 2003 database. Initially, I copied the database to a folder on my C:\ drive. When I test the connection, everything is okay. However,...
Hi, I'm writing a financial application and can't seem to figure out how to properly format numbers for display. In the code snippet below, you can see two methods that I am using to format n...
I am trying to use the FolderBrowserDialog control in a simple windows forms application. I only have two controls on a single form: txtFolder (textbox) and btnBrowseFolders (button). Please...
I have a workbook that I want to link cells values from anohter workbook in the same Network drive. This data linking is just one column.
I have read an experimented several methides but I ne...
Hi
Do you know a way of creating a .msg file without referencing (or creating a late-bound reference to) Outlook? VB.Net or C# code would be good.
I need to display and edit rich text data in a datagridview on a form.
Researching the subject it seems that I need to create a custom column and I have attempted to adapt Microsoft's examp...
Hi,
I have a repeater control which is populated with a dataset to display a list of products. I have a button within each itemtemplate which passes the primary key from that table as the c...
I need to connect to a Computers (in a text file) using WMI in VB.Net with System.Management class in order to read from a specific Registry Key path and retrieve a Value and run If Then cond...
Here is a snipit of a stored procedure that I have created:
@FirstName varchar (50),
@LastName varchar (50),
@Email varchar (50)
DECLARE @RowCount int
UPDATE TOP (1) myTable
SET
...
Hallo Experts,
I have made a User Control containing Button1and textbox1
Then added the following code to the control:
________________________________________________
Public Class button_...
See the attached code (670 lines)
This class enables FTP ing via visual basic. I got it free on the internet !! Only problem is, it doesn't work when the target server is running windows f...
I have a windows app that is a class library having a com class. This app need to be installed on each desktop. I have had no trouble creating an msi. The problem is to get it to work the w...
Hi All,
I have a large SQL result set that I often need to dump to a CSV file. The request to dump this data to a CSV file is always different. Different clients want to see different colum...
I have a VB 2005 WinForm application that connects to an Access database. It is running on about 7 computers ("workstatios"), and the Access database resides on an 8th computer ("Server"). The...
When i click on edit,i am getting textboxes in grid to edit data.But their width is more and the grid is expanding .Is there a way to restrict the size of editable text boxes.
Hi there!
I have a main menu that is constructed of panels denoting rows across a form, each row containing multiple icons referencing different functions available to the End-user. It has...
Hello Experts! I'd like a global error handler for a vb.net windows forms applications.
Every example I look at either references the Main() method (which I don't have in my application)
O...
Hi there
Please see code below, trying to although the user to enter numbers but not characters which works perfectly, the backspace key doesn't work though! DEL works, have even added in t...
Hi, i have a Data repeater with a head template with an add button and delete button for the data repeater.
I want to add a dropdown list containing values of 'Row x' with the same number o...