Hello,
please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight;
int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius;
topLeft = topRight = bottomLeft = bottomRight = true;
topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius =
workRadius;
Thank you a lot!
C. 6 1209
Carlo, MCP wrote: Hello, please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight; int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius; topLeft = topRight = bottomLeft = bottomRight = true; topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius;
Thank you a lot!
C.
Dim topLeft, topRight, bottomLeft, bottomRight as boolean
dim topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius
as integer
topLeft = topRight = bottomLeft = bottomRight = true
topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius =
workRadius
(... i think..)
__
Tor Inge
Thank you, but 3rd and 4th lines seens to be the same as C#...
"Tor Inge Schulstad" <to****************@gmail.com> ha scritto nel messaggio
news:U5********************@telenor.com... Carlo, MCP wrote: Hello, please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight; int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius; topLeft = topRight = bottomLeft = bottomRight = true; topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius;
Thank you a lot!
C. Dim topLeft, topRight, bottomLeft, bottomRight as boolean dim topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius as integer topLeft = topRight = bottomLeft = bottomRight = true topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius
(... i think..)
__ Tor Inge
"Carlo, MCP" <ca******@gmail.com> schrieb: please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight;
\\\
Dim TopLeft, TopRight, BottomLeft, BottomRight As Boolean
///
int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius;
\\\
Dim TopLeftRadius, TopRightRadius, BottomLeftRadius, BottomRightRadius As
Integer
///
topLeft = topRight = bottomLeft = bottomRight = true;
\\\
TopLeft = True
TopRight = True
BottomLeft = True
BottomRight = True
///
topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius;
\\\
TopLeftRadius = WorkRadius
TopRightRadius = WorkRadius
BottomLeftRadius = WorkRadius
BottomRightRadius = WorkRadius
///
Converting code between .NET programming languages
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=languageconverters&lang=en>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Thank you very much!
c.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> ha scritto nel
messaggio news:ON**************@TK2MSFTNGP15.phx.gbl... "Carlo, MCP" <ca******@gmail.com> schrieb: please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight;
\\\ Dim TopLeft, TopRight, BottomLeft, BottomRight As Boolean ///
int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius;
\\\ Dim TopLeftRadius, TopRightRadius, BottomLeftRadius, BottomRightRadius As Integer ///
topLeft = topRight = bottomLeft = bottomRight = true;
\\\ TopLeft = True TopRight = True BottomLeft = True BottomRight = True ///
topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius;
\\\ TopLeftRadius = WorkRadius TopRightRadius = WorkRadius BottomLeftRadius = WorkRadius BottomRightRadius = WorkRadius ///
Converting code between .NET programming languages <URL:http://dotnet.mvps.org/dotnet/faqs/?id=languageconverters&lang=en>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Carlo, MCP wrote: Thank you, but 3rd and 4th lines seens to be the same as C#... "Tor Inge Schulstad" <to****************@gmail.com> ha scritto nel messaggio news:U5********************@telenor.com...
Carlo, MCP wrote:
Hello, please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight; int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius; topLeft = topRight = bottomLeft = bottomRight = true; topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius;
Thank you a lot!
C.
Dim topLeft, topRight, bottomLeft, bottomRight as boolean dim topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius as integer topLeft = topRight = bottomLeft = bottomRight = true topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius
(... i think..)
__ Tor Inge
Sorry, did not test the code before posting...
This should work:
Dim topLeft, topRight, bottomLeft, bottomRight As Boolean
Dim topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius
As Integer
topLeft = True
topRight = True
bottomLeft = True
bottomRight = True
topLeftRadius = workradius
topRightRadius = workradius
bottomLeftRadius = workradius
bottomRightRadius = workradius
Yes, this works!
Thank you very much
c.
"Tor Inge Schulstad" <to****************@gmail.com> ha scritto nel messaggio
news:e4********************@telenor.com... Carlo, MCP wrote: Thank you, but 3rd and 4th lines seens to be the same as C#... "Tor Inge Schulstad" <to****************@gmail.com> ha scritto nel messaggio news:U5********************@telenor.com...
Carlo, MCP wrote:
Hello, please, help me to translate these four lines of C# code in VB:
bool topLeft, topRight, bottomLeft, bottomRight; int topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius; topLeft = topRight = bottomLeft = bottomRight = true; topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius;
Thank you a lot!
C.
Dim topLeft, topRight, bottomLeft, bottomRight as boolean dim topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius as integer topLeft = topRight = bottomLeft = bottomRight = true topLeftRadius = topRightRadius = bottomLeftRadius = bottomRightRadius = workRadius
(... i think..)
__ Tor Inge Sorry, did not test the code before posting... This should work:
Dim topLeft, topRight, bottomLeft, bottomRight As Boolean Dim topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius As Integer topLeft = True topRight = True bottomLeft = True bottomRight = True topLeftRadius = workradius topRightRadius = workradius bottomLeftRadius = workradius bottomRightRadius = workradius This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Davis Marques |
last post by:
hi;
I'm translating some PHP scripts to Python and have hit a roadblock
with a for statement. If someone could explain to me how one should
translate the multiple increment, evaluations, etc....
|
by: Henrik S. Hansen |
last post by:
How do you best go about translating characters like '\\n' to '\n'?
This is for a configuration file parser, where the "backslash
convention" is supported.
The naive approach --...
|
by: Anuj Mathur |
last post by:
Hello All
We are making an application for translating the literals
(HTML text and labels) of an existing ASP website from
English to another language, say Swedish.
Now, for this we are...
|
by: Michael Friendly |
last post by:
I have a LaTeX document describing a long list of items that I want to
translate to XML to treat these as a database. I've written a perl
script to do the basic translation, and a basic DTD file,...
|
by: gregf |
last post by:
I have a paragraph of text pasted into a word document, it's in Polish,
complete with polish characters. They show up just fine in word, but
the program I use for web page programming, HomeSite,...
|
by: J |
last post by:
Hi all,
I just finished a asp.net project, which is based on English language, and all
of sudden, client need different language also, say German, Chinese, etc. So,
what is the best way, or I...
|
by: Hugo Amselschlag |
last post by:
Hi there,
I've implemented a local system hook to suppress certain windows beeing
displayed by the axWebbrowser control. Now I need some more information
before I can decide, whether to suppress...
|
by: Jumping Matt Flash |
last post by:
The code i'm writing is using VB .NET and is for a web service returning a
dataset, which is in turn to be used by an ASP .NET application displaying a
datagrid.
I'm currently populating a...
|
by: kimi |
last post by:
Voip Learning and Translating Tutorial
Voice Over IP is a new communication means that let you telephone with
Internet at almost null cost.
How this is possible, what systems are used, what is the...
|
by: pinkfog |
last post by:
hi,all
I write a snippet(in VC6.0 PLATFORM) to show the ASCII character
ranging from 0-255.
snippet:
#include "stdafx.h"
#include "stdio.h"
#include "conio.h"
int main(int argc, char* argv)
{...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |