473,508 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET new executable

Questions about creating an .net ‘executable’ 2005 that will not remained
installed once a user enters some data into the application. I also want this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as a
windows desktop application versus on the internet. Once the user enters the
save or submit button, I want the application to send the data back to be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on how
to do steup this type of an application using Visual Basic.net 2005.

Thanks!

Jan 13 '08 #1
17 1760
If you are not interested in having any remains of your application left on
the client after using the application then this needs to be an ASP .NET web
application.

If you don't want to require any software on the client, then this needs to
be an ASP .NET web application.

If all you are trying to do is send some data to your SQL server, then this
needs to be an ASP .NET web application.

It sounds like you simply need a web page that collects data and populates a
SQL table.
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
Questions about creating an .net 'executable' 2005 that will not remained
installed once a user enters some data into the application. I also want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as a
windows desktop application versus on the internet. Once the user enters
the
save or submit button, I want the application to send the data back to be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on how
to do steup this type of an application using Visual Basic.net 2005.

Thanks!

Jan 13 '08 #2
Scott M.:

I do not have access to a web server, that is why I want a Windows
application.
Do you think a second alternative would be, to save the data to an FTP site
so that I would still have access to the data?

Thanks!

"Scott M." wrote:
If you are not interested in having any remains of your application left on
the client after using the application then this needs to be an ASP .NET web
application.

If you don't want to require any software on the client, then this needs to
be an ASP .NET web application.

If all you are trying to do is send some data to your SQL server, then this
needs to be an ASP .NET web application.

It sounds like you simply need a web page that collects data and populates a
SQL table.
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
Questions about creating an .net 'executable' 2005 that will not remained
installed once a user enters some data into the application. I also want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as a
windows desktop application versus on the internet. Once the user enters
the
save or submit button, I want the application to send the data back to be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on how
to do steup this type of an application using Visual Basic.net 2005.

Thanks!


Jan 14 '08 #3
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
Questions about creating an .net ‘executable’ 2005 that will not remained
installed once a user enters some data into the application. I also want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as a
windows desktop application versus on the internet. Once the user enters
the
save or submit button, I want the application to send the data back to be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on how
to do steup this type of an application using Visual Basic.net 2005.
If you don't have access to a webserver then you're going to have problems
getting the data back to your database. As Scott mentioned, the best option
is to just use a web page to collect the info. If you really want it to be a
winforms application then the best way to get the data back is to make the
application call an XML web service on your server to input the data.
Trouble is, this would also require a web server!

Can you not install IIS on the database server? If you wanted your app to
directly access the database then you'd have to make the database server
publicly accessible and leave it running constantly anyway, so you may as
well just use it as a webserver instead.

Jan 14 '08 #4
Then, how the users are getting your application? Are they on the same
private network (LAN,WAN...) or are they not networked at all (except the
Internet)?

You need to decide the application type based on availabe infrastructure -
networked privately, or the Internet only, or not networked at all...

It seems web application would be the best, as Scott pointed out. You could
also use Windows app with ClickOnce (you then still need a web server to
distribute the ClickOnce app, if the user is not on a LAN, and how about
database access: where the database is and how the windows app access the
data via the Internet?). In an extreme case where no network access
avaialble, you could send your app to your user via email, then user runs it
on his computer, save data to a file, email back to you; then you update the
data into database. I would not imagine this is what you want.

You need to describe who the users are, where are they and what kind of
network is available, where the database is..... before a
meaningful/useful/concrete answer could be made.

"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:EE**********************************@microsof t.com...
Scott M.:

I do not have access to a web server, that is why I want a Windows
application.
Do you think a second alternative would be, to save the data to an FTP
site
so that I would still have access to the data?

Thanks!

"Scott M." wrote:
>If you are not interested in having any remains of your application left
on
the client after using the application then this needs to be an ASP .NET
web
application.

If you don't want to require any software on the client, then this needs
to
be an ASP .NET web application.

