• Log in or sign up for an account here: https://www.sythe.org/login

Need help on RS Client (VB.net)

gixslayer

Newcomer
Joined
Jan 16, 2009
Sythe Gold
0
Messages
1
Need help on RS Client (VB.net)
Hey, I consider myself quite good on VB.net, never thought I'd get stranded on this lol.

What I want to do is this, have a form with a webbrowser in it to load Runescape. Not hard to do I know. When I run and go to runescape.com, it's all good. But as soon as I click on play member or free user it loads for like half a sec then crashes. Tried many many things but none seemed to work.
Getting quite annoyed b/c of it, I mean like wth creating my own RS scripting langauge is all fine but loading RS inside a webbrowser I just cannot acomplish rofl. Anyway here's the error report I get. It's VB.net 2008 express edition on Vista Ultimate BTW.

Code:
System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="System.Windows.Forms"
  StackTrace:
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at Rscript.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:
 
Need help on RS Client (VB.net)
I believe what you need to do is set your post-build events to this:

Code:
[FONT=Monospace]REM Mark project as DEP Noncompliant
call "$(DevEnvDir)..\..\VC\bin\vcvars32.bat"
call "$(DevEnvDir)..\..\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"[/FONT]
 
Need help on RS Client (VB.net)
any chance u can post the code to load rs in a form

i could really find it useful
 
Runescape Gamblingrunescape gambling
Back
Top