Use VB And C++/c# In Tandem

May 10, 2011

I am developing a visual object recognition system in c++/c# as a class which needs to be used in a VB program. Is there any way to utilize c++code from VB? I.E. call methods, return variables, etc.

View 2 Replies


ADVERTISEMENT

Tandem Combobboex In Datagridview?

Feb 13, 2012

I want to use two datagridview comboboxes in tandem. By this I mean make a selection in the combobox in column 1 and have its value member displayed combobox in column 2.Column 2 combobox uses it as the display member and its value member, which is numerical, is used for calculations in another column (textbox) in the grid.Both combobox columnsare bound to their own tables in a common sql2005 express database.I have a similar operationwith comboboxes that are not in a datagridview using the following code:

View 9 Replies

Using DataGridView Comboboxes In Tandem

Dec 1, 2011

What I want to do is use two drop down comboxes (Comboboxes 1 & 2)in tandem in a databound datagridview.Both comboboxes are bound to tables in an SQL 2005 database.By this I mean select an item in combobox 1 and have its display member appear in that combobox.This is usually text.The value member for combobox 1 to be displayed in the combobox 2 which is also text.The value member from combobox 1 has identical values to the display member of combobox 2 in the database tables.If I need to change the display member in combobox 2, as all situations have their exceptions, I want to do this without changing combobox 1.The value member for combobox 2 is numeric and is put into another cell in the DGV for carrying out calculations.I have managed to get the display of combobox 1 working on its own and ignoring the value member.I have done the same with combobox 2 and have the value member working correctly.

Can databound comboboxes be used in this manner or will VB.net not allow this type of operation.I have not done this with any code. I tried to get my required operation through the edit facility in the DGV.When attempting to run the program, it does not compile and throws an error which basically says "You have done something wrong.Sort it out."Typical Microsoft help! Can it be done using code in the datasets or binding sources?

View 14 Replies

BackgroundWorker1.ReportProgress - Get The Progress Bar To Increment In Tandem With The Data Flow?

Feb 2, 2009

I have finally figured out how to download a file with background worker and downloader. Now the form does not freeze.. I have only one problem left now... How do I get the progress bar to increment in tandem with the data flow? I have listed my full code below. Towards the bottom where the DoWork() sub resides, I am just a few lines short of this year long goal.

Imports System.IO
Imports System.Net
Imports System.Text

Public Class Form1

[CODE]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved