473,388 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

scorpion53061

What did you do email everyone off list and ask them not
to help me?

I asked for assistance in another thread (Straighten Out
This Mess) and no one helped me.

Look I apologize. I need to learn this but I want to
copy /paste it so I can make it work.

First off how are r and rows different in the sample?

The rest of you dont bother responding if you don't want
to help.

This group is supposed to help........
Nov 20 '05 #1
14 1141
* "IAmIronMan" <an*******@discussions.microsoft.com> scripsit:
[...]

?!?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
"IAmIronMan" <an*******@discussions.microsoft.com> schrieb
What did you do email everyone off list and ask them not
to help me?

I asked for assistance in another thread (Straighten Out
This Mess) and no one helped me.

Look I apologize. I need to learn this but I want to
copy /paste it so I can make it work.

First off how are r and rows different in the sample?

The rest of you dont bother responding if you don't want
to help.

This group is supposed to help........


???

Do you have a VB.NET question?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
This person scorpion53061 wrote a code sample at
http://www.kjmsolutions.com/datasetarray.htm

in which he did not explain it well.

All I am asking for is for him to write in a way that I
can copy and paste it into my project without the stupid
blue comments. I have never seen as poor a how to article.

I need to know how to do something like this but he got
real long winded for nothing.

I dont understand the differece between 'r' and 'rows'

This group is suppose to help.

Scorpion, stop hiding and face me. I am just trying to
understand what you wrote.

If you need more information than that see the threads
entitled:

Straighten This Out....

and

Giving Back(Thank You)
-----Original Message-----
"IAmIronMan" <an*******@discussions.microsoft.com>

schrieb
What did you do email everyone off list and ask them not to help me?

I asked for assistance in another thread (Straighten Out This Mess) and no one helped me.

Look I apologize. I need to learn this but I want to
copy /paste it so I can make it work.

First off how are r and rows different in the sample?

The rest of you dont bother responding if you don't want to help.

This group is supposed to help........


???

Do you have a VB.NET question?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #4
"IAmIronMan" <an*******@discussions.microsoft.com> schrieb
This person scorpion53061 wrote a code sample at
http://www.kjmsolutions.com/datasetarray.htm

in which he did not explain it well.
[.....]

Why not answer in the other thread? Nobody knows what you were referring to.
If you want to write a single person, ask him if you can write him an email.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5
Cor
Armin,

I think better is if nobody feeds this, it is in other newsgroups also.
And I was sure you would not do that

:-))

Cor
Nov 20 '05 #6
Because no one will answer me.........scorpion emailed
everyone telling them not to help me.

He (acting like a she) isn't responding to my posts.
Emailing him is out because his spam filter is rejecting
me.

I just need a little help here with this. Just paste the
code here what he wrote without all the other stuff on
there. When I do that I get errors all over the place.
-----Original Message-----
"IAmIronMan" <an*******@discussions.microsoft.com> schrieb
This person scorpion53061 wrote a code sample at
http://www.kjmsolutions.com/datasetarray.htm

in which he did not explain it well.
[.....]

Why not answer in the other thread? Nobody knows what

you were referring to.If you want to write a single person, ask him if you can write him an email.

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #7
Look just paste the code like it should be.....

Then I will leave it be.

Cor, get off my case. I am just trying to get him to
answer me as I need this code to work.

I think scorpion does not know the answer and he copied
and pasted hte code from someone else. That is why he is
not answering.
-----Original Message-----
Armin,

I think better is if nobody feeds this, it is in other newsgroups also.And I was sure you would not do that

:-))

Cor
.

Nov 20 '05 #8
At the risk of feeding the trolls, go away! Your mad at scorp b/c he won't
take the comment lines out of his instructional web page so you can do a
direct copy and paste? And you have the Gaul to accuse him of stealing
code? He contributes a lot to the vb.net group and properly cites his
sources for his code. YOu on the other hand complain b/c you are too lazy
to simply remove his comments which he put there to help out the exact type
of people that you claim to be a part of.

As is clearly evident to anyone active in that group, he doesn't answer your
questions because you berate him...Who would answer your question after you
write stuff like this? And are so lazy and unprofessional that you ARE MAD
THAT YOU CAN'T DIRECTLY COPY AND PASTE SOMEONE ELSE'S CODE!

And this makes him a thief?
"IAmIronMan" <an*******@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl...
What did you do email everyone off list and ask them not
to help me?

I asked for assistance in another thread (Straighten Out
This Mess) and no one helped me.

Look I apologize. I need to learn this but I want to
copy /paste it so I can make it work.

First off how are r and rows different in the sample?

The rest of you dont bother responding if you don't want
to help.

This group is supposed to help........

Nov 20 '05 #9
Because you are a jerk
"IAmIronMan" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Look just paste the code like it should be.....

Then I will leave it be.

Cor, get off my case. I am just trying to get him to
answer me as I need this code to work.

I think scorpion does not know the answer and he copied
and pasted hte code from someone else. That is why he is
not answering.
-----Original Message-----
Armin,

I think better is if nobody feeds this, it is in other

newsgroups also.
And I was sure you would not do that

:-))

Cor
.

Nov 20 '05 #10
Try this:

