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
R

Ranjit Viswakumar

@Ranjit Viswakumar
About
Posts
62
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Check for Framework version
    R Ranjit Viswakumar

    You can write some bad code and browse to that page. The bottom of the error message will state the version of .NET that's in use. For example[^] Good luck.

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    Visual Basic announcement

  • Rubber Banding in VB 2008
    R Ranjit Viswakumar

    Microsoft has a How-to in this very issue- http://support.microsoft.com/kb/71488[^] Take a look. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    Visual Basic c++ java graphics help

  • How to get the duration of video file in asp.net
    R Ranjit Viswakumar

    Take a look at this application- http://www.c-sharpcorner.com/UploadFile/mgold/PlayingVideo11242005002218AM/PlayingVideo.aspx?ArticleID=3d1c3b81-1a12-48e7-ad5e-758f96525409[^] It has an app that uses C# and .NET to play an AVI file. Search the page for the thread on "how to get Total time of an AVI movie????" and you'll see the objects you can call to get this. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp asp-net tutorial

  • Crossword Puzzle maker [modified]
    R Ranjit Viswakumar

    Here is a web app that makes crossword puzzles- http://www.pivari.com/crosswordmaker.html[^] It'll work on any Windows platform. You can try it free for 30 days, but then you do have to pay to continue to use it. Have fun!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp algorithms

  • Use of web template.
    R Ranjit Viswakumar

    You can take a look at this article which explains the implementation of templates- http://www.codeproject.com/KB/aspnet/page_templates.aspx[^] Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp asp-net wpf tutorial

  • load the mail box contact in dropdown
    R Ranjit Viswakumar

    The first step is to get your Outlook contacts into a usable form. I'd recommend exporting them to a CSV file, which you can then import into a database- Export to CSV- http://email.about.com/od/outlooktips/qt/et090604.htm[^] Import into SQL http://blog.sqlauthority.com/2008/02/06/sql-server-import-csv-file-into-sql-server-using-bulk-insert-load-comma-delimited-file-into-sql-server/[^] The next step is to populate a dropdown list from your SQL table- http://aspalliance.com/581[^] That should be enough to get it going. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp question

  • HOW TO OPEN FILE.
    R Ranjit Viswakumar

    Consider this article on codeproject.com- http://www.codeproject.com/KB/aspnet/fileupload.aspx[^] It covers the following 6 areas- * How to set up a form for file uploading * How to receive uploaded files on the server side * How to save uploaded files to hard drive * How to save uploaded files in a database * How to retrieve a file that is stored in a database and return it to a client * Security considerations running the demo project Try that out. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET help tutorial

  • How to use VB.NET ASP as an interface for copying documents from a server to another server
    R Ranjit Viswakumar

    There are two scenarios. If the source and destination server are in the same domain, you can use a UNC path to the new server with a regular File.Copy method- http://msdn.microsoft.com/en-us/library/system.io.file.copy(VS.80).aspx[^] If the destination server is not in the same domain, we have to get a little more creative. We can use the FTP or HTTP protocol to do this via the web. Check these out- FTP http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest(VS.80).aspx[^] HTTP http://msdn.microsoft.com/en-us/library/system.net.webclient(VS.80).aspx[^] Try these out. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp sysadmin tutorial question

  • Email Validation
    R Ranjit Viswakumar

    I have seen this free .NET library that is designed for this very occasion- http://www.sharewareconnection.com/-net-email-validation-library.htm[^] It does a lot of different things so you should be able to make it work with your implementation. Try it out!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET database sales

  • mysql database backup from server to the local machine
    R Ranjit Viswakumar

    This is a tricky question. You can use wscript to run shell commands and get this done.

    Dim oShell
    Set oShell = CreateObject("WScript.Shell")
    oShell.run "cmd /C " & strMYLocation & "mysqldump -B " & dbname & " -u " & strMYUser & " -p" & strMYpassword & " > " & strMYBackup & "dbBkup" & strBackup & dbname & ".sql",,true

    Set oShell = Nothing

    Make sure to grant read/execute/write permissions to the IUSR account over all the involved files and folders. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp asp-net database mysql sysadmin

  • Textbox text changed/ Keypress event
    R Ranjit Viswakumar

    Web applications are little different because you have server-side and client-side processing. Getting the page to validate on the fly can be done by AutoPostBack but this can get resource consuming for every keystroke. These types of changes are better fielded by the browser using Javascript- http://w3schools.com/jsref/jsref_onchange.asp[^] The onChange event can be used to enact form validation. If you really need some VB or C# in play here, you might try to enact some AJAX with the onChange event. Good luck.

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET csharp question

  • button image
    R Ranjit Viswakumar

    You can make a button with an image background. You can also make an image that acts as a button-

    <img src='test.png' onClick="buttonFunction()">

    This can enact a Javascript function or what have you.

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET tutorial question

  • Change colour of click link [modified]
    R Ranjit Viswakumar

    Check this link out- http://w3schools.com/css/css_pseudo_classes.asp[^] ...under 'Anchor Pseudo-classes' to get your answers. Have fun!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET sysadmin help

  • How to fix this error?
    R Ranjit Viswakumar

    This error usually only occurs if the program is trying to execute some data memory blocks. Try this out- 1) Right click My Computer > Properties... 2) Click the 'Advanced' Tab 3) Under 'Performance,' click 'Settings' 3) Click the 'Data Execution Prevention' tab 4) Select 'Turn on DEP for essential Windows programs and services only' 5) Restart This option is selected by default, but with installation of SQL 2005 or Visual Studio it can change and cause this type of thing later. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET help tutorial question

  • ASP.NET MVC Framework
    R Ranjit Viswakumar

    The "class" vs. "dll" question is something many people ask themselves. A DLL is a container for classes, therefore when you create a class, it is compiled into a DLL/Assembly. You can simply create another "library" project and move your classes/code from the console project. Once done, then yes, you have to add a reference to that assembly in your console application. As far as speed and performance- it's not really faster either way. The contents of the DLL are made available, but not included. The use a DLL can clean up our code because it allows you to refer to class names without their namespace. You can compile one or more classes to a DLL and clean up your code this way. This may or may not increase your performance as a developer. Have fun!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET asp-net csharp architecture performance question

  • "A validation error has occurred".... script attacks...
    R Ranjit Viswakumar

    You can setup CAPTCHA to stop for submissions by crawlers or automated scripts. Free .NET CAPTCHA are available at- http://recaptcha.net/plugins/aspnet/[^] The page also gives you examples of how to integrate this into your form. Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET javascript html algorithms tools regex

  • Session array
    R Ranjit Viswakumar

    The below code allows a multi-dimensional array to be stored in the session state. See if you can adapt this to fit your use. Good luck.

    private void StoreToSession()
    {
    string[,]initialArray={"A","B"};
    Session["sessionvalue"]=initialArray;
    }

    private void ReteriveFromSession()
    {
    string[,]resultantArray=(string[,])Session["sessionvalue"];
    TextBox1.Text=resultantArray[0,0].ToString();
    TextBox2.Text=resultantArray[0,1].ToString();
    }

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET data-structures help lounge

  • Order and PayPall
    R Ranjit Viswakumar

    PayPal has APIs to do just that- https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#NVP[^] Check these out. They provide documentation on integration as well.

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET sales tutorial question

  • Change my IP with New IP
    R Ranjit Viswakumar

    Changing your IP is not as easy as 1, 2, 3. You will have to call up your ISP and request a static IP. Most of the time, they dynamically assign you one based on their allocation. Have fun!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    Visual Basic question

  • Showing Error Using Java Script
    R Ranjit Viswakumar

    Try something like this for your Javascript-

    function validateValues(theForm) {
    var error = "";
    if (theForm.textbox1 < theForm.textbox2) {
    reason = "-textbox1 must be greater than textbox2."
    }
    if (reason != "") {
    alert("Some fields need correction:\n" + reason);
    return false;
    }
    return true;
    }

    ...and the form should contain-

    <form method=POST action=action.aspx name=Demo onSubmit='return validateValues(this)'>

    Good luck!

    Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

    ASP.NET help java javascript css tools
  • Login

  • Don't have an account? Register

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