|
I have implemented this code in a WebForm which basically gives me a remote command line into the server.
I never thought I would tunnel DOS over the internet.
This does make a few holes in the security of shared hosting as it effectively bypasses all permissions. While you may not by able to use System.IO to delete say C:\Autoexec.bat - you can upload a console app and execute that from the machines system account.
Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript)
tatham@e-oddie.com
+61 414 275 989
|
|
|
|
|
|
I'm trying to create an ActiveX DLL control in VB but I'm running into one snag. I want a simple form in the ActiveX control that has a scrollbar and a few buttons. This is working except that my form/dialog is popping up outside of IE. I want it to show up in IE (using the OBJECT tag) like a control embeded in the web page. Any suggestions?
It seems like I just need to make the form a child of the main class or IE somehow.
' MainClass
Private TheForm As TimeAdjustForm
Private Sub Class_Initialize()
Set TheForm = New TimeAdjustForm
TheForm.Visible = True
End Sub
Private Sub Class_Terminate()
Set TheForm = Nothing
End Sub
Todd Smith
|
|
|
|
|
As far as I know there is no way to directly display a VB form on a web page. You would have to build your form as a visual OCX control.
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
|
|
|
|
|
We have a small app written in VB6 for which an ex-developer has not put the source-code into Sourcesafe and consequently the source has been lost. A customer has stated that it is causing an error and we need to see what is going on. Does anyone know of a VB6 de-compiler/dissassembler?
Cheers
Andy
|
|
|
|
|
I have never seen a good decompiler for VB6 exe's. There have been rumors but I have never seen anything that has worked.
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
|
|
|
|
|
I’ve a WinForm application and a TreeView control on it. I’m creating another thread to add data to the control. So far I’m able to achieve this behavior, but sometimes secondary thread is not destroyed. I know it is not recommended, but I’d like to know more about my options and why I should not do this.
Thanks
|
|
|
|
|
hi ,
can anybody help me with the input validation for eg : when we install windows and registration key is asked and
there are 5 textbox and when we input 5 letters in one textbox then automatically it jumps to the next textbox.
and how to limit the letters in a textbox along with the type of data to be entered??
bye
Aakash
|
|
|
|
|
drmzunlimited wrote:
and how to limit the letters in a textbox along with the type of data to be entered??
There's a MaxLength property for the textbox which can be used to limit the amount of letters that can be keyed in
And to verify the type of data, you need to do some coding in the Textbox_Change() event
as for your first question, not too sure, but i think you can do some coding on the Change() event as well
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
Hi I have a problem.
How can I create a Visual Basic DLL and to use the methods in a application Visual C++?
How can I export the methods of Visual Basic DLL?
Thanks.
|
|
|
|
|
are we talking about vb6 or .net?
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
About Visual Basic 6. Do you have any example ?
Thanks!!!
;)
|
|
|
|
|
Nope, Sorry to disapoint, but all my dll experience is with .net
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
VB6 can not create DLLs that export functions like C++ can. It can only create COM DLLs.
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
|
|
|
|
|
hi,
can anybody help me with this....
how to enable the menu of the parent form from Child form when a button is clicked from the child form.
child form is loaded in between when the parent form is loaded.
thanx
Aakash
|
|
|
|
|
How about this?
<br />
ParentForm.mnuHello.Enable = True<br />
K-PAX? CHANGE THE WAY YOU LOOK AT YOURSELF, OTHERS & THE WORLD...
|
|
|
|
|
Hi this is my first post here.
im using Vb.net and am a novice.
im going to create a program that i can use like a favourites program for internet addresses and files and folders within windows.
i can handle all of that but i want to use the same kind of control asthe one in the visual studio tool box.
you know the one with, kinda like vertical tabs and when you click one of the tabs it slides up or down revealing all thats in it i.e if you click toolbox it slides up to show you the contents of the toolbox. this is in visual studio.net
basically i dont know what this control is called but i want to use it as it is very neat looking.
also i would welcome any advice on how it is used as i cant seem to find it in any of my programming notes.
thanks
#
|
|
|
|
|
You can likely find what you are looking for here[^]
|
|
|
|
|
There's a third-party control in vb6 that i used called 'list bar' that does what you want, but i'm not sure if they have a .net version. The company's name is Sheridan, so you might want to check it out
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
I must have been having a 'senior moment' the control you want is This[^] one, a CP article submission ...
|
|
|
|
|
Little of topic, soz
Does anyone have the XP style Internet explorer navigation icon set, or a good clone?
Any good application icon site recommendations would be appreciated.
Best Regards
|
|
|
|
|
|
If you have Visual Studio (not just .NET, BTW), you can open "iexplore.exe" or "shdocvw.dll" (can't remember which off the top of my head...probably the latter) and view (and extract) it's resources. You'll find, however, that IE's toolbar icons are not icons at all but a Bitmap resource. You'll have to split these up but it isn't difficult. You can even use MSPaint (yeah, it's actually useful sometimes).
Just thought I'd tell you in case you weren't able to find them elsewhere, although I'd be surprised if you didn't.
"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
|
|
|
|
|
Does anyone know how to manipulate outlook( 97 + ) from vb.net? Or is there any good link i can go to ?
Any help would be greatly appreciated
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
I'm not really sure where you'd look on the web, but Mastering Visual Basic.NET has an entire chapter on manipulating Word, Outlook, and Excel from within VB.NET. Perhaps the e-book is available online somewhere.
|
|
|
|