|
sir
I need simple codings in .net .I am at beogners stage.
|
|
|
|
|
Sounds like you should be buying a book, working through it, then moving on to the articles on this site. No-one can post anything that is likely to help you at this point, in a forum reply.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Mahendhirans wrote: I need simple codings in .net
You've come to a site that has plenty of code samples, articles, etc. Post only if you have a specific question. Also, work on your English skills will get better when you engage in dialogue with people on this site.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
Need simple code in vb6 to convert a .txt file or string to a .wav file using a selected voice. I am new at this & can't seem to find any snippets anywhere.
Robert, still trying
|
|
|
|
|
Well, as you're new, why are you using VB6, a dead, unsupported and terrible language ? VB.NET is free.
What you're asking for is not simple, hence the lack of code snippets.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Well, as you're new, why are you using VB6, a dead, unsupported and terrible language ? VB.NET is free.
What you're asking for is not simple, hence the lack of code snippets.
Christian;
It's my understanding vb.NET will not run on Windows 98. Maybe it's time I upgrade??
Robert, still trying
|
|
|
|
|
don't know if that's true or not, but it's free, so it's worth trying.
Yes, it's definately time for a new OS.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You are probably right. Before I rush to the computer store, do you know if the vb6 code I have will work in VB.NET and will the compiled .exe from VB.NET work on a Windows 98 machine?
Robert, still trying
|
|
|
|
|
Robert from Florida wrote: do you know if the vb6 code I have will work in VB.NET
Absolutely not. VB6 was a disaster, Microsoft basically created a whole new language with VB like syntax. There is no clear upgrade path.
Robert from Florida wrote: will the compiled .exe from VB.NET work on a Windows 98 machine?
I don't know, the 2005 .NET runtime ( which is 2.0 ) may not go back that far.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, I guess it's worth a shot & a good reason to get a new computer. Thanks for your time & info.
Robert, still trying
|
|
|
|
|
Glad to help
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Just feel I should add my 2c here.
Christian isn't just encouraging you to upgrade for the hell of it. VB6 is old and no longer supported by Microsoft. If you are learning to program then it will teach you some very very bad practices. Also theres a hell of a lot more support around for the .Net environment.
|
|
|
|
|
I second that...
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I,m after some vb 2003 source code for the card game Blackjack.
Can anyone help?
Regards
Zeldacat
|
|
|
|
|
Have you tried a simple search[^]?
---
single minded; short sighted; long gone;
|
|
|
|
|
i believe there is a vb.net starter kit from microsoft that is blackjack
|
|
|
|
|
There is a Blackjack article on this site. Do an article search here
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I want to create a database of short tips (Each tip would be a couple of paragraphs with an embedded graphic perhaps); so that I can select from an index and export a tip as a pdf (with appropriate formatting).
What tools can I use to develop this database.
When I read about Crystal Reports and Microsoft Report Services, they all seem to be rather complex and relate to creating reports from data.
Perhaps a short VB.Net program that accesses a folder of word documents would be appropriate? Or, perhaps I should be using VBA in a Word document? I am not sure where to begin, to be frugal with my learning curve.
Your advice please?
|
|
|
|
|
|
Thanks Naji for your prompt reply of assistance. RDL sounds very impressive and requires SQL. I have looked at SQL Express 2005. I believe that I must use both SQL and RDL together to create the reports I want. Will these work with Visual Basic.Net ver 2003. Or, do I need to upgrade to 2005? Or is there a SQL for 2003?
Also, might you be able to show me a "trivial, but useful," example of implementing this into a Visual Basic.net program? Perhaps a database of quotations with embedded clipart?
Or, can you advise where I might find a book or website that will shorten my learning curve?
Thanks for any further guidance you can offer.
John
Naji El Kotob wrote: RDL technology (Report Definition Language) http://www.microsoft.com/sql/technologies/reporting/rdlspec.mspx[^] has a built-in functionalies for linking with DataSet/MSSQL and exporting pdf/xls/... documents. Actually, I like RDL more than CR
|
|
|
|
|
|
Console Application in Visual Studio 2005 as described below.
Create a module “Annuity calculator” that prompts the user and accepts
• the details of a loan amount, a positive integer (with no commas and currency symbols) say 100000 for $100,000,
• the rate of interest as a number, say 7 for 7%, and
• the term of the loan as an integer, like a 10 for a 10 year term.
Then the program computes and displays the annual installment due on this loan using the following formula,
a = (p * (1 + r) ^ n * r) / ((1 + r) ^ n - 1)
|
|
|
|
|
You have to do your own homework. Noone is going to do it for you.
If you've got a specific question about a problem with your code, great, ask away!
|
|
|
|
|
Module modAnnuityCalculator
Sub Main()
'Variable declaration
Dim rate, instalment As Double
Dim principal, term As Integer
' obtain user input to determine the instalment amount
Console.Write("Enter the required loan amount (with out commas) : $ ")
principal = Console.ReadLine
Console.Write("Enter the desired rate of interest (Eg: for 5% write 5) :")
rate = Console.ReadLine
Console.Write("Enter the loan term (in years) :")
term = Console.ReadLine
'calculates the annual instalment amount
instalment = (principal * ((1 + rate) ^ term * rate)) / (((1 + rate) ^ term) - 1)
Console.WriteLine("Instalment amount due per annum is : $ " & instalment)
Console.Read()
End Sub
End Module
I have written the above code but i am not getting the result. example... let the loan amount be 100000, rate 7.5 and period 20 but the result is not as calculated.
curious to know where is it going wrong ?
|
|
|
|