User Profile

Collapse

Profile Sidebar

Collapse
hdbbdh
hdbbdh
Last Activity: Feb 17 '14, 08:23 AM
Joined: Dec 26 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hdbbdh
    replied to How to Copy a Text to Clipboard
    Thanks Luuk.
    Anyone has any other suggestion please?
    See more | Go to post

    Leave a comment:


  • hdbbdh
    replied to How to Copy a Text to Clipboard
    Thanks Luuk
    By sure I try to search for it, and by sure I reached to this page, but I am unable to understand how it is done, and also I am unable to insert it in my page, and that's why I ask for simple example.
    See more | Go to post

    Leave a comment:


  • hdbbdh
    started a topic How to Copy a Text to Clipboard

    How to Copy a Text to Clipboard

    Dear All,

    Would you please tell me how to copy a text to clip board using JQuery?
    What I want is something like the code toolbar in the following URL
    http://www.nicegass.co .kr/2009/07/why-jquery.html
    I try to find it in internet but it is all complex code and I am unable to understand it, so if you can give me a simple example I will appreciate that.

    Thanks in advance
    See more | Go to post

  • hdbbdh
    started a topic Uncaught Exception

    Uncaught Exception

    Dear All,

    I hope that i put this question in correct section.
    Today I plan to start my first lesson in j2me, and I download a simple book and I try my first program.
    When I take a second step to add commands, I face an error message which is:
    Code:
    uncaught exception java/lang/noclassdeffounderror: readfile.
    So, would you please help me to understand this message? and how to solve it?
    Please find my code...
    See more | Go to post

  • Thank you very very very much Johny.
    See more | Go to post

    Leave a comment:


  • hdbbdh
    started a topic How to use if statement (it is false in all time)?
    in PHP

    How to use if statement (it is false in all time)?

    Hello everyone,

    I am trying to read text file to get my data from it, but unfortunatly, there is something wrong, and i am unable to find it, so would you please help me in that?

    The php code is:
    Code:
    <?php
    $DataFile = "myfile.php";
    $FileStream = fopen($DataFile, 'r');
    $Line = fgets($FileStream);
    if($Line == "This is the first line")
    {
    	$Line
    ...
    See more | Go to post

  • hdbbdh
    replied to What is wrong in this script
    Dear Friends,

    I found the problem, actually the script sends URL as “http://bytes.com” not as http://bytes.com, so the URL becomes invalid.
    But unfortunately, I stuck in other problem which is that WebBrowser_Docu mentComplete is not fired when the URL is invalid.
    Then my new question is:
    What is the event which is fired when WebBrowser complete loading the page or showing “This program connot display the...
    See more | Go to post

    Leave a comment:


  • hdbbdh
    started a topic What is wrong in this script

    What is wrong in this script

    Dear All,

    First I am sorry to put this question here.
    I have just finish one program using VB.NET to capture html file and convert it to image file, and I put it in IE context menu using the following registration code.
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Capture this page with html Capture]
    @="C:\\Program Files\\html Capture\\html
    ...
    See more | Go to post

  • hdbbdh
    replied to Desktop Sticky Form
    Thank you tlhintoq for your help.
    I don't know about this technology, but I will study it and I will come back.
    Thank you again.
    See more | Go to post

    Leave a comment:


  • hdbbdh
    replied to Desktop Sticky Form
    Hello everyone,

    The best code that I can do is something like the following:

    Code:
    Imports System.Runtime.InteropServices
    
    Public Class Form1
        Public Const HWND_BOTTOM = 1
        Public Const SWP_NOSIZE = &H1
        Public Const SWP_NOMOVE = &H2
        Public Const SWP_NOACTIVATE = &H10
    
        <DllImport( _
        "user32.dll", _
    ...
    See more | Go to post

    Leave a comment:


  • hdbbdh
    replied to Desktop Sticky Form
    Hello CroCrew,

    Thanks for your responding.
    As you see, I submitted this question in vb.net section, and I reached before for the same link that you mention, but I don’t find anything written in vb.net.
    This question is not like "could someone create an application for me", because I am asking about a tip only, and I tried to find anything on internet, but unfortunately I found nothing.
    Please note...
    See more | Go to post

    Leave a comment:


  • hdbbdh
    started a topic Desktop Sticky Form

    Desktop Sticky Form

    Hello everyone,

    Can someone help me to make a desktop sticky form, always on the back not on top.
    I try to search on internet but I did not find anything.
    Please help.

    Thank you
    See more | Go to post

  • Also I found this sample on internet, but because I dont know c# then I dont understand it....
    See more | Go to post

    Leave a comment:


  • Thank you for reply

    Actually I can read all bytes by File.ReadAllByt es but I need to read this file with progress.
    If I read it byte by byte it will take a long time (it is take more than 5 min to read 30MB).
    So I think about this way, but there is something wrong, I dont know what is it.

    Finally, I am sorry about my English.

    Thanks
    See more | Go to post

    Leave a comment:


  • How to read a stream and save it as byte array

    Hello everyone,

    I try to read a stream and save it as byte array to add it later to zip file.
    this is the code that I use
    Code:
    Dim totalbytes As Byte() = Nothing
    Dim iBytesRead As Integer
    Dim sChunks As FileStream = File.OpenRead("c:\myfile.wav")
    Dim Totalread As Int64 = 0
    ReDim totalbytes(sChunks.Length)
    Do
    iBytesRead = sChunks.Read(totalbytes, Totalread, Totalread+
    ...
    See more | Go to post

  • hdbbdh
    started a topic DataGridView Control Question

    DataGridView Control Question

    Hi everyone,
    I don’t know how I will ask, but I will explain to you what I want exactly.
    I have DataGridView control in my form, and when the form is started, the DataGridView will has some rows.
    Now I need to allow the user to add new rows and edit only the new rows.
    For example, let’s say I have these rows
    Office IP
    --------- ---
    General...
    See more | Go to post

  • hdbbdh
    replied to Publish Problem
    Please, some help please.
    See more | Go to post

    Leave a comment:


  • hdbbdh
    started a topic Publish Problem

    Publish Problem

    Hi everyone,

    when I try to publish my project, I have this error:
    Code:
    Cannot continue. The application is improperly formatted.
    Contact the application vendor for assistance.
    and when I press the details, I got this:

    Code:
    PLATFORM VERSION INFO
     Windows    : 5.1.2600.131072 (Win32NT)
     Common Language Runtime  : 2.0.50727.3053
     System.Deployment.dll   : 2.0.50727.3053
    ...
    See more | Go to post

  • I think I found the solution
    Code:
    Dim sr As New StreamReader("c:\cas.html")
    Dim text As String = sr.ReadToEnd()
    sr.Close()
    text = text.Replace(Chr(13), "")
    Do While InStr(text, "  ")
        text = text.Replace("  ", " ")
    Loop
    Dim spattern As String = "<\s*a\s+[^>]*href\s*=[\s'" & Chr(34) & "]*(?<word>[^" & Chr(34)
    ...
    See more | Go to post

    Leave a comment:


  • Hello everyone,
    Thank you Plater for your answer and your important tip.
    I make some modifications in the code and it must be work, but finaly I got only the last URL, then can you help me in this.

    Code:
    Dim sr As New StreamReader("c:\cas.html")
    Dim text As String = sr.ReadToEnd()
    sr.Close()
    text = text.Replace(Chr(13), "")
    text = text.Replace("  ", " ")
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...