Answer Questions
January Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
Francis Ballares no templates or anything after VS2005 Express install
Hi guys. I installed VS2005 Express but when i want to add etc. a class or make a new project, there are zero options and therefore i am unable to make or do anything. please help me with this, i really would like to start adding classes and start new projects as soon as possible. I tried searching the windows for templates and download but found zero results so please help me with this. Hi, Are you using the released version of ...Show All
Jeeno Using and deploying DLL files without having to register it under Windows : is it possible ?
Hello everybody. I'm a new member of this forum and I ealready have an imoprtant question. I wanna know if it's possible to create and deploy under Visual Studio 6.0 (VB6) or .NET (7.0 or 7.1) library files (dll) that I could use without registering it.... The goal is to be able to run any application using this library whatever the access rights to the register base of Windows... Thank you for your supports !!! Dll's written ...Show All
Yannick De Koninck Code Snippets and VS 2005 RTM
I'm inserting Properties in a Class using Code Snippets and I'm running into an issue. Everything works fine until I want to Assign a default value for the private field. Everytime I try to do this, it changes all the types. For example: Private mTest As Integer Public Property Test() As Integer Get Return mTest End Get Set(ByVal value As Integer) mTest = value End Set End Property When I assign mTest ...Show All
Webhawk How do I execute a sub in different form?
How do I execute a sub in different form Michael When the SUB is named 'subFromForm2'. Then I get an error message that says that 'subFromForm2' is not a member of 'System.Windows.Forms.Button'. Dim OrderForm As New Order() Order.Order_Load() Hello Michael, If you have 2 forms (Form1 and Form2), and Form2 has a sub named 'subFromForm2' you execute it from Form1 with the following code: Dim secondForm as New Form2() Form ...Show All
vivi_0606 Settings the Process Priority Level of the app
The program I am making requires a bit of thread time since it is meant to hold a lot of controls and objects, but I've been stuck on setting the process priority level. I've tried the System.Diagnostics.Process class and same with a bunch of the thread things, but it didn't work. If you know how to set the process priority class for your current application please post here. Thanks, Tanner Hi. ...Show All
SergeyPV typed datatable.getchildrows error
I've generated 2 typed datatables in a typed dataset. the tables are related through a parent-child relation. I call parenttableadapter.fill(dt) then dt.item(0).getchildrows(). this returns an invalid cast exception My parent table is named ReqHeader, my child table is named ReqDetail. System.InvalidCastException: Unable to cast object of type 'ReqHeaderRow[]' to type 'ReqDetailRow[]'. The method I'm calling is called: "GetReqDetailRows& ...Show All
MrZap Send email in VB6?
Is there a way to send emails in VB6 Everything I have found so far is for .net not VB6....Can anyone show me an example Thanks. Hi gloira, please search the web for CDO.Message for SMTP based mailing and MAPI.Session and MAPI.Message for MAPI based mailing. You should find some samples on both APIs for VBScript or VB6. CDO.Message (cdosys) is available with Win2000 and above and easy to use if you hav ...Show All
HongZ WebBrowser
How can I make my browser control loads local html files I tried Navigate but it asked for internet access (per my firewall). Is there anyway to make the browser offline at all times No that won't work..... but this will. I think it will also work with eml files. Wb.navigate("c:\myfile. mht ") Would that work for any web page. Even if it had external images or css or js files I tried this also: Browser.Navigate( ...Show All
HemlataArcot How do you open an embedded resource?
I am trying to make a program that will will make it easier for me to access some of my smaller frequently used program. I am new to Visual Basic and just discovered how to embed a .exe file into the project. I just dont know how to open it now. Basically there is a button and when it is clicked it needs to open up a .exe file, lets just call it 1.exe. I have looked around everywhere on how to do this and all I found was some resourcemanager com ...Show All
Ismail Shariff netmeter application
Hi. Is it possible to create an application that stores upload and download values from my internet connection ( a sort of netmeter app) and stores it into a table I already built a database and a UI. How do I get the ul and dl values Any help would be appreciated. I'm trying to get the amount of sent and received bytes every time I get online. If I double click my connection icon on the tray I get a pop up dialog that shows those values. ...Show All
Andrei Gheorghe Number Only Input
First of all, Sorry of this is a really simple question. I'm a bit of a noob. Is there anyway to make an input box that will only allow the input of numeric characters Thanks in advance. EDIT: The following code was taken straight out of help and was used to allow only numbers to be entered into a textbox. ' Boolean flag used to determine when a character other than a number is entered. Private ...Show All
Harley uint64 to date conversion
I created a class that returns the system up time. However the number it returns is a uint64 as thats what its base class returns. When i run the program it returns a value like this System Uptime = 94118 What want to do is convert this to a time and have it say something like 1 Day 22 hours 5mins and 30 seconds. However I a not sure how to do this, what does this number represent the number of seconds mins and what is a uint64 is t ...Show All
unknwn How to put a picture into a picture box fetched from a website using WinHttp
Hi, I need to fetch an image from a website and put the image into a picture box using WinHttp in VB. I referred to the article in the following URL. http://msdn.microsoft.com/library/default.asp url=/library/en-us/winhttp/http/about_winhttp.asp It has the following code.But the code gives error. The lines that give error are marked in bold as follows. Private Sub Form_Load() ' Create an instance of the WinHTTPRequest ...Show All
Geoffers Control.Invoke and ByRef parameters
I'm currently invoking a function that takes ByRef parameters using Control.Invoke (which I notice specifies the Object parameter array to be ByVal) but the array of parameters I give it isn't updated by the function. Is this possible with VB.Net 2003 or must there be some error in my code in order to help us help you - please show us a code sample! In VS2005 the string gets updated, however in VS ...Show All
