Private Sub btnRename_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRename.Click
Dim strNewPath, strOldPath As String
For intCOunt As Integer = 0 To .Rows.Count - 1
I am using the Rename function to rename and move files around, but it seems to be very inconsistant.
On the same set of files (just simple tiff files) I run the function and every so often it chokes with the following error message:
Procedure call or argument is not valid.
that won't do it
see the problem is that the files I am trying to open a scanned D-size drawings from Autocad and Solidworks. WHich means the files are huge in dimensions.
so resizing the picturebox won't help because I can't see enough detail on the drawing when it is autostretched. And I am...
I would like to include a preview window for TIFF images in my app. If all possible I would like to zoom in on certain details so I can read some infromation off of the image.
Does anybody know any way to do this?
tried in 2005
I have found out about cross-threading the hard way. I also have a beta of 2005 and it happend as you mentioned, I was warned about the issues when I tried to run my app. So I did "fix" the code. I does use callback functions between the datagrid refresh and the thread which...
Global visual basic code:
Dim tMain As New Thread(New ThreadStart(AddressOf MainProc))
Button Codevisual basic code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
konacno se razumijemo :D
Ja nikada nisam sa graphovima radio a dosadno mi bilo gledati standardni windows statusbar. Zato sam odlucio da naucim gdi+ malo i da vidim da li bi mogao to napraviti sto sa ti prije objasnio.
Nije ovo za fakultet. ja sam vec to zavrsio i sada radim u US...
we are from the same part of the world it is amazing that we don't understand each other.
I realize of course that sine is a math function. This function can be represented in a graph (looks like a wave starting at (0,0)) this is what I am refering to as the sine curve/graph...
sorry for the lack of detail:
basically this is what I would like to do:
using a for loop, on each iterration I would like to draw a point
at the end of the loop I have a whole bunch of points that together form a sine curve
since I am new to this if there are other approaches or ideas, they...
I use the following code to update an excel sheet:
Dim MyCommand As OleDb.OleDbDataAdapter
Dim MyConnection As OleDb.OleDbConnection
Dim DSExcel As DataSet
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Dim xlSheet As Excel.Worksheet
If File.Exists("C:\temp.xls") Then...
I am trying to update an excel sheet with the code below but I am not seing any results or any error messages. WHat am I doing wrong?
I have tried to go the simple route and use the Update method, but the InsertCommand syntax was not quite right. As you can see the sheet name is "log" but in the...