If all you are trying to do is send some data to your SQL server, then
this
needs to be an ASP .NET web application.

It sounds like you simply need a web page that collects data and
populates a
SQL table.
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
Questions about creating an .net 'executable' 2005 that will not
remained
installed once a user enters some data into the application. I also
want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as
a
windows desktop application versus on the internet. Once the user
enters
the
save or submit button, I want the application to send the data back to
be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on
how
to do steup this type of an application using Visual Basic.net 2005.

Thanks!


Jan 14 '08 #5
Norman Yuan:
Since there is no network access avaialble, I want to send my app to each
user via email, then user runs it on his computer, save data to a file, email
back to you; then you update the data into database.
The app that I send to the user to run, I do not want it to permanently
install on their workstation. I am trying to figure out a way to write this
app so that it will:
1. not permanently install on their workstations, and
2. not require any specific software to be installed on their workstation
for the exe to run.

Thanks!
"Norman Yuan" wrote:
Then, how the users are getting your application? Are they on the same
private network (LAN,WAN...) or are they not networked at all (except the
Internet)?

You need to decide the application type based on availabe infrastructure -
networked privately, or the Internet only, or not networked at all...

It seems web application would be the best, as Scott pointed out. You could
also use Windows app with ClickOnce (you then still need a web server to
distribute the ClickOnce app, if the user is not on a LAN, and how about
database access: where the database is and how the windows app access the
data via the Internet?). In an extreme case where no network access
avaialble, you could send your app to your user via email, then user runs it
on his computer, save data to a file, email back to you; then you update the
data into database. I would not imagine this is what you want.

You need to describe who the users are, where are they and what kind of
network is available, where the database is..... before a
meaningful/useful/concrete answer could be made.

"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:EE**********************************@microsof t.com...
Scott M.:

I do not have access to a web server, that is why I want a Windows
application.
Do you think a second alternative would be, to save the data to an FTP
site
so that I would still have access to the data?

Thanks!

"Scott M." wrote:
If you are not interested in having any remains of your application left
on
the client after using the application then this needs to be an ASP .NET
web
application.

If you don't want to require any software on the client, then this needs
to
be an ASP .NET web application.

If all you are trying to do is send some data to your SQL server, then
this
needs to be an ASP .NET web application.

It sounds like you simply need a web page that collects data and
populates a
SQL table.
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
Questions about creating an .net 'executable' 2005 that will not
remained
installed once a user enters some data into the application. I also
want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as
a
windows desktop application versus on the internet. Once the user
enters
the
save or submit button, I want the application to send the data back to
be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on
how
to do steup this type of an application using Visual Basic.net 2005.

Thanks!


Jan 15 '08 #6
An alternative would be to use a self hosted WCF server.

Then the communication does not require a web server and data can be sent to
the server application (not Web server).

Still, it requires .Net 2.0 and 3.0 installed on the client machines but the
application as such does not require installaiton then.

Best regards,
Cezary Nolewajka

Consultant | Microsoft Services | Microsoft | Poland

"Leon Mayne" <leon@rmv_me.mvps.orgwrote in message
news:1F**********************************@microsof t.com...
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
>Questions about creating an .net ‘executable’ 2005 that will not
remained
installed once a user enters some data into the application. I also want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they are
applying for insurance. This application would preferably be a run as a
windows desktop application versus on the internet. Once the user enters
the
save or submit button, I want the application to send the data back to be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions on
how
to do steup this type of an application using Visual Basic.net 2005.

If you don't have access to a webserver then you're going to have problems
getting the data back to your database. As Scott mentioned, the best
option is to just use a web page to collect the info. If you really want
it to be a winforms application then the best way to get the data back is
to make the application call an XML web service on your server to input
the data. Trouble is, this would also require a web server!

