Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.
I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way.
because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them.
Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...How to Make Web Forms from other Web Forms
In putting together an ASP.NET application for a biz application, we have come to the point where there are three different types of basic forms which have, for the most part, been perfected. Now its is a matter of cloning those forms for various uses and modifying or adding code to suit the particular need.
Copy and paste works OK, but there is a lot of changing of certain words, etc.
Is there a way in ASP.NET to take these basic forms, turn them into classes or templates, create forms from them, then add or overwrite code? ? (Anybody who is a Vis Fox Pro programmer would know imme...Web forms and mobile web forms
I am looking to develope a web site that depending on the device connecting to it, it will display a certain page.
In this case im looking to create a web and wap version of the same project.
I have the Web forms version finished using ASP.NET and C# and I am wondering how to create the mobile web form and incorporate it in the project.
In the project folder, can I just add a mobile web??? But what about displaying device specific pages??
Yes, you can add mobile web forms and controls to your Web Application project. No problem. For device/br...Load Text box of one web form with selected list item of list box of another web form
one help please
Problem is i have two web forms 1. ForiegnkeyTest.aspx 2. foroginkeytable.aspx
step 1 1 ForiegnkeyTest.aspx one web form
&...how to change these windows form code to web form code?
i'm a beginner of c#,i want to know how to change these windows form code to web form code
private void buttonSign_Click(
object sender, System.EventArgs e)
//get original message as byte array
byte messagebytes = Encoding.UTF8.GetBytes(
//create digest of original message using SHA1
SHA1 sha1 = new SHA1CryptoServiceProvider();
byte hashbytes =
//display hash bytes in hex format
StringBuilder sb = new StringBuilder();
for (...how to place a <form> in web form form
i placed a <form> in the web form, but i can't submit
coz i neet to submit to another web site
how can i do???
You cannot submit a <form> to another page if you have a RunAt="Server" in the form tag. Remove that RunAt="Server" and you can (though then you will need to use plain old HTML inside that form).
What are you trying to do? Why do you need to post to another form?Starting with ASP.NET 2.0? Look at:Programming Microsoft Web Forms My Blog
COZ I NEED TO POST SOME INFORMATION TO ANOTHER WEB SITE
IS THERE ANY OTHER SOLUTION?M...Check if the text box "text" has changed (RePost from web forms forum)
How can i know if the "text" inside of a text box has changed?
For example, I currently have this:
But this does not work. The other idea I had was to assign the existing value of the text box to a string and then when the user click the save button I can create a conditional statement to compare the original string with the new string. However, I would like something more effective as I have like 12 text boxes to compare.
EduardoThanks,Please Mark this post as answered if it was helpful.
Here is the easiest way that I have ...For interrupting.web form Resized by position of the div : if div can't dispaly all (such as only top part , then web form heithten the heght),resize the web form
Web Form Resized by position of the div : if div can't dispaly all (such as only top part , then web form heithten the heght),resize the web form !
Because of my pool English, if you can't see , I will explain more ! ThanksGambler is the real life
I guess you mean when form grows it also grow parent div element. This is normal. If you want div to stay fixed size and rather clip the form and maybe show a scrollbar, look at overflow property in CSS.Thanks------------------------------------------------------------This posting is provided "AS IS" with no warranties, and confers no ...Forms or No Forms
Hope this isn't a repeat. I looked and didn't find anything.
Say for example you had a web page with around 20 fields retrive and update to a database with differing datatypes. Some fields will have some special controls (dropdowns, radios, buttons, etc) that interact with other parts of the page. What is the best and/or most efficient code to make the page.
Would you use a Formview bound to a standard ADO.net SQL connection and edit the templates.
Use a Formview bound to an Object Data Source and edit within the templates.
Or use an Object Data Source and bind the...calling a web form from another web form
I would like to know what is the best way to open a web form from another web form. I would like to call it from a button control.
Well, if I've grasped your question right, there are many methods to do that:
1)Response.Redirect > To navigate to another page from code and is equal to clicking a hyperlink. I suggest this as I think it's closer to your question.
2)Server.Transfer > This ends the current web form and begins a new web form. It's usable when you want to pass some variables i.e (Label1.Text) to the next immediate page. It's not safe though and not used to send p...Web Form embedded in another Web Form
I have programmed a Web Form which acts like a scientific calculator. I would like to embedd this calculator in the upper left hand corner of another accounting Web Form. I don't want to host the calculator on the same server as the accounting page. I.e. I want them to have distinct URLs. Classically, I would do this using frames, but is there a better way using ASP? Is there some sort of Panel which can display the webpage at a specific URL which I can just drag onto my accounting Web Form?
Frames are the only way to embed a webform inside ano...Limiting Text Size in a Web Form
I want to display valiable length text strings in a limited space (known pixel width).
For example "This is a very long string" would be limited to "This is a very..."
Are there any rendering helper functions to calculate the size of the text (considering font and style of course) in pixels,
or to limit the displayed text?
If the text is within say a text box then you can set the size of the text box to say 15 characters - then what to do is check the length of the text and then wriet a function w...How to fire events in other web form from other web form ?
Suppose that I have A and B web form.
I want to trigger B web form's Page_Load event from A web form.
How can I do that ?
Thanks in advanced
Create a public method in B that call the load method :
public void Load(object sender, System.EventArgs e)
Page_Load(sender, e) ;
In the page_load of A, instanciate a B object and then call the function
B myB = new B() ;
Thank you quicky, it works fine.