Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Professional C# 4.0 and .NET 4
| Search | Today's Posts | Mark Forums Read
BOOK: Professional C# 4.0 and .NET 4
This is the forum to discuss the Wrox book Professional C# 4.0 and .NET 4 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner; ISBN: 9780470502259
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 4.0 and .NET 4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 30th, 2010, 07:03 PM
Authorized User
Join Date: Nov 2008
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default ptoblem in getting the passed filename to Main Fn

Hi Everybody
I have written an application using the main fn like this " static void Main(string[] args)" so that when i double click on the file associated with my App it opens automatically my code is
private void MainFrm_Load(object sender, EventArgs e)
            string[] argus = System.Environment.GetCommandLineArgs();
,and it works fine but one problem
i got the opened file name like this
and it should be like this
"D:\My Data\My Main Phone Book.pbf"
and i don't know why pls any body has a solution for this

Similar Threads
Thread Thread Starter Forum Replies Last Post
WHERE {field name passed as a parameter} 'contains' {value passed as a parameter} cuddling101 BOOK: Beginning ASP.NET 4 : in C# and VB 2 August 25th, 2010 08:52 AM
Value in Querystring not being passed u_heet Classic ASP Professional 2 September 16th, 2004 07:15 AM
Use of one jscript fn, 1 VB fn on Button click bvrao VS.NET 2002/2003 2 January 12th, 2004 03:41 AM
wrong passed parameter apek PHP How-To 1 January 11th, 2004 01:08 PM
All My Checkboxes are passed as "on", whether or n WebDevel Javascript How-To 1 December 9th, 2003 10:40 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.