Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

machocr

@machocr
About
Posts
76
Topics
45
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Track refer code to an order in my site
    M machocr

    Thanks, "I didn't understood this. How come a value stored in session changes when user logs in?" yep that's right for some reason I thought so :^)

    La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET csharp asp-net database help

  • Track refer code to an order in my site
    M machocr

    Hi this is the scenario: The users of my site can get a link with a refer code (query string) to promote their products on their blogs or sites. I want to track those codes so if a order is created I can give points to refer users as a kind of omission. The problem is before visitor creates an order he/she needs to log in or even register to the site. So I'm looking for a way to trap that code once the visitor enter to my site and don't loose it when he\she log in with a new session . :confused: I was thinking to store that code in the session or profile but it will change once the visitor logs in. In brief I need to capture a refer query string value once the visitor came to mi site, store it and if he/she log in and create an order I can know whow refer him/her. I'm using asp.net 3.5. I'm going to try some things but I would like to know if you can suggest me something. Thanks ;)

    La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET csharp asp-net database help

  • Move a specific position in the page after postback
    M machocr

    Thanks for your answer. I saw something about that but it seem to work only at client side. I need to go to the server to get the info that will be shown in the edit section that is visible after that but user can't see it because the size of the grid. Let me know if you can achieve that. Thanks

    La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET help css question

  • Move a specific position in the page after postback
    M machocr

    Hi, I have the following issue: I have an "Add new button" at top of the page and below I have a grid wit items. Each item has an "edit" link button. The problem is that I have the add/edit section at the bottom of the page and the grid has many items so when I click on the add button or edit links I cannot see the add/edit section is visible. I know I can solve that performing paging but that option no viable at this moment. Is there a way to move the page or scroll after the pagepostback to bottom at the add/edit section when I click on the add button or edit link? Thanks

    La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET help css question

  • user validation throug active directory (LDAP)
    M machocr

    Thank you very much. The links are very very useful. :omg: :wtf:

    La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET question csharp c++ asp-net database

  • user validation throug active directory (LDAP)
    M machocr

    Hi, I need to validate users throug active directory in asp.net 2.0. The users will be on diferents locations and dommains. The users aer part of differents companies with differents dommains, so for a single user I need to search the company at database and load the company settings to be able to do the authentication by active directory. Is that possible? Which active directory settings do I need to store for each company? How can I do that validation? I have the following snippept: 1. public bool AuthenticateUser(string domain, string username, string 2. password) 3. { 4. string domainAndUsername = domain + @"\" + username; 5. DirectoryEntry entry = new DirectoryEntry( LDAPPATH, 6. domainAndUsername, 7. password); 8. try 9. { 10. // Bind to the native AdsObject to force authentication. 11. Object obj = entry.NativeObject; 12. DirectorySearcher search = new DirectorySearcher(entry); 13. search.Filter = "(SAMAccountName=" + username + ")"; 14. search.PropertiesToLoad.Add("cn"); 15. SearchResult result = search.FindOne(); 16. if(null == result) 17. { 18. return false; 19. } 20. // Update the new path to the user in the directory 21. LDAPPATH = result.Path; 22. } 23. catch (Exception ex) 24. { 25. throw new Exception("Error authenticating user.” + ex.Message); 26. } 27. return true; 28. } Is the code I need? can you explain me how to contruct LDAPPATH? Thank you I'm very newie with AD.:confused:

    La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET question csharp c++ asp-net database

  • Problem with BodyFormat in email from asp.net page
    M machocr

    Hi, I m trying to send an email HTML format. When I use BodyFormat = Text works but if I chage it to BodyFormat = Text crash. That problem dosen't occures on wondows application. :omg: How can I send HTML format emails in asp.net? :confused: Thank you!!! La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET question csharp html asp-net help

  • To load a page (ASP.NET/ASP) into a ASP.NET ContentPlaceHolder control
    M machocr

    Is possible to load a page (ASP.NET/ASP) into a ASP.NET ContentPlaceHolder control? Is if that is true, How can achieve that? :confused: Thank you very much! :cool: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET csharp asp-net question

  • Sorce control through internet with Visual Studio integration
    M machocr

    Thank you very much, I will try it out. ;) La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    IT & Infrastructure question csharp visual-studio sysadmin tools

  • Sorce control through internet with Visual Studio integration
    M machocr

    Hi all, I need to work with a Visual Studio integrate source control over INTERNET because me and server are in a long distance. Wich tools do you suggest me fo that. What is your experience on that? Any suggestion or comment is wellcome. Thank you. :confused: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    IT & Infrastructure question csharp visual-studio sysadmin tools

  • How show table backgroud in user control
    M machocr

    Hi, im working on a user control (.net 1.1) . My control has a table and the table has a backgroud. When I see my control in design mode it shows the backgroud image correctly but when a run the project the picture is not showed. When I put my control in other page the control lose image reference. So, how can I made a user control with table backgroun images that I can use in any web page than put that control. Please help .:(( :confused: Thank you La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    ASP.NET csharp design help question

  • Lisview 2.0 Databinding
    M machocr

    thank you!!!! Downloading... La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# winforms tutorial question

  • Lisview 2.0 Databinding
    M machocr

    Hi, where can i foud how to implement databinding for new Lisview control windows forms 2.0. I need to use it in virtual mode? Thank you!!! :cool: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# winforms tutorial question

  • Can I activate a remote object with specified culture?
    M machocr

    Hi I need to active a remote class with remoting but I need a class object that retrieves remote satellite resource messages with my client UICulture not remote assembly default culture. How can I perform that? Is posible to activate a remote object with my custom client culture like CreateInstance method (GetObject() method dosent let me to do that)? Than you!!! :confused: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# question learning

  • Remoting with localizable resources
    M machocr

    Hi I have a class that I want to access by remoting in network clietns machines. That class has localizable message strings in resources files in its assembly. I need that remote class object use client uiculture for message strings. Is that possible like in local model? Does remoting pick all assemblies resources? How can achive that? Thak you! :doh: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# sysadmin question

  • How to chage "True" and False" string for bool.ToString()
    M machocr

    Hi is possible to chage ToString result for bool type to any languange or text example Si/No} :confused: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# tutorial

  • Exists an interface for Parse(string value) method and ToString(string format)?
    M machocr

    :omg: wow is a good aproach. I really like when peopple answer question i differents ways! I theink a use it. Thank you very much!!! :cool: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# question

  • Exists an interface for Parse(string value) method and ToString(string format)?
    M machocr

    Yes but I want only objects that have ToString(string format) and Parse(string value), like int,double, datetime and others. ;P La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# question

  • Exists an interface for Parse(string value) method and ToString(string format)?
    M machocr

    Hi I wat to pass objects than have ToString(strig Format) and Parse(string value) in method's parameter. So I want to know what interface use for pass double, int, datetime, etc. that have these methods public void AddFormat( iteface? param,string format) { this.txtValue.Text = param.ToString(format); } public object GetValue() { return myObject.Parse(this.txtValue.Text); } Thank you :cool: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# question

  • Localizable application
    M machocr

    Thank you! Is sad to hear that but I think is true too.:(( My project is a framework for business aplications, so I will study the tools that are n market or I will make somethig for my needs (read, write, import, export resx files for control.text properties,tooltips,helpstrings and custom messages strings) :cool: La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    C# csharp visual-studio question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups