HighTechTalks DotNet Forums  

How to create a Directory listing?

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss How to create a Directory listing? in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Christian-Josef Schrattenthaler
 
Posts: n/a

Default How to create a Directory listing? - 05-19-2005 , 11:41 AM






Hi!

I want to build a dynamic Download-Page:

If the userer goes to updates.aspx, the ASP-Pages should look for files
in a special directory, and then list them with a hyperlink to make a
download.

And I need to read some Information from the filename of the files:

Filename: "2005-05-19_2.9a.zip".

This means:
Datum: "2005-05-19"
Version: "2.9a"
Plattform: "Windows"

I looked for information on Internet, but I didn't find anything
useful. Can anyone thell me how I can do this with VJ# under ASP.NET,
or can anyone thell me some documentation for getting info about?

Kind greetings,
christian.


Reply With Quote
  #2  
Old   
Christian-Josef Schrattenthaler
 
Posts: n/a

Default Re: How to create a Directory listing? - 05-23-2005 , 04:00 AM






Hi Lars-Inge!

Thank you for your help!

I am not a programmer, but I am going to leran Java (Sun Java, not
Microsoft Java). I did only the first steps, so I needed a long time to
understand some things, also the ASP.NET system. Now I know a little
bit more, but only a little bit...

I have the ASP.NET Web Matrix programm from Microsoft to create ASP.NET
programms, and Eclipse to create Java programms. I have not the
Microsoft Visual Studio tools.

I think, I understand your splitting system. There is an *.aspx file
and an *.aspx.jsl file. The aspx.jsl is a compiled VJ#.NET file. and
the aspx file uses the code of the compiled aspx.jsl file.

But I have no Microsoft Visual Studio tool, so I can't create jsl
files. Is it possible, to use Eclipse files insted of VJ# files?

But there is another question: why do you split the files?

Kind greetings,
christian.


Reply With Quote
  #3  
Old   
Christian-Josef Schrattenthaler
 
Posts: n/a

Default Re: How to create a Directory listing? - 05-24-2005 , 02:50 PM



Hi Lars-Inge!

Quote:
You should get Visual Studio if you want to do any serious ASP.NET
programming. Web Matrix is just a "toy" compared to VS. If you are a
student you can buy a student fiendly priced version. Or you can download
the express edition if your a home enthusiast or a student. The student
version of Visual Studio is in reality the "Professional" edition.
http://lab.msdn.microsoft.com/express/vwd/default.aspx
I think I have a Visual Studio 2003 Enterprise Architect Version. But I
uninstalled it from my Computer, because I want to learn Java, and so I only
need Eclipse and the JDK, which are both free. Because I get the
information, thtat the VJ.NET tool from Micsosoft is nocht 100% kompatible
with the true Java from Sun. And - if if learnd programming in Java - should
create programms which runs on every plattform, this means the original Java
standard.

Quote:
Here is the example written without Visual Studio
Ups, thank you, but I did this allready, and I modyfied it a little bit, and
it works greatly. Thank you for your help!

Kind greetings,
christian.




Reply With Quote
  #4  
Old   
Christian-Josef Schrattenthaler
 
Posts: n/a

Default Re: How to create a Directory listing? - 05-25-2005 , 03:39 AM



Hi Lars-Inge!

Quote:
You don't have to uninstall Visual Studio to write or compile Sun
Java applications.
I know. But I thought, why use 2 or 3 GB of my harddisk for nothing...

Quote:
It should compile most code written for JDK 1.1.4 and equivalent to
the level of many of the classes in the JDK 1.2 java.util package. Do
you have any code that will not compile with J#, that you think
should?

(J# will not compile Java bytecode to run in Java virtual machines.)
I didn't try VJ#.NET because of the information. And you see, there is
no update for the actual JDK, and you wrote VJ# can not compible
bytecode for JVM. So I think, there is no sense to use it...

Now I am downloading the beta2 of Web Developer... And then I take a
look.

Question: I don't understand the VJ# philosophy. Why a Microsoft-Java
and not a tool for programming the original Sun-Java (Standard). Why do
YOU use VJ#?

Greetings,
christian.



Reply With Quote
  #5  
Old   
Christian-Josef Schrattenthaler
 
Posts: n/a

Default Re: How to create a Directory listing? - 05-25-2005 , 10:38 AM



Hi Lars-Inge!

I downloaded and installed Visual Web Developer 2005 Beta2. And you are
right, It's better than the ASP.NET Web Matrix!

I changed my complete System to VWD and deleted all other tools,
excluded Eclipse and JDK (I need them for learning Java).

Harm thath MS doesn't really support it's VJ#.NET! If you look for any
support, any code, or any samples... there is nothing. Also in den MSDN
are so many examples for VB.NET and C#.NET, but for VJ# there is
nothing :-(

But I have an other problem. I use the VJ# tool of the VWD, but it does
not create two files? There is also only one aspx file? What must I do
to get two files? One for the HTML and one for the VJ# code.

Greetings,
Christian.


Reply With Quote
  #6  
Old   
Christian-Josef Schrattenthaler
 
Posts: n/a

Default Re: How to create a Directory listing? - 05-27-2005 , 06:08 PM



Hi Lasr-Inge!

Quote:
You should get two files. It's called "code behind". Open a completely new
web project. Drag a new button on to the screen, double click the button.
You should now get an empty button handler method in the J# source file.

The compiled code goes into the "\bin\yourlibrary.dll" file.
This doesn't work. I get only one file!
I tried your sample manually, but I got an error.
If I did correctly understand the documentation, I have to use"CodeFile" and
not "Codebehind"?
And I have to "precompile" the file? But I dont knwo where I can do this.

Greetings,
christian.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.