Deployment :: Embed Parameters In Exe?

Mar 16, 2010

I am developing a Windows Forms application in VB2008 Express that I want to run directly of the Internet and optionally off-line on another computer (e.g. using a USB stick), without any installation/setup. However I need to pass 2 parameters to it: the language as selected on the website (i.e. not the current culture) and one of the predefined partner names. I can do that for a ClickOnce application but this only works in IE and not off-line. As I cannot use a separate config file, cookie or shortcut, I am thinking of �embedding� the parameters in the exe. Given the large number of combinations (#languages * #partners), I want to create and upload these files automatically using a batch file. I am also thinking of digitally signing the application in the near future.

I can think of 3 ways of storing the parameters (e.g. language "EN" and partner "Abc"): 1.In the filename (e.g. Abc_EN.exe): but this is rather cryptic for end-user and he/she could decide to store it under another name, so not a great option; 2.In one of the file properties (e.g. as "-language EN -partner Abc" in the "Description" property of the "Assembly Information"): this works, but how can I automate the creation of the various exe files? 3.Somewhere with the digital signature???: but where and how and can I access this information from within the application?

I have looked at the Assembly Linker (AL.exe) to build the exe outside of the VS2008E IDE, as it allows me to specify the description property in the command line, but I cannot seem to find the proper syntax to build the entire project (including the form.resx and various icons) and it may be time consuming to do this for each exe file.

I have also looked at stand-alone utilities that can change the file properties (so I only have to build the exe once in the IDE), but have not found one that can do that through the command line. I could off course write my own utility, but I don't know if it affects the digital signature.

I am actually looking for "the proper way to do this" (if it exists). how to get the third option to work (possibly with �delay signing� and the Strong Name tool)?

View 2 Replies


ADVERTISEMENT

Deployment :: Deployment Of SQLEXPR32.EXE Using Template.ini File

Feb 24, 2009

I am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]

View 1 Replies

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

Deployment :: Deployment And MS Power Pack?

Jun 25, 2009

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder

View 1 Replies

C# - Search For Names In The Database That Matches Whole Parameters Or Any Part Of Parameters

May 13, 2011

I'm writing a query to select all records that has any part of parameter. I have one table called Employees. Some people have name like this: John David Clark If the parameter is

[Code]....

I should be able to get result back as long as there's a match in the parameters. If I use Function Contains (q.FirstName & " " & q.LastName).Contains(employeeName), I will not get any result back if employeeName is "John Clark" Function Contains looks only for next words from left to right. It doesn't match a single word at a time. So that's why I used this in the Linq to SQL:

[Code]....

View 2 Replies

Error [07002] The # Binded Parameters < The # Of Parameters Makers

Aug 30, 2010

I am getting error [07002] the # binded parameters < the # of parameters makers, i checked both parameters were perfect even though i am getting this error here is my code

[Code]...

View 1 Replies

Deployment :: Setup & Deployment - Copy/import 2 Folders And There Sub-files/folders Into S&d Project?

May 7, 2012

Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?

When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?

View 5 Replies

C# - Difference With Parameters.Add And Parameters.AddWithValue?

Feb 6, 2012

Basically Commands has Parameters and parameters has functions like Add, AddWithValue, and etc. In all tutorials i've seen, i usually noticed that they are using Add instead of AddWithValue.

[Code]...

since it saves my coding time. So which is better to use? Which is safe to use? Does it improves performance?

View 2 Replies

Get The GET Parameters And POST Parameters In Just One Function?

Aug 6, 2011

is there a way to get the GET parameters and POST parameters in just one function or Collection in ASP.NET? Like using $_REQUEST in PHP? I'm using VB.NET.

View 3 Replies

Deployment :: Windows 7 (64 Bit) Deployment?

Feb 24, 2010

I have compiled my app to x86 so that it will run in a 64 bit processor, the issue I am facing right now is that when I install the app in under application folder I am not able to edit the config file which is in the same folder of the exe. how to give admin previlages to the application ?

PS: the app runs fine when installed in a different folder other than applicaitonfolder

View 3 Replies

.net - How To Embed VB To Asp.net

Feb 3, 2011

How to embed VB to asp.net so we could place our program on the net.

View 2 Replies

Embed .exe Into Vb App?

Jan 2, 2009

i'm created a windows application but now i have an issue. My program works by running a .exe file from c:drive. Can i embed the .exe file in the cdrive to my vb program so when i compile it, its being compile into a single .exe file?

View 1 Replies

How To Embed SQL

Mar 9, 2011

I am looking for information on the best practices or project layout for software that uses SQL embedded inside VB.NET . The software will connect to a Access DB. The software was written in VB.Net .Update: To clarify. We are currently using OleDbConnection,OleDbDataAdapter, OleDbDataReader to connect to the database. What I mean by embed is that the SQL stored procedures are scripted inside our VB code and then run on the db. All of our tables, stored procs, views, etc are all manipulated in the VB code. The layout of our code is quite messy. I am looking for a better architecture or pattern that we can use to organize our code.

View 3 Replies

Embed A Dependant .dll Into The .exe?

Aug 16, 2008

