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)?
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]
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?
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
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:
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
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?
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?
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.
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
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?
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.
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?
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.
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.
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.
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?
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")
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.
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?
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?
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?