Author Topic: vb and C#  (Read 53587 times)

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
vb and C#
« on: June 25, 2017, 06:03:28 am »
hi friends
help me

vb projects
cannot solutions problem

picture eller videos
thanks


Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1894
    • View Profile
Re: vb and C#
« Reply #1 on: June 25, 2017, 06:17:24 am »
HI Alderanuri

You have a Turkisk sounding name, so I think english is you second language.
If thats the case then I suggest that you write out your request in your native touge and then enter it into
google translate and then post the result here for us to read.

We will help you, if we understand what you want from us. :)

Dave

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #2 on: June 25, 2017, 19:11:03 pm »
thanks

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #3 on: June 25, 2017, 19:13:48 pm »

Hello there
I want to create a visual basic project.
I get a grave error message
I could not find a sample project, video, or picture application
Pleased to be your assistant

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Re: vb and C#
« Reply #4 on: June 25, 2017, 19:15:23 pm »
I will post a simple C# project very soon
Filmed in Supermarionation

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Re: vb and C#
« Reply #5 on: June 25, 2017, 19:41:36 pm »
Sample project attached.

In CamBam
-----------
1. It will appear in the CamBam 'Plugins' menu as "Sample Plugin"
2. When the menu item is clicked a message will show in the CamBam message window, "The sample plugin was RUN"
3. A small 'tick' symbol will be drawn at 0,0,0.

In Visual Studio
---------------
1. you must add References to CamBam.CAD and CamBam.Geom.
these must be from the same version of CamBam that you want to use the plugin with.

2. set the .NET version to 4.0 to compile for CamBam v1.0
or set the .NET version to 3.5 to compile for CamBam v9.8
or set .NET version to 2.0 to compile for any other verison of CamBam

Filmed in Supermarionation

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #6 on: June 27, 2017, 19:08:10 pm »
visual studio
Error

how to write vb project
thanks

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Re: vb and C#
« Reply #7 on: June 27, 2017, 20:18:05 pm »
Alderanuri,

I assumed you understood how to set up Visual Studio and from the thread title C# was okay.
Why are you using Debug ?

1. open the project
2. set the References as I said (see image)
3. use Build
4. copy the compiled dll into CamBam plugins folder
 
I don't have a VB project maybe someone else does ?
« Last Edit: June 27, 2017, 20:24:15 pm by EddyCurrent »
Filmed in Supermarionation

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #8 on: June 27, 2017, 20:40:12 pm »
Hi

I want to create a form project

thanks

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7578
    • View Profile
    • Cambam V1.0 French Doc
Re: vb and C#
« Reply #9 on: June 28, 2017, 00:25:17 am »
Hello

Have a look on this simple VB project with a form

the sources are on message #3

http://www.cambam.co.uk/forum/index.php?topic=4189.msg29143#msg29143

++
David

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #10 on: June 28, 2017, 20:48:05 pm »
?

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9079
    • View Profile
Re: vb and C#
« Reply #11 on: June 28, 2017, 21:16:53 pm »
Alderanuri,

I suspect language may be the 'barrier' here.  I believe you are trying to make what English speakers call a "mold"... a cavity in which to 'form' things that must be made (perhaps 'cast', like pouring liquid resin into a shape) to create a complex shape.

If you will describe your project more precisely, we'll do what we can to help.

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #12 on: June 28, 2017, 21:20:07 pm »

With the visual studio program
I want to run Cambam and create a form

Thanks

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9079
    • View Profile
Re: vb and C#
« Reply #13 on: June 28, 2017, 21:23:08 pm »
That's just a reiteration of the same request.  It does not help us understand.

What 'form' do you wish to create?  Tell us, and we'll help.   DESCRIBE it.

Without SOME knowledge of what you're trying to do, we're just 'guessing'.

LLoyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline Alderanuri

  • Ewok
  • *
  • Posts: 24
    • View Profile
Re: vb and C#
« Reply #14 on: June 28, 2017, 21:24:36 pm »

Without a Dll project
I want to run it externally