'-- Put this at the top
Imports Office = Microsoft.Office.Core
Imports Excel = Microsoft.Office.Interop.Excel

Private Sub CreateSpreadSheetFromDataSet()
Dim Excel As New Excel.Application
Dim oBook As Excel.Workbook
Dim WSheet As New Excel.Worksheet

WSheet = Excel.Workbooks.Add.Worksheets.Add
Excel.Visible = True

Dim rows As Integer
Dim columns As Integer
Dim r As Integer
Dim c As Integer

Dim DataArray(rows, columns) As Object

For c = 0 To columns - 1
DataArray(r, c) = dstest.Tables(0).Columns.Item(c).ColumnName
For r = 0 To rows - 1
DataArray(r, c) = dstest.Tables(0).Rows(r).Item(c)
Next
Next

WSheet.Range("A2").Resize(rows, columns).Value = DataArray

Dim columns2 as Integer
Dim columns3 as Integer = 1

For columns2 = 0 To dstest.Tables(0).Columns.Count - 1

WSheet.Cells(1, columns3).Value =
dstest.Tables(0).Columns(columns2).ColumnName
columns3 = columns3 + 1

Next

End Sub

Private Function closeExcel() As Short
Dim count As Short = 0
Dim excelInstance As System.Diagnostics.Process
Dim excelInstances() As Process =
System.Diagnostics.Process.GetProcessesByName("Exc el")

For Each excelInstance In excelInstances
Try
excelInstance.Close() '<-- you can use close or kill .. up to you
excelInstance.Kill()
count += 1
Catch ex As Exception
End Try
Next

Return count

End Function

"IAmIronMan" <an*******@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl...
Because no one will answer me.........scorpion emailed
everyone telling them not to help me.

He (acting like a she) isn't responding to my posts.
Emailing him is out because his spam filter is rejecting
me.

I just need a little help here with this. Just paste the
code here what he wrote without all the other stuff on
there. When I do that I get errors all over the place.
-----Original Message-----
"IAmIronMan" <an*******@discussions.microsoft.com>

schrieb
This person scorpion53061 wrote a code sample at
http://www.kjmsolutions.com/datasetarray.htm

in which he did not explain it well.
[.....]

Why not answer in the other thread? Nobody knows what

you were referring to.
If you want to write a single person, ask him if you can

write him an email.


--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

.

Nov 20 '05 #11
"Cor" <no*@non.com> schrieb
Armin,

I think better is if nobody feeds this, it is in other newsgroups
also. And I was sure you would not do that

:-))

Cor


Cor, you are right. (really)
--
Armin

Nov 20 '05 #12
* "Cor" <no*@non.com> scripsit:
I think better is if nobody feeds this, it is in other newsgroups also.
And I was sure you would not do that


Full ACK.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #13
On Wed, 24 Dec 2003 05:02:17 -0800, "IAmIronMan"
<an*******@discussions.microsoft.com> wrote:
What did you do email everyone off list and ask them not
to help me?
This sounds like paranoia. I doubt anyone *could* do that.
I certainly never got an email!
I asked for assistance in another thread (Straighten Out
This Mess) and no one helped me.
I've asked for help, too, and not received an answer.
You can't blame people for not being able to help.
Look I apologize. I need to learn this but I want to
copy /paste it so I can make it work.
If you want to program, try understanding the code.
Copy/Paste coding is not programming. The web page you
referenced, with the example code, was well documented
and straight-forward. You really can't ask for more.
If you do, you should hire this person and pay them
for their extra time needed to deal with you.
First off how are r and rows different in the sample?
From even the most casual of glances, it seems pretty
obvious that "r" is a simple counter and "rows", as
the line near the top shows, is the total row count.
The "r" is used to LOOP over the range of numbers
from 0 to (rows-1).
The rest of you dont bother responding if you don't want
to help.
Hope this helps clarify the difference between "r" and "rows".
This group is supposed to help........


When it's possible, many do!

If you want to learn how to program in VB.NET, I suggest you
find a good beginners book like "Beginning VB.NET" by Wrox Press.
They will show you basic constructs like variables, FOR loops,
DO-WHILE loops, and all the basics you need to get started.

// CHRIS

Nov 20 '05 #14
I thought I had seen everything in life!!!

On Wed, 24 Dec 2003 05:02:17 -0800, "IAmIronMan"
<an*******@discussions.microsoft.com> wrote:
What did you do email everyone off list and ask them not
to help me?

I asked for assistance in another thread (Straighten Out
This Mess) and no one helped me.

Look I apologize. I need to learn this but I want to
copy /paste it so I can make it work.

First off how are r and rows different in the sample?

The rest of you dont bother responding if you don't want
to help.

This group is supposed to help........


Nov 20 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: IAmIronMan | last post by:
This individual is stealing other peoples code and claiming it as his own. The proof is when I asked him to explain his code he would not. For proof view these threads in dotnet.languages.vb ...
63
by: IAmIronMan | last post by:
This individual is stealing other peoples code and claiming it as his own. The proof is when I asked him to explain his code he would not. For proof view these threads in dotnet.languages.vb ...
16
by: IAmIronMan | last post by:
I apologize for being rude and not considerate of others here. Scorpion53061 please reply to let me know you forgive me. You claim to be a Christian so you should be willing to forgive me.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.