472,345 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Issue in Listview control..

Hi

I had a project in VB6 which I upgraded to VB.NET recently.

In the app, I am facing some issue with listview control. In the earlier
app, I have set the Icons in listview through an imagelist.

but i notice that while i execute the project in .net, the step that sets
the icon prop. throws an exception.

Please suggest. Do I need to do anything else?

Any help is greatly appreciated.

Regards.



We are migrating our project from Vb6.0 to Vb.Net . We were using the

listview control in VB6 ( Class name - AxListview).

After migration, the system throws an exception while trying to set the

Icons property to the listview. The icons property of the listview control

was set using an imagelist in VB 6, which is not working in .NET.
Nov 20 '05 #1
4 2155
Cor
Hi Ira,

Without code it is absolutly impossible to give an answer on your question,
so add some code where you fill your listview.

Cor
I had a project in VB6 which I upgraded to VB.NET recently.

In the app, I am facing some issue with listview control. In the earlier
app, I have set the Icons in listview through an imagelist.

but i notice that while i execute the project in .net, the step that sets
the icon prop. throws an exception.

Nov 20 '05 #2
Thanks Cor.
I would get back to you in a while.
Please help me here!!!!!!!
Regards.

"Cor" <no*@non.com> wrote in message
news:OA**************@TK2MSFTNGP11.phx.gbl...
Hi Ira,

Without code it is absolutly impossible to give an answer on your question, so add some code where you fill your listview.

Cor
I had a project in VB6 which I upgraded to VB.NET recently.

In the app, I am facing some issue with listview control. In the earlier
app, I have set the Icons in listview through an imagelist.

but i notice that while i execute the project in .net, the step that sets the icon prop. throws an exception.


Nov 20 '05 #3
* "Ira Siyal" <no*@noreply.com> scripsit:
I had a project in VB6 which I upgraded to VB.NET recently.

In the app, I am facing some issue with listview control. In the earlier
app, I have set the Icons in listview through an imagelist.

but i notice that while i execute the project in .net, the step that sets
the icon prop. throws an exception.

Please suggest. Do I need to do anything else?


Why not upgrade to .NET's ListView and ImageList controls?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Are you calling Application.EnableVisualStyles() during the startup of your
application? If so, try disabling this first and see if the problem still
exists. I have had this problem in the past; there are still problems with
the implementation of EnableVisualStyles in conjunction with ImageLists that
will hopefully be fixed in Whidbey.
"Ira Siyal" <no*@noreply.com> wrote in message
news:ec*************@TK2MSFTNGP12.phx.gbl...
Hi

I had a project in VB6 which I upgraded to VB.NET recently.

In the app, I am facing some issue with listview control. In the earlier
app, I have set the Icons in listview through an imagelist.

but i notice that while i execute the project in .net, the step that sets
the icon prop. throws an exception.

Please suggest. Do I need to do anything else?

Any help is greatly appreciated.

Regards.



We are migrating our project from Vb6.0 to Vb.Net . We were using the

listview control in VB6 ( Class name - AxListview).

After migration, the system throws an exception while trying to set the

Icons property to the listview. The icons property of the listview control

was set using an imagelist in VB 6, which is not working in .NET.

Nov 20 '05 #5

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

Similar topics

1
by: Welie | last post by:
Hi all- I am using a listview (MSComctlLib.ListViewCtrl.2)on an Access form. Actually there are six listviews on the form. I need to do the same...
1
by: Buddy | last post by:
Hello, Does anyone know how I can tell the ListView NOT to display the three dots when it thinks the text will not fit in the column. E.g....
2
by: Ken | last post by:
Hi all, Please help! I'm attempting to apply tooltips to each individual item in VB.Net's Listview control. In VB6 it was easy - you just did...
10
by: Vinay | last post by:
Hi, Is there a limit on maximum number of columns in listview control ? I am finding: In a listview control (Report Format) I am displaying a...
0
by: Mike Barrett | last post by:
I have a strange one here and I believe it is a bug. I googled it and saw others having a similar issue and nobody seems to have a fix. I will take...
7
by: BobAchgill | last post by:
I am trying to decide which of these controls to use to implement letting my user select a full row from MyList. The MyList has several columns...
3
by: Michael.Suarez | last post by:
Is it me, or does it seem like they put no effort into creating the listview control in .Net. listview. A few gripes I have with .Net listview...
12
by: garyusenet | last post by:
I have had no replies to my previous post so perhaps I didn't write it good enough. Please excuse new thread but i wanted to break from the last...
4
by: Brian Gaze | last post by:
I have created a ListView control and have bound this to a datasource. Within the ItemTemplate of the ListView I have added another ListViewControl...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

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.