Setup A A "Global" Shortcut In Application?

Feb 4, 2011

I am writing an application for a customer and one of the late requirements is for a (ideally) configurable key stroke to display a form. This should operate no matter which form/ dialog is currently displayed. Firstly is this possible and secondly how do I do it without adding the same code to every single form and dialog box which now number about 40 and growing.Windows 7, vs 2010, vb.net, infragistics controls.

View 1 Replies


ADVERTISEMENT

Setup Application Create A Desktop Shortcut?

Jan 15, 2010

I have a project that I've published to a network drive with a setup file that works great but I cannot get it to create a Desktop shortcut. I don't have the option in the publish settings to allow this and I cannot find code that will work for me. Does anyone have any suggestions how to have the setup file automatically create a desktop shortcut? I'm using Visual Studio 2008.

View 1 Replies

Add Icons To Shortcut In Setup/deployment Project

Jun 30, 2010

I would like to add a choice of icons to the desktop shortcut I add in setup/deployment. I can add one icon, but when I run the project there is no option for changing it. The "change icon" button is greyed out. I've made a dll containing 3 icons and added it to the setup/deployment project (also added it to the test project).

View 1 Replies

Add A Shortcut To A Visual Studio 2003 Setup Project

Apr 30, 2009

I have a VB Windows Application in Visual Studio 2003 complete with it's own setup project. What I would like to do is during the installation of that project is to install a shortcut icon on the desktop that points to the location of the .exe file that was just installed on the user's machine. Unfortunately this option in the setup is not easy to find (at least to me) on Visual Studio 2003. What would I need to do in order to get that shortcut icon to pop-up automatically?

View 3 Replies

C# - Creating A Custom Start Menu Shortcut Link For A Visual Studio Setup Project

Feb 24, 2010

Is it possible to create a custom start menu shortcut link?

The only possibilities I see in the setup project are shortcuts to folders or primary output.

Update:

What I ended up doing is creating a custom action on commit that dynamically creates the link using Windows Scripting Host. Then on uninstall, removing the link.

View 1 Replies

Add Serial Number Requirement To Setup & Deployment > Setup Wizard For Application?

Apr 2, 2009

add serial number requirement to Setup & deployment > setup wizard for VB.net application

View 16 Replies

Setup In Win 7 - Using VS 2008 VB And Setup My Application Software In Win XP

Jun 8, 2011

I am using VS 2008 VB and setup my application software in Win XP without any issue. But after installed in Win 7, it doesn't work well (it show one file not found, but I saw the file in the right folder). Could it be the incompatibility of VS 2008 and Win 7? If I upgrade to VS 2010, will the issue be fixed?

View 10 Replies

Published Setup Requires Assembly CrystalReports 10.2.3600.0 In Global Assembly Cache

Dec 28, 2005

When running setup to install published program, the following message occurs: System Update Required: Unable to install or run the applicaiton. The application requires that asssembly CrystalDecisions.CrystalReports.Engine Version 10.2.3600.0 be install in the Global Assembly Cache (GAC) first. This version is listed in the references of the program and in my mind, be included in build. How do I get by this error?

View 23 Replies

Published Setup Requires Assembly CrystalReports 10.2.3600.0 In Global Assembly Cache?

Apr 18, 2012

When running setup to install published program, the following message occurs: System Update Required: Unable to install or run the applicaiton. The application requires that asssembly CrystalDecisions.CrystalReports.Engine Version 10.2.3600.0 be install in the Global Assembly Cache (GAC) first. This version is listed in the references of the program and in my mind, be included in build. How do I get by this error?

View 2 Replies

Running Application Can Know Name Or Other Info Of Desktop-shortcut That Started Application?

Apr 9, 2011

Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?

View 4 Replies

Shortcut On Desktop Takes To Application Folder Not Running The Application?

Oct 21, 2010

I am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?

View 1 Replies

Deploying Application With Setup.exe And Setup.msi?

Oct 29, 2011

I'm a Visual Basic beginner. There are many things that I didn't know about Windows software development as I've been a Mac user for 20 years and just started developing Windows programs several days ago.

Anyway, using Visual Studio Installer (File > Add > New Project > Visual Studio Installer), I have two files inside the Release folder - setup.exe and Setup.msi. I've got some information about these files. So when you publish your software, what do you do with these two files? According to one web site, you can put them together into one with IExpress, which produces a file with an extension of CAB. Another web site suggests SFX Compiler. In the meantime, I downloaded a dozen applications at Download.com earlier. If I click on the download button, the final delivery extension is .exe on most of them. I know that you won't go anywhere by double-clicking on setup.exe from the Release folder without Setup.msi. Meanwhile, Setup.msi is a tand-alone application. But nobody uses this file alone to distribute their product.