Can you not install IIS on the database server? If you wanted your app to
directly access the database then you'd have to make the database server
publicly accessible and leave it running constantly anyway, so you may as
well just use it as a webserver instead.
Jan 15 '08 #7
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:22**********************************@microsof t.com...
Norman Yuan:
Since there is no network access avaialble, I want to send my app to each
user via email, then user runs it on his computer, save data to a file,
email
back to you; then you update the data into database.
The app that I send to the user to run, I do not want it to permanently
install on their workstation. I am trying to figure out a way to write
this
app so that it will:
1. not permanently install on their workstations, and
2. not require any specific software to be installed on their workstation
for the exe to run.
In that case you're better off making the app as a winforms application
which saves its output to an XML file which the user can then email back to
you (or make the app email it automatically), and you can write an import
application which will read in the XML files and import the data into your
database.

If you don't want the users to install the application, then they will need
the .NET framework installed (so probably best to target v2.0 rather than
3.5), and don't use any external libraries. You can then zip up and email
the compiled .exe to them and they should be able to run it directly.

Jan 15 '08 #8
Most email clients and/or servers will filter any executable files out of
emails for security purposes.

Again, this is not a good design for your application.
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:22**********************************@microsof t.com...
Norman Yuan:
Since there is no network access avaialble, I want to send my app to each
user via email, then user runs it on his computer, save data to a file,
email
back to you; then you update the data into database.
The app that I send to the user to run, I do not want it to permanently
install on their workstation. I am trying to figure out a way to write
this
app so that it will:
1. not permanently install on their workstations, and
2. not require any specific software to be installed on their workstation
for the exe to run.

Thanks!
"Norman Yuan" wrote:
>Then, how the users are getting your application? Are they on the same
private network (LAN,WAN...) or are they not networked at all (except the
Internet)?

You need to decide the application type based on availabe
infrastructure -
networked privately, or the Internet only, or not networked at all...

It seems web application would be the best, as Scott pointed out. You
could
also use Windows app with ClickOnce (you then still need a web server to
distribute the ClickOnce app, if the user is not on a LAN, and how about
database access: where the database is and how the windows app access the
data via the Internet?). In an extreme case where no network access
avaialble, you could send your app to your user via email, then user runs
it
on his computer, save data to a file, email back to you; then you update
the
data into database. I would not imagine this is what you want.

You need to describe who the users are, where are they and what kind of
network is available, where the database is..... before a
meaningful/useful/concrete answer could be made.

"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:EE**********************************@microsof t.com...
Scott M.:

I do not have access to a web server, that is why I want a Windows
application.
Do you think a second alternative would be, to save the data to an FTP
site
so that I would still have access to the data?

Thanks!

"Scott M." wrote:

If you are not interested in having any remains of your application
left
on
the client after using the application then this needs to be an ASP
.NET
web
application.

If you don't want to require any software on the client, then this
needs
to
be an ASP .NET web application.

If all you are trying to do is send some data to your SQL server, then
this
needs to be an ASP .NET web application.

It sounds like you simply need a web page that collects data and
populates a
SQL table.
"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:24**********************************@microsof t.com...
Questions about creating an .net 'executable' 2005 that will not
remained
installed once a user enters some data into the application. I also
want
this
applcation to not require any previous software installed on a users
workstation.
I basically want to setup an application for new users when they
are
applying for insurance. This application would preferably be a run
as
a
windows desktop application versus on the internet. Once the user
enters
the
save or submit button, I want the application to send the data back
to
be
processed on a Sql server 2000 or sql server 2005 database.
I have Visual Studio.net 2005 currently and would like suggestions
on
how
to do steup this type of an application using Visual Basic.net 2005.

Thanks!



Jan 15 '08 #9
"Scott M." <sm**@nospam.nospamwrote in message
news:eF**************@TK2MSFTNGP02.phx.gbl...
Most email clients and/or servers will filter any executable files out of
emails for security purposes.
Yes, they would have to zip the exe up. So there's another client
requirement (for people running windows < XP)
Again, this is not a good design for your application.
All the good designs require a web server.
Wendy: Can you not buy a bit of hosting space for a web application? ASP.NET
hosting is quite cheap nowadays. The web app could still email you the
user's responses if that's how you want to enter the data into your
database.

