Hi all :)
i have a windows form with a datagrid on it. I also have a textbox txtSearch where users will type in a name and then the datagrid displays the records based on the search.
While i know what i want to do...i have no idea how to achieve this?? any help would be much appreciated...
hi
ive set up my tab order on my form which works fine but i'd like to be able to move thru the controls in the same way using the enter key. How do i set this up? I assumed that it would do it automatically!
i have the following error when trying to run my code:
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll
Additional information: The process cannot access the file "c:\export.txt" because it is being used by another process.
The file is created but is empty. I...
ive created a mail merge document (in ms word 2003) that uses all the necessary fields from my database. What i need to do next with my windows form is when the user clicks on the mailmerge button, all records that require an acknowledgment letter will be pushed through to this existing mail...
An unhandled exception of type 'System.NullReferenceException' occurred in PostBook Planning Dept.exe
Additional information: Object reference not set to an instance of an object.
I get the above error message when trying to run a mail merge on my windows form. Can someone pls help? Can post...
Hi there :)
I'd like to run a batch of mail merge letters at the end of each day on the program that i'm trying to write. Basically it will look at a field "Acknowledgement Required", if equals true then create mail merge document. there is also an "Acknowledgement Sent" field which would need...
An unhandled exception of type 'System.NullReferenceException' occurred in PostBook Planning Dept.exe
Additional information: Object reference not set to an instance of an object.
The above error occurs when trying to run mail merge in my program. My code is as follows:
Private Sub...
Hi - im getting the following error message when running my program. It happens when i click the update button which is supposed to update the database:
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error.
The...
Hi there :)
im trying to find the best way to write an online asp.net for an asset management database. ive tried using a datagrid but it's too large to display on the page as there's too much information to display. users need to be able to add, delete, edit and update the database on the...
i have a textbox which is connected to four address fields in a database. If the user doesnt enter 4 lines of address then i understand my program will crash!! How do i work around this? heres a bit of my code that splits the textbox:
Dim mySplit As Array
mySplit =...
Hi there :)
I'm trying to display a message box on an exit event and have used the following code, but i get an error: e.cancel is not a member of system.eventargs. Could sum1 pls tell me where i'm going wrong. Thanx.
Private Sub mnuFileExit_Click(ByVal sender As System.Object, ByVal e As...
Hi :)
I'd like my users to be able to print a windows form as it appears on screen - but so far i've only managed to find out how to print a text file! Could some1 pls help a newbie??
Thanx
Hi all :)
on my windows form, amongst other things, i have a checkbox for 'reply required', so if a reply is required then the user chooses a date from the datetimepicker. if the checkbox is unchecked, the the datetimepicker becomes invisible. i got this working by using the following code:
If...
HI :)
I have a multi-line textbox on my windows form, which should enable users to put in an address. The database that it will update has 4 address fields - address1, address2, address3 & address4. How do i write the code that will enable the textbox to update each field separately, assuming...
hi all :)
i have 2 datetimepicker controls on my form. in the 1st one, it shd automatically display the current date anyway but i need to use the 2nd datetimepicker to automatically display 14 days ahead of the 1st one. Perhaps i shdn't b using dtp, though the user shd be able to amend the date...
hi there! i have a windows form that will enable users to (hopefully) enter details to update a database. One of the textboxes will be used to update a currency or decimal value. How do i set this? Or validate it so that they can only enter say for example "102.00" or "34.58"??
Hi :) ive managed to write a console app that reads a log file checks for the word "error" then sends email notification if true. The program reads the file every 5 mins. Next i have to check for "archival stopped" & if it is still in this state for 2 hours or more send an...
Hi there :) ive managed to muddle through and write a small program that reads a particular log file, checks for the word "error" and then sends an email notification. At the moment the program sends an email even if there are no new errors & i dont want it to send blank emails. Could...
Hi there :)
i've created a program that basically reads a file, checks for the word "error" and then emails sum1 with the "errors". What i need to do now is set the program to read the file every 5 minutes, which ive tried to do but i've messed up somewhere?! when the file...
Hi
i've been asked to compile a program that will enable the user to receive an email alert when a particular word appears in a text file and would appreciate any suggestions on how to go about this? I'm very new to all this as you can probably tell
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.