Hi all,
I have an insert query that needs to save data into 2 tables (tblCases, tblAttachments). There could be multiple attachments per 1 Case.
Table tblCases Has the following fields:
CaseID
Description
Table tblAttachments has the following fields:
CaseID
AttachmentFilePath
Thanks in...
Hi all,
I have a VB.Net 2005 application that I need to add a Help Desk button to the toolbar.
The following should occur when the user clicks the button:
1.Take a snapshot of the screen (i.e. Print Screen), and save the snapshot as a .GIF or .JPG file. Another option will be to take a...
Hi all,
I use a ComboBox in my VB.Net 2005 application. I allow the users to add items to this ComboBox by entering an items name in a TextBox they then press a button and the item is added to the ComboBox.
Now they want to be able to remove an item from the ComboBox if they mistakenly add...
Hi all,
I am using the following code in my VB.Net 2005 application to get data into a DataSet and then load a combobox:
Public Sub GetSubType(ByVal cbo As ComboBox, ByVal intX As Integer)
Dim SQLConn As New SqlClient.SqlConnection
SQLConn = New SqlClient.SqlConnection...
Hi all,
I have a toolstip control in my VB2005 application. I have added a textbox to the toolstrip. I want the user's to be able to tab into this textbox when they tab through the various controls in the form. How can I do this?
Thanks in advance,
RotorTorque :-)
Hi all,
What are the benefits of using n-tier architecture? I know it helps with code readability and makes code easier to follow, Especially if you are an Old School programmer. But, as far as improving an application's performance, does it help it?
The reason why I bring this up is...
Hi all,
I have been asked to write a Help Desk type application in VB.Net 2005. My supervisor likes using bound controls, but I am a bit Old School and was taught to avoided using bound controls at all costs. Am I right in avoiding bound controls? Have bound controls been improved in VB2005...
Hi all,
I have done most of my programming VB6 and VB.NET with SQL 2000 Databases. I am now working for a company that uses SQL Server 2005.
I am used to writing Stored Procedures and querying those Stored Procedures from my applications. I can't seem to find a way to add Stored Procedures...
Hi all,
I have a VB2005 application where I use a DataGridView control that includes a ComboBox column. When I click on a column header to change the sorting of the DataGridView control, the ComboBox column rows lose their values.
How can I keep this from happening?
Thanks in advance...
Hi all,
I use string variables in my VB2005 code that combines both the vendor number and name as follows:
VENDOR
123 - Paul's Lumber
456 - Jake's Auto Detailing
How could I make this into two separate variables? for example:
VENDOR NO. VENDOR NAME
123 Paul's Lumber
456...
Hi all,
I have a VB2005 application. In my app. I have a form with hundreds of lines of code. To make it easy to edit I have divided the code into various regions.
For example"
<CODE>
#REGION "SAVE"
Public Sub Save() Implements TargetLogistics.IForm.Save
Try
Call...
Hi all,
I have a VB.NET 2005. I need to know how to Round Up to the nearest whole number, for example:
125.11 should round up to 126
also
125.98 should round up to 126
How can I accomplish this?
Thanks in advance,
RotorTorque :-)
Hi all,
I have a VB2005 application in which I calculate multiple dollar values. To accurately calculate these values I round them using 3 decimal values like in the following example:
125.149
But I want to display the value using only 2 decimal places like this:
125.14
How can I accomplish...
Hi all,
I have a VB2005 application in which I use a DataGridView cotrol. The DataGridView control's size is static, but the number of columns in the DataGridView varies depending on the query i use to populate the control. There are times when there are too few columns to take up the entire...
Hi all,
Windows Live Messenger Login screen appears when I login to my computer. It just started appearing 2 days ago. Could people view my screen via this program? If so, how can I remove it? I tried removing it using Add/Remove Programs yesterday but when I logged in this morning, there it...
Hi all,
I have a VB2005 application that incorporates email functionality. I have an email form with a "To:" button that when clicked displays the user's Address Book. I was able to this using the following .dll: (Interop.NKTWABLib.dll)
This works great because all of our test user's have...
Hi all,
I have a VB2005 app that uses a multiline textbox. I want the first line in the textbox to be hardcoded and give the user's the ability to edit all other lines. The user's should not be able to delete or modify this first line. How can I acccomplish this?
Thanks in advance...
Hi all,
I have a VB2005 app in which I use a DataGridView control. One of the columns in my DataGridView is a button column. When the button is clicked a pop-up window is diplayed. When this pop-up window is closed I would like focus to go back to the row from where the button was clicked...
Hi all,
I have a DataGridView control in my VB2005 application. The DataGridView has 7 columns, of which only 2 are used to enter data. Is there a way to prevent the user from setting focus to the unused columns when they hit the TAB key?
Thanks in advance,
RotorTorque :-)
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.