|
Hai,
i have created a shared assembly in .net and install into global assembly cache but my problem is that how we can use the shared assembly in our application. please tell me in details...
Deepak Garg
|
|
|
|
|
http://support.microsoft.com/default.aspx?scid=kb;en-us;306149
|
|
|
|
|
Hello everyone,
I was wondering if anyone out there might know how to compare an entire listview item and return the index if one of the items matches. i have tried:
<br />
Public Function FindItem(ByVal item As ListViewItem) As Integer<br />
Dim itm As ListViewItem<br />
For Each itm In Me.Items<br />
If itm.Equals(item) Then<br />
Return itm.Index<br />
Exit Function<br />
End If<br />
Next<br />
Return -1<br />
End Function<br />
<br />
AND <br />
<br />
Public Function FindItem(ByVal item As ListViewItem) As Integer<br />
Dim itm As ListViewItem<br />
For Each itm In Me.Items<br />
If itm.Text = item.text Then<br />
Return itm.Index<br />
Exit Function<br />
End If<br />
Next<br />
Return -1<br />
End Function<br />
The first one does not seem to work at all, and the second one works, but only checks the text value of the first column and does not seem to compare other column values of the listviewitem. Thank you
eatwork
|
|
|
|
|
eatwork wrote: the second one works, but only checks the text value of the first column and does not seem to compare other column values of the listviewitem
That's because you did not write the code in such a way that it compares the values of the sub-items. You'll need to iterate the SubItems collection of each ListViewItem, and compare their Text values.
Josh
|
|
|
|
|
Hi Josh,
Thanks for the reply, I was hoping there would be a better way to go about that, but I guess I will have to go through the subitems. Thanks
eatwork
|
|
|
|
|
Hi friends,
I want to track the message sent over the LAN and i want to update those message details to database, I am using RealPOpup(RealPopup homepage:
www.realpopup.it) for internal messaging.
i want to capture all the messages sent through this application in one centralized place.
this application it self having a option to store the all messages in Notepad format, but it is very difficult to annualize the details in text file, so it should be updated in to the database, is there any solution for my issue
Thanks
Rajasekaran.S
Software Engineed
|
|
|
|
|
Hi all,
Could anyone help me with Remoting materials or ebooks which would help me learn about Remoting..
Do not wait to strike till the iron is hot; but make it hot by striking.
-- modified at 7:38 Thursday 15th June, 2006
|
|
|
|
|
|
No i have not seen it..thanx for the information
Do not wait to strike till the iron is hot; but make it hot by striking.
|
|
|
|
|
Hi friends.
I have a little question and I dont know may be it's irrevelant.
I am a beginner , programming a .NET Compact Framework project.My question is about that little ok button on every form.How can I turn it to X mark? an if this is done what happens to DialogResult property of page.Currently it always return DialogResult.OK and I really need .Cancel or .Abort.
Kind Regards
|
|
|
|
|
In the click event for the button, set the desired DialogResult value and close the form.
---
b { font-weight: normal; }
|
|
|
|
|
This is driving me nuts!
I am writing my first C++ .NET application and all I want to do is load a bitmap resource. Normally I would do something like ::LoadImage(IDB_BITMAP), but it says it is not in the global namespace. I want to load it as an Image type, but Image only has method for loading from a file or via a windows handle.
The code should look something like the following:
pImage->FromResource(IDB_BITMAP);
OR
pImage = resources->GetObject(IDB_BITMAP);
This should be simple!
Thanks for any help,
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
Any one knows abt ADXStudio? If so please tell me where to find the
tutorials for that. I am struct in the middle.
|
|
|
|
|
I have a jsp based application through which I am Invoking the .Net based Windows application, Now when this application open the associate .net Asseblies(.dll and .exe) are getting downloaded into the Global Assebly cache....
Now there are two problem
1) Inconsistent problem is whenever I open my Application it throws an error of the "Exception : File or Assembly Name ----,or one of dependencies, was not found.", after trying continously 3-4 time it will open my application,
2)Sometime it will throw this error "System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed"
Now Very Interesting thing is this "whenever I turned off my sophos services (all three), it wont throw any problem and works fine".
Well if anybody can help me it will be great help.
-Later
-Manoj
|
|
|
|
|
Hi!
I have a button_click event with Handles button.Click and when i click on that the event doesn't fire.
Why it´s happens?!
Thank all!
Kosta
|
|
|
|
|
Is the button disabled? Have you inadvertently removed the handler from the button's Click event delegate list?
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
How and in which page_event is your button added? (If the button is added in PreRender page_event, you'll not be able to catch the event)
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Does anybody guess why Microsoft releases new versions of Visual Studio (like VS2003, VS2005)? Why not create updates to the existing release?
Or in other words, Java also does update the technology but does not call for revolutionery changes. Then why VS does it?
(Or tell me if I am wrong)
|
|
|
|
|
|
Thought about other reasons, but they all seem to settle down on $$$.
- It's easier to make than to correct a mistake.
|
|
|
|
|
I think you are comparing an IDE (Visual Studio) with a platform (Java). If you compare .Net platform and Java, the changes are not that revolutionary over version 1 and 2 of .Net.
Thinking about IDE changes, the move from VS 6 to VS 2003 was a revolution. When Microsoft moved to .Net platform, that itself was a major move. That move did include massive changes in Visual Studio. It was a steep learning curve.
But once you are over the hump of learning a new language (C#) or a new flavor of an old language (VB.Net), and stop missing good old C++, the differences between 2003 and 2005 are not that devastating.
Can't disagree with other posters about $$$.
Rahul
|
|
|
|
|
Okey! If money is the major matter then ... can't comment!
RahulGeek wrote: But once you are over the hump of learning a new language (C#) or a new flavor of an old language (VB.Net), and stop missing good old C++, the differences between 2003 and 2005 are not that devastating.
I think I need to update myself before commenting on this!
Anyways thanx to all.
|
|
|
|
|
I want to build application that can be connect 2 Computer by Telephone number.
first I make PPP connection, but I haven't Knopw how to build in VB.net
second, How ti open port in computer with VB.net 2003
for your help, I wanna say Thank You Very much
are_if_c
|
|
|
|
|
Hello friens
could you plz send me the exact meaning of managed & unmanaged code in .NET
& how to use unmanaged code in .NET
Yogesh_T
-- modified at 0:47 Thursday 15th June, 2006
|
|
|
|
|
Managed Code :
When you compile your Visual Studio.NET source code, the compiler gives out MSIL (Microsoft Intermediate Language). MSIL code converts into native code at runtime by a Just In Time (JIT) Compiler. MSIL code should supply all the metadata necessary for the Common Language runtime (CLR) to provide services such as Garbage Collection, Memory Management, Cross-Language Integration, Code Access Security etc. All code that is based on MSIL executes as Managed Code.
Unmanaged code is the one that was created without taking the requirements of the CLR into account. This code executes in the runtime environment with minimal services from runtime. For example, the above COM object that we created using VB 6 executes as unmanaged code.
|
|
|
|