I mean not like windows xp which the number and signs are not in the same textbox, but like windows 7 which you can see the whole calculation before pressing equal, and i don't think that compute.datatable can do this because it's limited with the basic signs(+,-,/,*) and it doesn't include the other signs(like : sin,^,root,log), so how to make a calculator like windows 7 one?
I know the propertys transparency key and opacity. It isnt what I am looking for. I need to have my form to have the same Glass Effect the as win7 does while runing under win7 plataform. Like, if i have glass effect in the top I should have it in the background.
how to make a zodiac calculator, I know the basic codes that I need to insert, but I'm creating it in a windows application. The day and year are text boxes that the user can input that particular information, but the month is a drop-down box. My two questions are: Is it okay to delete the private sub of the day and year so I can combine them into one sub? And how do I get the months to show up individually in the code area? Or would I have to delete the drop-down box completely and make it like the day and year text boxes where the user can input the information themselves?
How to make this calculator:2 Texboxes In first textbox is writeble (where user will write the version) The second textbox is notwriteble ( there will show the result)In the first textbox to make calculation of version.If user writes for example: 1.03.11 In textbox2 to display the calculation: 22656 If the user writes for example other version:1.05.50 In textbox2 to display the calculation:22895and the same way if user writes 1.03.24 or other numbers auto to calculate the versions, and if user writes a bad text in tetbox2 to display error: For example In textbox1 user writes text: omg In textbox2 shows : Error Only if user writes number like this: 1.03.11 or other number will calculate it else to shows error
I am trying to make a calculator with one textbox and 16 buttons. Buttons are:(0,1,2,3,4,5,6,7,8,9,+,-,*,/,=,C). So here is code for now:
vb.net Private Sub nula_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles nula.Click TextBox1.Text = TextBox1.Text & 0 End Sub Private Sub jedan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles jedan.Click TextBox1.Text = TextBox1.Text & 1
[Code]...
When I add those numbers and operators its easy, but how make operations really work now?
I posted this in the wrong part of the forums. Using visual basic 2008 and keep geting this message whenever I try and test this calculator program I've been mucking around with for the past 2 hours.
I am trying to make a simple resistance calculator for practice. I use text boxes to let the user input the current and voltage, and then a combo box for the units and then a list box to display the results. For some reason no matter which units I select it doesn't convert at all. For example 1/2 will always show up as 0.5 in the list box no matter which units are selected from the combo box. Here is my code.....I know that there is more cases but I only put one to see if it works before I write all of the cases.
Public Class Form1 Dim unitsA As String Dim unitsV As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Text = "" End Sub
This is to Clear all numbers but I don't know how to Clear just one number. for example i want to do 23 once a user clicks CE, i want to make it show 2
I'm new in the programming area and I'm having trouble making a calculator. My question is: How do I make the calculator work using only the keyboard, without the need of mouse.
I tried this: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.KeyPreview = True End Sub Private Sub FlowLayoutPanel1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles RESULTADO.KeyDown If e.KeyCode = Keys.NumPad0 Then [Code] .....
It only works on the text box called Result. I want to know how do I make work in the whole Class, and if it is possible, to make it work on two different Classes without writing twice the same code.
On the Form1.vb I've to combo boxes, 1 to display class names and 1 for levels. Also have some Labels to display i.e. the base_STR number. But after trying random stuff to get it linked and closed VB to restart again because it was messed up too much
I'm trying to make a calculator that adds from two text boxes and displays the answer in another box, but It gives an error when someone enters a character. What can I do to display a string error message in the third box if a letter is entered in one of the first two boxes instead of a number?
I already build an Antivirus but the problem is When the windows start show the UAC message for Users, so that let them aware from it.So how can I turn it off on bith windows Vista and win 7? or make my software as a secure software for Windows?
I'm new to the forum and new to programming with Visual Basic Express 2010.I would like to built a special calculator.Calculator will fall in number in the link provided on the website.
I have a winform, VBExpress 2008 with a single button and this code behind it to illustrate the problem:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.ShowDialog() MsgBox(OpenFileDialog1.FileName) End Sub
i have a application based on Visual Basic platform.. where Enter key action as Tab key ,, which ease the enter key to move from field to field, rather than the tab key.. its works perfectly in Winxp ... but i'm having problem in Windows7 ultimate..
Depending on what component is handling the print for you, some of them are not 64 bit ready (i.e. 32 bit only). To use them you must compile your application as 32 bit only. It will then run on the WOW platform that Win7 supplies.
You change this option on the PropertiesCompile screen. Press Advanced Compile Options and review Target CPU:
this code is for win7 is there a way to work it on xp pro sp3
Imports CoreAudioApi Public Class Main Private _device As MMDevice
Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim devEnum As New MMDeviceEnumerator_device = devEnum.GetDefaultAudioEndpoint(EDataFlow.eRender, ERole.eMultimedia)Timer1.Enabled = True End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick pkMaster.Value = CInt(_device.AudioMeterInformation.MasterPeakValue * 100) End Sub
I used VB6 to create an EXE file that uses MSComm1.The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed).It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are not compatible with Vista/Win7) but with no success.However, when I installed VBE on the laptop, it now runs the EXE quite happily.Does installing VBE also install a different set of runtime files?Is it posible to distribute my program to my friends who have Vista or Win 7, without them having to first install VBE?
I have used it successfully on 32 bit Win XP VB2008 Express application, but I am having trouble in 64bit Win7 environment.
Specifically the .Connect method is throwing an exception {"The client failed to connect. Make sure the server application is running and that it supports the specified service name and topic name pair."} NDde.DdeException
how to get my vb6 exe to run in any win7 or Vista?The error I'm getting is: Component comdlg32.ocx or one of it's components is not correctly registered or missing. I've tried using the P&D Wizard to specifiy loading it into the SysWOW64 folder but I'm not sure if I'm doing this correctly. I use the P&D Wizard then load everything into Inno for delivery but my customers who now have Win7 or Vista can't use my product.
I am making a windows service that will communicate with a local application through named pipes, and with a server through WCF webservice. So the application hosts the WCF service for the local application, and is a client for the webservices. When trying to run this as a service, the whole thing crashes. I have localized the problem to the "Session 0 Isolation" issue?
�If two-way interaction is required, use Windows Communication Foundation (WCF), .NET remoting, named pipes, or any other interprocess communication (IPC) mechanism (excluding window messages) to communicate across sessions. WCF and Remoting have a better security enforcement that will prompt the user (assuming UAC not shut-off) to elevate if needed. But I am not sure what they meen. As far as I know, i cannot create a windows service as WCF.