Jan 15 '08 #10
Hello Leon,
"Scott M." <sm**@nospam.nospamwrote in message
news:eF**************@TK2MSFTNGP02.phx.gbl...
>Most email clients and/or servers will filter any executable files
out of emails for security purposes.
Yes, they would have to zip the exe up. So there's another client
requirement (for people running windows < XP)
>Again, this is not a good design for your application.
All the good designs require a web server.
Wendy: Can you not buy a bit of hosting space for a web application?
ASP.NET
hosting is quite cheap nowadays. The web app could still email you the
user's responses if that's how you want to enter the data into your
database.
About 7 years ago I had a project with similar requirements.

Back then broadband here in the uk didn't really exist and technical knowledge
in our target userbase was about as realistic.

The best solution anyone had for our app at the time was offline data transmission.

Can anyone say "Floppy Disks"

It was hideous.

--
Rory
Jan 15 '08 #11

"Leon Mayne" <leon@rmv_me.mvps.orgwrote in message
news:2F**********************************@microsof t.com...
"Scott M." <sm**@nospam.nospamwrote in message
news:eF**************@TK2MSFTNGP02.phx.gbl...
>Most email clients and/or servers will filter any executable files out of
emails for security purposes.

Yes, they would have to zip the exe up. So there's another client
requirement (for people running windows < XP)
Even .zip files that contain executables are also filtered out.
Again, this is not a good design for your application.

All the good designs require a web server.
Wendy: Can you not buy a bit of hosting space for a web application?
ASP.NET hosting is quite cheap nowadays. The web app could still email you
the user's responses if that's how you want to enter the data into your
database.
I'd say forget about emailing application's and results around. You are
just asking for trouble.

