code for checking out using an online shopper i have the products what i need is help on getting the checkout to work.I want it so that when i lclick checkout i get the total amount, and when i enter the amound tendered i would like the change to come up with however mcuh change is left?
If I was to upload one or more file(s) to a server, is there anyway to check that / those file(s) against the file(s) stored on my computer without downloading the file(s) to check against the original file(s)using VB.Net?This would need to be done in a recursive fashion from a parent folder downwards, the folder being of the end-users choosing.
I usually use the developer fusion online code converter to convert code snippets from C# to VB.NET.It partially fails especially in LINQ or complex interface / inheritance scenarios. What are your experiences with other converters? Can you recommend another tool or website?
I got this code from a c# post on how to get the location of an open process. What I want to do is beable to snap applications to running processes by finding their location using winapi user32.dll and searching window name then parse the location and set my application on a time to constantly move to what ever location that program is in. I tried the C# to vb.net converter doesnt work.
ok so i have two "programs" one is a server and the other is a client (a little live chat). i dont want to keep my computer on for it to run the server so i wanted to somehow run it on my online server. is this possible?
How do I write the equivalent c# code below in vb.net? This 'About' form is launched by a ToolItemMenu. It is just informational and contains only an OK button
//Form contains company logo, copyright info and OK button. public About formAbout; using (formAbout = new About())
Protected Sub updatedata() Dim command As New MySqlCommand("UPDATE company_alert, company_financial SET company_alert.alert_value = (company_financial.receivable * 360 / company_financial.revenue)WHERE company_alert.alert_id='DSO' AND company_alert.stock_code = company_financial.stock_code AND company_alert.year_id = company_financial.year_id AND company_alert.period_id = company_financial.period_id", conn)
[code]....
How am i to do the checking in db that if stock_code already have in the company_alert it will go to insert..
I have some code that will give me a week number, But How can I add to my code for checking if a particular year has 52, or 53, weeks. there is also a leap year to consider, I would like my week number to reset when the new year starts to week Number 01,so here is my code can anyone add to this code for checking the above..[code]
I am using the given code to copy my database files...it works like a charm in debug mode but as soon as I create a setup, it stops working. The error is
"Database Detach Failed"
I tried checking the code line by line and found that the code does not enter the IF block.I have no idea why.
Public Sub bk() Try Dim strDatabasePath As String = My.Computer.FileSystem.CombinePath(My.Application.Info.DirectoryPath, "LIC.mdf")[code].....
I have working on 1 program that is for Mu Online game. Its Mu Launcher program,but i'm having trouble with it. I can't make right "Server Status" to show Online or Offline I can't make autoupdater people to have using this for theyr server.
I make one file launcher.txt to get info the program but i need a lil help to finish thise program. The program is not for 1 server only its freewere . So here is the problem with the Server Status and AutoUpdater to get info from what server..
I have conditional code checking in a card game Im working on and it just feels wrong.I m looking for a better way.Right now, all my functions return a card. If I get a card Im usually done and can fall out of my nested structure.If I dont get a card I have to test a condition If card is nothing.And this condition gets repeated ad-nauseum.Here is a small sample of the code.
card = FindMaxTrump(playableCards) If Not card Is Nothing Then 'If we found a trump at all[code]....
This might be a fine way to do it, but the constant check for a null card is what has me wondering if there is a better approach I'm missing.
I have been using the code below to tell if the computer has an internet connection. It works fine on my home computer but when I run it at work on our network which has internet, it fails. I can go to the sites I use below in my browser but when this is run in my app, it returns false. Any ideas why? Is there a better way i should be checking?
Protected Sub gvwMileStone_RowDataBound(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs)
[code]...
ddlEProjectLevels is dropdownlist in edititemtemplate.Whwn i click edit in 1st row ddlEProjectLevels gets loaded with data from database.But in 2nd row dropdownlist does not contain values.Again in 3rd it gets loaded from db.Means in alternate rows,when i click edit dropdownlist(ddlEProjectLevels) doesnot load values.Can anybody help?
A long time ago, on a PC far, far away from Windows, one MS-DOS program (the father) could run / execute / spawn another MS-DOS program (the son). When the son terminated, it could set a return code which could certainly be interrogated by an MS-DOS batch program or, I think, by any father program that invoked it (depending on the language in which that program was written). I have a small utilility which I want to invoke from my application, and, since that utility sets a return code, I would like to interrogate it in my application when the utility terminates. I've looked through the MSDN Library but could not find anything that seemed to cover this situation. Is there a way to do this in Visual Basic 2008 Express
I want to check at client end whether the entered date in text box is future date. I mean this textbox should allow future date only. code the above problem using jquery or vb.net
I am a new member that has just start coding. Im currently working on a small application for a desktop that will give me information from my system. I have code that works but might not be great. I have code that checks that the network is connected but need it to keep checking and updating. I Have tryed loops, goto and timers but not having any luck. Can anyone help point me in right direction. Here is my code so far.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label1.Text = TimeOfDay Label8.Text = "Time :"
What is the code for ignoring the case of an entry while checking to see if the entry is correct or not... (i.e. in a flashcard program... given definition, asks for the name) I don't want the case of a character to affect whether the answer is correct or not.
Check Score: The winner is the one with the highest score less than or equal to 21If both scores(player total and computer total) are over 21, or if both are equal but under 21, the game is declared a draw.
There is something wrong with this line: If intPlayerCardTotal < intScore And intComputerTotal < intScore Then MsgBox "Draw"
With this code i check the serial serialnumber of a usb stick.
[code]...
It is not perfect because the programma crash when there is no usb in de PC.But how do i search fot the sctick if it has a name , for example PPH ? And not G: , because it is everytime a different station.
I thought you couldn't run an EXE from a web page, you had to download it. How can it be that ClickOnce lets you choose online-only? Does it temporarily install the EXE on the users computer?
If I want my application to run online only and I use the publishing wizard in Visual Studio, how do I get the whole install thing onto my website? Do I upload something onto my site using FTP?What do I upload onto the site? And once the files are on my website, what file does the user access to run my application online?
I have a customer that does not allow for local installation of any version of MSDN so telling me to press the help or F1 key in VB6 will not help. What I need is a link to VB6 IDE functionality (ie all of the special characters in the find dialogue to help in searching or how to effectively use "use pattern matching" when I press CTRL+F).
My friend s doing an online project...He wants to know how many users(REGISTERED) are LOGGED-IN CURRENTLY in his site...i.e if i'm ADMINISTRATOR of this DANIWEB, i want to know the USERS CURRENTLY LOGGED-IN...
I am developing and application in vb.net winxp+ (windows xp upwards). The application has to receive backup data from clients software located at different pc over the Internet. but am concerned about security of this application on the Internet. what would be the best way to implement security in vb.net 2008 to make sure that the data is not sniffed or interfere with?
am thinking of encrypting the data before sending, saving it that way until it need to be viewed before decrypting. what type of encryption would you suggest? Is there any other way you would suggest this data be sent?
What is the efficient way to check if server is onlie? I used code to check one table in the server to see app can reach it or not. I do not think it is the best way.
I friend and I are trying to work our way through this, and right are having some issues in terms of getting vb.net to connect to an online sql server. We have found lots of resources to connect to local sql servers but nothing about connecting to an online one. I was wondering if this is possible as we are trying to be build an inventory and pos system for a small company we have, which can be accessed through the vb program from any computer as long as it has an active web connection.
How do you connect to an online database? Let's say it's located at www.abc.com/app_data/thisfile.mdb. What would you enter for as the DatabaseFile in the following code?
Dim DatabaseFile as string = ???? Dim connection_builder As New OleDb.OleDbConnectionStringBuilder connection_builder = New OleDb.OleDbConnectionStringBuilder connection_builder.DataSource = Me.DatabaseFile connection_builder.Provider = "Microsoft.Jet.OLEDB.4.0" connection_builder.Add("Jet OLEDB:Database Password", Password) Return New Data.OleDb.OleDbConnection(connection_builder.ConnectionString)