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...
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...
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...
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 want to get the value from the first cell (i.e. index 0) in the selected row of a DataGridView. The code Im using at the moment is:
dgvCurrentJobs.CurrentRow.Cells(0).Value.ToStrin...
How do delay(sleep) in VB.NET?
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.
...
Is there a correspondence syntax for BREAK and CONTINUE in VB.net?
I'm new to VB.net and for months I have been searching for a way to get the value of a datagridview cell using the ColumnName and the Row. I have been told on this site and several others eit...
I would like to delete a row from a datagridview using a button in the row.
I can delete the row in the datagridview using the attached snippet, but this doesn't delete the record in the ...
I have a treeview control with checkboxes that I need to get the unique identifier value of all checked nodes on a button click. I dont need the control to update until the user actually clic...
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:
...
I'm using a sql select in VB 2005 to retrieve a DateTime field from a SQL Database.
The value comes back like this in Query Analyzer:
2007-02-21 20:24:40.983
Is there a compatible dat...
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...
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...
I have included DataFormatString formatting on some columns in a GridView.
These string are able to be setup by the end user but i'm having trouble finding a good list of examples i can inc...
Hello!
I'm programming an application that uses a library/DLL. The error occures at the function of the DLL-File.
When I compile the Project in VB.NET at my computer it still works... Wh...
Hi,
I am using VS2005 and coding in VB. I want to get the value of a datatable row, first row, column called option1. I dont know how to get it... :( Any ideas, code below of what im trying...
Hi Experts,
I'm sorry I thought I had this sorted but when I came to put all the snipets of code together that I received from other questions it went badly wrong so I really need to go fro...
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?
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
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...
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...