Search results

  1. ayozzhero

    Disabling Printing Status Message/Form

    Never knew about the StandardPrintController. Everywhere I go, the only sample given is the Printing.PrintDocument. I will try this one. Thanks a lot sir!
  2. ayozzhero

    Disabling Printing Status Message/Form

    I am using Printing.PrintDocument. Whenever I call the Print method, there will be a status form popping automatically. Can I disable this, or prevent this from happening?
  3. ayozzhero

    There is no source code available for the current location

    I already have it fixed. What I did was to go to Project, Properties and change the namespace and one field next (or prior, I forgot) to it. However, I didn't know what caused the problem. It might be related to the breakpoints.
  4. ayozzhero

    There is no source code available for the current location

    I suddenly got this message: There is no source code available for the current location when I run my application under debug mode. However, when I run the released .exe, it runs smoothly. The error occured even for something like Dim abc as String Thank you in advanced for any idea and...
  5. ayozzhero

    Adding a Treeview Node to a Specific Node

    The function written by JohnH works like a charm with a few adjustment to suite my need. My current treeview is not deep, with just 4 levels. However, if I start with the correct way and method, I do not have to reinvent the wheel later. The part that I do not understand is, we can point the...
  6. ayozzhero

    Adding a Treeview Node to a Specific Node

    Thanks. I will try.
  7. ayozzhero

    Adding a Treeview Node to a Specific Node

    Let's say I've loaded a treeview like this: - A |-A1 |-A11 |-A12 |-A2 |-A3 Let's say I want to add a child to A11. I can do it by: nodes(0).nodes(0).nodes(0).add("text"). I've tried to make it simpler by doing something like: Dim tNode as New Treenode tNode =...
  8. ayozzhero

    convert mysql to access

    If you can access both MySQL and Access through ODBC, you may try this free software: http://www.webyog.com/sqlyog/index_sqlyogfree.php
  9. ayozzhero

    Connect to MySQL through SSH

    The MySQL server is in Linux platform which denies direct connection to any ports other than 80 and 22, except through SSH (port 22). That means, I have to get authenticated by Linux first before I can communicate with MySQL (tunneled through port 22).
  10. ayozzhero

    Connect to MySQL through SSH

    Is there a pure .Net way to connect to a firewalled database server (in this case, MySQL in Linux, where connection can only be done through Linux socket). What I currently do is to run an intermediary application first, such as Putty or Plink to open up an SSH connection. Thank you.
  11. ayozzhero

    Delegation with multiple parameters...

    I was about to ask the same question ;) I'll try this first. TQ
  12. ayozzhero

    Comparing an array with another array

    Thanks a lot John. This sure helps :)
  13. ayozzhero

    Comparing an array with another array

    Is there in VB .Net a function similar to array_diff in PHP. I am comparing 2 arrays, searching for: 1. Items which exist in array A but not in array B 2. Items which exist in both arrays Thank you.
  14. ayozzhero

    Offensive vs Defensive Programming

    Sounds like I have the wrong picture here. Look at this case: User keys in filename to be opened. Instead of directly instructing the system to open the files (which may or may not exist), we check the file existence first. If the file is unavailable, a messagebox is poped up. If the file...
  15. ayozzhero

    Offensive vs Defensive Programming

    I know the term Defensive Programming, but I do not know what is the Offensive one :( I am not asking which one is better... just wanna know what, coz when I googled, I couldn't find anything. A stupid question it might be, but thank you for replying :D
  16. ayozzhero

    career change / slow migration to change

    I am 30 too and I learned VB .Net by myself and helps from other members in the forum, and still learning. Previously, I used VB 6 and migration was hard for me in the beginning since I was carrying an extra unnecessary baggage from VB 6. I am not a graduate of any IT discipline. However I...
  17. ayozzhero

    Upgrading to .Net 2.0

    That sounds nice :) Thanks Juggalo... I though it was a kinda upgrade
  18. ayozzhero

    Upgrading to .Net 2.0

    Currently I am using Visual Studio 2003 with .Net Framework 1.1. I want to shift to .Net Framework 2.0 and Visual Studio 2005. Is there any precautions that I should take note before shifting? Thank you for your opinion and experience sharing.
  19. ayozzhero

    call objects from other forms!

    Hmm... now I know the reason why declaring as Shared is much discouraged. Some codes do solve your problem, but some others avoid creating new problems :) By the way, I am new to the DirectCast thingy. While I am trying too Google, can some one briefly explain what it is and what does it do?
  20. ayozzhero

    if statement ... newbie

    Just convert the '=' to 'Is'. If DataGridView1.CurrentCell.Value Is DBNull.Value Then Label1.Text = "empty" Else Label1.Text = DataGridView1.CurrentCell.Value End If
Top Bottom