Using Switches In A Deployed Application?

Nov 30, 2010

This may be a dumb question, but I am stumped. I wrote a simple desktop application in vb.net (vs2005) and published it via the "deploy" method. After I deployed the app and ran the deployment exe - the application runs fine. However, I have recently added some command line switches so I can run the app via a scheduled job. But I cannot find the "exe" file in order to run the application from the command line. Am I missing something or did I deploy/publish the application wrong?

View 1 Replies


ADVERTISEMENT

Bcp Does Not Work In Deployed Application

Aug 21, 2009

I am calling a stored procedure that calls a bcp command from a visual basic 2005 application to export data to excel. When I publish the app on my machine the procedure works fine. However when I attempt to install on another users machine when I push the button to call the event ..the export does not happen. I am trying to install from a network and the other modules work fine.

View 2 Replies

.net - Debugging ClickOnce Deployed Application

Nov 9, 2010

I am new to ClickOnce deployment and at first glance it seems a great way to maintain .Net applications updated with ease. I am developing a simple application that stores information on a mdb database and over some XML files. I understood how to use the "data" folder with ClickOnce and I am developing the part of my application that should migrate the data from older versions after a ClickOnce update. Now I need to debug that part of my code that only runs when the application is in "networkDeployed" mode. So actually I'm doing the following really slow process to test a new deployed version:

publishing the application on a provisional website (I can choose between a faster locale iis site or a real online one) installing the application from the deploying website (the first time) or running the old installed application so it automatically catch new updates and gets updated... running the application

So basically I have two problems here:

the whole process is much too slow :/ I'm running the app as every other app directly from the OS, so I can't access to the debugger...

I am pretty sure that there are better way to test ClickOnce deployed applications...

View 2 Replies

Add Crystal Reports To Deployed Application?

Sep 27, 2010

I want to know how i can add reports either crystal or microsoft to a folder called reports in my application and then for them to be displayed in my menu tool bar under reports and then for them to run once clicked. I know it can be done its just how it is done.

View 2 Replies

LicenseException For AxMSFlexGrid In Deployed Application

Jun 24, 2009

I have migrated a VB6 application to .Net which uses the MSFlexGrid in a total of 7 different places on 3 forms.When the compiled application is installed on a non-development PC, one of the forms throws a LicenseException when trying to create the instance of the MSFlexGrid control.The other two forms successfully create and use the MSFlexGrid instances that they contain.The problem doesn't occur when the application is run on a development PC.[code]I have looked at the designer.vb code for the forms, comparing the instances which work with the one that doesn't.In both cases, (working and failed) the same calls are made to the control wrapper (i.e. a new instance is created, BeginInit() is called, attributes are set, it is added to the containing control, and EndInit() is called, where the exception is raised.To reiterate, this is not the 'usual' problem of a missing developer license.The exception is not occuring during development, it is occurring in the application installed in the production setting.

View 1 Replies

Give The Form A Command When User Switches To Another Application?

Apr 20, 2009

let's say i have this application running, preset size. and there are other applications, like, firefox, vb, etc. in the background where i can click on them to bring them to front and use. now, when that's done, i'd like my application to minimize by it's self instead of just becoming a application that got sent to the back of another one.. the minimize is just to get me started, since i'll probably resize it to a button or so.just a squirrel looking for my nut...

View 4 Replies

Deployed MSAccess Database Not Updated Through Application?

May 26, 2009

I've created a VB.NET Windows Form application which pulls info from an MSAccess database via datasets and tableadapter. When the user makes a change to the data, I use the Update method of the tableadapter to send the changes back to the database. This all works fine in the Visual Studio 2008 IDE, but once the build is done and the application is installed, I run into problems. The application keeps the original data and will not read or write to the database, although any changes I make through the application are mysteriously saved somewhere. If I make changes directly to the database using MS Access - which I need to be able to do - those changes don't show up in the data pulled into the application.

View 13 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

Smart Client Application Deployed As A Click Once Application Called "PDFSplitter"

Jun 24, 2009

I have a smart client application deployed as a click once application called "PDFSplitter". The link to install this PDFSplitter is on our company intranet and when you click the link you get a "The publisher could not be verified. Are you sure you want to run this software?" message. Is there any way to make this message go away?

View 4 Replies

Finished A Console Application And Deployed It To Several Computers On Our Network For Testing

Dec 17, 2011

I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.

During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)

It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.

