dcsimg

Search:

Type: Posts; User: michaelrawi

Page 1 of 5 1 2 3 4

Search: Search took 0.76 seconds.

  1. Re: Prevent WebBrowser Control open external browser

    My thoughts is that when an url finished loading, I want that webbrowser to navigate to next URL. Is there something wrong with my code?

    I have checked some of the URLs, and it fires...
  2. Re: Prevent WebBrowser Control open external browser

    @jmcilhinney. Ok heres my code


    Public Class Form1
    Dim _myURLIndex As Integer
    Dim myURL As List(Of String)

    Public Function LoadFromDB() As List(Of String)
    ' Here is a...
  3. Re: Prevent WebBrowser Control open external browser

    Yes, I called WebBrowser.Navigate for each URL list. But even if 1 url is not fully loaded when I started to called Navigate for 2nd url, its going fine. No external browser opened. The external...
  4. Prevent WebBrowser Control open external browser

    Hi,

    I have a windows form that have 5 webbrowser control. I also have serveral links of URLs and each webbrowser will open them. My problem is that after all links already opened, when I close my...
  5. Re: [T-SQL] Help with LastBuy price of an item

    Still stuck at this problem. Is there anyone who can give me a solution?
  6. [T-SQL] Help with LastBuy price of an item

    I have these tables:

    Item:
    Name | SellPrice
    ---------------------
    A | 100
    B | 200
    C | 300

    And a table of buyitem details
  7. VS 2010 Re: Combo box and text box vertical alignment

    If it is possible, why don't you use datagridview to lineup those controls?
  8. VS 2010 Re: Combining classes and modules into one file

    For me, I always separate codes to the level that make me easier to manage.
  9. Replies
    12
    Views
    1,625

    VS 2010 Re: Month Calendar trouble

    Thread marked as resolved. I will post this case sooner. Thanks for your suggestion. :thumb:
  10. Replies
    12
    Views
    1,625

    VS 2010 Re: Month Calendar trouble

    Thank you very much. It works like charm. Playing with WndProc seems way beyond my knowledge.. :p..

    Anyway, I still has 2nd problem with this calendar. If u try to change the year (i.e. click the...
  11. Replies
    12
    Views
    1,625

    VS 2010 Re: Month Calendar trouble

    That would be impossible. In my real case, the bold dates are transactions that happened in those month who pointed by user. Transactions are growing each day, so there's no way I would bold all...
  12. Replies
    12
    Views
    1,625

    VS 2010 Re: Month Calendar trouble

    Indeed. My sample code is to highlight 10 days in every month. But what I want to show is how to produce the bug with simple code. My real case is that I want to bold a few days which are different...
  13. Replies
    12
    Views
    1,625

    VS 2010 Re: Month Calendar trouble

    It's Month Calendar. My clients has default settings just like my development computers. I already tested with debug/release version in my computer too (without using VS), and it appears that I...
  14. Replies
    12
    Views
    1,625

    VS 2010 [RESOLVED] Month Calendar trouble

    I have a simple code with a month calendar.


    Dim CurrentStart As Date
    Dim CurrentEnd As Date
    Dim TransactDates As List(Of Date)
    Protected Sub LoadMonth()
    TransactDates...
  15. [2005] Get all class name in a namespace

    Can anyone show me how to get all class name in a given namespace ? I have an assembly that contains multiple namespace, but I only want to know all class that exist in specific namespace.

    I know...
  16. Replies
    4
    Views
    571

    Re: [2005] Constructor question

    What I mean is, when I insert a constructor in a form class, it always insert InitializeComponent() automatically. I want my class has this ability too, since my class is inherited by several class...
  17. Replies
    4
    Views
    571

    [2005] Constructor question

    How can I put additional method if I want to add a constructor. Like example with Form Class, when I add constructor, it always add a method called InitializeComponent() and a comment

    Public Sub...
  18. Re: How does it work? Why does it work this way?

    In VS2005, when creating a component or user control, I can't test my toolbox image unless I compile and add it reference outside the project. Is this fixed in 2008? Also, it need some trick to get...
  19. Replies
    14
    Views
    17,786

    Re: What is your Favorite New Feature?

    Yes. I totally agree with Intellisense, especially for it's behavior. It's now like C# (you can type a word, and intellisense will pop up. Something that you can't get in VB 2005.
  20. Re: [2005] Shared objects VS Local objects

    What I want is to use the object in DB processing in other class as well. That's why I declare it on shared level.

    Is it safe / wise ?
  21. [2005] Shared objects VS Local objects

    I have these variable:
    Public Shared SQLConn As SqlClient.SqlConnection

    It use for doing ADO.NET connection. So, after I finished database processing, I close and re-use that variable. Is it...
  22. Re: Create trigger for SQL in vb at run time

    This is create trigger command

    CREATE TRIGGER <Schema_Name, sysname, Schema_Name>.<Trigger_Name, sysname, Trigger_Name>
    ON <Schema_Name, sysname, Schema_Name>.<Table_Name, sysname,...
  23. Re: Create trigger for SQL in vb at run time

    You can create trigger within application with ADO and SQL Statement like "Create Trigger for Update ..." then delete it after use.
  24. Re: [2005] CTRL + ALT + DEL question

    Instead of hiding the app which is impossible, why don't you disable CTRL+ALT+DEL ? It has explained few times in this forum.
  25. Replies
    7
    Views
    507

    Re: [2005] draw a line

    jim, X axis always to the right, Y axis is downwards in winform.

    @champ0342: You should draw the line on Paint event, rather than click, because it won't draw again when you minimize or move the...
  26. Replies
    5
    Views
    639

    Re: [2005] Saving important data

    If you want the easiest but non secure way, just use XML files, but rename it to something unfamiliar (ex: data.wll, xyz.abc). Therefore, they wouldn't know what file is about unless they curious and...
  27. Re: [2005] Assign all variables in one .txt file

    My.Settings can be accessed outside the application. It's basically an XML format. You can even open it in notepad. Like jim said, you should read about My.Settings in MSDN.
  28. Replies
    1
    Views
    339

    Re: Problems working with INNER JOIN

    Hi

    Try this one:

    SELECT `d.store_id`,`s.StoreName` , `s.Address` , `s.ZipCode` , `s.City` ,
    `s.StorePhone`
    FROM `distance d`
    INNER JOIN 'stores s'
    on d.store_id=s.StoreNumber
    WHERE...
  29. Replies
    4
    Views
    576

    Re: Property ReadOnly(true)

    I don't think it's possible. But you can prevent it by code.

    Public Property myProperty as Integer
    Get
    Return 0
    End Get
    Set(ByVal Value as Integer)
    If Not ReadOnly then
    ...
  30. Replies
    3
    Views
    516

    Re: Multi form project

    - shared variables
    - use module (altough I don't recommend it)
  31. Replies
    8
    Views
    485

    Re: .NET 2.0 or 3.X ?

    Yes, you should upgrade your skills. There's some of 3.5 technology that IMO. might be useful in the future like WCF and WF, tough I'm still doubt about Linq. You can keep your VS2005 because there...
  32. Re: Count Absent for a Month, Quartely, Weekly, etc using Query

    You're welcome (sama-sama :D )
  33. Re: Count Absent for a Month, Quartely, Weekly, etc using Query

    When you use an automated absent machine (ex: fingerprint, swap cards etc), if an employee present, he will swap a card (or use his finger), then the system will insert his data with given date when...
  34. Re: Count Absent for a Month, Quartely, Weekly, etc using Query

    isAbsen? So, you mean that if someone were absent, that employee was given 0 isAbsen status in your database that day? If so, then who would input that employee status? I thought that you make an...
  35. Re: Count Absent for a Month, Quartely, Weekly, etc using Query

    If you can count total for a week, IMO you should know how to count absent in a row as well. How's your method counting for a week ?
  36. Replies
    9
    Views
    579

    Re: extracting numbers greater than zero

    O my, I don't look that this is VB Classic category. I saw this thread from RSS.

    Just ignore my thread if you work with VB6. I don't think VB6 have replace method on string variable.

    Ok, try...
  37. Replies
    9
    Views
    579

    Re: extracting numbers greater than zero

    rob, he wants to remove all zeros, including the right one after number 3.

    ken, you should try this
    Dim a As String = "0000023203"
    a = a.Replace("0", "")
    MessageBox.Show(a)
  38. Replies
    4
    Views
    480

    Re: SQL server 2005 -Date problem

    How about: select * from employee where joineddate>'31/10/2007' ?
  39. Re: Count Absent for a Month, Quartely, Weekly, etc using Query

    Count employee's absent is a bit tricky, since you want to request a data that shouldn't exist (an employee who was absent meant there will be no data in history table).

    To take a non exist data,...
  40. Replies
    4
    Views
    508

    Re: Copyright Sample Code

    Of course. All sample codes provides by Microsoft (MSDN) are free to use.
Results 1 to 40 of 173
Page 1 of 5 1 2 3 4



Featured


Click Here to Expand Forum to Full Width