View 5 Replies

Create A Shortcut Of .exe (application)?

Feb 3, 2010

On form load how would i create a shortcut of my .exe (application) and place it in c:my shortcut ?

View 14 Replies

Global Instance In MDI Application

Apr 29, 2011

given a MDIParent Form and 2 MDI Children: frmChild1, frmChild2..How can i realize a Instance of MyClass in MDIParent, which I can read and write from frmChild1 and frmChild2 , too

View 4 Replies

How To Add Application Shortcut To Ie Context Menu

Jun 22, 2009

[code]....

View 3 Replies

How To Assign Application Icon To Shortcut

Oct 27, 2011

I'm a VB beginner and trying to create a Setup installer for my first freeware titleThe installer is almost complete.If I execute it, and it will install the application with a Desktop shortcut and a Startup shortcut.

View 12 Replies

VS 2008 Run Application With Shortcut Arguments?

Nov 3, 2009

How would I run an executable with arguments like you can add to a shortcut? Such as:

"C:Program Files (x86)Steamsteamappscommonarma 2arma2.exe" -window

I want to create a program where I can select these arguments from a list, press a button, and away you go, without having to type them yourself.

Is there any way other than creating a shortcut and then running it?

View 3 Replies

C# - Application Variables Global To Webgarden?

Jan 12, 2010

I am currently trying to program an online drawing program using the HTML5 canvas.the thing is, I need to have the current canvas saved somewhere globally. Static variables work, but they do not get shared across a Webgarden. This results in two different drawings being created.I will have to somehow create a new application object which is shared. I figured I will need an external application holding them.

1) How do I replace the application object with my own?
So either I will have to make my own program and call to it with remoting or use the ASP.NET session state server for application variables. I favor the Session State Server though.

2) How do I use the session state server for my own variables? How do I access it?

I searched high and low on the internet and only found the ideas mentioned above, but no help executing them.

I mainly code in VB.NET, but I can also understand C# code for examples.

A little info on my application:The client side has two canvas objects on top of each other. The top canvas object us used for drawing stuff, the canvas object below it holds the drawing in the end.When something is drawn, it is sent to the server in it's base64 representation. (getDataUri).The server puts this graphic on top of a stored Bitmap object through a Graphics object.

How the changes are being distributed to the other clients, I am working on that right now. Either I transfer the complete picture or each and every change that is submitted. This should work through Server Push. If this does not work thoroughly I will have to save and timestamp changes. A link to the current implementation, which is not currently fetching changes (but they get transfered to the server... With the problem that some reach one instance some reach the other on either w3wp in the webgarden) from the server is here: http:[url].....

View 1 Replies

Create A Global Function To Use Throughout The Application?

Jul 7, 2011

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.

View 2 Replies

Defiine A Global Variable For The Whole Application?

Aug 26, 2009

How do I defiine a global variable for the whole application so that it does not have to be defined in all the forms that need it.

View 6 Replies

Global Hotkey Working For Application

Mar 17, 2012

I have implemented a global Hotkey into my code but the problem is that when I move the focus from the form to IE (For Example) i cannot use the Hotkey from my application. Everything is working great if I was to stay int the form but that's not the purpose of this code.

