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
T

tranglt

@tranglt
About
Posts
25
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to log before window shutdowned!
    T tranglt

    pls, who anyone help me! I am writting a program to log my PC in a txt file. when any one start PC it log to txt file and he shutdown it log the txt file. Thanks Help you, hepl me

    C# help tutorial

  • I need your helps! Urgent!!!
    T tranglt

    I have a problem drag and drop with DIV in asp.net. I have a BOX that there are div{... absolute ... } tag display my graph. when any load page, it display very well, but when I drag and Drop to other position (Have 16 positions), my graph don't display, it only display after mouse over it. if you have any suggest, please give. Thanks you so much Hepl you, Help me!

    ASP.NET help csharp asp-net data-structures

  • I don't update DB with javascript
    T tranglt

    Thanks you so much. I have a problem below. I use javascript in my project to drag and drop some objects that exchange position. when I log in and do the function (drag and drop) after save the position to my DB ==> OK. But i drag and drop back and save ==> it is not save to DB ==> BROBLEM???? i used dojo library.

    Web Development javascript database debugging help question

  • I don't update DB with javascript
    T tranglt

    I tried it, but ... it don't run. My problem: I have two textarea (object1 and object2). if { I have swap object1 and object1 (dag object1 to object 2) click save --> database was updated. } but after, I want to go back { I drag object come back. click save --> database was not saved. } --> The BIG PROBLEM! HELP ME!!!!!

    Web Development javascript database debugging help question

  • I don't update DB with javascript
    T tranglt

    I tried it, but ... it don't run. My problem: I have two textarea (object1 and object2). if { I have swap object1 and object1 (dag object1 to object 2) click save --> database was updated. } but after, I want to go back { I drag object come back. click save --> database was not saved. } --> The BIG PROBLEM! HELP ME!!!!!:^)

    Web Development javascript database debugging help question

  • I don't update DB with javascript
    T tranglt

    Ok, I try it again, thanks you so much. :laugh:

    Web Development javascript database debugging help question

  • I don't update DB with javascript
    T tranglt

    I have some code: -------Javascript ------------ ... function SavePosition(source) { // Call AJAX request to save //var url = "Home.aspx?order=" + getPositionOrder(); url = "Home.aspx?order=0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12" var objXmlHttp = createXMLHTTP(); objXmlHttp.open("GET", url, true); if(objXmlHttp == null) { alert("Browser does not support HTTP request!"); return; } ShowWarning(source, waitingHTML); objXmlHttp.onreadystatechange = function() { if (objXmlHttp.readyState == 4) { if(objXmlHttp.status == 200) { setTimeout("complete()", 2000); } else { alert("Error while trying to save."); } } } objXmlHttp.send(null); } When I execute the function and debug it, I see that. sometime, it executes very well, my DB is updated that mean home.aspx loaded. sometime it do nothing (because home.aspx does not load) although run step over objXmlHttp.open("GET", url, true); :doh:

    Web Development javascript database debugging help question

  • problem with XMLHttpRequest
    T tranglt

    I have some code: -------Javascript ------------ ... function SavePosition(source) { // Call AJAX request to save //var url = "Home.aspx?order=" + getPositionOrder(); url = "Home.aspx?order=0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12" var objXmlHttp = createXMLHTTP(); objXmlHttp.open("GET", url, true); if(objXmlHttp == null) { alert("Browser does not support HTTP request!"); return; } ShowWarning(source, waitingHTML); objXmlHttp.onreadystatechange = function() { if (objXmlHttp.readyState == 4) { if(objXmlHttp.status == 200) { setTimeout("complete()", 2000); } else { alert("Error while trying to save."); } } } objXmlHttp.send(null); } ... ---- Home.aspx.cs --- ... private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here if (Request["order"] != null) { SavePositionOrder(Request["order"].ToString()); } } OK, I have a button on file Home.aspx. I click the button first, my web is done. But when I click the second the home.aspx seems not load because page_load function don't execute. Thanks Live 2 Code Code 2 Get Money Money 2 Love Love to Live

    Web Development help javascript question

  • I can't redirect the page.!
    T tranglt

    Hello everyone! I have a problem, - I can't redirect the my Page, - I create a Web project in .NET 2003 IDE, I use function Respose.Redirect(mypage.aspx) The First, it run well, but when the second it don't run. However, I press F5 to refresh then the page execute so well. Thanks you anyway.:)

    ASP.NET csharp visual-studio help

  • How to load images.
    T tranglt

    Hi Guy! Think you load image to a folder in server and then save path of the image to database. Best regards.;P

    ASP.NET csharp asp-net database mysql tutorial

  • Create Sub site (Sub domain)
    T tranglt

    Hi, I'm Developing a web Control panel. I have a problem. I want to create a tool to create subsite (sub domain). My OS is window 2003 server and web server is IIS. Pls, show me your solution. Many Thanks. ;)

    ASP.NET sysadmin windows-admin help

  • psl, Help me,
    T tranglt

    No, I don't need hardware, I had hardware, But I have never software. Now, I have to develope a software. Do you know it. pls, send me source code if you have. Thanks for your help. Best regards.:doh:

    C# help

  • psl, Help me,
    T tranglt

    Oh, Thank, I'm C# Developer. I need a solution for my problem. I want to write A software to control data thay display to Screen of TV by Card Convertor.

    C# help

  • psl, Help me,
    T tranglt

    Hi All! Do you know about Multi Monitors. I have a card Video have multi TV outputs. I want to use only one PC to display to TVs. pls, show me your solution. Best regards. --------------- I Don't want say no wealth.

    C# help

  • I need a lolution for Connection String.
    T tranglt

    Hi Everyone! I have a proplem of connection string to connect database I have a SQL server, thi Name server this MSSQLxxx; (Not Local) User: Xman; Pass: Xmankk; DataBase: TLxxx; Now, I Dev a website in .Net 1.x & SQLSERVER 2000. I use a connection string: "user id=Xman;pwd=Xmankk;data source=MSSQLxxx;initial catalog=TLxxx;timeout=90" But, can not connect to database. I try doing connect to the database by tool of sqlserver 2000, it is sucessful, I can view all information of the data (TLxxx), I can view Tables, views ,... I can Create table there. This is the my code: public class UserDB { private string connectionString; public UserDB() { // I try Hardcode to test connection string. connectionString = "user id=Xman;pwd=Xmankk;data source=MSSQLxxx;initial catalog=TLxxx;timeout=90";//ConfigurationSettings.AppSettings["connectionString"]; } public int GetUserID(string userName, string pass) { SqlConnection con = new SqlConnection(connectionString); SqlCommand cmd = new SqlCommand("TL_GetUserID", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add(new SqlParameter("@userName", SqlDbType.NVarChar,50)); cmd.Parameters["@userName"].Value = userName; cmd.Parameters.Add(new SqlParameter("@password", SqlDbType.NVarChar,32)); cmd.Parameters["@password"].Value = pass; try { con.Open(); SqlDataReader reader = cmd.ExecuteReader(CommandBehavior.SingleRow); if (reader.Read()) { return Convert.ToInt32(reader["UserID"]); } else { return -1; } } catch(SqlException) { throw new ApplicationException("data "); } finally { con.Close(); } return -1; } .... } Please, show me solution. Many Thank. I Don't Want Say No Wealth

    ASP.NET database csharp sql-server sysadmin

  • An unusual way to declare an array?
    T tranglt

    I thing you can use map to implement your function! have a lucky day.

    C / C++ / MFC question database data-structures

  • OpenVPN under VS6?
    T tranglt

    Hi all! Now I have a source of OpenVPN but I can't Open the Project under VS6. Pls, can you show me the way to open it. Many thanks.

    C / C++ / MFC question

  • error LNK2001: unresolved external symbol
    T tranglt

    Dear u! do you use Visual C++ 6.0? you set again Option setting. Project/Setting/ Link .. I Hope that is useful to you! Best regards. -- modified at 0:56 Wednesday 16th November, 2005

    C / C++ / MFC help question

  • BMP File
    T tranglt

    one of solutions, you use CBitmmap copy CDC to CBitmmap ==> Safe to file.:)

    C / C++ / MFC c++ graphics tutorial

  • Sends the specified request to the HTTP server.
    T tranglt

    Now, I writed a ActiveX, I use HttpSendRequestEx function to send request to server. when I run the ActiveX two times, this function is down. (I have not had a server, I'm Creating server). pls help me. :rose: Many thanks.

    C / C++ / MFC com sysadmin help
  • Login

  • Don't have an account? Register

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