C# - Sending Information From One Webform To Another?
Nov 27, 2009
i'm generating HyperLinks, all of them (depending on the circunstance, could be 1, 2 or 1000) send to the same webform:
from default.aspx
to envia.aspx
i can't use session, or anything i already know, because i can't create as many methods i want (that would not be good, due to possible large numbers)example, there are three lines i print on demand:
house [link]
car [link]
flower[link]
i want the three links to load the same aspx webform sending as a parameter a string with these lines.
View 2 Replies
ADVERTISEMENT
Apr 2, 2012
I am working on vb.net 2.0 application which checks users credential against AD by sending LDAP configuration, user name, and password to DirectoryEntry method. LDAP is configured in web.config file. An AppScan result is showing that login request was not sent over SSL and recommends always using SSL and POST (body) parameters when sending sensitive information: DirectoryEntry("LDAPPath"), txtUserName, txtPassword)
How can I send this request against AD in a secure way?
View 1 Replies
Oct 12, 2010
I have legacy hardware in our building that can accept commands via TCP as long as they have formatted XML in them. Using Wireshark, I have determined the proper format of what needs to be sent.
The problem: When using the original systems controller, I can look at the packet that is sent and see very specifically that there is a section for "eXtensible Markup Language" that has everything laid out properly. When I create my own TCP stream and send the same information, it gets sent as Hypertext Transfer Protocol text, and thus is not picked up.
My code is as follows:
Dim tcpClient As New System.Net.Sockets.TcpClient()
Dim bytes(tcpClient.ReceiveBufferSize) As Byte
Dim clientdata As String = ""
[CODE]...
View 6 Replies
Apr 11, 2011
Once I have inserted all details into my booking form I want to send some of the details to a form called "Daily Jobs Form", When I click the save Button on the booking form.On the "Daily Jobs Form" I have a row of TextBox's and at the Begining of the row I have a Button called "View Job" and When I click the "View Job" Button, I would like to be able to view the whole job. And Choose a driver who has Been Allocated the job.
View 11 Replies
Nov 29, 2010
I have a question about loops that I don't know if it can be done. The program will send data through a parameter to an Oracle DB. What I am trying to do is during a loop I want to be able to send information from one text box, the next time it loops to send information from another text box ect. ect. I was hoping I go do it this way instead of writing out a bunch of parameters in both the program and in Oracle. Can this be done or do I have to write a whole lot of parameters out?
View 6 Replies
May 29, 2012
I am new to web services in VB.net. I have imported the WSDL into the Visual Studio 2010, but using the .net 2.0 "Web References" framework instead of the new "Service References".I simply need to learn how to pass my API key and one other piece of information through the API to the server. This is all that I have. What code to I need to add to a) Send the API Keyb) Send the Database Mode String
Public Sub Call_Web_Service_Method()
Dim CallWebService As New PersonService.Header()
Dim sPostAPIKEY As String = CallWebService.APIKey()
[code].....
View 1 Replies
Feb 5, 2010
I have a win form with three textboxes that lets the user input information using VB.net 2008. I am wanting the program to send me the information entered (when they hit the send button) as an email and also drop the information entered into an access database.I have the program sending the textbox information as an email.What I am having trouble with is saving the three textboxes to access database. I have an access database set up with a table and three fields for the three textboxes.
All I need to do is each time a user uses the program, it adds the information they enter into the three textboxes to the three different fields in the database. I don't need to let the user view or edit the database in any way.
View 3 Replies
Mar 5, 2012
I have been working at printing receipts using printform, but the printer does not seem to be receiving any information from the form. Here is the
Public Sub PrintReceipt()
PrintForm.PrintAction = Printing.PrintAction.PrintToPrinter
PrintForm.Print()
End Sub
When I use the "PrintToPreview" print action, there is nothing shown on the screen.
View 4 Replies
Jun 15, 2009
Is there anyway you can send information back to the original creator of the program? Here is a quick example- I made a little program that gives you general information about your computer, when you click a button it sets the text box to specific information. One of the text boxes gives you the Version of your OS. I would like to know if there is a way to send the information in that text box back to me when someone clicks it and they are connected to the internet. FYI I would tell the person who clicks it before so that I am not stealing information, plus what is there to steal from a simple program I made.
View 2 Replies
Aug 19, 2009
I've created a simple licensing system for a friend who has created visual basic programs which he sells at a few dollars each (they're speciality programs).The licensing system is coded in PHP (I'm a PHP coder), and the system requires the user to input their license key upon start up, if there is not already an activated key (which is created in a .txt doc)
View 2 Replies
Apr 30, 2011
Basically what i have is a vb.net form that when a user clicks the submit button I am going to store the values in a SQL database. This i have done already.What I would like to know is what is the best way to approach after the user clicks submit to submit the form to the database then should I use a separate button to call the values into a crystal report or report designer? Or is there a CSS template that will mimic the size of a piece of paper on the web and print as seen on the screen.
I tried to create a website 612 x 792 which from what i googled was the size of a 8.5 x 11 sheet of paper however although it looked great on the web when i printed it decided to print 4 pages when it should only have been 2 pages.Here is the part of my css code that i am trying to make the size of a paper
body
{
background: #b6b7bc;
font-size: .70em;[code].....
View 1 Replies
Jan 3, 2011
If I have three checkboxes on my asp.net webform.. if 1 is already checked on pageload event then output in textbox would be 2,3 if 2 and three checkbox would be checked... even after.I want if the checkboxes are already checked on page load event, we have to ignore that checkboxes, and add recently checked checkboxes, checkbox2 and checkbox3, will be entered in textbox 1 as 2,3.
View 2 Replies
Dec 13, 2010
I have different checkboxes in vb.net webform with different text ...
checkbox1.text=100
checkbox2.text=300
checkbox3.text=550 and so on .....
i want when i check checkbox1 and checkbox2 then in textbox1 the text would be 400 means as many as checkbox i select the sun of checkboxes selected will be calculated in textbox using VB.NET i m using Visual Studio 2008
View 2 Replies
Jul 27, 2011
I want a modal screen on startup of the computer, so that user forces to make some action on that screen. Also I want to disabled close button of the screen, It should cover entire Desktop.How to achieve using winform/webform? is parent/child form is the only solution fro this/?
View 1 Replies
May 23, 2009
In my app I will open a browser that goes to a webpage with a form that has a few fields, something like:
username - textbox
membertype - option list
Windows or Linux - checkbox
Feedback - textarea
Submit button
Now I want these to be prefilled from my app. It has these varialbles stored in variables already so it would be nice if I could prefill some fields when browser form open so my user only have to type in the feedback manually.
View 1 Replies
Nov 12, 2009
I tried to bring a previously done webform made in vb.net to an IronPython asp.net website with no luck. After seeing it didnt work, I tried to write the simplest codebehind vb.net webform to see if there was a problem with vb.net in an IronPython website and I got the following usual error "be sure that the defined class in this file matchs with the one in the attribute inherits and that it extends the right base page (page or control)" (sorry if the translation isnt the most accurate I get that message in spanish)but if I create a vb.net webform in the same website, with the sourcecode in the same file (with the vb.net code between script runat="server" tags in the same page) I get no problem. Do I have to configure something for both kind of sourcecode languages to run in such way in the same IronPython website, like configuring something in the webconfig file or is there some compatibility issue for doing that which can't be resolved?
View 2 Replies
Jul 15, 2011
So I am making an app that has several buttons, the idea is when you press a button it will open a form that it's a browser, each button open a different link.
My question is if I have 10 links do I have to make 10 forms with browesers for each or there is way to each button make the browser form open the link I want.
View 2 Replies
Dec 24, 2009
I'm working on a Habbo easy-login client, but I can't hit submit for the love of god.. my code looks a bit like this:
Me.WebBrowser1.Document.All("Username").SetAttribute("value", txtUser)
Me.WebBrowser1.Document.All("Password").SetAttribute("value", txtPw)
Me.WebBrowser1.Document.Forms(0).InvokeMember("Login")
I'm pretty certain I have the name right for login.. The User and password fill in wonderfully. (I've tried this on other web forms and I couldn't hit submit on them, either)
View 6 Replies
Dec 9, 2011
In words, what control can I use to set and display column and row header data then allow the user to populate the rest of the grid? The webforms gridview control will not display at all if its contents are empty. What's best practice for this kind of user entry? Do I embed an excel spreadsheet? I will also need to read the user input too.
View 3 Replies
Dec 22, 2010
How to embed html code and display the result according to the html code pasted in the textbox multiline asp.net webform..The example of this is www.orkut.com scrapbook ...
when any body post a graphic comment then it would embed the html coding in scrapbook and he results will be displayed i scrapbook on button submit click ...
Here is the picture what i want -- i want code snippet for this
View 1 Replies
Oct 21, 2011
I am brand new to Vb.Net and was wondering how I could loop through each label and say if the label.text = 0 then Hide panel1. How would I get that accomplished?
[Code]...
View 3 Replies
Nov 9, 2010
I already have 3 checkboxes and 1 textbox in asp.net webform when i check 1and 2 checkbox then result in textbox will be 1,2 I have the following code :
[Code]...
View 2 Replies
Jun 9, 2009
So, my problem is:I have a database and I wanna select a field ..I usually do this with access: dim chosen as string
chosen = textbox1.text
Dim querysql = "select * from table where field = " & chosen & ""
But with SQL it doesnt work =S I really need to make this work ..
View 3 Replies
Feb 16, 2009
Im working on a project that has an explorer like treeview control. The control works great. What I need it to do though is once it gets to the end of the folders and sees a valid text file i want the text file to open into the textbox I have placed next to it while still opening anything that is not a plain text file the way it normally would. The code I have now is below and works to open the application or file with its corresponding program but I cant get the text file to populate the textbox.
[Code]...
A second issue im having trouble with is after the file has been opened in the textbox i want a button to send the text to a webpage form that is in the app. Its an actual webpage that I have embedded into the app. with the webrowser control. Its a simple textbox on the webpage. So basically I need to double click the file on the treeview that opens the file into the textbox(editor) I have made then with a single click of the button select all/copy then paste it into the box on the webpage all within the same application.
I have a file open that I can use to manually open a text file in the textbox that works great. I have tried to manipulate that to the treeview with no success. I have the button to select all and copy. Now if I can just get the text file to open on double click from the treeview and the send to the webpage control and my app is complete. Well almost Im working on a spellcheck feature for it but that's just extra functionality id like to add.
View 2 Replies
Jun 17, 2011
I have two web servers with public IPs, for example Server1 with IP 111.111.111.111 and Server2 with IP 222.222.222.222. see the picture:
There is an asp.net webform at Server 1. My intention is:
For every http request to that webform in Server1, the Server1 just pass the request's information to Server2 for logic processing and subsequently Server2 sends the response back to client (i.e. normal browser)
My questions are:
What information that Server1 needs to pass to Server2, so that Server2 able to send response back to client? note that at Server2, there is a TcpListener instance. This TcpListener instance acting as receiver for that webform request information from Server1. What is the suitable object (i.e. the class in System.Net or related namespace such as System.Net.Sockets) at Server2 for sending response back to client? Suitable here means able to meet my intention.
View 6 Replies
Oct 30, 2009
How to get data from sql database into the datagrid on a separate webform??
View 2 Replies
Jan 7, 2010
I'm trying to build a Pivottable on a webform in vb.net 2005 using OWC. I have added the Pivottable item to the toolbox, but it is grayed out and so I cant use it. If I develop a Winform instead of a Webform then the toolbox items are there and work correctly.
View 1 Replies
Nov 30, 2009
I'm creating asp links using response.write in c#, the same HyperLink code works smoothly when inserted directly in the asp code, but when i copy/paste it to the response.write("...") it appears as an unclickable black text. Am i forgetting something?
[Code]....
View 3 Replies
Oct 10, 2009
Create ASP.net 3.5 web form application derived from Excel Workbook
View 17 Replies
May 10, 2011
What I want to do is retrieve all emails from MS SQL Customer table Email column and populate them in using JQuery autocomplete feature. The current system is using VB.NET 2.0. What I have done is get all emails and put them in DataTable and loop through and put them in the string delimited by ",". Put that string into hidden box. JQuery retrieve value from that hidden box and build an array using "array = emails.split(",");". Here is the code. It works pretty good on development server since we have only 2,000+ records but it is loading forever when I put that on the live server where there are 80,000+ records.
[Code]...
View 1 Replies