Function Of Application.myapp File?
May 8, 2009Application.myapp file in soloution explorer is what for. i dont know the function of it.
View 1 RepliesApplication.myapp file in soloution explorer is what for. i dont know the function of it.
View 1 RepliesI have built my first VB 2008 application and now I want to install it on other Windows 7 & Windows XP computers. I have tried various Install Programs but they all giving similar problems. Is all I have to do is copy the contents of the bin directory to the other computers? [Code] When I try to run my application I get the message "MyApp has encountered a problem and needs to close". Can you suggest what I am doing wrong?
View 3 RepliesHow to create AssemblyInfo.vb, Resources.resx and Application.myapp in vb.net 2005? I recently see these things come along with vb.net sample code everywhere. Suppose I try to create new project and I want the AssemblyInfo.vb, Resources.resx and Application.myapp appear under "My Project", how can I do that?
View 10 RepliesI'm using SharpDevelop and .NET 4.0.
My question is this: If you start a new project with a "Windows Application" template, it generates a Program.vb with the following contents[code]...
I just created a simple application. I Builded that using build->build myapp. I got .exe of that application. i runned. all went fine. but when i closed that app, even after closing it is in memory. it is still running. how to deploy it properly?
View 12 RepliesI want to launch a java executable (let's call it MyApp.jar) from .Net using System.Diagnostics.Process.Start. What's the syntax in VB.Net? The command line syntax is this (if I recall it correctly - because i tried it a few days ago and it worked).
java.exe -jar MyApp.jar pathToSourceFile pathToDestFile
How do I run this command in VB.Net, using System.Diagnostics.Process.Start, assuming I have the following three string variables in VB.Net
pathToJavaExe
pathToSourceFile
pathToDestFile
i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.
Private Sub TimeDelay(ByVal DT As Integer)
Dim StartTick As Integer
StartTick = Environment.TickCount()
[Code].....
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view?
View 2 RepliesIs it possible to call a function within an asp.net web application from outside that application e.g. with VB.net? If so it would be great to see a hello world type example.
For arguments sake lets say I have my function "helloworld" in a class file within web application: [URL]
My ultimate goal is to enable some reliable / robust scheduling of functions within asp.net. I have read multiple examples about using web services / custom services running on the server etc but I don't really get the implementation.
I am working on an desktop application in which I am using WEB BROWSER component. There is a Javascript function within the webpage I want to call from my vb.net application. I am not attaching any code with this post because I couldn't find anything relevant on internet as all example involve asp.net server controls, no VB.Net desktop Application example.
way out to call JS function of the webpage loaded in the browser component through VB.Net Form Button.
How do I use this Function example in the application of Program
PHP
Public Function nichlist(ByVal message As String, ByVal keys11 As String) As String
nichlist = Nothing
Try
Dim keys() As String = Split(keys11, " ")
[Code]...
If I have a Windows Application WinApp that has a public function pubFun, how can I call it from a different windows application --> WinApp.pubFun() ?
View 2 RepliesHow can I fire off a function when it detects the console closing when using Environment.Exit(0)?
View 1 RepliesI have a function written in vb Public Function abc (ByVal x as Integer, ByVal y as String) As String
End Function
I want to call this function on click of a button in C# applcation.
I want to create a global function to use throughout my application. Let say it's about the connection to the database.My code that i plan to use in my global function is:
myConnection = New SqlConnection("...........")
myConnection.Open()
So that I can call it to use in every form throughout my application. This can make me easy to edit the connection later.how to define this global function and how to call this function in the form.
I want to create a license key function for my application.
For example I want in this key to contact 2 values: registered_to, expiry_date.
I want the licence key to be some sort of large string like: 2349ASDGKLASD87ASDGALSDK8ASD80972K.
I would need to create some way to create keys use some sort of algorhithm that decrypts the key and grabs the registered_to and expiry_date values. It also needs to check that the key string has some sort of check digit like credit cards have, so no-one can just type in a few random letters/numbers and it accepts.
I read alot about this on this forum, but I cant make it work.I want to use the ajax function on my asp.net web application
[Code]...
Here is vb.net 2008 code is: Public Function CheckURL(ByVal URL As String) As Boolean
[Code]...
when a url is processing in checking it hangs my application for a while. Is this possible it checks smoothly all url list without hanging my application.. Is there any other fastest way to check urls? Note: I have about 800 urls in file to check all links a valid by website responce or not.
I'm developping an ASP.NET application, and I need to use an old VBScript file that would be really hard to translate into pure VB in a VB function.
This VBScript is supposed to return an array that I'd like to use it in the VB function that called it.
How could I call the VBScript function in my VB application and use the value it returned?
I've search how to do so through many forum and FAQ, but it seems that these results where mainly focused on old version of the .NET framework.[code]...
I am using a datareader for a search function within my vb application.I have no problems with the columns of the database I know the column header of. However after the 7th column the header may change or more columns maybe added, so i want to use a loop to grab the headers of those columns, and add them to a listview - along with the information within the field:
[Code]...
I would like to add a window preview function (live or not) to my application. Something like the mouse-over on the vista/7 taskbar. the only thing I have is the hWND to the program's main window.
View 1 RepliesI've decided to make my own simple scripting language parser. I've created about 50% of it and it works great! I need to implement "functions". What ever program uses my parser needs to be able to connect functions to my parser for customization. I've implemented "Lua", a scripting language, in a vb.net application of mine. To connect functions to the Lua Parser it used reflections.I need to be able to (by only knowing the name of the function and its structure) call a function connected through the implementing application.
View 2 RepliesI have an application (app.exe) that has a VB Module in its source code (Module1). The module has a function called Function1. I need to call this function from another application. The module is not marked as public, so adding a reference to app.exe won't work. I'm trying to use reflection (Assembly.LoadFrom()) but unless I'm way off base, the module would have to be a class in order for me to get an instance of it.
Please nobody ask me "what have you tried?" I tried a million different things and let's just say "none of them work." So I'm looking for someone that has specific experience with doing exactly what I'm trying to do. If you don't have that experience, please move on to the next question and ignore mine.
I'm trying to do something which i am not sure is possible, im hoping someone will be able to prove me wrong.I have a desktop application written in VB .net which needs to post to google analytics, the interface they provide is javascript based. At the moment my application opens an internet browser, goes to a specified URL which in turn executes the javascript contained within, this is cludgey and memory gobling!
Is there any way of importing a javascript file and calling a javascript function without opening a third party browser? would preferably not want to use the browser control either.Is there a way of instantiating for instance a javascript engine and passing it the commands?
I have a simple program made in VB .NET 2003 with a few functions. I want to call these function from another application with automation.How can i do this?
View 3 RepliesI must say I don't get the vb Random function. Try making a basic winapp application, but a button named Button1 and a few (around 10) labels on the form. Then add the following to the forms codebehind:
Code:
Public Class Form1
Public Function RollDize(ByVal iDize As Integer) As Integer
Dim iRes As Integer
[CODE]...
Now, if you click the button, you will see that all the labels get the same number. However, if you step through the code in debug, the numbers are random.
I'm about to start a new project and want some advice on how to implement.I need a web application which contains a booking module for reserving timeslots, and a time management module which will enable employees to clock in / clock out.
If I am writing an update to the time managment module, I don't want to disrupt the booking engine availability by releasing a new solution containing both modules.to make things more difficult, there is some shared functionality like common users, roles and security.Here's a suggestion I've gotten, which sounds a bit cruddy, but may be functional.Write a 'container' web application which consists of basically a frame, and authentication / security features. This then has links which, will load the 2 independantly built and released web applications into the frame.I can see that say, if I wanted to update the time management module,
For a small project I need the possibility to "trigger" a function in a Window-form-application from a Service. So there are 2 program's. One is the visible Form application with textboxes and buttons and so on... The other is a sort of service program that runs on the Windows Service account.
Actually the second program is a command-line tool that gets fired by a PHP script from the Apache server. Because the command-line tool runs in another "environment" then the Windows-form-App, it is NOT possible to communicate (trigger) with both apps.
I know I have to use IPC (InterProcess Communication) and I have download the dozens of sample apps, but I still can't get it to work.
PLEASE can someone give me some sample code, or perhaps sample program(s) to help me out?
I think it's really easy to build what I want, but for me it's a no-go :-(
So for example it has to work like this:
PHP script (running at Apache server) runs a "console/service" app (already working) which "triggers" (via IPC) a already running Windows-Form-app (also already working app) that for example shows a MsgBox with the text in it that is sended by the "console/service" app.
I'm working on a project for my IT company that will run for a year and once the year is completed I want the application to expire and prompt for a key to function. This application will run on local HDD environment.
View 10 RepliesI have been struggling with my programming class from day one. I still can't seem to grasp the complete logic on how to write code. Anyhow, I have an assignment due that I am stuck on. Here is the assignment:
In this exercise, you code an application that displays a letter grade based on the average of three test scores. Open the Grade Solution (Grade Solution.sln) file, which is contained in the ClearlyVB Chapl8Grade Solution folder. Code the application,using a function to determine and return the letter grade. If the average is at least 90, the grade is A. If the average is at least 80 but less than 90, the grade is B.If the average is at least 70 but less than 80, the grade is C. Tf the average is at least
60 but less than 70, the grade is D. If the average is below 60, the grade is F.
You will be developing the code for the function on your own. Below the Public Class frmMain line, insert this function header:Private Function CalculateGrade(ByVal testScore1 As Decimal, ByVal testScore2 As Decimal, ByVal testscore3 As Decimal) As String
In the function, declare variables for the average score and the letter grade. Calculate the average, use IF/Elself statements to determine the letter grade, and return the letter grade. Create a subprocedure for the Click event for the btnDisplay button. It should call the CalculateGrade function with three arguments ( the three test scores from the text boxes), and display the returned value in the lblGrade box.
[Code]...