I'm searching tor what seems to be the Holy Grail on WIndows Forms Development. How to capture key strokes duing user entry & editing in a DataGridVIew. I have been searching for this for al...
I'm using Visual Studio 2005 and Sql Server 2000 and my datagridview is timing out after 30 seconds.
My visual basic code is :
"Me.WDM_sp_GetCashReceitsTableAdapter.Fill(Me.GPDataSet.WDM...
I'm attempting to read a couple of Active Directory field values (fields are distinguishedName & Description) using the Microsoft.Visual Basic Class. However, I had two sets of code I merged (...
I am using the attached code to remove datarows from on datatable that match datarows in another datatable. The problem is that the row count for that datatable doesn't change and once the la...
I am trying to load data from an Excel spreadsheet into a SQL Server 2005 table using VB.Net. This is the code I am using:
Dim cn As New ADODB.Connection
Dim strSQL As String
...
Hi all,
I am developing an outlook addin in vb.net using VSTO. I am trying to retrieve information from an email and I can do everything fine except retrieving email addresses. I can easil...
How do I reference a text box that is in a GridView EditItem Template from code behind? I tried the code in snippet, but it returns "Nothing" (gvShiftTimes is my GridView ID and txtEditTimeIn...
I'm creating a console application that uses streamwrite to write to a command window and the stream reader that reads the result. from what I've gathered in looking through the web, the prob...
Hi,
I have a website that is created using notepad and classic asp. I have imported it into vb.net 2005 to make some changes to it. When I press the play button to show the page in internet...
I want to populate combobox2 based on what is in combobox1. I have an XML file storing the information including Course and Tees. I want to select the course from combobox1 and only have the T...
My application creates a notification icon with a context menu and I want some way of adding menu items (for links to websites) at runtime from a library stored, say in the registry.
e.g. R...
My stored procedure will retrun some values from database and i will fill a dataset dsResult using a dataadaptor
my dataset dsResult.tables(0) look like this
PartNoID Name Curren...
I have created a webpage using VS 2005. I have placed the aspx file on the web server. I am having trouble viewing the webpage by typing in the path "http://..." I have placed the website in...
I have a VB.NET application (2008), in which the app starts with Sub main.
I handle command-line arguments and if there are any it runs showing on the console window. IF there aren't any, it...
Does anyone know how to use the Find object available in Visual Studio .NET 2008 Pro? I'm trying to write some code to search through an Excel worksheet and there doesn't appear to be any doc...
hi experts,
How do i convert a string into array?
For example
string =" Hello world" convert to
array (0) = H
array (1) = e
array(2) = l
array (3) = l
array(4) = o
...
vice v...
I have a table with a several unique numbers per product type that I want to use to autogenerate the ID for a second table. Every time the unique number is used, I will increment it. But I w...
I have a file path, printer name and qty. How do i send that file to the specified printer in vb.net
for example
c:\test.txt
\\shared\printername
Thanks
I have a vb.net program that stores server names in a text file. The user can add a server to this file via the program. I would like the user to have the ability to also remove them but I'm n...
Hi Experts,
How can I capture the "tab" and "enter" keys in the datagridview, when the cell is in editing mode?
It's quite easy to do it when the cell is not, (Private Sub dgvSpecials_Key...
I'm trying to put a connection string in a web.config and I can't seem to get it right. Trial and error is not helping me. I'm getting mostly "error". The problem is I've seen so many diff...
I'm looping through a CSV file, running some data checks then using WriteLine to write the data in my variables out to a new file. One of the variables needs to be written without quotes. I ...
Hello
I have a sotered procedure with Optional Parameters that has default value NULL, Constructed SQL as shown below
Create PROCEDURE [dbo].[QueryREPJvs]
@Doc_Cd nvarchar(40)= N...
Hi,
I have an application which executes script.
The richtextbox is loaded with script.
The requirement is that the script statements scroll as the queries in the script are executed .
So,...
I have a VB.NET (2005) form that I dragged MenuStrip1 onto. I added a few menu items in design-mode and it works fine. Now I need to be able to change the menu items with code for translation ...