This really calls for ASP .NET design here and hosting for this can range
from FREE to less than $10 p/month for lower need applications
(http://alentus.com).

Jan 15 '08 #12
"Scott M.":

Do you know where I could have a secure web hosting for a reasonable price?

Thanks!

"Scott M." wrote:
>
"Leon Mayne" <leon@rmv_me.mvps.orgwrote in message
news:2F**********************************@microsof t.com...
"Scott M." <sm**@nospam.nospamwrote in message
news:eF**************@TK2MSFTNGP02.phx.gbl...
Most email clients and/or servers will filter any executable files out of
emails for security purposes.
Yes, they would have to zip the exe up. So there's another client
requirement (for people running windows < XP)

Even .zip files that contain executables are also filtered out.
Again, this is not a good design for your application.

All the good designs require a web server.
Wendy: Can you not buy a bit of hosting space for a web application?
ASP.NET hosting is quite cheap nowadays. The web app could still email you
the user's responses if that's how you want to enter the data into your
database.

I'd say forget about emailing application's and results around. You are
just asking for trouble.

This really calls for ASP .NET design here and hosting for this can range
from FREE to less than $10 p/month for lower need applications
(http://alentus.com).

Jan 16 '08 #13
"Scott M." <sm**@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
I'd say forget about emailing application's and results around. You are
just asking for trouble.
True, but straight ASP.NET hosting can be quite cheap. Add a SQL Server
database into the equasion and you can look at doubling your costs.

Jan 16 '08 #14
http://www.alentus.com

"Wendy Elizabeth" <We************@discussions.microsoft.comwrote in
message news:EB**********************************@microsof t.com...
"Scott M.":

Do you know where I could have a secure web hosting for a reasonable
price?

Thanks!

"Scott M." wrote:
>>
"Leon Mayne" <leon@rmv_me.mvps.orgwrote in message
news:2F**********************************@microso ft.com...
"Scott M." <sm**@nospam.nospamwrote in message
news:eF**************@TK2MSFTNGP02.phx.gbl...
Most email clients and/or servers will filter any executable files out
of
emails for security purposes.

Yes, they would have to zip the exe up. So there's another client
requirement (for people running windows < XP)

Even .zip files that contain executables are also filtered out.
Again, this is not a good design for your application.

All the good designs require a web server.
Wendy: Can you not buy a bit of hosting space for a web application?
ASP.NET hosting is quite cheap nowadays. The web app could still email
you
the user's responses if that's how you want to enter the data into your
database.

I'd say forget about emailing application's and results around. You are
just asking for trouble.

This really calls for ASP .NET design here and hosting for this can range
from FREE to less than $10 p/month for lower need applications
(http://alentus.com).


Jan 16 '08 #15
If you want to use MySQL, it can be less expensive. If you want to use an
Access database (only for small apps. that don't require rigorous
performance demands), it's free.
"Leon Mayne" <leon@rmv_me.mvps.orgwrote in message
news:F0**********************************@microsof t.com...
"Scott M." <sm**@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>I'd say forget about emailing application's and results around. You are
just asking for trouble.

True, but straight ASP.NET hosting can be quite cheap. Add a SQL Server
database into the equasion and you can look at doubling your costs.

Jan 16 '08 #16
"Scott M." <sm**@nospam.nospamwrote in message
news:uD**************@TK2MSFTNGP02.phx.gbl...
If you want to use MySQL, it can be less expensive.
Yes, in fact sometimes free.
If you want to use an Access database
Ew!
Jan 16 '08 #17
>If you want to use an Access database
>
Ew!
For small scale apps. with few users, this solution deserves a second look.
I always felt the same way as you about this until Access 2003, which gave
this scenario a better chance at actually working.

For the type of app. that the OP is talking about, this may just be the best
solution.
Jan 16 '08 #18

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

Similar topics

1
2235
by: Jay Haslup | last post by:
I am trying to figure out how to get the CMD (dos) window to come up when I call a executable. I have this working on a Win2000/apache machine and am trying to use the same code on a identical...
17
2164
by: Filipe Martins | last post by:
Hello. I've read somewhere that the executable is smaller if we use a source file for each function! So, I tested this with gcc and it seams to confirm! What seams to happen is that if we call...
7
29372
by: Johnny | last post by:
How do I create a link on a Web page on my hard drive that will run an executable file on my hard drive? For example, let's say I create runpoodle.htm and save it to my hard drive, and let's...
8
7048
by: suresh_C# | last post by:
Dear All, What is difference between Portable Executable (PE) file and a Assembly? Thanks, Mahesh
34
2929
by: priyanka | last post by:
Hi, I was wondering if we could parse or do something in the executable( whose source language was C). How can I use some scripting language like perl/python to find out the information about...
28
20419
by: Tim Daneliuk | last post by:
I have a program wherein I want one behavior when a file is set as executable and a different behavior if it is not. Is there a simple way to determine whether a given named file is executable...
3
3932
by: Jeffrey Froman | last post by:
Hello All, I have two python versions installed, one in /usr/bin, and one in /usr/local/bin. However, when invoking python without a full path, I get the wrong executable with the right...
2
1823
by: NasirMunir | last post by:
I am trying to run an executable using shell. The executable look for certain files in the same directory and then run on those files. My problem: I have created a form which asks from the user to...
3
7233
by: Mo | last post by:
Hi, Is there a way to include an executable (xxx.exe) file inside a c# console project so that the resulting project binary have only one final executable file? My c# console application is...
16
4464
by: Erwin Moller | last post by:
Why is a binary file executable? Is any binary file executable? Is only binary file executable? Are all executable files binary? What is the connection between the attribute of binary and that of...
0
7115
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...
0
7321
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,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7036
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...
0
7489
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...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3191
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...
0
1547
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 ...
1
762
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.