Getting Calc To Work *missing Somethign*?
Feb 5, 2009I made this, but I cant get my simple functions to work. The code looks right.
Option Explicit On
Option Strict On
Imports System.Math
[code]......
I made this, but I cant get my simple functions to work. The code looks right.
Option Explicit On
Option Strict On
Imports System.Math
[code]......
I have a button on vb form and its click event will call Windows to run "system32calc.exe" which is work great. My problem is I do NOT want to have multiple calculators running even if i click the button more than once. Is there any way to detect the calc.exe runing and then disable my button event to call calc.exe?
[Code]...
My click-once app has english and spanish content. In development, it runs fine with the two resource files I have - named multilingual.en-US.resx & multilingual.es-MX.resx accordingly. When I publish it looses these resources for referencing.The files reside in the root directory for the app.
View 1 RepliesI recently installed visual studio 2010 and am using visual basic.The problem I am having is that some operators do not show up within the editor. For example the code line below
test = 3 + 5 - 6 / 7 * 4
only displays
test 3 5 - 6 / 7 * 4
the = + operators are not visible although they are there since the program will work as intended....and if I open up the .vb file in notepad everything is there. It just won't display within Visual Studio.
Env X is working on a calculator that needs some help to make it better.We have a button that will make the number either positive or negative.We have code that works but we want to make it better.Env X will give you the piece of code and see what you can do with it.[code]
View 1 RepliesI want to use calc.exe file in my vb .net program. I was trying this code but it not works as what I want.
Private Sub CalculatorToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalculatorToolStripMenuItem.Click
Dim startInfo As System.Diagnostics.ProcessStartInfo Dim p As New System.Diagnostics.Process
startInfo = New System.Diagnostics.ProcessStartInfo("calc.exe")
p.StartInfo = startInfo
p.Start()
p.WaitForExit()
When I click the menu to use the calculator, my system seem to hang and the background process is stopped.
What I want is, when I click to use the calculator, the background process is not stop. I only want we cannot touch the form at the back, I meant we cannot click the function at the back form untill the calculator is close. The calculator also should locate at the top of the form and cannot be minimized.
i want to know how to add n Month to a given Date. [code]
View 2 RepliesI am writing a few line of test code using Calc as a test on Sendkeys, but it does not seem to work correctly. Basically I am shelling out to Calc and trying to use Sendkeys to close it, but it is not working. [Code]
View 9 RepliesThe picture is a graphicspath drawing a curve through the specified green dots... the red points are the Bezier points that are auto generated by the graphics path.
Basically I want to pass in an array of points (in this case the green dots in the pic) and get an array back of the Bezier (red points) - I want to calculate the location of these points MANUALLY - and not use the graphicspath object to work it out.
It doesn't have to be exactly the same just similar.
how to interface between Vb.Net and OpenOffice.org calc. I wanted to store and read back values from OpenOffice.org calc as we did in Excel from VB.net.
View 3 RepliesI have been tring to get this to write to a template.ods file but it creates and opens a new calc .ods file and then writes the listviews items.
Public Sub ExportToOpenOffice()
ConnectOpenOffice()
Dim myDoc As Object, firstSheet As Object
[Code].....
adding value to items in text box from list box in order to calc
View 3 RepliesI'm working on it for a couple of days but I couldn't get any success.. I'm trying to access Calc's edit box and trying to write something there but I couldn't do it =( what's wrong with my codes?
[Code]...
I am interested in finding out how I can add and extract cell values in open office calc using VB.net.
View 1 RepliesI'm not sure where I'm going wrong with this. it's supposed to let the user add scores to the list, then calculate the total, average, and count. However, it doesn't let me add more values to the list. Any help whatsoever would be awesome! Keep in mind, I am new to VB and programming languages, and was just playing around with code hoping for any sort of positive result, and therefore some of the code may not be necessary, or make sense. Here's what I have now:
[Code]....
Public Class form1
Private Sub btnAnswer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAnswer.Click[code]........
how can i make vb realize that the side that is opposite of the given angle, has to be less than the other sides. Also im not sure what Acamar meant by If txtAngleA.Text <> "" AndAlso txtAngleB.Text <> "" AndAlso txtSideA.Text <> "" Then 'two angles and a side Because im not sure what <> does.
I found that when group by multiple values does not work well with VB.NET, but it works well with C# ,here are my code, is there something wrong with my VB.NET Code? Here is my VB.NET code:
[Code]...
I have an application that requires data be entered, and after entering, a button is clicked to process that data. Clicking the button works just as it should--the data is processed properly. In constructing a test module, I provide a set of data values, followed by:
btnWhatever.PerformClick()
Nothing happens. I have used this syntax for years, and it has always worked flawlessly. I have triple checked everything else and isolated the problem to the failure of the PerformClick(). The PerformClick() is in a test subroutine that does nothing but fill textboxes and labels with default data, then calls the PerformClick() on the button to begin processing. Again, the button works fine, the data is entered as it should be, but the PerformClick() does not fire the click event.
I have a form that works on my local Machine I created into. I have Office 2007 on this machine. I created the Form with the Excel 12 Reference. I move the Entire conetence of the Project folder to my work computer. Which has Office 2003. Do I need to recreate the form with the Excel 11 reference. I could not get the form to work on work computer. IT has a com error. I am acessing the EXE for the debug folder w/in the Bin Folder.
View 7 Replieswill SQL statements that work in Compact SQL Server also work in the Express Edition of SQL Server?
View 2 RepliesI'm doing an experiment on WPF and MVVM, and while coding the ViewModel on Vb.net I noticed this red wavy lines under my ObservableCollection(of T)s T_T
Anyway, the application is in WPF & VB.Net, under the .Net Framework 3.5 (I checked) and I have an 'Imports System.Collections.ObjectModel' on top of my class. Intellisense shows the other classes on System.Collections.ObjectModel except ObservableCollection.
Here's a screenshot.
So, why is ObservableCollection(of T) missing and how do I make it appear?
I am trying to publish to my hard drive so it can later be burned to CD or DVD a project I have developed and I seem to be missing that file. The person I developed it for does not have good internet access, so downloading such things as SQLExpress and DotNetFx35Client is all but out of the question. How and where do I get the file? I know where to put it on my hard drive once I have it.
View 3 RepliesI have been given the source code to a 2005 VB project to modify. But I can't find the .sln file or a vbproj file or open the project. Don't I need that file to open the solution correclty? or do I have to start a new solution and just add in all files?
View 7 RepliesMy SQL query shows 8 rows when executed but the following code only shows 7. Apparently, it�s missing the first row.
...
Dim temp as String = Nothing
Dim r As SqlDataReader = objCmd.ExecuteReader()
If r.Read() = True Then
[Code]......
I get the following error when i try to run my program. i tried to rebuild it many times but still it doesn't work. visual studio cannot start debugging because the debug target windowsapplication1.exe is missing. its my first time to use ms visual studio 2008.and i think there are some dependencies missing in this software but i'm not sure what are they.
View 1 RepliesI am Telerik controls in my project, Error is telerik.web.ui is not found, Coudn't find assembly
I have added Telerik.web.ui.dll inside Bin directory
Reference Code is available inside web.config
I have the code below that reads the partial app.config below. It works fine. But wondering how can I check that "value" is set to 0 or that the TraceSwitch is missing. If I remove the switches, my messagebox displays a 0. I want to display a user message if the app.config is not able to provide logging. And if the TraceLevel is set to 0, I will not show a message.
Dim s As New System.Diagnostics.TraceSwitch("TraceLevel", "")
MessageBox.Show("Trace Level: " & s.Level)
<system.diagnostics>
[Code].....
I like to confirm that array is created, how can it be done? There is no nul keyword?
View 5 RepliesI have a problem with this code (look below) and I can't understand where is the problem: In moment of execution it gives a ERROR: Missing (;) at end of SQL statement.?
Dim cs As OleDb.OleDbConnection = New Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Database Password=password;User ID=admin;Data Source=" & Application.StartupPath & "data.mdb")
Dim result As Integer
Dim cmd As OleDbCommand = New OleDbCommand()
[code]....
I cant find the reference for Microsoft.SqlServer.Smo Where can I find this missing reference for VS2010 Pre release candidiate
View 10 Replies