473,602 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

compiling asp.net code as in vb6

hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(wh ich is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you

Jun 28 '07 #1
4 1156
On Jun 28, 3:26 pm, Arejan <areejan2...@ya hoo.comwrote:
hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(wh ich is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you
Use code-behind http://www.google.com/search?hl=en&q...behind+asp.net

Jun 28 '07 #2
code behind is not required. asp.net can reference .net dlls (or library
projects) for components.

in a asp.net web site you can put class files in the app_code folder.

with the deployment project or aspnet_compiler if not using vs2005, you
can precompile the site to dll's. the aspx pages will exits but be
empty. this step creates a new site dir and subfolders, that just xcopy
to the server.

-- bruce (sqlwork.com)

Alexey Smirnov wrote:
On Jun 28, 3:26 pm, Arejan <areejan2...@ya hoo.comwrote:
>hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(wh ich is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you

Use code-behind http://www.google.com/search?hl=en&q...behind+asp.net
Jun 28 '07 #3
asp.net is compiled and does not get served to the client - You need to
think outside of the vb6 (compiled application) box.

asp.net is used specifically for web applications - you would not compile
and distribute an asp.net project. Rather, you would develop an asp.net
application, and it would run in IIS and serve web pages to the clients.
Your code is never served - just the result of what your code produces is.
I know it's confusing when you first transition into writing applications
for the web, but once you learn it it opens you up to having a website that
anyone with a web browser can view, rather than a stand-alone application
that needs to be downloaded and installed on each client computer. Hope
this helps.
"Arejan" <ar*********@ya hoo.comwrote in message
news:11******** **************@ j4g2000prf.goog legroups.com...
hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(wh ich is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you

Jun 28 '07 #4
On Jun 28, 5:31 pm, bruce barker <nos...@nospam. comwrote:
code behind is not required. asp.net can reference .net dlls (or library
projects) for components.

in a asp.net web site you can put class files in the app_code folder.

with the deployment project or aspnet_compiler if not using vs2005, you
can precompile the site to dll's. the aspx pages will exits but be
empty. this step creates a new site dir and subfolders, that just xcopy
to the server.
It's just another approach and as far as I remember it doesn't work
with user controls.

Jun 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3632
by: modemer | last post by:
Hello, I got weird compiling message similar like following when I compiled my simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3. CC -g -o myclass.o -c myclass.cpp CC -g -o main.o -c main.cpp CC -g -L/usr/lib -lsocket -lnsl -o main myclass.o main.o __1cH__rwstdJ__rb_tree4CpknJmyclassHCSOCKET_nDstdEpair4Ck4n0BNCSOCKEVENTMGRJ SOCKEVENT___n0AL__select1st4n0G_C4__n0DEless4C4__n0DJallocator4n0G____Efind6
0
3048
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for many of the top/height/left settings. I noticed that some of the constants were defined by using other constant values, and I was impressed that VBA could do that. Here's an example: Const row1Top = 1.0208 * 1440 ' top of first row Const...
4
11333
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error LNK2020: unresolved token (0A000007) memset LINK : error LNK2020: unresolved token (0A000008) free LINK : error LNK2020: unresolved token (0A00000A) atexit LINK : error LNK2020: unresolved token (0A000028) wcscpy LINK : error LNK2020: unresolved...
2
1861
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One annoying behavior is that the text editor often "hangs" (doesn't let me type) while compiling. Is there a way to fix this so it behaves more like VS6 (editor does not hang while compiling)?
10
2178
by: Christina N | last post by:
When compiling my ASP.Net application, VS puts the new DLL under the local cached directory 'VSWebCache' in stead of on the server. How can I make it save the DLL file on the server when compiling? I have opened the source code project through 'File - Open - Open project from web..' Best regards, Christina
2
1943
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the contents of his/her game, that you would end up with a tiny executable and a huge datafile. We wanted to keep clear of this as disk accesses take a lot of time to do and there would be a huge load of them to do this part. We could very easily...
8
2195
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the existing code. The options I've considered so far: 1. Create a new MC++ GUI project and add the *.c files to them and mark them with pragma unamanged. However, the /clr option does not compile *.c files, so I rename them to *.cpp, and now they...
21
1640
by: onkar | last post by:
#include<stdio.h> int i; int i; int main(){ printf("i=%d\n",i); return 0; } Note : I am using gcc-3.4.3 on i386-redhat-linux
10
2198
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it works fine". Now admittedly, I tend to have a phobia of this situation because I recall from my Windows days the numerous times I was given code that was supposedly "good to go", but which failed to compile for some stupid reason. Of course I...
0
1372
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help compiling code dynamically it may involve some reflection so if any one is any good in that field or compiling code this would be a great time to show me what you know. by the way my last weird but serious combo box error i solved my self it was just a simple recompile and some simple code changes and it worked. i will put a link to the code for compiling dynamially here: <a href =...
0
7920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8268
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5867
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3900
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2418
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.