Write To A Form On A Site When Two Forms Have The Same Id?
May 24, 2011So I want to post to a site with the document.getelementbyid code. What do I do when the form I want to post too has another form with the same exact id?
View 3 RepliesSo I want to post to a site with the document.getelementbyid code. What do I do when the form I want to post too has another form with the same exact id?
View 3 RepliesI'm trying to write a program that will get certain text from an intranet site, but there is a form for user name and password that I have to enter first. I found HttpWebRequest and HttpWebResponse and can use those, but how do I programatically log into the site so I can get the data I want?
View 5 RepliesI have signed up for office 365.which provides sharepoint site,
I am able to edit the html content of the site.(using Microsoft SharePoint Designer 2010 and Web interface)
Question 1. How to edit the C#/VB code of the site web pages?
Question 2. I have created some asp.net pages and want to upload them to my site, How to use FTP for sharepoint site?
Question 3. How to access data from database for a sharepoint site?
I'm trying to write a vb.net program that will upload a file to a FTP site that has SSL (explicit, although I'm not sure what this means).The sample code and explanations I've Googled always assume when it's SSL that I'm using a client certificate. But I have no certificate to load.I simply need to login, accept their certificate and upload my file.When I accept their certificate am I actually installing it on the client? For example of FileZilla a box pops up and I just click on accept, then my login is complete.
View 1 RepliesI have a link on a VB.net aspx page that needs to open a folder in a subdirectory of a web site and provide read and write permissions so that files can be copied into and read from as well as deleted. ONLY from this folder.I have this funtionality working on a dev and demo PC but they are both on my domain. Clicking the link opens Windows Explorer and I can copy /cut & Paste, etc.The public/production PC is on the LAN, but not part of the domain. I know there are ways to allow folder read/write permissions on a public server like this but I am not too sure on the safest way to do this. The upside, the only users that need to have read/write/delete access are employees. Forms Authentication, ASP Membership directs non-employees to other pages within the site. Likewise, the membership directs employees to an admin section of the site.
View 1 RepliesLoad some if this weather info into textboxes? Burbank, California (91501) Conditions & Forecast : Weather Underground[code]...
View 7 RepliesI have a webbrowser control on a form and try to navigate to one specific site. It seems to me that the remote detects that call is from a desktop program and redirect it. Is it possible? and if it is how I can hide it.
View 1 RepliesI want to connect to a site and use data in it, like a program that connects to [url], search for a movie and returns information, i want to do that with [url], or [url]. i want to write a game name in a textbox, and when i press the "search" button, the program looks in site and return me cheats of that game...
View 10 RepliesI am not sure if this is possiable but I am looking to build an application that will login to a web site, navigate the site and download files. I would like to do this all in code and able to run multiple instances of the program to get information from many different web sites. Is something like this possiable in VB.net?
View 3 RepliesIve got an app that holds a list of site we have, At each site there are a few devices. The idea is when they click on a site all the details for the site are loaded and then a second thread sits and pings each device to see if its live. Im trying to do this in a seperate thread so if they click another site while its still pinging them it doesn't wait before it switches site. This all seems to be workling fine except if you click through the sites quickly, when you do that it will eventually come up with
Quote:
{"Collection was modified; enumeration operation might not execute."}
The error flags up on the "Next" line in "ThreadedPing"
Thread stuff
Public Sub ThreadedPing(ByVal dt As DataTable)
Try
Dim dr As DataRow
[CODE]...
When i publish my program i choose to let the application check for updates via a website and if their is one update automatically when the program starts. Is their a way were on the main user form i can make it so that the user can change the update site with out me building the program again with the new site. I want to do this becuase the site i use goes down alot so when i changed the update url no one was able to download the update for the new update server.
View 16 RepliesI'm deploying a VB.Net app (VS 2010 Pro) that requiers the user click a command button to open IE to a financial WEB site and download informaion from the site. The app works fine in every detail when installed on the development computer. But, on the target computer when the command button is clicked an unhandled exception occurs which says: System.IO. FileNotFoundException:File Not found.My code behind the button is Shell("C:Program Files (x86)Internet Exploreriexplore.exe www,fidelity.com",AppWinStyle.NormalFocus)
This works fine on the development computer. Do I need a way to code this as a relative path? If so,can you tell me how this is done?Throughout the app I have written relative paths to needed files using paths like (Open(Environment. GEtFolderPath (Environment. SpecialFoldder.Desktop) + "File Name). They all work fine when deployed.
I'm being asked to maintain several internal-only web apps for my company. For testing, after making my changes, I've created some staging sites which make use of separate databases. As such, if my users were to mistakenly use this site as if it were the production site, they may enter important data and wonder where it "disappeared" to thinking it was the production server.
I'd like to create a big banner of some sort across the top of the staging site (which ONLY appears on the staging site) to remind my users that they are on the test site. I'd like recommendations on the best way to do this, with the following considerations:
IDE: Visual Studio 2008
Server: Windows 2003 with IIS 6
Language: VB.NET 2.0
i want to know how can i code my button when i click it will open my site ... i Think i was clear.
View 1 RepliesI am trying to write code with multiple forms. The first screen is splash screen then is supposed to close and have a calculations screen. In the timer of the splash screen I wrote the following code
Option Explicit On
Option Strict On
Public Class uiHinsbrookSplashScreen
[code]....
This opens the second screen, but when I Hit Exit on the Second Screen The first screen is still open. What do I need to do next?
i would like to make a site's login form. But from another site attracts ids. I could not.[URL]
View 4 Replieshow to login a site from a windows form application
View 5 RepliesI want to make a function to login to a site but i can't submit the form this is what i tried:
[Code]...
when i am surfing in one site,i want to see the another URL...without going URL directly access the login......for example this is the login page url i want know automatic login to this page [URL]
View 1 RepliesI am using an embedded webbrowser control to access a third-party website, populate the username and password boxes on their front page, and login. The problem I have is that the resulting window that the site returns to me is in the form of a new window. What I want to do is capture this window and all it's session/cookie data in to the original webbrowser control, as even if I direct the original window to the same resulting url, some kind of authentication data is missing and the site tells me I have logged out, even though the popup window works fine. I need that page in the original control so that I can continue to access it programmatically, and I don't really want to get in to the complication of accessing the new window, as I expect I'll have to delve in to the api or something.
View 1 RepliesI created a VB.NET Windows Forms Application in Visual Studio 2008. When I run my program from the command-line, I get no output (only the next prompt).
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Debug.Write("Foo")
Debug.Flush()
[code]....
EDIT: Can a program have a form and a console?
EDIT2: However, the output appears on the next command-line prompt. Can a Winforms application tell the command-line to wait until it's finished instead of immediately returning?
what's the method for writing string into a richtextbox.
View 1 RepliesI have search on google but i have just find this function SteamWriter. This fonction for writing work, but the script create always a new file... I want write under the last line.And with your fonction, how i can read it line by line for use in select menu.
View 3 RepliesI have a main form with a number (in this case 9) mdichild forms. Some are visible, some not, but they are all very basic. When I write to a textbox in any child form during Main_Load it updates, when I write to a textbox in any child form inside its own _Load it updates. If I write to one from awhere else in code, including a sub in the form's own code, it fails to update.
All the child forms are identical but are distinctly separate forms created before compilation rather then NEW versions of a single form to avoid threading problems.Curiously this code worked once only. No edits were made and when re-ran failed after stopping it if found all the controls in some of the forms were invisibe in developer mode, restarted VS but still not there. Run app and at runtime there they were!!! Also all locked textboxes still accepting input.
[Code]...
I need to write a list of all my forms to the database. Not the open ones, all forms included in the project.
My.forms has no count or something and I don't know how to get them to a string.
I need this for Userrights for every form later.
It has to be a simple line of code but I do not know how to construct it. Using VB 2010 Express, I have a MDI parent form and many child forms. I want the parent form to determine what child form is active and load data into the RichTextBox1 on the child form. Each Child form has a RichTextBox1. The parent form gets its data by loading a file.
I am close to a solution but just can't get there. You will see in the code below, if I make a direct reference to a specific child form, it works great. What I want to do is to use the Active Form function to determine which form to write to. I have looked at the MS tutorial which gets me close.
Private
Sub OpenToolStripMenuItem_Click(ByVal sender
As System.Object,
[Code].....
I am new to the .net framework. I am taking an on line class. I am lost. I can build the forms visually but cant write the codes.
View 3 RepliesI understand that I cannot use the System.Console to output information from a Windows Forms application because the standard input, output, and error streams are not run through the console in winforms apps. But I can't seem to find any documentation on where the standard input, output, and error streams are being directed to! Basically, I have a winforms app that accepts command line arguments and can be run in batch mode, however, I just want to direct some feedback to the user based on whatever method they're accessing the program. The app is used to redirect a client-server application from one server to another. In some instances, the user does it by hand (with a mouse), and other times they're doing it in batch mode (using SAS, command shell, VBScript, etc...). In those instances, I'd prefer NOT to use MessageBoxes because it will kill any processing they're doing.
View 6 RepliesI have been at VB.NET for a very short while now (about 1 month) and I can say without a doubt my knowledge of VB has continued to amplify from the information posted in these forums.Along with my first post I also have a question about setting an icon for my application .exe file.I have read that I need to go to Project > properties then on the Application tab there is a section to change the icon from the default to something else. However when I do this and choose the icon that I want, I get an error when I use the debug to run my application.It says "Unable to write to output file C:/... the specified image file did not contain a resource section".
View 3 Repliesthis would be my first post and usually I can figure these problems out, but I am stumped so badly right now, I am writing code to write into a .mdb file, my program uses two login forms, the first reads the data base, and sees if the user name and password is correct. I got that working, my second login form is used for creating an account. This is where I am getting stuck, I have followed and looked for tutorials and I found nothing, my DB is simple, its one table, and two input fields called "Userid" and "password" this is my code to write a new account into these fields
[Code]...