Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

CommandLine help please

vb.net pass command to console

  • Please log in to reply
18 replies to this topic

#13 jurru

jurru

    CC Newcomer

  • Member
  • PipPip
  • 23 posts
  • Programming Language:C, C++, C#, Visual Basic .NET
  • Learning:C, C++, C#, Visual Basic .NET

Posted 29 September 2012 - 09:39 AM

The seculrity alert persists in both cases. Maybe some intermediate code to replace the extension .exe of MyDosApp by some security benign extension, if any, so that the security alert may not show up. I directly tried without the exe extension but windows detects the exteension is there and see that as a security threat.

The extension can be replaced but what I do not know for now is at what point to give back the right exe extension so that the operation works correctly.

Again, thanks for your help
  • 0

#14 AceInfinity

AceInfinity

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 313 posts
  • Programming Language:C, C++, C#, Perl, Visual Basic .NET, Assembly, VBScript, Others

Posted 11 October 2012 - 06:38 PM

Try setting the Verb to runas for the Process info.
  • 0

Microsoft MVP (2012) - .NET Programming | ®Crestron DMC-T Certified Programmer
Posted Image


#15 VNFox

VNFox

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 648 posts
  • Programming Language:C#, PHP
  • Learning:Assembly

Posted 12 October 2012 - 04:47 PM

Can you post a csreen shot of the Alert ?
  • 0

www.pickmike.com
I don't just develop software. I find solutions to your business needs.


#16 jurru

jurru

    CC Newcomer

  • Member
  • PipPip
  • 23 posts
  • Programming Language:C, C++, C#, Visual Basic .NET
  • Learning:C, C++, C#, Visual Basic .NET

Posted 13 October 2012 - 03:29 AM

Try setting the Verb to runas for the Process info.


Which Verb?

Can you post a csreen shot of the Alert ?


It is like the one shown at the following link:
http://howtonew.com/...y-alert-message
  • 0

#17 AceInfinity

AceInfinity

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 313 posts
  • Programming Language:C, C++, C#, Perl, Visual Basic .NET, Assembly, VBScript, Others

Posted 13 October 2012 - 12:51 PM

This one: http://msdn.microsof...b(v=vs.80).aspx

You can get a them from http://msdn.microsof...s(v=vs.80).aspx
  • 0

Microsoft MVP (2012) - .NET Programming | ®Crestron DMC-T Certified Programmer
Posted Image


#18 Colanth

Colanth

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 165 posts
  • Location:Fayetteville, NC, USA
  • Programming Language:PHP, (Visual) Basic, JavaScript, Visual Basic .NET, Pascal, Logo, Assembly, VBScript, Others

Posted 14 October 2012 - 04:20 PM

Kernelcoder, yes the second one has worked. One minor finishing. Is it possible to override security warnings to execute the external application?

No, that's the whole point of the User Account Control - the user can set his computer so that applications CAN'T execute by themselves. It's up to the user, not something the program can change.
  • 0

#19 AceInfinity

AceInfinity

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 313 posts
  • Programming Language:C, C++, C#, Perl, Visual Basic .NET, Assembly, VBScript, Others

Posted 14 October 2012 - 05:02 PM

It would be possible for it not to show so that the app can fire, although I wouldn't consider it bypassing. Moreso, meeting the requirements of a trusted executable. Although this is what malicious code does, so even if I had a direct example for you, I'm not willing to give guidance to such a thing.
  • 0

Microsoft MVP (2012) - .NET Programming | ®Crestron DMC-T Certified Programmer
Posted Image






Also tagged with one or more of these keywords: vb.net, pass command to console

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download