Click here to Skip to main content
15,923,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to write amount in words Pin
Dave Kreskowiak22-Sep-07 3:09
mveDave Kreskowiak22-Sep-07 3:09 
GeneralRe: How to write amount in words Pin
parth.p22-Sep-07 3:11
parth.p22-Sep-07 3:11 
GeneralRe: How to write amount in words Pin
Dave Kreskowiak22-Sep-07 3:23
mveDave Kreskowiak22-Sep-07 3:23 
GeneralRe: How to write amount in words Pin
Swiss Mantoro24-Sep-07 19:43
Swiss Mantoro24-Sep-07 19:43 
AnswerRe: How to write amount in words Pin
Colin Angus Mackay22-Sep-07 1:54
Colin Angus Mackay22-Sep-07 1:54 
QuestionCheckbox on Datagrid? Pin
Widgets21-Sep-07 14:55
Widgets21-Sep-07 14:55 
AnswerRe: Checkbox on Datagrid? Pin
Gary Bigman27-Sep-07 5:47
Gary Bigman27-Sep-07 5:47 
QuestionClickOnce and File Associations Problem Pin
Kschuler21-Sep-07 10:55
Kschuler21-Sep-07 10:55 
I have a windows app that I deploy using ClickOnce. It is available on or off-line. Currently, as soon as the app is loaded it writes to the registry setting it up to use the Application.ExecutablePath to open any files with my file extention, and also sets a default icon. This seems to work partially, (well, not at all on vista machines, but that is another problem). The problem that I am encountering, is that if a user double clicks on a file with my extention, my program will launch but it doesn't do the check to make sure the user has the most up to date version of the program. This is an issue I could live with, but another problem is also occuring.

My program allows user to save preferences (for defaults, fonts, etc) in an XML file which I save at this location:
My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData

This file isn't found when the user launches the program by double clicking a file, but is found when the program is launched by the shortcut created during the ClickOnce installation.

I've seen a few other people with this problem and they were told to use URL parameters, but my users will only launch the program through an internet browser for the initial installation. After that they will use the shortcut or double click a file with my extention.

Does anyone know how I can use a ClickOnce deployment, but still get the FileAssociations to properly launch my program? I would appreciate any help or advice.

I program in VB.Net using Visual Studio 2005 on a computer running Windows XP.


QuestionUnload Event - VB2005 Pin
parth.p21-Sep-07 7:19
parth.p21-Sep-07 7:19 
AnswerRe: Unload Event - VB2005 Pin
Dave Kreskowiak21-Sep-07 8:21
mveDave Kreskowiak21-Sep-07 8:21 
GeneralRe: Unload Event - VB2005 Pin
parth.p22-Sep-07 0:36
parth.p22-Sep-07 0:36 
GeneralRe: Unload Event - VB2005 Pin
Dave Kreskowiak22-Sep-07 3:11
mveDave Kreskowiak22-Sep-07 3:11 
Questionhow to pass all the data from datagridview1 to datagridview2 vb.net Pin
Abbhie21-Sep-07 7:10
Abbhie21-Sep-07 7:10 
AnswerRe: how to pass all the data from datagridview1 to datagridview2 vb.net Pin
nlarson1121-Sep-07 9:01
nlarson1121-Sep-07 9:01 
GeneralRe: how to pass all the data from datagridview1 to datagridview2 vb.net Pin
Abbhie21-Sep-07 17:17
Abbhie21-Sep-07 17:17 
Questionworking with Forms Pin
sainipraveen0421-Sep-07 6:39
sainipraveen0421-Sep-07 6:39 
AnswerRe: working with Forms Pin
parth.p21-Sep-07 7:32
parth.p21-Sep-07 7:32 
Questionworking on charts in vb.net Pin
Abbhie21-Sep-07 6:07
Abbhie21-Sep-07 6:07 
AnswerRe: working on charts in vb.net Pin
DanB198321-Sep-07 6:18
DanB198321-Sep-07 6:18 
GeneralRe: working on charts in vb.net Pin
Abbhie21-Sep-07 6:24
Abbhie21-Sep-07 6:24 
GeneralRe: working on charts in vb.net Pin
DanB198321-Sep-07 6:28
DanB198321-Sep-07 6:28 
QuestionVB.NET Events Pin
Richard J. Hanney21-Sep-07 3:47
Richard J. Hanney21-Sep-07 3:47 
AnswerRe: VB.NET Events Pin
Tom Deketelaere21-Sep-07 4:18
professionalTom Deketelaere21-Sep-07 4:18 
AnswerRe: VB.NET Events Pin
nlarson1121-Sep-07 4:20
nlarson1121-Sep-07 4:20 
GeneralRe: VB.NET Events Pin
Richard J. Hanney22-Sep-07 1:37
Richard J. Hanney22-Sep-07 1:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.