|
you are rotating the image in "pb" but not placing back in "DADLV1"
so "DADLV1" is still having the unrotated image.
Regards
KP
|
|
|
|
|
It still doesn't work.
Maybe I'm trying to rotate the wrong thing
Regards,
Diego F.
|
|
|
|
|
I could do it with that code:
Dim indice As Integer = DADLV1.SelectedItems(0).ImageIndex
Dim im As System.Drawing.Image = ImageList1.Images(indice)
im.RotateFlip(RotateFlipType.Rotate90FlipNone)
ImageList1.Images(indice) = im
DADLV1.Refresh()
But now the problem is that images have different vertical and horizontal size and the rotation just work in a perfect square as I see, so it doesn't rotate the whole image.
Regards,
Diego F.
|
|
|
|
|
I still keep trying.
Must all images in a listview have the same size? My images have the proportions of a standard document and I would like rotated images look landscape instead of vertical. I don't know if that's possible.
Other solution is to assign square size to all images, but then images adapt the new size and the proportions are wrong.
Regards,
Diego F.
|
|
|
|
|
hi..
how to create a .exe file in vb.net
its very urgent
thanks & regards
|
|
|
|
|
from menu bar
Build -> Build Solution
Regards
KP
|
|
|
|
|
Press F5 or CTRL-B. Or, choose the option to build from the Build menu.
If you're asking this question, I can only recommend that you buy a book and work through it, before asking any more.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
what i can help u is that go to the Solution explorer and choose ur project->Right click on it->then Build Solution
The .exe file will be in ur project location folder in BIN exactly
Try And tell me
ok
job
|
|
|
|
|
hello,
I have a question: How can i let my program respond if it is not active, for example when i play a game? I like to let it respond when the PrintScreen (SysRq) button is pressed when i am in-game.
Thanks in regard, Zaegra
--Zaegra--
|
|
|
|
|
You need a system wide hook to catch the event you're looking for, and activate your program.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Yes, a program that watches the keyboard across the whole system. If you search CP, you'll find articles on it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Friends,
I am getting the exception on this line
ballot = CType(Context.Handler, ballotpaper)
Invalid Exception code was unhandled by user code
unable to cast object of type 'ASP.electionvote_aspx' to type netvoting.ballotpaper
I posted my code here:
Dim ballot As ballotpaper
Dim str As String
Dim ecode, bcode, empid, voterid, sql1, sql2, elcode1, dt As String
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not Page.IsPostBack Then
ballot = CType(Context.Handler, ballotpaper)
str = ballot.radiostate
'*****************************
***************************
If Application("CON").STATE = 1 Then Application("CON").CLOSE()
Application("CON").OPEN()
Can any guide me to come out from this exception?
Thanks in Advance
|
|
|
|
|
Eswar4u wrote: ballot = CType(Context.Handler, ballotpaper)
Context.Handler is the web page, electionvote.aspx. It cannot be cast to type ballotpaper.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
And people wonder why there seems to be so much electoral fraud when it comes to electronic voting...
|
|
|
|
|
Hi Christian Graus,
Thank you for ur response. I am strange to this type of coding. actually we are working on updations. For each page the code is in the same way. I am not facing problem in any other page. Only in this page I am facing this exception. Can u explain how to proceed to come out from this exception?
Thanks in Advance,
|
|
|
|
|
Eswar4u wrote: Can u explain how to proceed to come out from this exception?
Not really. I have no idea why you think you can cast between these objects, or what you're trying to do, I just know that it's fundamentally broken, the cast is not valid.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Iam working in Visual Basic not in VB.NET
I want to create Windows like DLL. I mean "Shell32.dll" like that. In ActiveX Dll we simply add the Reference it in our project. But i dont want like that.
We are accessing "Shell32.dll" in Windows Directory know. like that i want.
I saw this link already
http://www.windowsdevcenter.com/pub/a/windows/2005/04/26/create_dll.html?page=1[^]
But I dont understand. They aren't said which type of project is to open for create a dll
Please give me a idea to do this...
-- modified at 1:40 Wednesday 11th April, 2007
Thanks & Regards
Kumaran
|
|
|
|
|
The dlls in windows are written in C and C++. You can create managed dlls by creating a class library project, but they won't be exactly the same as a Windows dll.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
VB6 can only create a COM-based .DLL. It doesn't support creating a function library .DLL that you're talking about.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
I have a arraylist which contains a lot of strings splitted on a delimiter
Dim arrTemp as ArrayList
Dim strRule as string
arrTemp.add(strRule.Split(New [Char]() {"{"}))
Now i want to retrieve the strings from the arraylists to do some other operations.
How to do it..
Please help me out
|
|
|
|
|
Dim arrTemp As ArrayList = New ArrayList()
Dim strRule As String = "1{2{3{4"
arrTemp.Add(strRule.Split(New [Char]() {"{"}))
Dim resultout As String() = arrTemp.Item(0)
System.Console.WriteLine(resultout(0))
Most any loop will work to get through the arrays. Kind of an odd delimiter but it works. Can I suggest you also look at the Regex split also if you want to expand you options.
|
|
|
|
|
|
You can use for each or array notation to get objects out of an arraylist. If you're using VB.NET 2.0, do not use arraylist, use the generic versions instead.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sir/Madam,
I wanted to know something about the registry.As the executiable files of the machine resides into the registry.
Now My Question is , eg there is Yahoo Messanger installed on my machine.
What keysin the registry allows the user to open the yahoo messanger.I mean , Administrator can prevent the user to stop openning a particular exe.
Likewise what are the keys involved in the registry that prevent the user to stop openning the yahoo messenger.
Thanks and Regards
Pankaj Garg
|
|
|
|