I am trying to run the following code in dspMC_AxisWorks Dlg.cpp from trial.h. I have a button and when I press the button, I want it to execute bool CdspMC_AxisWork sDlg::ValidExec Data().
If anyone could give me direction on how to solve this problem it would be greatly appreciated....
User Profile
Collapse
-
trying to run subroutine from a different file
-
If there is a really simple program that combines vb and c++ code in Visual Studio 2008, it would really help me.
I have looked and haven't found a good example I can work off of yet. -
How do you combine vb and c code
How easy is it to combine vb and c code in VS 2008? I have an application that is written in vb and interface files for a motion controller written in C++. The vb and c++ code need to communicate between each other. How hard would it be to use events and delegates to solve this problem? -
I don't know how to implement that code for vb.
I have been able to get a ZedGraph application working by itself but I haven't been able to get it to work with my code yet. I tried installing MS Chart control but I was unable to get that to work, even after upgrading to SP1 for 3.5.
I am thinking that I might be able to get ZedGraph to work if I put more time into it....Leave a comment:
-
I haven't gotten to the graphing portion yet, but the first VB example on http://msdn.microsoft.com/en-us/library/6ka1wd3w.aspx works very well. Thank you....Leave a comment:
-
It said "Declaratio n Expected" when I went to run the code. That was the only error.
Link to other question rather than confuse this thread. [tlhintoq]
Thank you for your help.Last edited by tlhintoq; Sep 15 '09, 06:59 PM. Reason: Additional question removed as it has its own threadLeave a comment:
-
How do you add a second form to a .vb application
I am creating a user-interface that needs to have multiple screens. I need to know the easiest and fastest method in order to accomplish this. -
Thanks for catching that wrong initialization.
I just need to figure out how to call a subroutine at the beginning of the program. It will not accept Form1_Load()....Leave a comment:
-
Thanks for your input.
I tried using just a while statement and it didn't like it because the while statement wasn't in a method body.
Code:Public Class Form1 Dim isrunning As Boolean = 1 Dim COUNTER As Long = 0 While (isrunning) RunContinuously() End While Private Sub RunContinuously() COUNTER = COUNTER + 1 Label1.Text
Last edited by tlhintoq; Sep 15 '09, 03:46 PM. Reason: [CODE] ...your code goes here... [/CODE] tags addedLeave a comment:
-
try Call Sub Label1_Click()
Private Sub Label9_Click(By Val sender As System.Object, ByVal e As System.EventArg s) Handles Label9.Click
Call Sub Label1_Click()
End Sub
Private Sub Label1_Click(By Val sender As System.Object, ByVal e As System.EventArg s) Handles Label1.Click
End SubLeave a comment:
-
How do you make one button "click" another
I am trying to call Sub Label1_Click from Sub Label9_Click . Any help would be greatly appreciated!
Private Sub Label9_Click(By Val sender As System.Object, ByVal e As System.EventArg s) Handles Label9.Click
Sub Label1_Click()
End Sub
Private Sub Label1_Click(By Val sender As System.Object, ByVal e As System.EventArg s) Handles Label1.Click
End Sub -
I need to make a subroutine run continuously in VB 2008
I need to make a subroutine run continuously in VB 2008.
Can I make a button permanently on? If this is possible, how can I do this? I can put all of the subroutines I want run inside the button click class.
No activity results to display
Show More
Leave a comment: