Search:
Type: Posts; User: finn0013
Search:
Search took 0.11 seconds.
-
I tried that, but when I drew the node, the box just appeared behind the sub-nodes and nodes underneath. Because of this, I tried to change the height of the node so that the next nodes down would...
-
I have been busy with other stuff and just managed to pick this up again.
Setting the DrawMode to OwnerDrawText works but does not resize the TreeNode. I have been looking for a way to resize a...
-
Cool - thanks for the clarification. I am new enough to .net that I was having trouble figuring out what your code allowed that the normal web browser didn't. I actually used your control for a test...
-
By easy I mean relatively little COM and API. I am still pretty new to .net. I am pretty well versed in both VB6 and Java, so I understand the concepts, I just haven't figured out all the syntax...
-
Is there an easy way to modify the nodes in the treeview so that it can display a panel or some other control as part of one of the nodes? (See attached picture)
-
Why is it not reliable?
FYI for anyone interested: After looking at this more, it appears that it doesn't matter if I use the control created by phil or not. As long as I place my update code in...
-
So, in looking at this further, it appears that the rendered html is being updated, even though the InnerHtml property is not. If you update the code I attached, changing the doMods() method to...
-
I have created a test project with phil's code to see if it will work for me before going through the trouble of adding it to my project, but I can't get it to work - it does not actually update the...
-
That makes more sense to me. Thanks for the clarification.
-
Thanks, I didn't know that. I assumed that every object was passed by reference unless you specifically specified to pass by value - java habits.
-
Nevermind... I was trying to return void when it really returned Boolean...
-
I am new to C# and am having trouble translating the following line from VB.net to C#:
Public Sub BeforeNavigate2(ByVal pDisp As Object, ByRef URL As String, ByRef flags As Object, ByRef...
-
So when you set AllowNavigate = false then it will still load the new html into the DocumentText property, just not render it?
-
This has been resolved in this post:
http://www.vbforums.com/showthread.php?t=421686
-
Cool - thanks for all the help and suggestions.
-
Thanks for the help, his code is doing exactly what I want.
This is really a C# question, but I think you guys may know the answer to this:
I started rewriting it in C#, but someone mentioned...
-
By doing that, will the server persist the session? If a user signs into a site (i.e.: a forum) and points it at a bunch of pages that rely on the user being singed in, using the web browser control...
-
I forgot to mention why that would not work in my last post... :)
Many of the pages users are likely to want will include graphics, dynamic html, and content rendered via ajax calls. By grabbing...
-
penagate - I am not quite following you... When I call navigate() and point it at a web site, I do not get the contents back to hand to the browser control, it just renders it. This application will...
-
Perhaps I wasn't clear...
This is an issue with the WebBrowser control, which is not VB/C# specific. There is a post in the C# forum, however I have posted here as well to broaden the views and...
-
*** UPDATE ***
This problem is with the WebBrowser component. The code posted below is what I am trying to insert into the control before it renders the page for the first time.
*** UPDATE ***
...
-
Since nobody has posted a way to modify the contents before the first display, I am guessing that the control will not let you do it?
Does anyone know if there is a way to add a hook to the...
-
I have figured part of it out.
By taking advantage of the way javascript treats methods and allows for method assignment, I can use this code to override the print function and make it do...
-
By building your queries using strings and concatenating the arguments in, you open the door to SQL Injection attacks. By manipulating the contents sent, it is feasible to insert and/or view data...
-
I am not really very picky about how the javascript print() call gets cancelled as long as it does not affect the AJAX and rendering of the rest of the page.
I am not opposed to "listening" to the...
-
Yes, which is also the reason why I can't disable javascript. Some of the pages will execute portions as AJAX calls. I don't really want to deal with executing all the scripts on my own, so it is...
-
I have been trying to figure out how to disable print functionality in the WebBrowser control.
Just a note - I am very new to C#. I have pretty heavy experience in VB6 and Java though.
Some...
-
Try the below code - it will give you a string array sorted using the compareTo method. If the key you are using is a different object type just do the same thing but make sure it implements the...
-
If you end up using the code in the above link make sure you replace the ShiftState property with this one to ensure that you do not get overflow erros.
Private Property Get ShiftState() As...
-
I have tried everything I can think of including subclassing the control (as well as each of the subcontrols) to listen for the tab key with no success.
The only way I have found to do it is with...
-
I have an active X control with multiple picture boxes in it. I currently have it set up so that I can detect the keydown event for anything but the tab key. I don't care about the control losing...
-
Are you talking about grabbing text from another application's textbox? If so you will need to use API.
Do a search on FindWindowEx and it will bring up tons of examples.
-
Alternatively if you want to write your own control:
RFC 821 - SMTP
RFC 2045 - MIME Part 1
RFC 2046 - MIME Part 2
There are a ton more on that site depending on what you want to do. ...
-
Wow - been a long time since I originally posted this. In order to get this to work you will have to use MIME encoding and send the email in either rich text format or HTML format. I am not very...
-
Here is the fix:
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
Dim p As POINTAPI
Dim sw As Long
Dim sh As Long
Call...
-
Seems the difference between PX and NX is always 4 and the difference between PY and NY is always 30.
I could hard code to account for this however I am reluctant to do so as this may be something...
-
sorry - meant to say PX = NX and PY = NY
-
This is driving me nuts - I can not get X to equal NX or Y to equal NY. It all looks right to me, however I am just spinning my wheels now - just paste this in a form and run:
Option Explicit
...
-
Yes, it is a global variable. The only change in between each method call is that if the search parameter is found the string is removed.
The only reason that it is not currently in a database...
-
The slowest part seems to be the call to InStr - it takes a while to search through all 5mb of data. This process will be running against 50,000+ files so every bit of optimization I can get helps....
|
Click Here to Expand Forum to Full Width
|