I have a database containing 1.8 million records, in the tableadapter configuration wizard I set the SELECT to return no records in order to speed up the opening of the application. Once in th...
I have a listbox with items in it, when the users selects one and hits the 'Edit' button the item(text) goes to a textbox where they can edit it & the item is removed from the listbox - then h...
I need to use a few windows api calls that require an hWnd, unfortunately (for me) Visual Studio 2008 VB no longer has an hWnd or handle for the form.
Can anyone provide me with the code...
Hi Experts,
I have created a custom dialog in VB.NET. Can anyone give me a working example of how I can cut, copy & paste files (both ways) between my dialog and the Windows Explorer.
Th...
Hi,
I am trying to merge a couple of files in a directory using office automation. The fastest way I have found is using the Word Macro below:
The users want to be able to sort the files...
I have a form with a DataGridView on it that is populated via a DataSet. The problem is that the TableAdapter uses a select statement that involves 2 tables that are joined. I would like to ...
I have a select on the data.selectcomand.commandtext = "This is where I dynamically change what table I am selecting on"
How do I update the dataset to reflect the structure that I am selec...
I have a table with six columns which is bound to a DataGridView. The first column is ComputerID which is the unique autoincrement column for the row, int64. Obviously not a column to display ...
Yes I want to update my check box but I want this to happen programatically.
Will i have to make changes to my stored procedure or my code to pass the primary key value.
Example
UPDATE...
I have a XML-doc with the following tag
<main:EncodedDocument agencyID="5798000016408">xxxxxxxxxxxxxxxxx</main:EncodedDocument>
How can I grab the data of this tag, and write it down in ...
Hi experts:
I have three forms.
While hopping from this form to the other, there is no form on the screen even though I did not close any.
I thought it disappeared. Later found that t...
Dear experts:
I created a nice simple form. I would like to duplicate the form to create other forms with very similar layout.
How to do this?
Thanks as always!
This is my first windows service and I have been reading a lot about them from different sources and I have combined some of the items I have gathered along the way. I am sure that the only t...
I am having a problem with the detail section continuing over multiple pages instead of ending on each page. When it does this the detail line doesn't show up on each page. I put a line in the...
I have a richtextbox control on a form. If a user presses enter on the richtextbox I want to send a shift+enter instead. Problem with my code is it goes into an infinate loop.
Hi,
I am runing a SWQL2005 sp from vb.net. An i am getting the following error
"String[1]: the Size property has an invalid size of 0." when it gets to line
[sqlComm.ExecuteNonQuery()]
M...
Found this link re: Regular Expressions for UK Postcodes.
http://www.qwghlm.co.uk/blog/2005/09/08/a-better-postcode-regexp/
I need to generate random (yet valid) UK postcodes to test my ...
I've seen some posts advocating the use of the ItemClicked event for a ContextMenuStrip
Like this....
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_224343...
Hei!
Need a function in vb.net, that return a date(Now) + example 45 days ahed.
If todays date is 04.08.2008, and i want to know the date 3 days from 04.08.2008
The function returns - 0...
I am using visual basic 2008 and am trying to read a text file into a record array (or structure) and having trouble doing this. I haven't programmed in quite a while, but don't remember this...
Hey experts,
I want to get my mails and then read the content of them .
The problem is to read the content....
I want to get the content (like a msgbox or something else) of a mail if I cli...
Visual Basic.Net 2008
I have been trying to make a new project and reuse some forms and code from another project that I have done that works. First thing though in the new project I get this...
Hi,
How to save data which is a datetime field without "00:00:00".
I do it with below code:
Dim dteTglSetor As Date = Format(dtpTglSetor.Value, "yyyy/MM/dd")
c...
I have a datagridview with columns (Accepted, Exist_Acc, Type) that are assigned at design time. When I populate my grid at runtime, I want to refer to the cells my column name not index numb...
I'm trying to convert a gif to bmp (or jpg) using asp.net vb code-behind. I just figured out that my crystal reports won't use gifs dynamically... and my signature pad saves as gif and cant b...