In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.

View 16 Replies

Deployed And Installed Application / Want To Attach Database Within SQL Server Management Studio

Mar 9, 2009

I've developed an application in VB2008 express and have installed it to another PC. The installation has put the mdf file in c:documents and settingsuserappsdata.I want to attach this with SQL Server Management studio but when I try to browse to the file in order to attach it, I find I can't browse further then C:documents and settingsuser.

View 3 Replies

VS 2008 Close An Application When User Shutsdown, Restarts, Log Off Or Switches User?

Aug 30, 2010

How can i close my vb.net application when user shutsdown, restarts, log off or switches user?

View 6 Replies

FTP Switches FTP.UPLOADFILE

Jan 26, 2010

I am utlizing a piece of code for an FTP upload process that we want to occur when the check mark is checked, The download function (virtually same structure) works extremely well and without any issues. But the uploadfile function merely creates a file on the destination path called what it should be called, but does not upload any information. I think there is some uploadstream that I have to invoke which I am not. This is just the code starting at that process.

ftp.Method = System.Net.WebRequestMethods.Ftp.UploadFile

'If we were using a method that uploads data e.g. UploadFile
'we would open the ftp.GetRequestStream here an send the data

[CODE]...

View 3 Replies

Switches To Another Screen With Different Boxes?

Jan 22, 2009

It is my first time to program using VB. I need to use 3 buttons on the top to do different work. When each button is pressed, different screen with a lot of tool boxes pops up, but in the same form. Can anybody tell me how to switch to different screen after button switches? E.g. when program runs, the first screen pops up together with the first button. If I press the second button, do I have to write code manually to turn off these tool boxes and turn on the boxes for the second button? Any easier way using Visual Studio to draw boxes for the second button?

View 3 Replies

How To Make A Program Which Can Accept Switches Like Cmd.exe / K Or / C

Sep 24, 2010

I am trying to figure out how to make a program which can accept switches like cmd.exe /k or /c basically i want it to accept commands by myapp.exe /c mycommand.i tried searching and googling but no luck. Also is there a way to run a function like that? And if anyone is wondering why then basically i am copying a script to my domain computer and executing it. This i already have done but problem is its just getting too much copyin multiple scripts and executing i would put everything in on and run em by switches.

View 2 Replies

VS 2010 : How To Make Variable Switches

Nov 30, 2009

i have a drop down box, with 2 Options Yes and No,what i want to do is

if questBox = Yes
do this
else if questBox = No
do that
end if

but not sure how to do it.

View 1 Replies

Can't Run Published / Deployed Program

Jun 8, 2010

I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment[code]...

View 10 Replies

VS 2010 .net 4.0 Framework Deployed With App?

Oct 30, 2010

Ok a simple question, I should know the answer but I am embarrased to ask. How do I get the .Net 4.0 framework deployed with my application when I publish it.Instead of having to download it on other pc's. Im sure its just a tick box in the preferences/settings somewhere.

View 3 Replies

Open Excel With Command-line Switches?

Sep 10, 2009

how to open excel with switches using vb.net, similar to what "Run.." does in Windows.. eg: this is what you would put in the "Run" ComboBox : excel.exe /r "C:ook.xls"

View 1 Replies

Using MP3 Tag Switches To Create Lame Option String?

Jun 28, 2009

I am using or trying to use the mp3 tag switches to create a lame options string. Here is a list of the switches that I am currently using;
--tt "title"
--ta "artist"
--tg "genre"

Here is the code I am using;
Private Sub gbtnCreateString_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles gbtnCreateString.Click
'For Encoding ONLY. Decoding to .wav = NO MP3 tags.
'Exception Prevention
[Code] .....

I then add the lblLameOptions.text to the Lame.Arguments = lblLameOptions.Text. The following example is for mp3 to mp3. The text would display this;
--resample 44.1 --tt TNT.mp3 --ta ACDC
--tg ClassicRock

View 3 Replies

Asp.net - Create A Querystring So When A User Switches Languages, The URL Changes To ?lang=NL?

Jan 30, 2012

I'm trying to create a querystring so when a user switches languages, the URL changes to ?lang=NL, for example. I have this in the code behind on homepage.master (VB, NOT C#):

Me.Request.QueryString("lang") <> Session([Global].SESSION_KEY_CULTURE) Then

