Search results for query: *

  1. onepieceking

    Install .NET 2.0 Framework

    Hi, I have the CD installer for Visual Studio 2005 Pro. I just want to install .NET 2.0 framework in one of my PCs. Which is the installer for the framework in the CD?
  2. onepieceking

    Creating Folder in ASP.NET application

    No. So far, I have created the folder and it seems ok from my dev computer. I am testing on localhost only but I just wonder if there would be any problem if another computer is to do this.
  3. onepieceking

    Creating Folder in ASP.NET application

    Hi, I wish to create a folder in the web server's computer on the click of a button. When the user clicks the button, a folder (eg C:\ABC\Folder1) will be created. I have thought of using DirectoryInfo.Create to create the folder, but will there be any permission problems? The folder has...
  4. onepieceking

    File Open Dialog Box for ASP.NET

    Hi, I am using showModalDialog to open a aspx page containing the listbox for me to choose the file. What I need to do now is I need to return the path of the file and the name of the file back to the parent page when the child page is closed. And when the results are back to the parent...
  5. onepieceking

    File Open Dialog Box for ASP.NET

    Is it possible to create a file open dialog box for ASP.NET? The files are in the web server. I will parse the contents of the file in the ASP.
  6. onepieceking

    sync Scrolling problem

    Thanks John. I also found another method panel1.autoscrollposition = new point(-panel2.autoscrollposition.X, _ -panel2.autoscrollposition.Y)
  7. onepieceking

    parent vs controls.add

    Supposed i have created a picturebox (pbox) dynamically and i want to put the picturebox into panel1. What is the difference between pbox.parent = panel1 and panel1.controls.add(pbox) Both seem to work.
  8. onepieceking

    sync Scrolling problem

    Hi, I have 2 panels that are horizontal scrollable and in these 2 panels, they each contains a picturebox. The pictureboxes are auto-sized, meaning that they can be bigger than the panels. What I want to do is when both panels display their scrollbars, I want to raise a scroll event, meaning...
  9. onepieceking

    Send Different Structures using TcpClient and TcpListener

    Ok, thanks alot John. I have sortof used your idea and use the marshal and intptr to be able to just use one byte array to send across the commumication. The receiver will just need to read off the first integer and i will know what structure to assign.
  10. onepieceking

    One User at One Time

    Using this article "Prevent simulteneous logons to a website" http://www.dotnetspider.com/kb/Article2602.aspx I change its strConCat to only a fixed string. In this way, it will prevent simultenenous logons to a website, as well as making sure that there will only be one logged user at a time.
  11. onepieceking

    One User at One Time

    Hi, Is there a way to limit only one user to be logged in an ASP.NET web application? Thanks in advance.
  12. onepieceking

    Send Different Structures using TcpClient and TcpListener

    Hi, Is it possible to put the descriptor together with the byte array? As in the descriptor could be an integer then convert to byte array. Then this byte array, together with the actual data byte array, is sent. If it is possible, how do I (at the receiver) read and convert the first...
  13. onepieceking

    Send Different Structures using TcpClient and TcpListener

    Supposed I use the common packet method, <serializable> public class CommonPacket public structure test1 dim var1 as string dim var2 as string end structure ... ... ... public structure test20 dim var1 as string dim var2 as string end structure...
  14. onepieceking

    Send Different Structures using TcpClient and TcpListener

    Hi, I know how to send structures using the help of serializing the structure and sending it through the network stream. The client will send a serialized structure and the listener will listen the stream for that particular type of structure. It works this way. However, i have a problem...
  15. onepieceking

    html checkbox control

    Hi, Since your textboxes are not run at server, it wun work Your code-behind: Dim textbox_pswd1 As System.Web.UI.HtmlControls.HtmlInputtext Dim textbox_pswd2 As System.Web.UI.HtmlControls.HtmlInputtext both textbox_pswd1 and textbox_pswd1 are not initialised to anything. They contain...
  16. onepieceking

    UDP Sending and Receiving

    Hi John, Thanks for your reply. I change my code abit. Original Dim streaming as new memorystream Changed: Dim streaming as new memorystream(receivebytearray) With the changed code, i did not use write and it works well.
  17. onepieceking

    UDP Sending and Receiving

    I still have a problem. Client code: Try Dim udpClient As New UdpClient("xxx", 11000) Dim senddata as New Structuring.Operation senddata.var1 = "test" Dim streaming as new memorystream dim format as new binaryformatter format.serialize(streaming, senddata) Dim sendBytes As [Byte]() =...
  18. onepieceking

    UDP Sending and Receiving

    Hi, I need to send and receive structures using UDPClient. How do I go about doing it? I have done it using TCPClient and TCPListener. UDPClient does not have networkstream and I can't use the serialize or deserialize function of binaryformatter.
  19. onepieceking

    Picture box control?

    Hi, If you just want to show a picture, you can just use the html <image>.
  20. onepieceking

    Deploying Web Application

    Hi, I need to know the way for deploying ASP.NET 1.1 (VS 2003) and ASP.NET 2.0 (VS 2005). Both web applications have code-behind files which I don't want to show them out. How do I go about doing it using the option of window installer? Thanks alot in advance. Your help is greatly...
Back
Top