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.
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...
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...
Let's say I've loaded a treeview like this:
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
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).
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.
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...
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
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...
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.
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?