|
Hi
I used a BindingList and got everything to work. I am having a hard time seeing what collection-classes I should use for different tasks, but I probably will use List for everything non-gui related and BindingList for gui stuff unless you have something to say on that :p
Thanks so much for the help!
|
|
|
|
|
Hi ,
I hv a application(exe),i am running it simultanesouly 2 or more times..when many instance of an application is in open state, i want to different name for different instance in task manager...
|
|
|
|
|
The name you see in Task Manager is the .EXE filename. No, you can't change it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Like Mr. Kreskowiak said, the .exe filename cannot be changed in the task manager.
|
|
|
|
|
Hi friends,
first sorry about my english
My problem is to get the full quallified CodeTypeDeclaration of an Component to add some new methods, enums and comments.
In Framework 1.1 i do this witch the RootDesignerSerializer an it works fine. Now in Framework 2.0 Microsoft sets the RootDesignerSerializer to obsolete an puts the TypeCodeDomSerializer instead.
Here is my new implementation :
My base component :
[DesignerSerializer("MyTypeSerializer, MyAssembly, Version=2.0.0.8, Culture=neutral" , typeof(TypeCodeDomSerializer))]
public class MyComponent:Component
{
private void InitializeComponent() {}
}
My serializer :
class MyTypeSerializer: TypeCodeDomSerializer
{
public override object Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
{
IComponent cmp = null;
cmp = base.Deserialize(manager, declaration) as IComponent ;
return cmp;
}
My custom Component :
public partial class MyComponent1 : MyComponent
{
....
private void InitializeComponent(){...}
}
Now if i get to deserialize MyComponent1 an error occurs like this ......
The method MyComponent.InitializeComponent could not found.
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Did anyone knows how to De- / serialize an Component with the TypeCodeDomSerializer so i can modify the this Type.
Note that am allready at deserializing MyComponent1, but in this case i dont wanna make changes to the object returned from base.Deserialize(manager, declaration). I will modify the CodeTypeDeclaration after base.Serialize(manager, root, members).
So i hope anyone can help ....
Thx Kai
(I know about my bad english ... sry, again)
|
|
|
|
|
Hi, i want to develop an encrypting proxy that listen on a specific port, take the messages, encrypt them, and then send the messages to its destination, and act in the other way, receive the messages, deencrypt them and send it to the application which uses that port...is this possible?? Is there an article about this!!??
Thanks in advance!
|
|
|
|
|
Hi,
is there any body out, who have advantages with XPS-paper, XPS-printing path, samples or other material?
THANKS
Gerhard
|
|
|
|
|
I want to execute batch file during installation that will perform execute commands like regasm and tlbexp.
I want it(.bat) execute automatically during installation.
Please help.
Regards,
kamran
Kamran
|
|
|
|
|
You can do this very easily using Custom Actions[^] in your installer project.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i want code to vibrate pocket pc in vb.net or c#.net.
|
|
|
|
|
And people in Hell want ice water!
Seriously, noone is just going to "give" you the code. You have to write it yourself. Making the PPC vibrate depends entirely on the hardware you have and if the manufacturer has some kind of SDK to give you that ability. There is no 'standard' for this...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I want to apply certain commands on the asseblies after they will be placed in the GAC during installation.e-g Tlbexp Assembly1.dll or regasm Assembly1.dll.
Currently i am running the Setup from batch file that starts the setup.Now the Setup will install the assemblies on to the GAC and also copies them into the installation path.
But this is not a good pocedure to accomplish the task.
Is there any good alternative?
Regards
Kamran
Kamran
|
|
|
|
|
Hello all!
I am having problems on finding out, how to get acces to the certificatestore in PocketPC and WM5 devices.
I want to programmatically add and delete certificates from the personal store using c#. (or any other .NET language).
Hopefully there is someone here that can help me get on my way.
Thanks in advance!
.. No-one?
-- modified at 3:21 Friday 7th July, 2006
|
|
|
|
|
hello friends,
i want to create a program that can display list of dynamic IP of all the users logged in for a website at anytime.
How is it possible in .NET framework.
with regards
Pawan Mishra
MCA, MCP.NET, MCAD.NET
|
|
|
|
|
You can only detect the IP of a user when there is a request. That means that you have to store the IP when the user logs in or visits a page.
A dynamic IP is used when you have a web server and don't have a static IP. A web page visitor doesn't user a dynamic IP.
---
b { font-weight: normal; }
|
|
|
|
|
Dear Gufa,
can you send me code for this problem?
regards
pawanmishraji@gmail.com
Pawan Mishra
MCA, MCP.NET, MCAD.NET
|
|
|
|
|
How the code looks depends very much on how you store the information for the users, e.g. what kind of database, the database layout, what data you store, how you communicate with the database, etc.
You use Request.UserHostAddress to get the IP number of the user.
---
b { font-weight: normal; }
|
|
|
|
|
Dear Gufa,
can you send me code for this problem?
regards
pawanmishraji@gmail.com
Pawan Mishra
MCA, MCP.NET, MCAD.NET
|
|
|
|
|
Hi,
Microsoft released this article last week:
http://msdn.microsoft.com/winfx/default.aspx?pull=/library/en-us/dnlong/html/netfx30.asp
In particular:
Deploying .NET Framework 3.0
This section provides information about deploying the .NET Framework 3.0 for use with your applications.
Software Requirements
To install .NET Framework 3.0, you must have one of the following operating systems installed on the target computer:
* Microsoft Windows XP Home or Microsoft Windows XP Home Professional, with Service Pack 2 or later.
* Microsoft Windows Server 2003 family with Service Pack 1 or later.
So they dropped support for Win98 & Win2K and while we don't care about Win98 at our company, we still have lots of clients with Win2K Servers and Workstations. My question basically is whether this bothers others? I can't really understand why technically it wouldn't run on Win2K if it can run on WinXP...
|
|
|
|
|
You really haven't looked at the Win32 API changes between 2000 and XP, have you? Shell improvements?? I could go on, but why?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
What I was really getting at was that .NET 2 runs on both (XP and Win2K) and .NET 3 is basically all the .NET 2 class libraries and runtime anyway... why drop support for something that worked? Please don't be so arrogant to think that I don't understand that APIs change between OSs. All I'm trying to say is that the difference between .NET 2 and 3 are minimal yet they dropped support for two operating systems, why?
|
|
|
|
|
I think Win98 and Win2k may have moved into their unsupported phase now. And when that happens MS tend to automatically remove them from their target OSes - regardless of whether technically they could support them. That's the impression I get anyway.
Not sure whether Win2k was unsupported when .NET 2 was released but I guess when .NET 2 was in beta it wasn't - hence support for Win2k. However, it's probably not quite as simple as that - more their guess as to how many developers are still on Win2k.
Kevin
|
|
|
|
|
Because Win98 and 2000 are both End-Of-Life as far as Microsoft is concerned. But, yes, all the current classes and stuff would work, but the stuff that .NET 3 adds, like WPF, won't work on 2000.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: Win98 and 2000 are both End-Of-Life
Don't care about Win98 but for Windows 2000.
|
|
|
|
|
Ah yes, apart from my post below I just remembered that .NET 3 is just all the WinFX stuff rebranded. This was only ever planned to be available for Vista and WinXP - hence no Win 98 or Win2k, regardless.
Kevin
|
|
|
|