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 SkipVought 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. gorgor

    Intercept messages of any window running?

    That's a good idea. I'll look into that. How do I hook all messages? I've seen examples on how to hook the mouse movement and keyboard, but haven't yet found an example on how to hook ALL messages. Do you know of any examples out there?
  2. gorgor

    Intercept messages of any window running?

    I want to be able to intercept and show messages for any window running in any process. I already know how to filter through all running processes and find mainwindow handles for that process and thread ID's and such. Now what I want to do is create some kind of hook to intercept messages for...
  3. gorgor

    add control programmatically

    I've been messing with the control and here is the error I get when I run the page... "[StackOverflowException: Exception of type System.StackOverflowException was thrown.]" No other information is provided?! My aspx page looks like this: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs"...
  4. gorgor

    add control programmatically

    cappmgr, yes I did. It seems strange that it isn't instantiating the object in the .cs file even though it's putting everything in the aspx page. I'll have to play with it more once I get home. If it doesn't work, I'll post some code here.
  5. gorgor

    add control programmatically

    cappmgr, Whenever I have done as you suggested in the .cs file (which is main reason I posted this question): protected ImagePreview.ImagePreviewCtrl ImagePreviewCtrl1; I get an web application error if I try to assign values to its properties. I don't have my computer in front of me right...
  6. gorgor

    add control programmatically

    I'm using ASP.NET (C#) in Visual Studio. I'm trying to make it as much like windows programming as possible, so I'm trying to add my custom control (ImagePreview Ctrl) to my aspx page programmatically. I created a custom control and it's compiled as an assembly. When I drop the control onto...
  7. gorgor

    dynamic byte array in c#

    Using obislavu's last comment as a solution, don't forget to call the method XmdData.TrimToSize() when you're done adding elements. That way the ArrayList count is 'trimmed' down to the number of elements you have added. Otherwise it will contain at least 64 null elements. Extra allocated...
  8. gorgor

    compound custom controls, C#

    I'm trying to make a ASP.NET custom control in C# (NOT a user control) that contains multiple controls. I'm having a hard time seeing how to create the control so that when dropped into a web application (in Visual Studio), all the sub-controls will be displayed. It seems there are some methods...
  9. gorgor

    viewstate

    Duhh. Yep, getting rid of the ".ToString()" worked. I've noticed in the .NET book that I have (Prosise), he overrides the function LoadPostData(...) when he uses ViewState: public bool LoadPostData(string postDataKey, NameValueCollection postCollection) { string NewText =...
  10. gorgor

    viewstate

    What's the correct/best way to to persist data across postbacks using ViewState? I have the following web control implemented in C#: The page has 2 rollover buttons that are used to step through all the images in a image folder. The viewstate seems to be somewhat working, but when I debug the...
  11. gorgor

    server-side rollover (revised)

    I read that article several times. That was done with client-side scripting. I'm looking to do it (mostly) server-side. I think I've figured out how to do it. It's just a matter of getting it to work now. I'll follow up with the solution if I ever get it. Any additional suggestions would...
  12. gorgor

    Javascript and Asp.net in visual studio?

    I think it's pretty much all or nothing. Visual studio is simplying 'writing' text (it just happens to be javascript) to the client browser. The browser is compiling the javascript at runtime. I don't think Visual Studio has any way to debug the javascript as it is sent to the client. I'm...
  13. gorgor

    server-side rollover (revised)

    I posted another question about creating a server-side rollover. I was thinking of a way to do it with javascript and a custom control. How would I go about overriding Render, adding the actual onmousover javascript code to the htmlwriter to do the following: The trick here would be to do a...
  14. gorgor

    server-side rollover

    I am new to ASP.NET but have been using .NET for windows forms for a while now. I found some examples for doing a rollover "button" with client-side scripting. However, I'd like to be able to do it with server-side "scripting" instead. This is more of a learning exercise than anything since...
  15. gorgor

    Newbie Help

    you have to run the asp iis utility. Go to a command prompt and type the command: (Depending on what OS you have, the utility may be in a different location) C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -i
  16. gorgor

    basic custom control

    Thanks for the link. Have you come across any examples or how-to's on creating custom controls where most of the work is done on the server? In C# perhaps? Thanks again
  17. gorgor

    basic custom control

    This is very basic. I've been using .NET Windows Forms for awhile and now am trying out ASP.NET. My background is in HTML, JScript, and Perl. I'm trying to create my own custom control (not a user control since a user control is a whole form). I am using ASP.net with Visual Studio.NET and...
  18. gorgor

    aspx extension in iis 5.0

    Thank you much. aspnet_regiis /i worked like a charm!
  19. gorgor

    aspx extension in iis 5.0

    This may be the wrong forum, but perhaps someone can help me out. I'm running win2k with IIS 5.0. I have .NET framework 1.1 installed with ASP.NET. I copied over a sample file from the ebook by Prosise called calc.aspx to my wwwroot directory and tried to run it from...
  20. gorgor

    aspx extension in iis 5.0

    This may be the wrong forum, but perhaps someone can help me out. I'm running win2k wil IIS 5.0. I have .NET framework 1.1 installed with ASP.NET. I copied over a sample file from the ebook by Prosise called calc.aspx to my wwwroot directory and tried to run it from...

Part and Inventory Search

Back
Top