Showing posts with label developing. Show all posts
Showing posts with label developing. Show all posts

Thursday, March 29, 2012

Office 2007 documents not appearing in iframe

We've been developing an application for a while which allows display of
office/pdf etc documents within an iframe in a web browser.
However, since installing office 2007 this has stopped working and instead
of them appearing nicely in the iframe they now pop up and appear within the
office program.
Does anyone know if there is a way to alter the behaviour of office 2007 so
that the documents remain embedded within the iframe, or is this something
which I just have to accept.
ThanksAFAIK in both 2007 and previous version this is actually a client dependant
behavior. Try :
http://support.microsoft.com/kb/162059/en-us
Another option could be to use an object tag (not tried)...
Patrice
"T" <T@.discussions.microsoft.com> a crit dans le message de news:
49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...
> We've been developing an application for a while which allows display of
> office/pdf etc documents within an iframe in a web browser.
> However, since installing office 2007 this has stopped working and instead
> of them appearing nicely in the iframe they now pop up and appear within
> the
> office program.
> Does anyone know if there is a way to alter the behaviour of office 2007
> so
> that the documents remain embedded within the iframe, or is this something
> which I just have to accept.
> Thanks
>
Hey thanks. I did as suggested in the support article and it does now open i
n
the iframe.
However, this must have been something the Office 2007 installation messed
around with as everything worked fine before installing 2007. Anyone know wh
y
this was done? Also its not something i can expect all our users to do after
they install office 2007, that they then have to for every office file type
select a check box in folder options to allow them to appear in the browser.
Does anyone have any suggestions?
Cheers
"Patrice" wrote:

> AFAIK in both 2007 and previous version this is actually a client dependan
t
> behavior. Try :
> http://support.microsoft.com/kb/162059/en-us
> Another option could be to use an object tag (not tried)...
> --
> Patrice
>
> "T" <T@.discussions.microsoft.com> a écrit dans le message de news:
> 49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...
>
>
re:
!> http://support.microsoft.com/kb/162059/en-us
That KB needs revision.
The latest document type listed is Office 8.
Office 2007 is Office 12.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Patrice" <http://www.chez.com/scribe/> wrote in message
news:OKO8sV9XHHA.4552@.TK2MSFTNGP05.phx.gbl...
> AFAIK in both 2007 and previous version this is actually a client dependan
t behavior. Try :
> http://support.microsoft.com/kb/162059/en-us
> Another option could be to use an object tag (not tried)...
> --
> Patrice
>
> "T" <T@.discussions.microsoft.com> a crit dans le message de news:
> 49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...
>
I mentionned you could perhaps use an object tag inside your iframe to see
if the document is then forced to be placed inside the IE window...
"T" <T@.discussions.microsoft.com> a crit dans le message de news:
AA9DF605-996F-457E-95C0-A9FE2983D49D@.microsoft.com...
> Hey thanks. I did as suggested in the support article and it does now open
> in
> the iframe.
> However, this must have been something the Office 2007 installation messed
> around with as everything worked fine before installing 2007. Anyone know
> why
> this was done? Also its not something i can expect all our users to do
> after
> they install office 2007, that they then have to for every office file
> type
> select a check box in folder options to allow them to appear in the
> browser.
> Does anyone have any suggestions?
> Cheers
>
> "Patrice" wrote:
>

Office 2007 documents not appearing in iframe

We've been developing an application for a while which allows display of
office/pdf etc documents within an iframe in a web browser.

However, since installing office 2007 this has stopped working and instead
of them appearing nicely in the iframe they now pop up and appear within the
office program.

Does anyone know if there is a way to alter the behaviour of office 2007 so
that the documents remain embedded within the iframe, or is this something
which I just have to accept.

ThanksAFAIK in both 2007 and previous version this is actually a client dependant
behavior. Try :
http://support.microsoft.com/kb/162059/en-us
Another option could be to use an object tag (not tried)...

--
Patrice

"T" <T@.discussions.microsoft.coma crit dans le message de news:
49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...

Quote:

Originally Posted by

We've been developing an application for a while which allows display of
office/pdf etc documents within an iframe in a web browser.
>
However, since installing office 2007 this has stopped working and instead
of them appearing nicely in the iframe they now pop up and appear within
the
office program.
>
Does anyone know if there is a way to alter the behaviour of office 2007
so
that the documents remain embedded within the iframe, or is this something
which I just have to accept.
>
Thanks
>


Hey thanks. I did as suggested in the support article and it does now open in
the iframe.

However, this must have been something the Office 2007 installation messed
around with as everything worked fine before installing 2007. Anyone know why
this was done? Also its not something i can expect all our users to do after
they install office 2007, that they then have to for every office file type
select a check box in folder options to allow them to appear in the browser.

Does anyone have any suggestions?

Cheers

"Patrice" wrote:

Quote:

Originally Posted by

