Answer Questions
retuchntousender Accessing Public Function located in another Project referenced within the same Solution
I've to a solution with two projects: Bungalow New Programs New Programs has a ref to Bungalow. Bungalow has a Module called Bungalow which has a Public Function (clone_control()) From within 'New Programs' I can not access Clone_Control. However, if I drag (wihin the Solution Explorer) the Bungalow module from Bungalow to New Programs, then it works OK. I thought that adding a reference was like lett ...Show All
Ivan Starr Treeview:: SelectedNode()
Hi, I am working with a Treeview control for some Help Application... I have a node structure like the below one N1 N110 N111 N112 N2 N210 N211 N212 If I Press or Click N110 I need to perform some operation. I am doing it in this way.. strSelectedNode = TreeView1.SelectedNode().Name If (strSelectedNode = "N110" ) Then ..... ElseIf (strSelectedNode = " ...Show All
ericcwhung How can I access the audio equalizer level information?
Anyone know of a way to access the levels for pitches of whatever if playing out of the speakers Every audio program seems to have those little bars bouncing up and down in realtime so it can't be too hard, right I actually need them in number form because I'm writing a program that uses basic pitch levels to identify non-dynamic sound files when they're played (don't ask, it's a long story but it will work, lol) ...Show All
Christopher Alden Error '430' en tiempo de ejecucion
Hola, Tengo una aplicacion en VB6 y mi BD esta en SQL SERVER 2000 sobre un servidor Windows Server 2003. La aplicacion la instale en Win98 y al momento de inserta en una tabla relacionada me manda este error: "Error '430' en tiempo de ejecucion: La clase no permite automatizacion o la interfaz esperada", curioso por que si agrega en una tabla sin relacion. Si alguien sabe como corregir esto por favor pasen el tip. In othe ...Show All
Chikuu VB Excel Worksheet
How do we display the contents of an Excel worksheet in VB 2005. Take a look at this previous post. You can find most of the stuff you need. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=43840 And there's always the MSDN documentation. http://support.microsoft.com/kb/301982/EN-US/ Dustin ...Show All
cmathis Cannot update table
Hi, When using the code Try Me .Validate() Me .CustomersBindingSource.EndEdit() Me .CustomersTableAdapter.Update( Me .NorthwindDataSet.Customers) MsgBox("Update successful") Catch ex As Exception MsgBox("Update failed") End Try in the walkthrough given in http://msdn2.microsoft.com/en-us/library/0f92s97z.aspx , changes were not ...Show All
Giftednewt serialport control
Hi, I am developing some software for serial port communication with an embedded devcie and am having problems getting the status of the ring indicator line. Part of my program shows the status of the COM ports lines which i update when receiving the .PinChanged event. The problem is SerialPinChangedEventArgs only tells you that a change has occured it does not tell you what state the line has changed too. While this is not a pr ...Show All
tom.winans Protecting Class Library DLL's?
I originally posted this on VBForums.com, but haven't received any replies yet, so I thought I'd try here. Anyway, the project I'm currently working on is getting quite large and we are looking at breaking a few components of the software off into manageable class libraries (i.e. DLL's). I've been experimenting with it over the past few days and the problem I'm finding is that the DDL's are insecure. What I mean by this, is that when we distrib ...Show All
Chunhua Liu sum of numbers that don't repeat
There is a sequence of numbers that, when added together in any order, the result will not be repeated. But, I just can't remember what it is. Does anybody know a+b <> a+c <> b+c <> a+b+c It's been a long time since I've thought about brain teasers and proofs. Maybe Fibonacci sequences (or those based on Phi) will help. As a + b = c, then a+b <> c+N so long as N i ...Show All
Edward Xu Displaying the current location (Line, Col) of a TextBox in a StatusBar
Any ideas The TextBox class already has a Lines property so the call to Split is superfluous. Private Function GetCursorPosition( ByVal target As TextBox) As Point Dim column As Integer = target.SelectionStart Dim row As Integer = 0 While column > targe ...Show All
Green Bird Copying the Contents of a Folder
VB.Net 2003 I am looking for any code snipets that allow in vb.net 2003 to copy the full contents of a folder to another folder name. Thanks, Fred The following quick-and-dirty code should work in VS 2003 for copying files: Imports System.IO Module Module1 Sub Main() Dim path1 As String = "C:\dir1" Dim path2 As String = "C:\dir2" Dim files() As String = Directory.GetFiles(path1) ...Show All
Interdart-ML VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler.
VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler. I have a fairly large project that I migrated from VB6 to VS2005. This is the RTM version of VS2005. There are many issues that I need to fix up in the code, but every time I change one line of code, my system runs 100% CPU for 30 seconds. This is not even close to usable. You might think I have a slow machine, but I am runni ...Show All
F0PS How can I Reboot Computer Using Visual Basic 2005
How can i reboot, shutdow, log-off my computer using Visual Basic 2005 Can you help me please:( I tried the code listed here to do a restart of Windows. I get the warning screen that Windows is shutting down (I used a 10 sec delay), but at the end of 10 seconds, no reboot. I am running Windows XP professional and have admin priv's. Any ideas Thnx ...Show All
Tulika18 Add combox in Datagrid???
Dear Team DO you have a simple code for adding a combobox in datagid Thank you very much hi neo Do you have an answer to this problem thank you very much Datagrid had limited capabilities. That is why MS came up with DataGridView in whidbey(VS 2005), which you can custom to large limits. Its very simple to add comboboxes in datagridview cells. Is there a way you can use DataGridView for your appli ...Show All
sunnyluo Object reference not set to an instance of an object.
I'm receiving this error: "Exception Details: System.NullReferenceException: Object reference not set to an instance of an object." In regards to this line of my code: ElseIf Request.Cookies("userid").Value = "" Then and if I comment out that line it also gives me the error in regards to this line: UserID = Request.Cookies("userid").Value Here is my code behind: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Partial Class ...Show All
