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 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...
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 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...
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).
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,
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 ,
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 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...
Is there a correspondence syntax for BREAK and CONTINUE in VB.net?
Hi,
My string will be in the format of 19.59.I want to convert it into integer so that,i need to insert it in a database field which is Numeric type.
I tried doing val(str)
but it is maki...
I have the following script which is using 'Select Case':
Dim ctl As ToolStripButton = CType(sender, ToolStripButton)
Dim MoveUp As Boolean = False
Dim thisLV As L...
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...
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 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,
I am trying to Format my date
but i am getting error;;
Dim mydate As Date = Format(cmbScheduleDate.Text, "MM/dd/yyyy")
cmbScheduleDate.Text Value is 05/30/2007 10:00 AM
I am get...
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...
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...
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:
...
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...
Hey,
Can someone tell me how I can use the progress bar thingy? I have a search that runs that takes a while. While this is running is it possible to have the progress bar ticking over?
Thanks
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...
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...