I read in an array of bytes off the network. I need to be able to split it into an array of strings. This works fine when using system.text.encoding.ASCII, except that some of the characters a...
Is there a correspondence syntax for BREAK and CONTINUE in VB.net?
I'm just beginning with .NET, obviously, and can't find what must be very simple..... Checking if a file exists. I don't know what namespace I need open and I can't figure out what function w...
Hi all!
I need to develop an VB.NET app that will make a POST request to an WEB Server.
Actualy, i have an ASP Script as an example of how could i be this post to my web server. The ASP co...
Hi ,
I am pretty new to this.
I have a SQL Server stored (called SP_OESS_Get_Client_Demographics) procedure that accepts following inputs:
@clientid varchar(10),
@firstname varchar(20...
Hi All,
I need to specify a folder and loop through all the subfolders and files in those and list them.
I am using vb/net (2005).
What happened to the InStr Function in VB.NET? There is no starting position for the function. My question is how would I find the 2nd, 3rd etc. ocurrence in a string. Thanks for the help.
...
I have a vb.net 2005 program using .net framework 2.0 management classes, which loops through every computer on the local LAN and pulls back some WMI information.
When I run it from one par...
How do you refresh a DataGridView with the current contents of the database after you do an UPDATE?
Private Sub btnUpdatePosition_Click(ByVal sender As System.Object, ByVal e As System.Ev...
Hi, please I would like some help in a little problem ... I have a datagrid binded to a dataset, and there are fields in this grid that are foreign keys from other tables, so I would like to b...
I'm using the DataGridView in VB.Net 2005 and I would like to know how to add/remove a row while the program is running (ie, not data bound). Could you please help me with this?
Greetings,
I am trying to write an application where I can keep track of the time worked during the day. Say I entered in 7:03am and finished at 12:21pm and then back 1:21pm and finished fo...
This is a deployment question in regards to deploying a VB.Net App that uses the Microsoft.Office.Interop.Excel Assembly. I can build in both release and debug and get the following message:
...
Hello.
I am using VB.NET 2005.
I set up a dataadapter with an InsertCommand, UpdateCommand and DeleteCommand.
I have a datagridview on the form.
The datagridview has 6 columns.
An ID c...
Hi,
A question regarding an Database query, using VB.net.
I would like to query a database to get the names and telephone numbers from the database using as a reference either an array or...
Hi,
I have an application that allows the users to enter a date through a date picker. The date goes into the textbox as mm/dd/yyyy. I then run an INSERT. In the table I have the field set ...
Hello,
I have a textbox on my web page that is basically meant for comments/notes, but it gets updated to a DB2 database table/column defined as CHAR. If the user happens to enter a ' " or...
Hi Experts,
I'm currently writing a VB.Net 2005 application on the Dot Net Framework 2.0. I have a Dataview with about 800 records that I use to poulate a treeview with. Each record in th...
Is there anyway to read an OPEN excel file into a datatable (readonly is ok)
How do you change the font for the Rich Text Box?
Can you do an example where the code adds 3 lines of text, one regular, on bold, and one italic to a rich text box?
Thank you,
Crazy_...
I have a DataTable object containing data read from a XML file (that I cannot modify).
I have to filter on a field and sort on another one. The Select method let us do that but...
Those ...
Hello Experts:
I know this question has probably been asked a gazillion times, but I can't seem to find an excellent resource to do this.
I'm wanted to create a class module that can be ...
Okay, I was back in VB6 again for so long, that I completely forget how to do Left and Right in VB.NET. Not by importing the VisualBasic namespace, but the "true" VB.NET way. It's irritating t...
hi
I need to save data from datatable in dataset to excel
for example
dataset (ds) with one table (Table1). two columns in table1 - column1, column2 and 1000 rows
how to write it to excel...
I have a date string which I want to format. Or even replace some charactors within it. It is currently 01.06.06. I have tried:
Date = Format(Date, "dd/MM/yyyy") - but this doesnt seem to do...