Visual Studio underlines it in blue. When I hover over the left side of the statement, it says "Property Value Must Assign to the property or use its value" When I hover over the right side of the erred statement, it says, "End of Statement Expected".I'm not sure if the code I was given is C#, but when I use the Teleflex translator to check, it says "EOF Expected" and won't translate. All of this is tied into 3 classes I created, BasePage.vb, Culture.vb, and Global.vb. But I think it's just this line that's screwing everything up.

[code]...

View 3 Replies

Model Train Set - Control The Track Switches Etc Via Computer?

Jul 16, 2009

I'm doing some very basic ground work, I know someone who is building a model train set and believe now you can control the track switches etc via computer, does anyone know anything about these? could something be built in VB to do this?

View 9 Replies

Can't Find Access DB When Deployed With ClickOnce

Jan 22, 2011

I have built a simple app that searches an Access DB. When I build it, I can run it without error. When I try to use ClickOnce to deploy the app, it says it cannot find the Access DB. I am pretty new VB.NET, working with a DB and ClickOnce, so any thoughts or assistance.

I have the the "build action" set to "content" and "copy to output directory" set to "copy always". In the Publish > App Files I have the db set to "include" and "required". Worse than a newbie, the business guy who wants to code...

View 2 Replies

Copying Deployed Data Files?

Jun 23, 2011

I have three data files that I include with my project. They are all set to Build Action Content and Copy to Output Copy Always. I have a preferences form that allows the user to copy these files to a folder of their choosing. It works fine in the IDE. However, when deployed one file will copy but the next returns an error the the file cannot be found. In the following code block a deployed application will copy ABW11Data.sdf but cannot find 100610_40.dtb or 2118@005.dtb. They are in the deployment files and I can search and find them in the clickonce installation although they are not in the same place as the ABW11data.sdf.

If My.Application.IsNetworkDeployed = False Then
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath + "ABW11Data.sdf", TextBoxFolder.Text, True)
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath + "100610_40.dtb", .SelectedPath + "100610_40.dtb", True)

[code]....

View 4 Replies

Datagridview - When User Switches Around Columns It Won't Print In Current Order

Oct 27, 2011

When user clicks on a button on my form, it sends the datagridview on that form to another class that [basically] does a bunch of stuff and shows a dialog with a print preview. Everything works perfectly fine, except that if a user switches around columns it won't print them in that current order. For example, if user moves the LastName column before FirstName column, then it should print in that order, but it prints in the column order that the datagridview was originally loaded. The dgv1, is the datagridview that was originally loaded, not the current one. [Code]

View 10 Replies

Have A Code Which Switches Cursor To 2 Lines By Clicking A Button (or With Checkbox)?

Dec 9, 2011

I like to have a code which switches cursor to 2 lines by clicking a button (or with checkbox). Both lines starts from the edge of window and at the intersection is the cursor's position.

View 1 Replies

PathName In Shell Function With Arguments And Command Line Switches

Jul 10, 2009

I'm using VB2008 Shell function to execute file with arguments. But I'm not sure how should look my PathName in Shell function with all necessary arguments and command-line switches. Without arguments: [Code]

View 4 Replies

VS 2010 Subroutine That Switches Focus To Textbox When TabPage2 Is Selected

Feb 3, 2012

I currently have a subroutine that switches focus to a textbox when TabPage2 is selected. This works fine. [code] However, this doesn't prevent the Textbox from losing focus when TabPage2 is clicked on even though it's the active tab.I have a single button on that tab that disables the textbox if clicked using this: [code] Apart from that button being clickable, I would like the textbox to never lose focus as long as TabPage2 is the active tab.

View 3 Replies

Deployment - EXE Built By VS2005 Be Deployed As A Standalone EXE?

Jun 15, 2010

VB.NET: Can the .EXE built by VS2005 be deployed as a standalone EXE?When I change the mode in VS2005 to "Release" and build the solution, the binRelease directory then contains the solution .EXE file, but also a .pdb, vshost.exe and .xml file. What are these extra files and are they necessary?

I copied the .exe file to another machine and it executed properly, but there was a significant delay when it first executed - thereafter it was like any other program. What is the reason for this, Is it because the other 3 files in the Release folder are not there with it?

View 4 Replies

IDE :: Resource File Not Being Deployed With ClickOnce Installation?

Feb 15, 2010

I have a file in the Resources folder for one of my libraries, which is set to "Content" and "Copy Always".In debugging, the file is there, and the program works.

View 2 Replies







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