I know there is a program that does it but is there a way to embed a dependant .dll into the .exe so I only need to carry around the .exe?

View 6 Replies

Embed A File Into A Dll?

Jan 27, 2010

I have a file (Microsoft.PhotoToolboxFoundation.ToolboxPolicy.xml) which is read by the following code:

p = (New
MetadataPolicyManager()).loadPolicy("Microsoft.PhotoToolboxFoundation.ToolboxPolicy.xml").

Is there a way to embed the file into the .dll? Can I add the file as a resource or something similar and if so how would I reference it?

View 6 Replies

Embed An EXE Into A VB Form?

Aug 11, 2009

Is it possible to have a button open a form with an "embed" exe?

View 5 Replies

Embed Another Program Into App?

Jan 7, 2010

Is there a control I can use to embed another program into my app? I want the other program to have full functionality, but this be inside of my app.

View 2 Replies

Embed Exe Into Webpage?

Sep 7, 2011

is there any way to embed a vb 2008 exe into a webpage so that it runs inside the webpage without user having to manually download it.If not then is there a way to convert a vb exe to a swf flash file, or maybe a plugin for vb 2008 which allows you you compile or export as swf?

View 11 Replies

Embed SQL In Program?

Mar 3, 2009

I am looking for information on the best practices or project layout for software that uses SQL embedded inside VB.NET or C#. The software will connect to a full SQL DB. The software was written in VB6 and ported to VB.NET, we want to update it to use .NET functionality but I am not sure where to start with my research. We are using Visual Studio 2005. All database manipulations are done from VB.

Update: To clarify. We are currently using SqlConnection, SqlDataAdapter, SqlDataReader to connect to the database. What I mean by embed is that the SQL stored procedures are scripted inside our VB code and then run on the db. All of our tables, stored procs, views, etc are all manipulated in the VB code. The layout of our code is quite messy. I am looking for a better architecture or pattern that we can use to organize our code.

View 4 Replies

Embed The Dll`s In The Application?

Feb 7, 2010

Im making an online radio , just a simple one for myself. Ive got my .exe in the release folder, when i copy it to my desktop it wont work , but when i copy the 2 DLL`s thats in the release folder to the desktop also , it works.

Can i embed the dll`s in the application? Ive created a radio before and never had to move the dll`s to the same location.

View 3 Replies

How To Embed MSPaint In .net

Aug 21, 2011

I am writing a program that the users can put their signatures on it and I am thinking that maybe I could use MSPaint then save it as an image file and save it on my database. The device I'm going to use is a touchpad. I don't know how to explain this clearly but the idea is simple.User Log IN > Verify User Account > Put their Signature on a picture box. By the way I am using Visual Basic .NET 2005.

View 13 Replies

How To Embed One Exe To Application

Dec 7, 2009

how can i embed calculator in my application.

View 1 Replies

How To Embed Video

May 22, 2009

i'm doing a small application on embed a video in VB.NET.i have a few video and a button. When i click on the button it will play the video. but i have to link the individual video with the source in the database. How do i do that?

View 2 Replies

.NET - Embed An EXE File Into Project?

Mar 4, 2010

I know that is strange situation, but I need to embed an EXE file (or the assembly code) into my project, so it can be started only by the application (it can't create the EXE in the filesystem and start it)...

Is it possible? Edit:It's not a .NET EXE. Anyway I added the Test.exe file as a resource to my project and I did this

Dim exestr As Stream = Nothing
Dim a As Assembly = Assembly.GetExecutingAssembly
exestr = a.GetManifestResourceStream("Test.exe")

View 3 Replies

Can Embed Lzma.exe And 5 Dll's Into Program

Aug 21, 2011

I have a program that calls an executable, lzma.exe, to compress a file. lzma.exe also requires about 5 dll's. Is there any way I can embed lzma.exe and the 5 dll's into my program, so that they are not retrievable by someone?The reason is, if someone finds the lzma.exe, they could easily reverse-engineer my program and offer it free, putting me out of business.

View 5 Replies

Embed .exe Into XHTML Website?

Feb 24, 2009

I have a Visual Basic .exe application that I need to embed into a website

View 1 Replies

Embed A Exe Application Into A Form?

Apr 24, 2012

i want to embed a exe application into a form i have this code

[code]...

but with this, once the form loads the Acad.exe loads but not inside the form what am i doing wrong btickle1

View 2 Replies

Embed A Font Into The Application?

Jul 5, 2011

I am creating an app that uses a special font (a font that does not come by default with Windows). I want to embed the font so that users will not see anysort of design flaws if the font is not installed on their computers. I want to embed the font in the application. How can I do it?

View 3 Replies

Embed A Program Into .net Form?

Mar 17, 2011

I just want to ask a question on how i could embed a program into my vb.net form. To be specific I just want to embed the barcode39.exe into my vb.net form. how can i do that?

View 2 Replies

Embed A Table In The Form?

Feb 26, 2010

I am using visual studio express. I have a form and I want to embed a table in the form. I will populate the table with data I get, probably from a csv.

The table will have 6 column headers and 10 rows. Is there a control/function that can do this?

View 3 Replies







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