1) Can you declare a bunch of variables in something like a Private Sub VARs...End Sub routine so that you can perform a Call on those Variables? I know you can't do it that way but is there a...
Below I've added the portion of the code where I'm having the problem. Remind you, this application was working. The only changes we've had are changing some of the Datatypes in the tables fro...
I have a stored procedure that contains a paramteter of type nvarchar(max). What is the syntax to pass this parameter to the sp from a VB.Net application. Specifically, I need to know what t...
Hello
how can I intercept WM_Quit and other messages in VB.NET?
Thanks
Sven
Hi
I have a many to many relationship and the tables involved are:
tblItems
tblAdditionalItems
tblItemsAdditionalItems
I populate the tblItems and tblAdditionalItems though my windows f...
I need to reference the value of boundfileld in a gridview. I can get the value of string fields using
test = GridView1.Rows(i).Cells(0).Text
but the boundfield is an integer. The foreme...
I would like to store a path on a folder in my custom file where the application will save some files dynamically. This path can be changed by end user whenever required. How can I do this? Is...
I want to create an MMC Property page in windows media services.The source code for creating a property page in MMC provided by Microsoft is written in visual c++ using ATL.I dont want to use...
Hello Experts,
I have a problem with the VB.Net 2005 timer that I hope someone can help me with. Start a new VB project and place a timer in the component tray. Leave the interval at defaul...
I am trying to figure out how to allow the user to resize the columns of a datagridview. I changed the properties of the datagridview to AllowUserToResizeColumns = True, yet it still won't let...
I have a Web Browser control on a form in VB6. I'm using it to display images stored in a database. The Web Browser control is not very wide on the form due to a treeview control on the left...
Hi i have the following code which displays the image in the picturebox and updates the text entries in the db but dousnt upload the picture to the db please help!
Private Sub Button3_Click(B...
I'm sorry but this is probably a really silly one. How can I put the results of a query into a string? So if I want a merged cell to read "(x)% of all student receive aid" where (x) is the res...
I've always dreaded the day when I would have to make a program that connects to a database - looks like today's the day :)
I'm using VB.NET 2005 Express to connect to an Access 2003 forma...
Hi,
I'm trying to find out how you install ms sql server 205 express as part of the installation in visual studio 2005
Many Thanks
Lee
Hi All,
Im doing some thing in a intranet and that has different servers with different information and one of that servers has information in mysql. This will be working with several user...
How do I set a GUID to NULL? When I try, I get an error saying Can't convert type System.DBNull to System.GUID.
Also, we can't use Nullable(of GUID) types.
Thanks!
We have a COM code written in a proprietory language that's similar to VB4.
I registered the dll. Created a new instance, call it's method with the parameters but I get this error:
An e...
I have the following call in VB.net (VS2005)
Win32Api.PostMessage(HWnd, 258, CType(key, IntPtr), IntPtr.Zero)
this is a send key call (message 258): How do I caste the key (a character) ...
Hi all,
I have a form onto which I've dragged a datatable from a typed datasource. I've then dragged several child datatables onto the same form so I can now successfully retrieve all recor...
I am creating three calendars using buttons (to be able to color and change backgrounds for particular days) and have done so creating them dynamically.
For y = 0 to 2
For row = 0 To 5
...
I have a datable where rows are updated, inserted, updated, inserted and so on. I have an update command and an insert command for the adapter. The way it updates the database is that it runs ...
I'm having trouble with a piece of VB.NET code having to pertain to setting permissions on a folder I've created. I've seen this code a bunch of other places in the same format, but it just do...
Guys,
I have a datagrid bound to a dataset that I use to display amend information from an MSSQL database.
I want to suppress all 'NULL' values in a datagrid and instead simply display ...
Hi,
How to convert this vb6.0 to vb.net
Public Sub MoveMapping(CurrForm As Form, MoveType As String)
'--------------------------------------------------------------------------------
'Pre...