Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. theweirdo

    SecurityException when calling WebProxy.GetDefaultProxy()?

    Hi there, I have a user control embedded into an aspx page. In this control I'm trying to get a WebProxy object by using WebProxy.GetDefaultProxy()... However, I am getting an "Request for permission of the type System.Net.WebPermission...failed". Anyone know why? I have created an instance of...
  2. theweirdo

    Redraw problem?

    Never mind, I managed to figure out the problem. My code did something like this: for (int i=0; i<10; i++) this.Height += i; I changed so that it is like this: int myHeight = somenumber; for (int i=0; i<10; i++) myHeight += i; this.Height = myHeight; And it works perfectly!
  3. theweirdo

    Redraw problem?

    I have a user control embedded in an aspx page through the <object> tag. I want the size of this embedded object (or the size of the control) to change dynamically based on the data being loaded into the user control. What I notice is this: the control doesn't seem to resize properly, but when...
  4. theweirdo

    Treeview automatically selects node when expanding?

    Hi there, I noticed that TreeView in windows forms seems to automatically select the treenode when the user clicks the plus/minus sign beside it to expand the tree. I'm having a problem with this because I want something to happen after a treenode has been explicitly selected, not...
  5. theweirdo

    Windows Form Control inside Web browser object creation?

    Let's say I embed a Windows User control library file into my web page using the <object> tag. If I go to another page and then come back to the page with the embedded control, am I still using the objects created from the pervious page load or were those objects destroyed? Thanks!
  6. theweirdo

    &quot;\r\n&quot; displays two black blocks?

    The control that I'm using, TreeView, does not seem to have a Multiline property. What should I do? Thanks.
  7. theweirdo

    &quot;\r\n&quot; displays two black blocks?

    I'm doing something like this in a windows control method: return text.Insert(4, Environment.NewLine); but then when I display text in my control, I see something like: asdf||asdf, where the "||" are some sort of thick black blocks. Anyone know the reason why? Same thing happens if I use...
  8. theweirdo

    Dynamically resize control size

    Hi there, I have a treeview control embedded in a web page using the <object> tag. I was wondering if it was possible to dynamically resize the height of the <object> and also if it is possible to dynamically resize the control itself to adjust to the new height of the expanded/collapsed nodes...
  9. theweirdo

    Windows control library in Internet Explorer

    It seems that the problem was the application was having trouble connecting to the database. :)
  10. theweirdo

    Windows control library in Internet Explorer

    I still want to know why my Windows User Control does not work. When I load the web page, I see a blank box. Here is the object tag that I used to embed it: <object id="TreeView" height="40" width="500" classid="http://localhost/WebTOC/TOC.dll#TOC.TreeView" VIEWASTEXT></object> I'm sure all the...
  11. theweirdo

    Windows control library in Internet Explorer

    When a postback occurs on an event (since I want to dynamically load the data into the treeview based on which node the user clicks on), does the page reload? Is it possible to dynamically load the data into the treeview without having the page refresh? Thanks.
  12. theweirdo

    Windows control library in Internet Explorer

    Actually, I got it from System.Windows.Forms.TreeView... I'm now looking around and I see that there's a TreeView specifically for browsers at Microsoft.Web.UI.WebControls. Perhaps I should use that instead? I wonder if I can use it with a DataSet.
  13. theweirdo

    Windows control library in Internet Explorer

    Hi there, I'm trying to put a Windows control library that I created into a web page. The problem is when the page loads, I don't see anything, I just see a box where the control is supposed to be, but the control doesn't seem to load. I tried putting this control library into a regular...
  14. theweirdo

    How would you design this?

    Hi Globos, To answer your question, this system is for IRC. Basically the system will be seen as a user of IRC and will sit in a channel. When 'real' users join the channel, the system will look at the user's IP and determine what type of user he is, then the system will give the user the...
  15. theweirdo

    How would you design this?

    Thanks for the quick response, Globos. Actually, the system can have more than one user logged in at the same time. But I don't know how many, I guess it could be unlimited. So should the user object be created for the duration of its existence? Or should it only be created when the user logs...
  16. theweirdo

    How would you design this?

    Hello there. I'm trying to design a system in Java that recognizes users (more than one kind). I'm not sure how to approach this in an Object Oriented way. There are two kinds of users: regular and admin. The regular ones don't do much except send messages to the system and sometimes receive...
  17. theweirdo

    Don't know how to set up this query...

    3 tables: URLS, URL_Keywords, Keywords URLS has the following (unique) fields: URLID, URL URL_Keywords has the following fields: relation_ID, kID, URLID Keywords has the following (unique) fields: kID, word Basically Keywords stores a list of unique words and their ID, URL_Keywords stores the...

Part and Inventory Search

Back
Top