Ne-o-x Posted June 7, 2011 Author Share Posted June 7, 2011 Hello guys,I have some questions, if someone can answer to any of my questions I will *hug* him so much :DAutoUpdater Related:1) How can I make a box(?) to open a webpage. For example a news page but hosted on a domain not a text file.2) How can I make a button to open your browser once you click it?3) How can I make the form moveable if border = false/0 Link to comment Share on other sites More sharing options...
RyokuHasu Posted June 7, 2011 Share Posted June 7, 2011 1) not sure2) Process.Start(browser, url)3) dont know Link to comment Share on other sites More sharing options...
Ne-o-x Posted June 7, 2011 Author Share Posted June 7, 2011 @RyokuHasu:> 1) not sure> > 2) shell (URL)> > 3) dont know2) Shell URL?Can you give me a example?Thanks. Link to comment Share on other sites More sharing options...
RyokuHasu Posted June 7, 2011 Share Posted June 7, 2011 Process.Start(browser, url)EX:Process.Start(explorer.exe, http://www.yoursite.com)Founda suposed better method then the shell Cammand Link to comment Share on other sites More sharing options...
erkro1 Posted June 8, 2011 Share Posted June 8, 2011 @Ne[o:> x link=topic=72555.msg778705#msg778705 date=1307484193]> 1) How can I make a box(?) to open a webpage. For example a news page but hosted on a domain not a text file.You can do that with WebBrowser controll Link to comment Share on other sites More sharing options...
Derryl Posted June 10, 2011 Share Posted June 10, 2011 (For 3) Go to frmMain and open it's code. Under the "Option Explicit" at the very start add these:```Private Declare Function ReleaseCapture Lib "user32" () As LongPrivate Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long```Now, in your Form_MouseMove sub above:```If debug mode, handle error then exit out```Add:```Dim lngReturnValue As LongIf Button = 1 ThenCall ReleaseCapturelngReturnValue = SendMessage(Form1.hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&)End If``` Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now