Jump to content
Xtreme .Net Talk

hrabia

Avatar/Signature
  • Posts

    107
  • Joined

  • Last visited

About hrabia

  • Birthday 08/31/1970

Personal Information

  • Occupation
    IT Consultant
  • .NET Preferred Language
    C#

hrabia's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Declare one more stored procedure parameter as an out parameter for example: param_ID OUT NUMBER and then... RETURNING ID INTO param_ID; ...and then you can read param_ID value in your c# function.
  2. I've tried to install my cofigured component in more than one application partition on Windows 2003 Server using regsvcs.exe /parname:<name of partition>. The first installation has worked without problems but the second has failed with an error: "...already installed". I haven't found anything in google or msdn. What's wrong? Adam
  3. Thanks georgepatotk. The idea with imagelist works very well but... ...is it really the one and only way "to see" images at design- and run-time without big effort? Hmm... thanks anyway to you all!
  4. marble_eater - it's simple, I'd like to see my button images in the designer. At the moment my buttons are all blank. I can reference an image using path to a file to see the image in designer, but how to do this with an embedded image (withaut referencing the file)? Thanks DiverDan, that was my idea also, but how to change an image for different buttons?
  5. I've some embedded images in my app. I load them dynamically at run-time: Assembly assembly = Assembly.GetExecutingAssembly(); string assemblyName = Assembly.GetExecutingAssembly().GetName().Name.ToString(); Stream stream = assembly.GetManifestResourceStream(assemblyName + ".Images.ARROWDN.BMP"); this.butBottom.Image = Image.FromStream(stream); I've no idea how I can do this at design-time. Help :) ? Adam
  6. Yes, I have. I have an idea to secure my business logic using the code security. I can then restrict an access to my public functions/objects etc. only to assemblies with known public key.
  7. That's right :) But the problem occurs for example when you want to load a user control. I receive a "System.IO.FileLoadException: The located assembly's manifest definition with name 'XXX' does not match the assembly reference". I think, that's because of dynamic compilation of pages through asp.net (\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\). These dlls are not strong typed. How can I make asp.net use my *.snk file during the compilation? That's my problem (I've thought it's common ;).
  8. Sorry, of course "How?".
  9. Have you got any ideas?
  10. I'm about 4 weeks before the beta release of my asp.net applications and I already see the performance problems. Very special during application start. I've found a lot of information in internet about precompilation of asp.net pages but I'm not sure which is the best solution. Have you experience of precompilation? Thank's in advance for any help. Greets Adam
  11. bri189a, thanx a lot. I've found this in your rendered page. Cool. May I use your idea :)? Now I'll have to override the render method to emit new __doPostBack function, hmm :) <script language="javascript" type="text/javascript"> <!-- function __doPostBack(eventTarget, eventArgument) { var theform; if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) { theform = document.Form1; } else { theform = document.forms["Form1"]; } theform.__EVENTTARGET.value = eventTarget.split("$").join(":"); theform.__EVENTARGUMENT.value = eventArgument; theform.submit();[b]__DisplayWaitMessage();[/b] } // --> </script> <script language="javascript" type="text/javascript"> var __WaitTimerRef; function [b]__DisplayWaitMessage(){[/b] __WaitTimerRef = window.setInterval(__WaitDisableShow, 1000);} function __WaitDisableShow(time){ // turn off timer window.clearInterval(__WaitTimerRef); // get form var forms = document.getElementsByTagName("form"); forms[0].innerHTML = "<div><h2>Please wait while the page loads...</h2></div>";}</script> ....... Greets Adam
  12. But the quality of GetThumbnailImage output is miserable.
  13. You have to use Logging Handler and then configure the Logging and Instrumentation Application Block (database sink) so that you can log into database.
  14. Bind your handler in codebehind, not as an attribute. Sub CargarTareas(ByVal sender As Object, ByVal e As System.EventArgs) Handles codigoEntidad.SelectedIndexChanged
  15. You have to use ADO.NET or extra framework (like Enterprise Library - Data Application Block). Look for tutorials in internet.
×
×
  • Create New...