AFAIK in both 2007 and previous version this is actually a client dependant
behavior. Try :
http://support.microsoft.com/kb/162059/en-us
>
Another option could be to use an object tag (not tried)...
>
--
Patrice
>
>
>
"T" <T@.discussions.microsoft.coma écrit dans le message de news:
49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...

Quote:

Originally Posted by

We've been developing an application for a while which allows display of
office/pdf etc documents within an iframe in a web browser.

However, since installing office 2007 this has stopped working and instead
of them appearing nicely in the iframe they now pop up and appear within
the
office program.

Does anyone know if there is a way to alter the behaviour of office 2007
so
that the documents remain embedded within the iframe, or is this something
which I just have to accept.

Thanks


>
>
>


re:
!http://support.microsoft.com/kb/162059/en-us
That KB needs revision.
The latest document type listed is Office 8.

Office 2007 is Office 12.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Patrice" <http://www.chez.com/scribe/wrote in message
news:OKO8sV9XHHA.4552@.TK2MSFTNGP05.phx.gbl...

Quote:

Originally Posted by

AFAIK in both 2007 and previous version this is actually a client dependant behavior. Try :
http://support.microsoft.com/kb/162059/en-us
>
Another option could be to use an object tag (not tried)...
>
--
Patrice
>
>
>
"T" <T@.discussions.microsoft.coma crit dans le message de news:
49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...

Quote:

Originally Posted by

>We've been developing an application for a while which allows display of
>office/pdf etc documents within an iframe in a web browser.
>>
>However, since installing office 2007 this has stopped working and instead
>of them appearing nicely in the iframe they now pop up and appear within the
>office program.
>>
>Does anyone know if there is a way to alter the behaviour of office 2007 so
>that the documents remain embedded within the iframe, or is this something
>which I just have to accept.
>>
>Thanks
>>


>
>


I mentionned you could perhaps use an object tag inside your iframe to see
if the document is then forced to be placed inside the IE window...

"T" <T@.discussions.microsoft.coma crit dans le message de news:
AA9DF605-996F-457E-95C0-A9FE2983D49D@.microsoft.com...

Quote:

Originally Posted by

Hey thanks. I did as suggested in the support article and it does now open
in
the iframe.
>
However, this must have been something the Office 2007 installation messed
around with as everything worked fine before installing 2007. Anyone know
why
this was done? Also its not something i can expect all our users to do
after
they install office 2007, that they then have to for every office file
type
select a check box in folder options to allow them to appear in the
browser.
>
Does anyone have any suggestions?
>
Cheers
>
>
>
"Patrice" wrote:
>

Quote:

Originally Posted by

>AFAIK in both 2007 and previous version this is actually a client
>dependant
>behavior. Try :
>http://support.microsoft.com/kb/162059/en-us
>>
>Another option could be to use an object tag (not tried)...
>>
>--
>Patrice
>>
>>
>>
>"T" <T@.discussions.microsoft.coma crit dans le message de news:
>49BA0ADC-30D0-4B2E-8724-F3823CBFD8DD@.microsoft.com...

Quote:

Originally Posted by

We've been developing an application for a while which allows display
of
office/pdf etc documents within an iframe in a web browser.
>
However, since installing office 2007 this has stopped working and
instead
of them appearing nicely in the iframe they now pop up and appear
within
the
office program.
>
Does anyone know if there is a way to alter the behaviour of office
2007
so
that the documents remain embedded within the iframe, or is this
something
which I just have to accept.
>
Thanks
>


>>
>>
>>

Offline Content Development using ASP.Net 2.0

Hi,

I am currently involved in developing an e-magazine with asp.net 2.0 (C#) and sql server 2000.

One of my requirement is that i want to make available the e-magazine content to the user in offline too.

how to make our website available offline. what kind of coding or component or technology to be used.

I need a detailed implementation or samples to make my e-magazine available offline. I am googling around a

week but i found nothing fruitful.. so pls help me to resolve this...

Thanks in advance...

karthik

To preserve the asp.net content for the readers to view offline, you would need to require the readers have IIS setup on their local machine to run the .net app. Depending on your demographic, this seems like a pretty hefty requirement to push onto users who aren't .net developers.

My suggestion would be to create a pdf or plain html version (one that doesn't depend on any server side technologies) to make available to users that wish to view it offline.


I think you probably have dynamically generated content through SQL. Yeah in order to make your standalone html work, you can create your site through asp.net. Then use wget or some other type of website downloader to grab the content into simple html format and package that.

There is a bit 'hardocre' solution, but you could generate html pages in the file system.
Just the way you write text files, you can write html documents, whith all the formatting and such u might need... anyway, it's a lot of work, you would be addinh a whole new 'reporting' output. But for sure this will work, and requires nothing from customers... maybe just click a link to the "view static html" version... I've done simmilar things in the past for MUST DO requests from customers

regards,
Mauro


Thanks for ur suggestions. Is there any samples available that...

thanks mauro_net. I need more detailed info for that .. if any resources or samples or tutorials available for that

please inform me...

thks

with regards...

nkYes


Ok, I will assume, for a second that html files we'll generate have a fairly simple layout.

Basic steps involved are (details later)
1. Get your data from he database or wherever u have your data.
I will assume for this example you have a table of newsitems [newsitem_id | newsitem_title | newsitem_name ]
So you query the db and get "all" the proper niewsitems, not just 1 by newsitem_id, as you would do in a dynamic frontend.

2. For each row, open a new text file (you'll see examples below), give the file a name dynamically created like "content_35.html" (where 35 is the item's id). With the file created, write the html content inside. Close the file

3. After you populated all the files, you might also want to create an extra html page t odisplay a menu or index or something. Even more, you could use some component out there to generate a zip with all the htmls so they can download and see offline "for real"

I will prepare some codew and write back. w8 a few moments

Here's the code to do what u want (simples scenario ever)
Stick out tongue entry point is a Page_load and it includes all webapp's assemblies for I has VS opened in a webapp project andthat was the fastest. please dont complain about thtat...

using System;

using System.Data;

using System.Configuration;

using System.Collections;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;

using System.IO;

publicpartialclassDefault2 : System.Web.UI.Page

{

protectedvoid Page_Load(object sender,EventArgs e)

{

GetDataAndWriteThemAll();

}

publicvoid GetDataAndWriteThemAll()

{

//get data from db

//myDataset = select * from tblNewsItems

//for each row

//WriteFile(myDataset("newsitem_title"), myDataset("newsitem_id"), myDataset("newsitem_content"))

WriteFile("testpage","16897","this is the <b>html formatted</b> content!");

WriteFile("one more","32683","oh yeah, i love writing text files to disk!");

}

publicvoid WriteFile(string page_title,string page_id,string page_content)

{

//file will be created on the fly

TextWriter tw =newStreamWriter("c:\\newsitem_"+page_id+".html");

// write a line of text to the file

tw.WriteLine("<html>"); //common html elements...

tw.WriteLine("<head>");

tw.WriteLine("<title>");

tw.WriteLine(page_title); //let's be nice and add a <title>

tw.WriteLine("</title>");

tw.WriteLine("</head>");

tw.WriteLine("<body>");

tw.WriteLine("<h1>" + page_title +"</h1>");//big page title

tw.WriteLine("<hr>"); //a horizontal bar, why not?

tw.WriteLine(page_content); // large html from the database, for instance

tw.WriteLine("<hr>");

tw.WriteLine(page_title); //let's be nice and add a <title>

tw.WriteLine("Last updated: " +DateTime.Now.ToString());

tw.WriteLine("</html>");

// close the stream

tw.Close();

}

}

GO TO C:\ AND SEE THE GENERATED FILES

what I did when I had this requirement was to have multiple templates.
My templates where normal html pages with some special markups for replacement, for instance
<PAGE_TITLE> or <PAGE_CONTENT> so basically the app has to load the desired template, replace the strings "<PAGE_TITLE>" or "<PAGE_CONTENT>" with whatever it was supposed to replace, and the use the resulting html (template with replaced tags) to write the file to disk

The good thing about using tempates is that u can have a complex html formatting and not worries about hardocding it inside the app creating the files.

Some other problems you might face are
- But my pages aer much more complex than a text from the db --> hey! you will have to clone the logic generating your real 'online' pages and make sure you can generate a simmilar html
- I need to rebuild a complete website, with loads of buttons, menues, links all over the place --> how simmilar to the original site it is, will depend on how much money you're getting for it.

If the output is just too complex to be generated this way, you might consider using a desktop tool for dowloading the whole thing to your pc and expose it as a zip in your site... there's nothing else to say abou that

I hope this helps,
Please tell me what u think and if u have more queries


Thanks a lot Mauro for your efforts. What's the problem with my e-magazine is, all the pages in it are stored as

images in a web server. and to show a page i have to load it from the server by specifying the url like http://address/12345.jpg.

The db contains the url only. My magazines looks very similar to the samples available in http://www.nxtbook.com/samples/magazines/

website. Pls check this out and give me a solution. My magazine is purely developed using asp.net 2.0 and no flash matters included.

it also contains the menu features as u could see in the samples of the above mentioned web site.

To change this to offline what i must do? hope u'll come around with a better solution that helps me...

thanks a lot...

karthik


Ok, in order to give you further advice, i must understand exactly what do u mean by "content available offline"

What exactly is going to be offline? you want an offline user to write a url in browser and still be able to see the content?

I would give the users the possibility to download (1, or all) magazines in zip format...

Please be more clear on the requirement


The user is allowed to download the specific magazine he needs. The downloaded file may be an

exe or zip. the pages of the magazine could be stored as JPEG files or BLOB object in Database on client machine for off line viewing.

(which is better?) . In fact the whole application is to be downloaded but with the specific magazine content only. The off line content is nothing

but the pages and application and all the pages are jpeg files.

hope you will get it clear. if not pls dont hesitate to reply me

with regards......

karthik



Ok, I could point you to a way to resitribute your site between your customers, even with just 'some' images in it, but i really don't think that is a good idea.... I mean, why to download a complete webapp and run it locally to read a magazine?
And if that is the case, can 't you make a desktop app?the desktop app could do all the work for the custmer, including downloading only the allowed content when the user has connection and if there's some weird presentation engine/presentation logic (which i think it is), it can handle t as well. It could download also xml data for implementing some kind of search engine, etc, and still be in some way a simple application. I really do not think having users running your web app locally is a good idea... neither safe or userfriendly!! what kind of users do u have? is the magazine presentation logic that complex? can it be a desktop app instead of a web app? Is there a flash or dhtml magazine-viewer? And also... why would u store the images as blobs on the client? is there a reson for it? that's pretty twisted the way i see it, unless there's an specific reason or requirement...

So what i suggest is a workaround.
If you have no option, if there is an specific requirement for users to work with your own app locally... the yeah, all the IIS setup and stuff mencioned avobe will be required.

regards,
Mauro


Hi mauro, i can't get in contact for the past few days because of my work schedule...

I need ur suggestions for my offline client development with the use of Microsoft's

Smart Client Offline Application Block. I have downloaded the required dlls but i dont

know the proper way of implementing it. If you have any ideas about it, pls inform me..

thanks in advance..

karthik


WOW It is the first time in my life i hear about such thing... it is unbeliveable how many weird solutions are out there... I'm sorry I can help you but for what i've just seen in msdn, that's exactly what you need!
So far, I wonder about this quote "Smart clients are applications that are native to a user's PC and are also network-aware" ... I thought a common desktop app could do so... actually... I did it for years. I don't really understand what's so speccial about it, but i guess this is just a set of components which help u simplify conectivity-related development.

Ok, gotta go (I am plenty of duties myself.... and I have a new baby component that is making me so proud...! soon to be posted on codeproject (it was about time)

I will take another look later on about this technology. In the meantime, keep posting, the solution is around the corner.
Regards,
Mauro


Hi,

One of my application needs a web service that can download images from the webserver.

The images are stored in the webserver and it can be accessed by giving its url like http://.../image001.jpg

Can any one give me a sample code for the web service. I have written an application using WebClient Class.

but it displayes the download dialog box with Open, save, Close buttons. I just need to download the images when the user

clicks the Download button. A progress can be displayed.

Note : sometimes A bulk of 50 to 100 images are to downloaded in a single click.

thanks in advance..

with regards..

yenkay



off-topic: cost for developing site?

A client asked me to develop a site similar to http://www.luispachecorg.com
and I don't know how much I should charge for it. The site will have about
6
pages, and one of the pages will include a Search engine that will search fo
r
houses in a DB that I will also create (similar to the Search under "Nuestra
s
propiedades" menu). Another page will include two calculators (similar to th
e
ones in
http://pacheco.elistados.com/calc_e...r />
c
5). The Flash will NOT be included (at least for now).
Since this is the first project I work on my own, I don't know how much I
should charge. Any help would be appreciated.
THanks.First, figure out how many hours it will take to develop. Of course, in
order to do this, you will need a much more specific set of requirements.
This set of requirements should be as complete as possible, no room for
interpretation. Once you've agreed on the requirements, you can calculate
the number of hours it will take to develop. Remember that it usually takes
longer than you originally conceive, and account for that. Then it's a
simple matter of multiplying the number of hours times your hourly rate.
Make sure you are as detailed as possible again, to ensure that there are no
misunderstandings between you and your client (of course, there will be, but
you want to attentuate this as much as possible). Finally, draw up a
contract, and require that the client sign on the dotted line.
Also, it may be necessary for you to secure a downpayment, depending on how
much and if you trust your client.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
What You S Is What You Get.
"VMI" <VMI@.discussions.microsoft.com> wrote in message
news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
>A client asked me to develop a site similar to http://www.luispachecorg.com
> and I don't know how much I should charge for it. The site will have
> about 6
> pages, and one of the pages will include a Search engine that will search
> for
> houses in a DB that I will also create (similar to the Search under
> "Nuestras
> propiedades" menu). Another page will include two calculators (similar to
> the
> ones in
> http://pacheco.elistados.com/calc_e...8754
bc5).
> The Flash will NOT be included (at least for now).
> Since this is the first project I work on my own, I don't know how much I
> should charge. Any help would be appreciated.
> THanks.
This topic is of interest to me too. I think the hourly rate, which you
didn't mention, is a primary factor. Is there someplace on the Internet
where there's a rough outline of going rates for development in various
areas? I sure don't want to be undercutting anyone!
Sandy
"Kevin Spencer" wrote:

> First, figure out how many hours it will take to develop. Of course, in
> order to do this, you will need a much more specific set of requirements.
> This set of requirements should be as complete as possible, no room for
> interpretation. Once you've agreed on the requirements, you can calculate
> the number of hours it will take to develop. Remember that it usually take
s
> longer than you originally conceive, and account for that. Then it's a
> simple matter of multiplying the number of hours times your hourly rate.
> Make sure you are as detailed as possible again, to ensure that there are
no
> misunderstandings between you and your client (of course, there will be, b
ut
> you want to attentuate this as much as possible). Finally, draw up a
> contract, and require that the client sign on the dotted line.
> Also, it may be necessary for you to secure a downpayment, depending on ho
w
> much and if you trust your client.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> ..Net Developer
> What You S Is What You Get.
> "VMI" <VMI@.discussions.microsoft.com> wrote in message
> news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
>
>
I'm not aware of such a site, but I would be surprised if there were not
several such sites out there. Have you tried Googling it?
You do bring up a good point. In fact, you don't want your rate to be too
low, as it will scare many potential clients away!
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
What You S Is What You Get.
"Sandy" <Sandy@.discussions.microsoft.com> wrote in message
news:F845DBD5-0280-49A7-A89C-F3B5B6B43596@.microsoft.com...
> This topic is of interest to me too. I think the hourly rate, which you
> didn't mention, is a primary factor. Is there someplace on the Internet
> where there's a rough outline of going rates for development in various
> areas? I sure don't want to be undercutting anyone!
> Sandy
> "Kevin Spencer" wrote:
>
The client already know my hourly rate, I'm just not sure how many hours
it'll take me. In this case, how many hours would it take to develop
something like this (http://www.luispachecorg.com)?
"Sandy" wrote:
> This topic is of interest to me too. I think the hourly rate, which you
> didn't mention, is a primary factor. Is there someplace on the Internet
> where there's a rough outline of going rates for development in various
> areas? I sure don't want to be undercutting anyone!
> Sandy
> "Kevin Spencer" wrote:
>
VMI wrote:
> The client already know my hourly rate, I'm just not sure how many
> hours it'll take me. In this case, how many hours would it take to
> develop something like this (http://www.luispachecorg.com)?
>
There is no general rule for this.
It depends on your skills (are you just starting on web developement or
do you have years and years of experience in ASP.Net ?) and on the tools
available. With "tools" I mean not only VS.Net (or whatever)
but also libraries that you may have that make developing such
a site easier.
> "Sandy" wrote:
>
In this case, how many hours would it take to develop
> something like this (http://www.luispachecorg.com)?
How many hours would it take to run 10 miles? Answer: It depends on the
runner.
Also, you haven't stated any requirements. That description came from your
potential client, who know s next-to-nothing about programming and/or
technology. It's your job to extract the exact details of what the client
wants, and determine the true and complete requirements.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
What You S Is What You Get.
"VMI" <VMI@.discussions.microsoft.com> wrote in message
news:579D2863-04B3-4A49-9222-4C35143D2776@.microsoft.com...
> The client already know my hourly rate, I'm just not sure how many hours
> it'll take me. In this case, how many hours would it take to develop
> something like this (http://www.luispachecorg.com)?
> "Sandy" wrote:
>

Monday, March 26, 2012

off-topic: cost for developing site?

A client asked me to develop a site similar to http://www.luispachecorg.com
and I don't know how much I should charge for it. The site will have about 6
pages, and one of the pages will include a Search engine that will search for
houses in a DB that I will also create (similar to the Search under "Nuestras
propiedades" menu). Another page will include two calculators (similar to the
ones in
http://pacheco.elistados.com/calc_e...ab751875 4bc5). The Flash will NOT be included (at least for now).
Since this is the first project I work on my own, I don't know how much I
should charge. Any help would be appreciated.
THanks.First, figure out how many hours it will take to develop. Of course, in
order to do this, you will need a much more specific set of requirements.
This set of requirements should be as complete as possible, no room for
interpretation. Once you've agreed on the requirements, you can calculate
the number of hours it will take to develop. Remember that it usually takes
longer than you originally conceive, and account for that. Then it's a
simple matter of multiplying the number of hours times your hourly rate.
Make sure you are as detailed as possible again, to ensure that there are no
misunderstandings between you and your client (of course, there will be, but
you want to attentuate this as much as possible). Finally, draw up a
contract, and require that the client sign on the dotted line.

Also, it may be necessary for you to secure a downpayment, depending on how
much and if you trust your client.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"VMI" <VMI@.discussions.microsoft.com> wrote in message
news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
>A client asked me to develop a site similar to http://www.luispachecorg.com
> and I don't know how much I should charge for it. The site will have
> about 6
> pages, and one of the pages will include a Search engine that will search
> for
> houses in a DB that I will also create (similar to the Search under
> "Nuestras
> propiedades" menu). Another page will include two calculators (similar to
> the
> ones in
> http://pacheco.elistados.com/calc_e...ab751875 4bc5).
> The Flash will NOT be included (at least for now).
> Since this is the first project I work on my own, I don't know how much I
> should charge. Any help would be appreciated.
> THanks.
This topic is of interest to me too. I think the hourly rate, which you
didn't mention, is a primary factor. Is there someplace on the Internet
where there's a rough outline of going rates for development in various
areas? I sure don't want to be undercutting anyone!

Sandy

"Kevin Spencer" wrote:

> First, figure out how many hours it will take to develop. Of course, in
> order to do this, you will need a much more specific set of requirements.
> This set of requirements should be as complete as possible, no room for
> interpretation. Once you've agreed on the requirements, you can calculate
> the number of hours it will take to develop. Remember that it usually takes
> longer than you originally conceive, and account for that. Then it's a
> simple matter of multiplying the number of hours times your hourly rate.
> Make sure you are as detailed as possible again, to ensure that there are no
> misunderstandings between you and your client (of course, there will be, but
> you want to attentuate this as much as possible). Finally, draw up a
> contract, and require that the client sign on the dotted line.
> Also, it may be necessary for you to secure a downpayment, depending on how
> much and if you trust your client.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> ..Net Developer
> What You Seek Is What You Get.
> "VMI" <VMI@.discussions.microsoft.com> wrote in message
> news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
> >A client asked me to develop a site similar to http://www.luispachecorg.com
> > and I don't know how much I should charge for it. The site will have
> > about 6
> > pages, and one of the pages will include a Search engine that will search
> > for
> > houses in a DB that I will also create (similar to the Search under
> > "Nuestras
> > propiedades" menu). Another page will include two calculators (similar to
> > the
> > ones in
> > http://pacheco.elistados.com/calc_e...ab751875 4bc5).
> > The Flash will NOT be included (at least for now).
> > Since this is the first project I work on my own, I don't know how much I
> > should charge. Any help would be appreciated.
> > THanks.
>
I'm not aware of such a site, but I would be surprised if there were not
several such sites out there. Have you tried Googling it?

You do bring up a good point. In fact, you don't want your rate to be too
low, as it will scare many potential clients away!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Sandy" <Sandy@.discussions.microsoft.com> wrote in message
news:F845DBD5-0280-49A7-A89C-F3B5B6B43596@.microsoft.com...
> This topic is of interest to me too. I think the hourly rate, which you
> didn't mention, is a primary factor. Is there someplace on the Internet
> where there's a rough outline of going rates for development in various
> areas? I sure don't want to be undercutting anyone!
> Sandy
> "Kevin Spencer" wrote:
>> First, figure out how many hours it will take to develop. Of course, in
>> order to do this, you will need a much more specific set of requirements.
>> This set of requirements should be as complete as possible, no room for
>> interpretation. Once you've agreed on the requirements, you can calculate
>> the number of hours it will take to develop. Remember that it usually
>> takes
>> longer than you originally conceive, and account for that. Then it's a
>> simple matter of multiplying the number of hours times your hourly rate.
>> Make sure you are as detailed as possible again, to ensure that there are
>> no
>> misunderstandings between you and your client (of course, there will be,
>> but
>> you want to attentuate this as much as possible). Finally, draw up a
>> contract, and require that the client sign on the dotted line.
>>
>> Also, it may be necessary for you to secure a downpayment, depending on
>> how
>> much and if you trust your client.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> What You Seek Is What You Get.
>>
>> "VMI" <VMI@.discussions.microsoft.com> wrote in message
>> news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
>> >A client asked me to develop a site similar to
>> >http://www.luispachecorg.com
>> > and I don't know how much I should charge for it. The site will have
>> > about 6
>> > pages, and one of the pages will include a Search engine that will
>> > search
>> > for
>> > houses in a DB that I will also create (similar to the Search under
>> > "Nuestras
>> > propiedades" menu). Another page will include two calculators (similar
>> > to
>> > the
>> > ones in
>> > http://pacheco.elistados.com/calc_e...ab751875 4bc5).
>> > The Flash will NOT be included (at least for now).
>> > Since this is the first project I work on my own, I don't know how much
>> > I
>> > should charge. Any help would be appreciated.
>> > THanks.
>>
>>
>
The client already know my hourly rate, I'm just not sure how many hours
it'll take me. In this case, how many hours would it take to develop
something like this (http://www.luispachecorg.com)?

"Sandy" wrote:

> This topic is of interest to me too. I think the hourly rate, which you
> didn't mention, is a primary factor. Is there someplace on the Internet
> where there's a rough outline of going rates for development in various
> areas? I sure don't want to be undercutting anyone!
> Sandy
> "Kevin Spencer" wrote:
> > First, figure out how many hours it will take to develop. Of course, in
> > order to do this, you will need a much more specific set of requirements.
> > This set of requirements should be as complete as possible, no room for
> > interpretation. Once you've agreed on the requirements, you can calculate
> > the number of hours it will take to develop. Remember that it usually takes
> > longer than you originally conceive, and account for that. Then it's a
> > simple matter of multiplying the number of hours times your hourly rate.
> > Make sure you are as detailed as possible again, to ensure that there are no
> > misunderstandings between you and your client (of course, there will be, but
> > you want to attentuate this as much as possible). Finally, draw up a
> > contract, and require that the client sign on the dotted line.
> > Also, it may be necessary for you to secure a downpayment, depending on how
> > much and if you trust your client.
> > --
> > HTH,
> > Kevin Spencer
> > Microsoft MVP
> > ..Net Developer
> > What You Seek Is What You Get.
> > "VMI" <VMI@.discussions.microsoft.com> wrote in message
> > news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
> > >A client asked me to develop a site similar to http://www.luispachecorg.com
> > > and I don't know how much I should charge for it. The site will have
> > > about 6
> > > pages, and one of the pages will include a Search engine that will search
> > > for
> > > houses in a DB that I will also create (similar to the Search under
> > > "Nuestras
> > > propiedades" menu). Another page will include two calculators (similar to
> > > the
> > > ones in
> > > http://pacheco.elistados.com/calc_e...ab751875 4bc5).
> > > The Flash will NOT be included (at least for now).
> > > Since this is the first project I work on my own, I don't know how much I
> > > should charge. Any help would be appreciated.
> > > THanks.
VMI wrote:
> The client already know my hourly rate, I'm just not sure how many
> hours it'll take me. In this case, how many hours would it take to
> develop something like this (http://www.luispachecorg.com)?

There is no general rule for this.
It depends on your skills (are you just starting on web developement or
do you have years and years of experience in ASP.Net ?) and on the tools
available. With "tools" I mean not only VS.Net (or whatever)
but also libraries that you may have that make developing such
a site easier.

> "Sandy" wrote:
>> This topic is of interest to me too. I think the hourly rate, which
>> you didn't mention, is a primary factor. Is there someplace on the
>> Internet where there's a rough outline of going rates for
>> development in various areas? I sure don't want to be undercutting
>> anyone!
>>
>> Sandy
>>
>> "Kevin Spencer" wrote:
>>
>>> First, figure out how many hours it will take to develop. Of
>>> course, in order to do this, you will need a much more specific set
>>> of requirements. This set of requirements should be as complete as
>>> possible, no room for interpretation. Once you've agreed on the
>>> requirements, you can calculate the number of hours it will take to
>>> develop. Remember that it usually takes longer than you originally
>>> conceive, and account for that. Then it's a simple matter of
>>> multiplying the number of hours times your hourly rate. Make sure
>>> you are as detailed as possible again, to ensure that there are no
>>> misunderstandings between you and your client (of course, there
>>> will be, but you want to attentuate this as much as possible).
>>> Finally, draw up a contract, and require that the client sign on
>>> the dotted line.
>>>
>>> Also, it may be necessary for you to secure a downpayment,
>>> depending on how much and if you trust your client.
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> ..Net Developer
>>> What You Seek Is What You Get.
>>>
>>> "VMI" <VMI@.discussions.microsoft.com> wrote in message
>>> news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
>>>> A client asked me to develop a site similar to
>>>> http://www.luispachecorg.com and I don't know how much I should
>>>> charge for it. The site will have about 6
>>>> pages, and one of the pages will include a Search engine that will
>>>> search for
>>>> houses in a DB that I will also create (similar to the Search under
>>>> "Nuestras
>>>> propiedades" menu). Another page will include two calculators
>>>> (similar to the
>>>> ones in
>>>> http://pacheco.elistados.com/calc_e...ab751875 4bc5).
>>>> The Flash will NOT be included (at least for now).
>>>> Since this is the first project I work on my own, I don't know how
>>>> much I should charge. Any help would be appreciated.
>>>> THanks.
In this case, how many hours would it take to develop
> something like this (http://www.luispachecorg.com)?

How many hours would it take to run 10 miles? Answer: It depends on the
runner.

Also, you haven't stated any requirements. That description came from your
potential client, who know s next-to-nothing about programming and/or
technology. It's your job to extract the exact details of what the client
wants, and determine the true and complete requirements.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"VMI" <VMI@.discussions.microsoft.com> wrote in message
news:579D2863-04B3-4A49-9222-4C35143D2776@.microsoft.com...
> The client already know my hourly rate, I'm just not sure how many hours
> it'll take me. In this case, how many hours would it take to develop
> something like this (http://www.luispachecorg.com)?
> "Sandy" wrote:
>> This topic is of interest to me too. I think the hourly rate, which you
>> didn't mention, is a primary factor. Is there someplace on the Internet
>> where there's a rough outline of going rates for development in various
>> areas? I sure don't want to be undercutting anyone!
>>
>> Sandy
>>
>> "Kevin Spencer" wrote:
>>
>> > First, figure out how many hours it will take to develop. Of course, in
>> > order to do this, you will need a much more specific set of
>> > requirements.
>> > This set of requirements should be as complete as possible, no room for
>> > interpretation. Once you've agreed on the requirements, you can
>> > calculate
>> > the number of hours it will take to develop. Remember that it usually
>> > takes
>> > longer than you originally conceive, and account for that. Then it's a
>> > simple matter of multiplying the number of hours times your hourly
>> > rate.
>> > Make sure you are as detailed as possible again, to ensure that there
>> > are no
>> > misunderstandings between you and your client (of course, there will
>> > be, but
>> > you want to attentuate this as much as possible). Finally, draw up a
>> > contract, and require that the client sign on the dotted line.
>>> > Also, it may be necessary for you to secure a downpayment, depending on
>> > how
>> > much and if you trust your client.
>>> > --
>> > HTH,
>>> > Kevin Spencer
>> > Microsoft MVP
>> > ..Net Developer
>> > What You Seek Is What You Get.
>>> > "VMI" <VMI@.discussions.microsoft.com> wrote in message
>> > news:7B4F0681-2C74-4332-812D-BD2BE3B767ED@.microsoft.com...
>> > >A client asked me to develop a site similar to
>> > >http://www.luispachecorg.com
>> > > and I don't know how much I should charge for it. The site will have
>> > > about 6
>> > > pages, and one of the pages will include a Search engine that will
>> > > search
>> > > for
>> > > houses in a DB that I will also create (similar to the Search under
>> > > "Nuestras
>> > > propiedades" menu). Another page will include two calculators
>> > > (similar to
>> > > the
>> > > ones in
>> > > http://pacheco.elistados.com/calc_e...ab751875 4bc5).
>> > > The Flash will NOT be included (at least for now).
>> > > Since this is the first project I work on my own, I don't know how
>> > > much I
>> > > should charge. Any help would be appreciated.
>> > > THanks.
>>>

Saturday, March 24, 2012

OLAP and ASP.NET

I am working on Analysis Services. We are developing an
ASP.NET application which will access data from OLAP
Cubes. creation of OLAP Cube is done.

I am not able to access the same from asp.net. Can someone
please help me ? How do i access OLAP Cube in ASP.NET
applcation??

are there any custom controls or code examples plz help
urgent...these is no direct mdx support in .net. you have to use the OleDbReader
(with lastest sp), or create interop wrappers for the mdx com objects

-- bruce (sqlwork.com)

"Melroy" <melroy_britto@.hotmail.com> wrote in message
news:2cc2401c39400$86e8a410$a601280a@.phx.gbl...
> I am working on Analysis Services. We are developing an
> ASP.NET application which will access data from OLAP
> Cubes. creation of OLAP Cube is done.
> I am not able to access the same from asp.net. Can someone
> please help me ? How do i access OLAP Cube in ASP.NET
> applcation??
> are there any custom controls or code examples plz help
> urgent...

Old code file used when debugging web application

I am developing using VS 2005 SP1. The problem i faced is when debugging is, the debugger seem to be getting the old javascript file even after i clean the solution, rebuild it, restart the computer.Sad

What more do i need to do?
Anyone encounter this problem before?
or is there any place i can delete the file? cause i don't know where the files is resided.

Thanks...

Delete browser cache, temporary internet files from your browser.

Thanks


Dear e_screw,

you were right on...
i have did that before, and did not realized it was the solution.. because i did a few other things as well..

thanks for saving my days...

Thursday, March 22, 2012

OleDbConnection

Hi,

I am just developing my first web application using asp.net and vb.net.

So far I have created a logon screen (which is a web form) where the user enters name and password and an OleDBConnection gets established. This works fine.

The question is now, how can I pass this connection the next page (web form). Do I have to use the session object or is there another mechanism I can use for this?

An example would be helpful.

Thanks in advance,
WolfgangKeeping connection string in Web.Config would be a better idea, probably encrypted and while using time you can decrypt or in Global.asax, you can call it and decrypt and keep in applicaiton variable and use it using Applicaiton variable where ever you need!

Ex: of web.config usage
http://aspnet.4guysfromrolla.com/articles/053102-1.aspx
Thanks for the quick reply and the example.

There are 2 problems I can see with this approach:

1. I am developing a multi-user application. When I keep the connectstring in Web.config, this is an application wide variable. At least username and password, which is part of the connect string, is not application specific, but user (session) specific. I cannot allow all my users to connect with the same username/password to the database. Any solution for that?

2. Keeping the connect string in Web.config would be fine, but would mean, that for each page a new database connection has to be established calling the open method. This takes time and if possible, I would like to avoid this.

regards,
Wolfgang