Create An Agent That Can Check Either The Document Submitted By User Is Relevent?
Feb 6, 2009
I'm new in multi agent system...I have been assigned to do a project by using agent.The problem is how to create an agent that can check either the document submitted by user is relevent to the topic have been set by the administrator
View 1 Replies
ADVERTISEMENT
Nov 5, 2011
I need to get data from a web application. I dont have access to database or the source of the app(.net).The web app works like this -- enter values in fields, click submit button, and the data associated with these fields are returned in a modal popup. I need to do the same programatically, without actually opening the browser.I need to know the name of the fields that need to be posted, and the URL. And then store the response.
View 1 Replies
Sep 12, 2010
i realise that currently there is not built-in class for the checking of the current user folder in visual basic .net. anyone can advised the workaround for this. E.g. if user123 login to the machine, the code will return "c:useruser123"
View 6 Replies
Sep 24, 2009
How do I handle user submitted data to ensure best practice programming? I would like to know what are the best practice programming tasks in relation to users submitting data through a web form to a website. I am particularly interested in any C# or VB.NET commands that should be used through out the process from the moment the user hits the submit button until the data hits the database. I have been reading about reasons why you may want to take precautions such as SQL injections etc.
View 4 Replies
Apr 22, 2012
Create two arrays, ask the user to populate them and display both arrays Swap the contents of the arrays using loops and then display the content.
What is the best method to have the end user populate an array? I am doing this as a windows form. Have multiple text boxes that they have to fill out? Set the elements of the array to the text box values? And how to swap the contents at run time is something I am not sure of. Isn't there a Array Swap function or something? Here is what I have so far:
Note: the bottom section was a test..and it isn't working as expected.
HTML
CODE:
View 4 Replies
Aug 29, 2011
I'm trying to set the user agent for a request with XmlRead. [code]
View 1 Replies
Mar 18, 2010
Change the user agent of my webbrowser?
View 18 Replies
Jan 29, 2012
everytime I do something it's always get changed back to nothing.
WebClient.Headers(HttpRequestHeader.UserAgent) = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; EasyBits GO v1.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; InfoPath.3)"
[Code].....
View 1 Replies
Feb 9, 2010
Change user agent of webbrowser?
View 3 Replies
May 27, 2011
Im using the webbrowser control in my application, but i want to permanently change the user agent when im navigating to sites.
I have tried the extended use of the .Navigate function for the webbrowser, but when the user navigates the browser, or when im beeing redirected by the site it goes back to the vb user-agent info.
Alternatly: Is there any way to catch the postinfo and http headers when the webbrowser control navigates to a new url?
View 1 Replies
Sep 21, 2010
change user agent permenantly in my app? i currently use webbrowser control only to browse 1 site which needs to be on mobile skin to look decent in my app.the only way i can do this, is if i change user agent to mobile device like apple iphone (example)so i tried this:
vb
WebBrowser.Navigate("http://se-board.com/index/index.php", "_self", Nothing, "User-Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko)
[code].....
View 5 Replies
Apr 17, 2010
I am using GET and POST webrequests and am trying to set the User-Agent.
Public Sub getpost(ByVal URL As String, ByVal method As String, ByVal postdata As String)
Dim request As WebRequest = WebRequest.Create(URL)
If method = "POST" Then
request.Method = "POST"
Dim byteArray As Byte() = Encoding.UTF8.GetBytes(postdata)
[Code] .....
The above is what I tried to set the user-agent but it returns an error saying that I'm not properly setting it.
View 1 Replies
Feb 14, 2012
I am currently doing my Honours in Computer Science and taking Artificial Intelligence as a subject. As part of completing the subject I have to develop my own basic intelligent agent.
I have yet to rap my head around what I actually have to do for this project. I am not the most technically gifted programmer and I have no idea of what to do or where to start
View 1 Replies
Apr 24, 2011
My.Computer.Network.DownloadFile _
("http://example/example.exe", _
"C:example.exe")
I'm using this code to download a file can I add User Agent String so protocol analyzers could have info about this download with a custom string I make.
View 3 Replies
Dec 25, 2011
How can I change the headers (User-Agent, etc) for my webbrowser control, not just for the first page that I browse too, but for all pages.
View 1 Replies
Apr 9, 2009
Ok i need to create a program that lets the user open a text document and lets him do the following. This is with Visual Basics 2008.
Count Characters
Count Lines
Count Words
Count All
I don't know how to get my program to count just individual words and i have no idea how to get it to do all 3.
[Code]...
View 5 Replies
Jul 2, 2009
I am trying to create a page where a user can type a document and have it be bold italic or underlined. When the user clicks on bold and italic it should be bold and italic. when they are not clicked it should not be. I am having trouble finding a stable solution. I can only seem to change it to either bold or not bold or italic or not italic and not bold and italic.
View 10 Replies
Feb 6, 2010
Where can I find information on how to use XPS Document Writer to create a Word or Adobe document?I can print my VB2008 print document to a file, but how do i convert this file to Word?
View 1 Replies
Sep 28, 2011
I have a function on my program that allows a user to load a listbox filled with words that are matched with words inside a databank. The databank is filled with 2 string arrays and file of .jpg Pictures. The Arrays attached to each word inside the listbox are approximately one page. Each page is two paragraphs of Text(string Array) and one Picture(20Kbytes).My problem is this. When the user selects the option print all, the listbox with approximately 10255 words is selected and begins to fill a Microsoft Word Document.Because the alotted amount of space needed for the MS Word Document is approximately 5 Gbytes,I need to open about 10 Documents and insert the String Array's and Pictures into each document one at a time.Is there anyway to check the filesize of the Open Document before saving the document.This way I could check the open document inside the algorithm for 512 Mbytes of memory and save the document before the size gets above 512 Mbytes.[code]
View 2 Replies
Jan 3, 2010
I need to be able to create an xml document given that the format is specified in a given xsd document and the data is in a dataset. Is there an easy way to do this in Visual Studio or Access 2007 or will this require writing out the xml document one item at a time to match the xsd?
View 4 Replies
Mar 23, 2010
I've almost completed my first VB.Net app which is a rewrite of an old vba app I wrote.The last part that I need to write is the timed events part. What I have in VBA is quite straightforward.Every 500ms the Timer event runs through, it checks if certain variables have been flagged and if so runs the relevent code? Code is nothing major, just updates a networked device.I've looked into timers in .net but it seems like there are various routes that I can go down.
View 10 Replies
Dec 15, 2011
My application is like this : i have to search my data from database with some check box and text box when user select check box specific function go on and then when user enters some range of value in textbox then the result will shown in data grid view after that i can print it by selecting data
my vb.net code is as follow:
Imports System.Data
Imports System.Data.SqlClient
Public Class XtraForm1
[CODE]............
I m also pasting the demo picture.
View 2 Replies
Mar 23, 2010
i want code for the following scenario my scenario is the word document must contain checkbox, and this word document should read to asp.net page, when user click the check box, the selected value should be stored into the database
View 1 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
Jun 19, 2010
Is there a way to check if an element is in the webbrowser1.document ?
I can click the button fine, IF the element is on the page, but sometimes i get to the end page, where i just have the "back" button, and no forward button.[code]...
View 1 Replies
Jan 7, 2010
I am trying to get the HTML inside a HTMLElement which has an id "block". I have tried:
If webbrowser1.document.getelementbyid("block") isnot nothing then
MsgBox(webbrowser1.document.getelementbyid("block").innerHTML)
end if
But it keep throwing a NullReferenceException and tells me to check if it null/nothing which is what I'm doing.
So how do I check if an element in a HTMLdocument with a certain ID exists?
View 2 Replies
Mar 6, 2010
How can i allow the user to only check one check box on a CheckedListBox1..I was thinking of using a timer but that might be a stupid thing to do.
View 3 Replies
Mar 29, 2011
Is it possible to possible to make the following code to produce an error at compile time? (please see the line marked by the comment):
Option Strict On
Option Explicit On
Module Module1
Private Sub Test(ByRef i As Integer)
i = 999
End Sub
Sub Main()
Dim o As Object = 5 expecting an error message like in C# "A ref or out argument must be an assignable variable"Test(CInt(o))System.Console.Out.WriteLine("Testvalue: {0}", o)End Sub
View 7 Replies
Aug 1, 2011
I've written my HTML webserver in VB.NET and I don't know how to make it read data values submitted in HTML forms. My web server only responds to HTTP 'GET' requests. My sample cod is below it is reading the URL rather tan the data contained in the forms`
[Code]...
View 1 Replies
Jun 24, 2011
How do you open a document as another user? The document type is unkown (could be pdf, .xls, .doc, images etc). Document is on a network share, username, domain and password are all known.
I have thoroughly researched this question and I do not beleive the question has been answered here. Please prove me wrong. This question gets close Open a shared file under another user and domain?
But unfortunately it opens the file to a filestream, I need to open the file in its associated application.
View 3 Replies