|
Whehe, what's a deadline?
I are Troll
|
|
|
|
|
This is a series of pretty dumb questions. If you want to learn VB, buy a dummies book, and find out for yourself if it's too hard for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
How to Wipe/Clean Internet Explorer Temporary Internet Files, Cookies,History, Cache programatically using VB Code
|
|
|
|
|
Find the correct folder, and delete all items in there. Every browser keeps it's information in a different place, but IE's storagelocations are relatively easy to find using Google. Take a look under
C:\Documents and Settings\**your name here**\Local Settings
I are Troll
|
|
|
|
|
|
How to read the mail before landing to exchange server using VB COM?
|
|
|
|
|
You can't. If the mail hasn't been received, you can't read it because it doesn't yet.
Perhaps if you explained what you trying to do, we could suggest something else.
|
|
|
|
|
i hv made a project on vb6.0 as front hand and ms access as backhand i m getting error on running the program that some file does not exits.
|
|
|
|
|
Can you explain your error?
chirayujoshi wrote: vb6.0 as front hand and ms access as backhand
Are you playing Tennis? Its front end and back end.
|
|
|
|
|
|
...and the exact error message would be....????
How is anyone supposed to tell you anything useful about the problem if you haven't supplied any useful information about it?
|
|
|
|
|
I am working in vb.net, sql server 2005 project, I have problem. In my project have one DataSet1.xsd in this dataset have one table, in that table run time get a rows, in that all rows I want to display in Report1.rdlc Table.
I need help to all
Franics K Antony
|
|
|
|
|
An xsd is a schema, it defines the data format, it does not contain data.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi experts
i want to create store procedure in ms Access 2007.
but i cant created, Please give me a one example of store procedure and how I can call to strore procedure by vb.net.
strore procedure for insert and select querry
Thanks
|
|
|
|
|
|
Access doesn't support true stored procedures. Though it uses something that looks like one, your limited to a single query operation with no other code constructs.
|
|
|
|
|
I have an array of string of 80 characters each to print. I only want to print 66 lines per page. Once I have printed 66 lines I want to issue a form feed (ASCII – 12). Using the mod how will can I be able to accomplish this? I am not sure on the syntax
|
|
|
|
|
if the mod of the number of lines you've printed by 66 is 0, then you're on a page break.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
So something like:
If (Array Mod 66 = 0) 'test for every 66 line
Issue form feed (ascii-12)
End If
|
|
|
|
|
Exactly. Don't forget that will work only if you start with 1. 0 with give a result of 0, and 65 will give a result of 65. 66 will give a result of 0.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how can i retrieve coordinates and color information about every pixel from a jpeg picture ?
|
|
|
|
|
Well, you can't, really. Because a jpeg is compressed. But once you load it, it's a bitmap in memory. In C# you can do this efficiently, but in VB.NET you need to use the GetPixel method ( I'm not sure if it's on the Bitmap class or the Graphics class, I'd guess Bitmap tho ).
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Okay Im in an Intro to Software Dev. Class and im supposed to make a simple tax program this ive done, and it works perfectly... Now im supposed to take that program and split it up into different modules...or thats what it is called in pseudo-code. Here is the code i have and its in the 6th and 7th "Private Sub" is where the variables are claiming to not be declared. I can not figure it out what so ever. Thanks in advanced
Isaac
Module Module1
Const dblSTATE_TAX As Double = 0.04
Const dblCOUNTY_TAX As Double = 0.02
Sub Main()
'Chapter 3: SalesTax Program
'Programmer: Isaac Peek
'Date: October 02, 2009
'Purpose: Revision for chapter 2 so there are modules
'
'
'
'Declaration
Dim decPurchaseAmount As Decimal = 0
Dim decTotalAmount As Decimal = 0
Dim decTAX As Decimal = 0
Dim decTotalTax As Decimal = 0
'Input
getPurchaseAmount(decPurchaseAmount)
'Process and Output
showPurchaseAmount(decPurchaseAmount)
showStateTax(dblSTATE_TAX)
showCountyTax(dblCOUNTY_TAX)
showTAX(decTAX)
showTotalAmount(decTotalAmount)
showTotalTax(decTotalTax)
showTermination()
End Sub
Private Sub getPurchaseAmount(ByRef decPurchaseAmount As Decimal) 'ByRef is input and output
Console.WriteLine("Please enter the amount of your purchase: ")
decPurchaseAmount = CDec(Console.ReadLine())
End Sub
Private Sub showPurchaseAmount(ByVal decPurchaseAmount As Decimal)
Console.WriteLine("Your Purchase amount is: " & decPurchaseAmount)
End Sub
Private Sub showStateTax(ByVal dblSTATE_TAX As Decimal)
Console.WriteLine("The State tax is: " & dblSTATE_TAX)
End Sub
Private Sub showCountyTax(ByVal dblCOUNTY_TAX As Decimal)
Console.WriteLine("The County tax is: " & dblCOUNTY_TAX)
End Sub
Private Sub showTAX(ByVal decTAX As Decimal)
decTAX = dblSTATE_TAX + dblCOUNTY_TAX
End Sub
Private Sub showTotalTax(ByVal decTotalTax As Decimal)
decTotalTax = decPurchaseAmount * decTAX
Console.WriteLine("The total tax is: " & decTotalTax)
End Sub
Private Sub showTotalAmount(ByVal decTotalAmount As Decimal)
decTotalAmount = (decPurchaseAmount * decTAX + decPurchaseAmount
Console.WriteLine("The Total Purchase amount is: " & decTotalAmount)
End Sub
Private Sub showTermination()
Console.WriteLine()
Console.WriteLine("Press the enter key to terminate the program.")
Console.Read()
End Sub
End Module
modified on Monday, October 5, 2009 2:25 PM
|
|
|
|
|
Your error messages are accurate
Sezotove wrote: Const dblSTATE_TAX As Double = 0.04
Const dblCOUNTY_TAX As Double = 0.02
These are member variables, they are visible everywhere
Sezotove wrote: Dim decPurchaseAmount As Decimal = 0
Dim decTotalAmount As Decimal = 0
Dim decTAX As Decimal = 0
Dim decTotalTax As Decimal = 0
These are local variables, they are visible within the method only, unless they are passed to other methods. Move them outside 'main' to make them member variables, so that your methods can see them.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Yeah i moved the up tot he global spot with the constants. the program will run but not correctly... Logical error maybe?
|
|
|
|