Private Sub frmMain_Load(ByVal sender As System.Object, e As System.EventArgs) Handles MyBase.Load
RegisterHotKey(Me.Handle, 9, MOD_ALT, VK_F9)
End Sub
Private Sub frmMain_FormClosing(ByVal sender As Object, e As
[Code] .....

View 8 Replies

Create A Desktop Shortcut To Application On Install

Dec 22, 2009

How do I create a desktop shortcut to my application when the user presses setup to install?

View 7 Replies

Desktop Shortcut For Click Once Deployed Application?

Aug 12, 2009

I would like to create a desktop shortcut for my clickonce deployed application.The IDE is VS2005 and there is no need for upgrading to 2008 yet.

View 3 Replies

.net - Global Entity Framework Context In WPF Application?

May 20, 2010

I am in the middle of development of a WPF application that is using Entity Framework (.NET 3.5). It accesses the entities in several places throughout. I am worried about consistency throughout the application in regard to the entities. Should I be instancing separate contexts in my different views, or should I (and is a a good way to do this) instance a single context that can be accessed globally?

For instance, my entity model has three sections, Shipments (with child packages and further child contents), Companies/Contacts (with child addresses and telephones), and disk specs. The Shipments and EditShipment views access the DiskSpecs, and the OptionsView manages the DiskSpecs (Create, Edit, Delete). If I edit a DiskSpec, I have to have something in the ShipmentsView to retrieve the latest specs if I have separate contexts right?

If it is safe to have one overall context from which the rest of the app retrieves it's objects, then I imagine that is the way to go. If so, where would that instance be put? I am using VB.NET, but I can translate from C# pretty good. I just don't want one of those applications where the user has to hit reload a dozen times in different parts of the app to get the new data.

All contexts are created in Using Blocks to dispose of them after they are no longer needed.When loaded, all entities are detatched from context before it is disposed.A new property in the MainViewModel (ContextUpdated) raises an event that all of the other ViewModels subscribe to which runs that ViewModels RefreshEntities method.After implementing this, I started getting errors saying that an entity can only be referenced by one ChangeTracker at a time. Since I could not figure out which context was still referencing the entity (shouldn't be any context right?) I cast the object as IEntityWithChangeTracker, and set SetChangeTracker to nothing (Null).

This has let to the current problem:When I Null the changeTracker on the Entity, and then attach it to a context, it loses it's changed state and does not get updated to the database. However if I do not null the change tracker, I can't attach. I have my own change tracking code, so that is not a problem.

My new question is, how are you supposed to do this. A good example Entity query and entity save code snipped would go a long way, cause I am beating my head in trying to get what I once thought was a simple transaction to work.

View 2 Replies

Application Like A Shopping Cart - Global Variable?

Dec 27, 2011

My project is to create a shopping cart application. I have my main form and from there the user can go to two different forms to add books to their cart, the cart being the main form. This all works. What I can't figure out, is how to use global variables for the prices, shipping, tax and updating the total. I have places for this information to show up on the main form, and I've created a module for the calculations and prices, but I don't know how to code it to get the prices to show up in the specified areas.

View 3 Replies

Approach For Handling Global Application Object?

Jun 15, 2009

What is the recommended way in VS.NET to have a global application handler object? Something that can load/verify/return user folders, settings, application specfic settings, manage the unhandled exceptions, etc. I would have a class that has most of the code, then subclass it for each application.

I can create one if I start as a module instead of a form. But then I lose some options such as NetworkAvailabilityChanged, etc. I define a "Public" object from within a form (I don't think so and don't feel this would be the right approach.)?can I "attach" an object to an existing global object store (such as "My."), etc.?

Once created, any object in my application should be able to reference methods/properties of this application object to get default folders, user values, etc. as necessary.

View 6 Replies

C# - .NET Global Exception Handler In Console Application?

Jun 28, 2010

I want to define a global exception handler for unhandled exceptions in my console application. In asp.net, one can define one in global.asax, and in windows applications /services, one can define as below

AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyExceptionHandler);

But how can I define a global exception handler for a console application ?currentDomain seems not to work (.NET 2.0) ?

View 4 Replies

Changing The Object Declarations To Global Using The 'global' Keyword Evertime?

Mar 15, 2012

evrytime i add new controls to a form in vb.net the designer regenerates code and asks me to make corrections, so i have to keep on changing the object declarations to global using the 'global' keyword evertime it regenarates code,especialy dataset objects.how can i prevent this?

View 1 Replies

Added A Shortcut On Start Menu, That Points To Application?

Jun 23, 2009

I'm running into this one very specific issue:

- I have a VB.Net 2005 Project for which I've created a Setup Project.
- In my Setup Project, I've added a shortcut on my Start Menu, that points to my Application.
- After deploying it, all works great.

- One of my users chooses to *copy* the shortcut from the Start Menu into their Desktop.

- I then create an upgrade for this Application. Again, the deployment works great. They can start my application from the Start menu.

- They double-click on their icon in the Desktop and they get a popup: Title of the message box: Problem with Shortcut Description of the message box: (X) The parameter is incorrect.

The shortcut's Target, is blank ( which I believe is the problem ).I'd love to be able to specify an actual [TARGETDIR]myApp.exe type of string as the shortcut's target in my Setup Project, but I can't do this.Instead I have to point it via UI, to my Target Application ( which I'm assuming is resolved at install-time ). The problem with this is that it appears that the shortcuts get re-evaluated every time you re-install / upgrade the application. Since my previous version is technically not installed anymore, my shortcut gets invalidaded, even though the target path is still the same and I haven't changed my executable's file name.

View 1 Replies

Insert Shortcut / Icon Keys On The Web Browser Application?

Dec 30, 2010

the thing is i'm a .net programmer at varsity but i cant figure out how to program or insert shortcut/icon keys on the web browser application e.g back,refresh,stop,go. i'm only able to do this using command buttoms. so i want to use simple icons like those on some web browsers.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved