Getting Started Without VS.NET
does anyone know how any online resources that can show me how to
create web apps that include code-behind, and uer controls without
I have VS.NET in work, but would also like to do work at home, but
cannot install VS.NET on my home laptop because I simply dont' have the
space or processor power.
Any online articles would be welcome, as will any open-source apps - I
currently have SharpDevelop, but I find it unstable as it crashes my
laptop alot of the time.
Did you try Web Martix? It is a FREE tool from Microsoft.Regards, Narayana ...VB.NET: How to convert hexadecimal number to normal (decimal) number?
Hi to all
VB.NET function Hex() converts numbers to hexadecimal strings, is there any reverse function that converts hexadecimals back to numbers??
Hi, how are you?
In C#, we have something like:
Convert.ToInt32(string strValue, int Base)...
So I basically can do:
Int iDecimal = Convert.ToInt32("AF8", 16);
I'm pretty sure there must be something like it on VB.Net.
Hope this Helps,
Covohttp://covodev.blogspot.com/"Everything should be made as simple as possible, but not simpler", A. Einstein
That should work, thanks.
I'm fine, BTW...Convert number to integer
Right now I have a form that has people enter there numbers, I do some calculations and then send the projections back to them. In the form I have them enter the value without commas. I would like to make easier for people by letting them enter their values with commas (i.e. 20,000). How do I filter out the commas so that I have just the numeric value? I have to be able to evaluate thousand and millions, no decimal values.
Hi there, this really isnt to difficult, you should be able to do something like this
Set your input variable to be a string, the c...Converting classic to .NET 2 code, and .NET gets an error back from ADS?
For future-proofing, our Internal Phone Directory is being moved onto our AD servers, and obviously we're using LDAP for queries.To get the phoneboook queries working, I adapted the current classic ASP code to use LDAP, and that works fine. However, we're wanting to move these pages to .NET, and that's where the problem comes in. Using the same basic logic from the Classic code (90% of its unchanged) to produce an LDAP query, I get the error 155 Unknown error (0x80005000)This is using the same website, and so the same credentials - unless aspx pages run und...used a c#.net to vb.net converter and am now getting a syntax error.
ok I used a cool utility at http://www.kamalpatel.net/ConvertCSharp2VB.aspx to convert some c#.net to vb.net and it spit out a bunch of code which almost works but I am getting a syntax error on this line
Imports (StreamReader sr =
Shadows Function)() As StreamReader(objResponse.GetResponseStream())
I tried it that way and also like
Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream())
but either way gave the same error
Compiler Error Message: BC30035: Syntax error.
Line ...Rounding numbers in .NET
I take in a value like 17499.99 in my app.
I want to round this up to the nearest thousand
So above should be 18000. Even if I have a value like 17001 I want to round up to 18000.
Anyone know how I can do this? I have tried using the Math class but it does not do this for me.
If i round 17499.99 using Math.Round it gives me 17500 but I want to get 18000.
Once it is anyway over 17000 I want to round it to 18000.
Try something like this:
1) Take the number and divide by 1000
2) Round that number to the nearest integer (using Math.Cei...how to get start with .NET
the net help people installed to my desktop
1-microsoft visual studio .NET enterprise developer 2003
2-microsoft .NET framework 1.1
what else do i need ...??? and how can i try with some simple code in VS.Net and run it to see
If you want to develope web applications, then you'll also need IIS on your PC. That'll require XP-Professional or Windows 2000/2003, but XP-Home edition won't allow IIS installation.
As for how to get started, you can search the web for some tutorials or buy a good book on VS. The topic is way too vast to...Getting Start With .net
i'm intersted to learn asp.net (vb or delphi) .
i programming with delphi6 but i'd like to tp know something about programming in internet specially with .net .
i hear about microsoft.net with delphi 7 that i can programming with delphi in .net .... is it right ?
what 's our opinian about it ? and better to learn Vb.Net or continu with delphi(or delphi.net)
I think there is some support for Delphi in .Net.
However, you will find much more support from the user community if you choose a more popular language such as VB.Net or C#. Since your al...Where to start and how did you get started?
Hi, I have had a feeling for a long time to jump into the adds market for some time due to my low income (shooting for the stars) and I don't have anything better to do these days. But I find it really difficult not to give up due to lack of guides (what I can find atleast) and all the hard words which only makes me confused. But I won't give up. Never. Not sure if this is the right place to post this, but I deffinitly would be really greatfull for help getting started. How did you get started?
+If there are any teacher that wanna show me the ropes private, I can give payment with ...converting a string to number or integer
erm... how is this done in c#?
or convert an object to and number or integer?
I need to get the below as a number or int:
TotalRecords = conSelProdCount.ExecuteScalar().ToString();
So i can use it in:
ProductItem arrNews = new ProductItem[TotalRecords];
int rwcnt = 0;
while ( dtrProducts.Read())
string NewVar = dtrProducts["ProductName"].ToString();
arrNews[rwcnt] = new ProductItem();
arrNews[rwcnt].rowcount = @TotalRecords;
arrNews[rwcnt].ProductName = dtrProducts["Pro...How do I prevent numbers from getting rounded?
I'm multiplying two number -- both coming from a DataTable -- but the result is rounded. How do I prevent this?
Here's my code:
row["ExtendedPrice"] = Convert.ToDouble(row["RetailPrice"]) * Convert.ToDouble(row["Quantity"]);
I have $49.80 as the retail price and quantity is 3. Result, I'm getting is $149Thanks,Sam
What type is row["ExtendedPrice"] ? If it's an integer, then it doesn't matter whether you convert the RetailPrice and Quantity to doubles.
Darrell Norton, MVPDarrell Norton's BlogPlease mark this post as answered if it helped you!...Prevent Number From Getting Rounded
A Web Form has a TextBox within a DataGrid wherein users are expected to enter only whole numbers. It should be validated so that the TextBox doesn't remain blank or any non-numeric data is entered in the TextBox. If the TextBox doesn't get validated I want to display messages to the user which should be as precise as possible for the user to easily identify where he erred. This is how I did it:If (CType(ea.Item.Cells(4).Controls(1), TextBox).Text = "") Then lblMessage.Text = "Quantity cannot be blank"Else If Not (IsNumeric(CType(ea.Item.Cells(4).Con...Getting started .net website
Hi folks,Does anyone here know of a good website to just sit back and read for learning .net? Thanks in advance.Baldeep
Click the Get Started and Learn sections here.
Quite a few out there - - this one, has a lot of good videos - also ASPNet101.com, but then, I might be a little prejudiced David WierMCP/ASPInsiderASPNet101.com - where to look first!Please Vote for ASPNet101 - 'Best Community Resource'!Control Grouper - easily control properties for multiple controls with one control!Calendar Express - The Best HTML Calendar Generator on the web!(P...integer division without rounding
how can I do an integer division without rounding?
but it rounds it upto 1 but what I want is 0. How can I do it in VB.net?
devmetz: I think this is what you are looking to do: Dim x As Decimal
Dim y As Decimal
Dim z As Integer
x = 41
y = 60
z = Math.Floor(x / y) Good Luck.-Jessy Houle
Try something like Dim x As Integer = 41 Dim y As Integer = 60 Dim result As Decimal = x / y result = Math.Floor(result) Regards,Vinz"Code, Beer and Music&...