How To Use Function In C Language

Jul 12, 2011

i know how to use function in c language. but i don't know how to apply it in visual basic.[XCODE] Public Class Form1 ' Dim secondform As New Form2

[Code]...

View 5 Replies


ADVERTISEMENT

C# - English Language Plural / Singular Transform Function?

Oct 19, 2011

Is there any function (VB.NET or C#) that can transform an English word into its singular or to its plural form? I was thinking of having a database that contains all words in English as well as their plural form but I also think that it is stupid since that will be huge and besides there are rules in English on how to translate a word to its plural form, so why not create a function that does the transformation?

View 4 Replies

Calling Function From C# - Error 'Start' Is Not Supported By Language

Jul 20, 2011

I've a vb.net class library and my c# application is accessing that method. My C# code gives me compile time error that 'Start' is not supported by language, where Start is my method name.

[Code]...

View 1 Replies

Localization - Menu Strip To Select An Other Language - Doesn't Change My Menustip Text To My Selected Language

Mar 29, 2010

In my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose another language. Also is it possible to get those resx files such as MyForm.fr-FR.resx compiled so it isn't an external file outside my app? Or to get those files in an Language folder at the same location of my app, so i don't have all those fr-FR & nl-Nl folders in the same location as my program?

View 4 Replies

Migrate From .net Specific Language To .net Framework Language?

Mar 11, 2010

What reasons are there to migrate from vb.net specific language to .net framework language?
Examples:

VB.net
ubound
msgBox
.Net Framework
array.getUpperBound(0)
messageBox

View 4 Replies

IDE :: When Localizing A Form / Select Language In Form Properties But IDE Automatically Selects Different Language

Nov 29, 2010

I have multilingual application that was done in VB2005.We recently had a request to translate the application to Arabic (Egypt), so I have been happily running through all of the forms and changing the layout for Right to Left format.I have 2 forms that are problematic though.On one form, whenever I select Arabic (Egypt), it will automatically switch the selection to Arabic (Saudi Arabia) and try to add an ar-SA resx file.On the other problematic form, if I choose Arabic (Egypt), the IDE will automatically select Chinese (People's Republic of China), then copy the contents of my ar-EG resx file into the zh-CN file, overwriting all of our Chinese translations and layout changes with the Arabic ones.

View 1 Replies

How To Pass A Function To A Function Is Functors/function Objects Avaiable In VB2010

Oct 12, 2011

I want to make an numerical integration method with takes in an analytic function and integrate it over a specific interval. For the numerical integration procedure I want to use some procedures in nr.com. The problem is that these are programmed in C++ and they uses functors to pass a function to the integration method. How can I do this in VB 2010?

I want to initialize the function (i.e. set a=1,b=0 for function y(x)=a*x+b) and then pass the function to the integration method. Then when the integration method call the function it only calls the function with one parameter (i.e. x since a,b is already set)

What is the best way to do this in VB2010?I want to make a general integration method where I can pass any single valued function and integration limits.

I have just started using VB, and from what I have found so far it seems like the tools you have is

- to us a delegate for the function
- to use a lambda expression for the function
- send a pointer/adressOf
- to create a function class/structure and submit this to the function

As for now I am most inclined to create a function-class. But I am not really sure how.F.ex. I make different classes for each "uniqe function" I want to integrate, but how can I pass them to the integration function when I need to specify the argument type in the integration-function-call?This seems like a basic problem which applies to many Math operations, so I think it would be very useful to clarify this.

View 2 Replies

Function Syntax - Call A Function With 2 Arguments When The Function Is Only Defined For One

Apr 1, 2010

I'm trying to undersatnd the syntax of calling a funciton and it seem confusing when I'm using a web service in ASP.net. Maybe this question should be in an ASP forum, but it is a VB question. This simple web service allows you to type in your name and it response with an alert box with you name.

My question is, How can you call a function with 2 arguments when the function is only defined for one. I understand that the second argument is actually a method that handling the respons, but how can you interchange function arguments for methods and how do you know that there are methods for

Here's my call:

<script type="text/javascript">

function HelloWorld()
{

var yourName = $get('txtYourName').value;

[CODE]...

View 7 Replies

VS 2010 : Convert A DLL Function Call Which Has The Callback Function Routine Called Within The DLL Function Call?

May 25, 2012

I am trying to convert a DLL function call which has the Callback function routine called within the DLL function call.The DLL function call signature is like this:

typedef void *HANDLE;
typedef HANDLE HACQDESC;
DECLARE_HANDLE (HWND);

[code]....

how to convert this DLL call to VB.NET and also how to create the callback function and send it as parameter to this function
call.

View 15 Replies

Make Picturebox1(function Already Assigned) Perform The Same Function As Picturebox2(no Function Assigned)

Aug 1, 2009

i wanted to ask how to make picturebox1 ,to which functions are already assigned, perform the same function as picturebox2 ,to which no functions are assigned.For example:I have already made picturebox1 and have assigned it alot of function like when play button is pressed then picturebox1.visible = true and when we press pause button picturebox1.visible = false. So now i decided to make a theme and have to remove the picturebox1 and want to allow the picturebox2 to havefunction of picturebox1.But when i disable the theme the function of picturebox1 should go back to picturebox1.

View 6 Replies

Best Language To Convert .net App To Web

Feb 16, 2012

I have created a neat visual basic app.In it are 25 little Access databases that the user selects things from. The costs of each selection is added, subtracted, divided and totaled. Finally all the selection totals (25 of them) are saved in one database that the user can come back later to either finish selecting (if he didn't before) or delete it. There are many images and sounds, text boxes, drop down lists,etc in the app. Its about 10MB big.

What langauge do you think would be the best one to use to put this app on the web so that users can play with it without buying a CD or downloading a CD?

Before I invest to have it re-done in a lanquage to put it on the web OR I learn another langauge and do it myself..

View 4 Replies

Changing The Language Of App?

Jul 21, 2010

have created a text editor, but I want to upgrade it with some serious functionality and userbility.

I have done most of the things that I had planned, but I have also come up with an idea that I am not too sure on how to code.

I have created a dialog box which opens when you click the options menu item in the menu stip control, I have customised this dialog box so the user can change display modes and so on but now I want to be able to change the language of the entire application as in from the default English (american) to French, German and so on.

When the user changes the language selection I want the text in the menu bar, the title of the app and the text of whatever is in the text box of the app.

I have created check boxes for the language selections, and invoked the check box click handle events but not sure how to proceed with the rest of the code.

View 2 Replies

Choosing Language In .Net?

Aug 4, 2009

In previous I have great experience on Vb 6.0 And Now I am getting train on Vb.Net. But some well adviser saying you should study C# instead of Vb.Net. In this case I don't know which language I should study.

View 9 Replies

EOS In Any Other Language Besides BASIC?

Jan 29, 2010

BASIC and its variants Visual Basic and VB.NET are the only programming languages I know of that treat the end of line character as a statement terminator (I'm excluding batch files and command scripts from the domain of programming languages). I'm curious: is there any other language that uses this convention, or does BASIC stand alone?

View 5 Replies

Get The System Language?

Aug 31, 2011

Is there a way to get the system language.for example when ur system language is set to english it selects the case english then sets all the form strings into english, when the case is dutch it sets all the form strings to dutch.I'm prepared to translate the strings myself but the real question is what funcion I need to use on how to get the language.

View 5 Replies

How To Change Language

Mar 24, 2011

I any one can tell me how to use this line code.?

Thread.CurrentThread.CurrentUICulture = New CultureInfo("zh-CHS")

My problem is where I can get other languages strings to be used here. like Chinese = zh-CHS.What about English, franch, arabic....

View 2 Replies

Input In Another Language?

Mar 22, 2007

I have developed a library mangement system in VB 6.0 and haven't been able to fulfill the aim of being able to input data in another language (hindi).I've now newly switched to VB.NET 2003.

View 5 Replies

Language Bar Using An Array?

Mar 4, 2010

I'm looking how to code a language bar, when Language>Dutch, English, French.

I was able to do it like this;

[Code]...

But now I would like to know how I can do it using an array, arraylist or collection. Or if you know a tutorial or some other sample, would be nice too.

View 3 Replies

Language For XML Processing?

Jun 18, 2012

I want to process MSXML which is generated by Visio 2010, Which Language will be helpful to work with the generated XML,

View 2 Replies

Make A COM In Language Other Than C/C++?

Aug 11, 2010

I noticed that MIDL.exe only generates header file (*_h.h) and GUID file (*_i.c) for C/C++. Which facilitates creating COM in C/C++. What if I want to create COM in VB or some other language? IMO, I must define the interface in MIDL language first, and then compile it with MIDL.exe. So how could other languages utilize the output of MIDL.exe?

View 2 Replies

Move To New Language?

Apr 10, 2012

I'm just a programmer with visual basic 6 also c language.

My friend told me to move into visual basic.net is more easy than vb6 also the IDE is better, another friend is told to move in visual c++.net, the IDE is better than devcpp.

I don't know about vb net or vcpp net language, because I'm leaving a world of programming since two years ago but now I need it to use in my work.[code]...

View 9 Replies

Name Change Of The Language

Nov 2, 2009

Upon careful consideration of the latest syntax additions to the VB.Net language ( ie. 2010 edition) I wish to suggest a name change of the language. My reason is simple, increasingly the language is becoming nothing like the BASIC core language which the earlier versions represented. Thus the basic component of the name in my opinion has to replaced with something.

View 1 Replies

Programming And The Language .net?

Oct 21, 2010

I have a general question about the programming language vb.net. I wonder how I should see the vb.net language compared to a "lower generation " language like for example C+.For example if you had to develop a CRM application , can you build such an application in both programming languages with the same amount of detail and efficiency?

Is it right if I say that the "language" vb.net is an abstract version of for a example a lower language like C+ in a way that the same possibilities are possible as with C+ but more efficient so it takes the programmer less time? So basically if you would compare it with building a house in C+ you would need to build a door with all the separate pieces while in vb.net you would just place a door as a whole. But this does not mean the possibilities of building a house as a whole are fewer.

So now comes my final question: can vb.net be seen as a true programming language like C and can somebody who masters vb.net be seen as an equally good programmer as somebody who masters C+. Or would the C+ programmer in this case be superior?

View 1 Replies

Using The WFC Language Converter?

Dec 7, 2010

can i know how to work with Visual Basic in Visual Studio?

View 2 Replies

What Language Do Use For Project

Apr 15, 2009

It's a fairly straightforward (desktop based) application with a central datasource on the network, for storing and editing parts that make up a machine. The machine needs to be configured in the application, and with this configuration production documents (manuals, software, bill of material) are generated. (e.g. if part A and B are added to the configured machine, then variation X on chapter 5 of the manual has to be used, if that makes sense)There's a few non-standard components like a tree with radio & checkboxes, and it has to have some sort of version control in it. It needs a WYSIWYG editor to edit chapters of manuals. It doesn't necessarily have to run on platforms other than Windows because it will only be used on the company network and everybody runs windows.I was thinking Java because of it's huge numbers of useful libraries and free IDE's. I'm a Java programmer myself so I'm not very familiar with other programming languages.I believe there's a bit of VB/VBA and Delphi knowledge present in the company (it's not an IT company and I'm not likely to program it myself).

View 14 Replies

In Which Language This Code Is Written?

Jan 24, 2012

I found a very useful source code on how to make a fud cryptor, but the author didn't mention which coding language / software he used, please follow the link below, to see the full source code.

View 5 Replies

.net - Asc(Chr(254)) Returns 116 In .Net 1.1 When Language Is Hungarian?

Oct 5, 2009

I set the culture to Hungarian language, and Chr() seems to be broken.

System.Threading.Thread.CurrentThread.CurrentCulture = "hu-US"
System.Threading.Thread.CurrentThread.CurrentUICulture = "hu-US"
Chr(254)

This returns "ţ" when it should be "þ" However, Asc("ţ") returns 116. This: Asc(Chr(254)) returns 116.Why would Asc() and Chr() be different?I checked and the 'wide' functions do work correctly: ascw(chrw(254)) = 254

View 3 Replies

.net - Currency Formatting Language?

Sep 27, 2011

I am using a GridView and I need to show the currency in Arabic culture so I used this code which is working very well,

DataFormatString="{0:c}" The results will be like this : د.ك.‏ 55.000 Now what I want is to change it like this : 55.000 K.D ???

View 1 Replies

Adoption And Language Translation

Apr 11, 2012

I am attempting to find resources of information in regards to the adoption of- and the language translation for VB.NET.Specifically, I need what countries VB.NET was adopted into AND what languages it has been translated to.

View 3 Replies

Android To WP7 - Language To Select: Either C# Or VB

Sep 20, 2011

I'm going to migrate my Android application into WP7 platform. Android one contains heavy enough calculation stuff (encryption/decryption), plus extensive usage of DB (SQLite) and some graphics (simple) and I'm trying to figure which language to select: either C# or VB. I have some experience both in C# and VB.net, but can't decide which one to select.

View 9 Replies







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