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
C

cocoonwls

@cocoonwls
About
Posts
200
Topics
77
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • A server to communicate with a robot
    C cocoonwls

    Eddy,thousand thanks for your suggestion and tips :laugh: Another question :) if websocket compare with WCF, which technology is more suitable for communication with machine/robot?

    Design and Architecture question sysadmin csharp database design

  • A server to communicate with a robot
    C cocoonwls

    Quote:

    A socket would be simpeler, as you'd open it and wait for a text to arrive Smile | :)

    Okay, i think i will continue in websocket solution which is able to communicate with ROS :) This is my last question, shall i develop the websocket as a window service or just host in IIS? Thanks in advance

    Design and Architecture question sysadmin csharp database design

  • A server to communicate with a robot
    C cocoonwls

    Quote:

    Yup, sounds like TCP/IP, but that does not answer whether the robot will be pushing/reading from a socket, or is expecting a webpage. You'd need to ask the team-member.

    The robot will keep sending request to server (handshaking with server) , thus most of the time the server application will be in listening mode. Unless there have certain command need to robot take action, then server application will send a command via socket (robot have their own API). Okay, now i am quite clear what should i do but one more things. For the server application, i need to response a webpage to client, so do i need to separate the server application ? what i mean is one server application do for serve robot, and another one do for client.My client need to monitor all the robot information on-time (update each 1 to 3 second). Thanks again :)

    Design and Architecture question sysadmin csharp database design

  • A server to communicate with a robot
    C cocoonwls

    Hi, thank you for your response. Actually making the call from robot was done by team member (via wifi protocol). Now i need to build a server application to handler/receive multiple request from robot. I am now researching on .Am i in the right track? Note: My final output is allow user to control the robot via client application which is develop by using HTML5,jqery,javascript and asp.net with C# (idealy) Regards.

    Design and Architecture question sysadmin csharp database design

  • A server to communicate with a robot
    C cocoonwls

    Hi all, Any suggestion or tips on application architecture if i need to develop a server application which is using to communicate with remote machine? (remark : machine firmware is using ROS.) Original idea: a) Client UI (.aspx) <---request/response---> web server(IIS) & db <---communicate via network connection---> machine b) robot will keep update status to db via web server application every few second. c) Meanwhile, server application need to do some algorithm then response to robot every few second or any instruction from robot. d) Client need to connect to server every second to get the latest data (monitoring purpose) e) Client can control robot via server application. My question are, 1) shall i develop the server application using web technology or using window programming? (I found some article said that can using websocket .NET 4.5 as server,is suit for my case? ) 2) what is the pro and con for both web and window programming? Any tips or suggestions are welcome Thanks in advance wls

    Design and Architecture question sysadmin csharp database design

  • Access page controls in static method
    C cocoonwls

    Dear Parwej AHamand, My requirement is bit different in what the article provided. In my situation, i need to pass 1 parameters to code behind (ideally is to .aspx.cs . Currently i am using webmethod.) and then do some checking with assist by most of the page's controls. For example, pass parameter "Save" to .aspx.cs , then get 10 textbox's value in that page to do verification. hope u are understand my concern. Thanks in advance cocoon

    ASP.NET question csharp javascript database

  • Access page controls in static method
    C cocoonwls

    thanks so much..i will look at it now :laugh:

    ASP.NET question csharp javascript database

  • Access page controls in static method
    C cocoonwls

    Hi all, I am using vs2010 with .net 4.0 and jquery AJAX to call to a static method in code behind. I was success to call it but cant get the page's control. Following is my sample code :

    [WebMethod]
    public static string UpdateContent()
    {
    Page page = HttpContext.Current.Handler as Page;
    TextBox tb = (TextBox)page.FindControl("txt");
    tb.Text = "some string here";
    //others coding here//
    if (db.UpdateTable()){return "success";}
    else { return "failed"; }
    }

    So,my question is how can i access the page's control in my static method? any tips are welcome thanks in advance cocoon

    ASP.NET question csharp javascript database

  • Problem to access Generic handler in asp.net 4.0
    C cocoonwls

    Hi Mark, I don't understand what yours mean but for your information ,since i be a member of this volunteer site, i NEVER (you may view all of my message posted previously...but if you be impatient,you may skip this step )being rude and impatient for others. I am not sure that is any mistake I was made by my previous post then make you comment me like that...but anyway, thanks too because of viewing my question. p/s: I know if i pay for Microsoft, they will help me immediately. Thanks for your advice.

    ASP.NET csharp javascript asp-net design help

  • Problem to access Generic handler in asp.net 4.0
    C cocoonwls

    I have get it work right now. Thanks for those who viewing my post. Thanks

    ASP.NET csharp javascript asp-net design help

  • Problem to access Generic handler in asp.net 4.0
    C cocoonwls

    Hi all, Currently i am using C#.net 4.0 & JQuery to develop a web project. My problem is I cant invoke the .ashx by using autocomplete(jquery) function. I had done it before in C#.net 3.5 but everything is ok. below is the sample i done in 4.0: In UI :

    $("[id$='txtApplicant']").autocomplete("../../AutoSuggest.ashx");

    In Httphandler :

    public void ProcessRequest(HttpContext context)
    {
    HttpRequest Request = context.Request;
    HttpResponse Response = context.Response;

           // some code and logic here
    
           dtResult = getResult(cno,table,field,q);
           DataRow\[\] drs = dtResult.Select();
           foreach (DataRow dr in drs)
           {
               Response.Write(dr\["Result"\].ToString() + Environment.NewLine);  
           }
                        
        }
    

    Note: I was put httphandler file outside of the app_code folder (is the must to put in app_code folder?) and I din't register any httphandler in web.config Is something have to configure in web.config? Any tips or suggest are welcome Thanks in advance Cocoonwls

    ASP.NET csharp javascript asp-net design help

  • How to do a regular expression in chinese character?
    C cocoonwls

    Dear all, I am doing a application that can allow user to upload their file to server. I am using FileUpload control to do it. Now ,i would like to do regular expression for chinese charater. That mean i can upload file with name like '大道.JPG'.How can i do it? any tips are welcome. regards cocoonwls

    ASP.NET question sysadmin regex tutorial

  • How to view/edit microsoft documents via online
    C cocoonwls

    Hi Jinal, Thanks for your reply. Now i got it ,and it is very difficult task for me currently..so,i will use other way to replace this problem. Beside this, do you know any thrid party component can help me acomplish this task? Regards cocoonwls

    ASP.NET csharp asp-net visual-studio sysadmin tutorial

  • How to view/edit microsoft documents via online
    C cocoonwls

    Hi Mark, Thanks for your advise.But unfortunally..i don't have 100 million dollars (might be few years after..),thus can't hire developers.. :laugh: Regards

    ASP.NET csharp asp-net visual-studio sysadmin tutorial

  • How to view/edit microsoft documents via online
    C cocoonwls

    Dear all, I am using vs 2005, asp.net with c#. I have deploy a web application into a microsoft server 2008 .The application allow user to upload and download documents. Now,my question is how to enable user to edit those server's documents(ms word,excel and power point) via online like what google docs and office live workspace did. :doh: Any tips and suggestion are welcome. Thanks and regards Cocoonwls

    ASP.NET csharp asp-net visual-studio sysadmin tutorial

  • Footer Pager in Custom paging
    C cocoonwls

    Hi Carle, Thanks of your suggestion. I will look at it :) And ,actually what i looking for is the same as what codeproject done in the bottom of table.

    ASP.NET csharp question database visual-studio tutorial

  • Footer Pager in Custom paging
    C cocoonwls

    Hi Abhijit, Sorry for late reply. No, currently i am doing custom paging in gridview (like this article http://aspnet.4guysfromrolla.com/articles/031506-1.aspx[^])instead of using the default gridview paging. regards cocoonwls

    ASP.NET csharp question database visual-studio tutorial

  • Footer Pager in Custom paging
    C cocoonwls

    Dear all, I am using VS c# 2005 with .NET 2.0 and MS SQL SVR 2005. I am using ROW_NUMBER() to do the custom paging in gridview control.I am curios that how can i do the footer pagination like what the default paging do? Example , show the numbering and "..." at the bottom of gridview. any tips and suggestion are welcome. thanks in advance regards cocoonwls

    ASP.NET csharp question database visual-studio tutorial

  • Get C drive files
    C cocoonwls

    Ok..i got it..thanks of your reply.But i think that is the only way i can do :doh: regards cocoonwls

    ASP.NET question csharp asp-net sysadmin help

  • Get C drive files
    C cocoonwls

    Hi Navaneeth, Due to user will upload their files to the c drive share folder.then they can retrieve the related files by using web application.And i don't wish the user can access the wwwroot file. Thus ,this is the reason i have to do the way. thanks in advance regards cocoonwls

    ASP.NET question csharp asp-net 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