|
You can disable the key board events in Key press event.
Comming to menu's I even tried to disable the menus some time back, but no luck.
It seams it cannot be done.
Let me know if you are successful in doing it.
Jats
|
|
|
|
|
|
Hello to everyone
I receive the following error message when trying to do some simple remoting tasks on my computer. Can anybody tell the meaning of this message and, if any, suggest a solution please?
Unhandled Exception: System.Security.SecurityException: Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level.
Thank you.
|
|
|
|
|
|
Suppose I have an other program (I didnt compile), is a chat.
I want to be able to read the chat from this other program, to push buttons, to write something in certain textbox, to push the button when alert popup appears.
I dont know in witch language this chat program was developed.
There are methods for performing this kind of actions to other program forms?
thanks
P.S.
an other thing: what happens if I try to de-compile this program with Reflector or Anakrino if is not written in VB or C# (witch of course I'm not sure...). Would it be really useful or I can write my program even without decompiling the chat?
|
|
|
|
|
If you can get a handle to the textbox/button in the other form, you can send them messages. This is dodgy, but it can be made to work, until they come out with a new version, then all bets are off ( but it will still probably work )
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks for the answer, do you have some spare article for going deep into "get a handle" of a third part program? (I tryed to seach google but it's too general)
|
|
|
|
|
You can iterate over top level windows, or find a window at a point, http://msdn.microsoft.com/en-us/library/ms633558(VS.85).aspx[^]. If you iterate over top level windows, you can use GetWindowText to find the one you want. These are all functions you will need to p/invoke.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all,
I am looking forward to develop a proxt mail server in VB.NET.
I have a couple of questions regarding the same...
1) Is it possible to develop a proxy mail server in .NET or i have use multi language support.
2) How to start for it, Actually i have no idea regarding the same, Need a basic idea about it.
Please provide any information which might help me to do the same...
Thank you...
Jats
|
|
|
|
|
1 - I'm sure you can do it in .NET. If anyting .NET has better support for networked stuff than C++ does, out of the box
2 - create a new project, I guess. If you have absolutely no idea how this thing will work, how do you hope to write it ? I think you need to do some more research first.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi there good day to all the subscriber, i'd like to ask and give favor to every coder about my own project in my company, i am building a sql scratchpad inside the companies application,from where it connects directly to oracle 9i,where they can select update and delete record/s, a scratchpad contain a textbox also and a combobox that displays companies database, and also a gridview where the sql statement wil display after the execution.its a client server we all know, can anyone help me about this?can someone send me a short code so that i have the ideas.?
|
|
|
|
|
Sounds like you want to execute arbitrary SQL code, which is really very straightforward, you just specify the SQL to the right classes in the Oracle SQL area, and execute it.
I don't have any examples b/c I don't use oracle, but I'm sure google does.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks, i hope you can send even a little bit of code in the near future
|
|
|
|
|
|
Thanks for your concern, i'll try and i send you a message on what will happen after trying odp
|
|
|
|
|
I need to start using VB.net. Can anyome tell me where to start? I have Visual Studio 2005 installed, but it seems a bot overwhelming I must admit. Any links to tutorials for beginners will be appreciated.
I also have a recent VB6 project that I need to upgrade to VB.net. Is there a quick way to do this?
regards,
Jozi68
|
|
|
|
|
There is an upgrade tool, but it's not very good. This is b/c Microsoft made a choice and made VB.NET correct te horrors of VB6 instead of trying to be reverse compatible. The one concession they made is all the stuff in the VisualBasic namespace. You may use this early on, but wean yourself from it ASAP. it's all bad.
You need to buy a beginners book and regard that you're learning a new language. VB6 has been dead for 6 years, I suggest you throw yourself at this, b/c you're very late to the party.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for your reply.
If you know of any good books please let me know. Should I learn about .net before I start with vb.net?
|
|
|
|
|
Jozi68 wrote: Should I learn about .net before I start with vb.net?
That's not really possible, .NET is a framework, you need to learn it in the context of VB.NET, or C#.
I'm sorry, I've never learned VB.NET, I went C++->C#, I only answer here b/c knowing C# means I know a lot of VB.NET b/c it's often framework stuff. But, I would hope there are books for people moving from VB6, that cover the stuff that you need to know, and not the stuff you know already.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am working on a project whereby I need to create a scale down version of a dom explorer. I am able to parse the html at this point. What I need to do now is as I select a node (eg ) it must hightlight the selected table element in the page viewer section, similar the firebug.
Any ideas where I can find some information on doing this?
Thanks
|
|
|
|
|
I have a class derived from a DataGridViewColumnHeaderCell. When I attempt to open the
file for viewing, VS attempts to open the file with a designer.
I'm not sure what designates the file as having a designer. The DataGridViewColumnHeaderCell doesn't have one.
Is there a way to prevent VS from trying to open the file with a designer?
My Imports are:
Imports System
Imports System.ComponentModel
Imports System.Windows.Forms.VisualStyles
Imports System.Reflection
|
|
|
|
|
I guess you've created a user control derived from that class. If you create a vanilla class derived from that class, instead of choosing new user control, that won't occur.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
There is a ListBox as a Private Internal class to my class.
This is what VS is seeing and is causing the error.
I can do one of the following:
1. Put a simple class derived from Control before my class in its file
2. Move the internal ListBox class to a different file.
3. Make a designer or attach one to my class.
Thanks for the help.
|
|
|
|
|
hi
how can i read in rich box and stop if ',' found
|
|
|
|
|
I've noticed you often post questions that if you took a little time with Google you could get your answers.
|
|
|
|