|
-
Jul 14th, 2003, 01:51 PM
#1
-
Jul 15th, 2003, 12:46 AM
#2
Frenzied Member
Thats fine. Make sure you use user controls. Also you might want to change those vb extension to cs j/k
-
Jul 15th, 2003, 11:09 AM
#3
PowerPoster
Ya, for such a small site, it is fine. If you are going to be developing them into much bigger sites, you may want to go ahead and split them....and also split the shared files they use into different projects.
I also agree that you should switch over to .cs files...
-
Jul 15th, 2003, 11:15 AM
#4
PowerPoster
I gotta agree with the rest of them. 2 things.
1. Change the file extension to .cs
2. Get a new web application name
-
Jul 15th, 2003, 11:21 AM
#5
Long live .vb!!!!
-
Jul 15th, 2003, 11:25 AM
#6
-
Jul 15th, 2003, 01:30 PM
#7
Frenzied Member
Originally posted by Edneeis
Long live .vb!!!!
I dont think I'll ever give up VB. Some things are just easier in VB than C#. Writing code for Office 2003 in C# is a pain in the ass, so I'll be using VB.NET exclusively for Word 2003 and Excel 2003 programming.
-
Jul 15th, 2003, 01:36 PM
#8
PowerPoster
Just out of curiosity, what's makes it more difficult programming Office in C#?
-
Jul 15th, 2003, 04:07 PM
#9
-
Jul 15th, 2003, 04:48 PM
#10
PowerPoster
That would be one benefit to breaking down the projects into seperate ones. If you change a file in one project and compile it, it will only affect that one project, the other can keep on going with no slow down.
Performance wise, you shouldn't see a big difference breaking them down into multiple projects. Maybe the calls to seperate dll's will take a tad longer, but not by much, especially since you reference them in the project itself. The biggest thing you get is that you have a more managable project structure. If you have two different applications doing two different things, the should be seperate. Easier to maintain when they get bigger.
-
Jul 15th, 2003, 05:00 PM
#11
yay gay
Originally posted by Lethal
Just out of curiosity, what's makes it more difficult programming Office in C#?
if i am not wrong as C# doesnt allow late binding you cant use it without reflection against vb which allows late binding
\m/  \m/
-
Jul 15th, 2003, 06:48 PM
#12
Frenzied Member
Originally posted by Lethal
Just out of curiosity, what's makes it more difficult programming Office in C#?
Its not difficult, its just tedious.
C# does not support optional parameters and alot of the functions in Word or Excel allow as many as thirty or more optional parameters. So if you call a method in Word that requires 30 parameters, you have keep putting Type.Missing for the parameters that you dont want to include. VB.NET supports optional parameters so its much easier.
Also in Word parameters must be must be passed by reference and you can only pass lvalues. So if you want to pass 30 parameters, you have to declare 30 object parameters, assign what you want to them then pass them by reference. Doing all this will drive me nuts. So I'll be using VB.NET for Office programming. At least I'll have some hair on my head when I'm done .
-
Jul 15th, 2003, 07:00 PM
#13
yay gay
hmm i think i made mistake with VS.NET scripting or something like that that could be only be done in vb.net
\m/  \m/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|