Converting One Of Sites From Expression Over To VS?
Jan 24, 2011
Situation: Trying to learn Visual Studio and VB. I have been using Expression web to build web sites for several years. But not alot of programing within them.I have started a project using Visual Studio 2010 Pro and am working in VB. I am converting one of my sites from Expression over to VS and want to start using the Code Behind model for all of my web sites on this one and all future sites. I have a simple form that works on my old site but in the new site the I have no idea as to how to set up the Namespace's (System.Text and System.Net.Mail). Does it go on the page with the form or on the VB page? If someone has a good example of how to set up a form for emailing the results I would really appriciate looking at a copy of it.I use VB as I am the most familiar with it. I have no experience yet with Java or PHP.
View 2 Replies
ADVERTISEMENT
Feb 5, 2010
I must convert string data from a CNC that is arithmetic expression to a number that I can use in a VB application that I wrote. The following is what I get out of the cnc. [18722*65536+19377]/67108864. I need to evaluate this expression in my VB ap. The format of the string is not always the same as what I have illustrated.
View 2 Replies
Dec 15, 2011
I will probably sound like a bad developer here, but I am attempting to convert some code from the following page from C# to VB.NET:The code I am having trouble converting is from Step 4 of "Joining a Multicast Group" on the page, and here is the code with the comment lines removed:
private void Join()
{
_receiveBuffer = new byte[MAX_MESSAGE_SIZE];
[code].....
View 1 Replies
Nov 18, 2010
I'm having a little trouble converting some LINQ to VB.[code]Online code translators are not helping, and my unfamiliarly with VB LINQ is not very good.
View 2 Replies
Mar 12, 2012
Simple question: How does this translate to VB.Net
Dispatcher.BeginInvoke(() => listening = false);
listening is a variable on the class (boolean). Converters online didn't nd what we've come up didn't compile:
View 1 Replies
Jun 23, 2011
We all know that this method will convert an expression text (string) to precompiled VisualBasicValue. Refer to this documentation for more details
VisualBasicDesignerHelper.CreatePrecompiledVisualBasicValue
View 2 Replies
Aug 26, 2011
I have a DateTime Picker that I have set Format to "Custom" and CustomFormat to "dd/MM/yyyy HH:mm"
When the user changes the date time it all works fine and update the table no problem.
If the user does not change the date time I get the error[code]...
View 3 Replies
Jan 23, 2010
I got this Error. below is my code.
GenerateTheList is function.Need help
Private Sub buttGenerate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttGenerate.Click
Dim thread1 As New Thread(New ThreadStart(GenerateTheList))
thread1.Start()
End Sub
View 1 Replies
Mar 21, 2010
While looking in the dataset designer for a database table I am doing in visual basic 2008 I found a line for expressions under the property menu for a specific column. I need to know the code that I would put in this expression line so that this column adds up the numbers I input into three other columns and displays that number in the column. I need it to automatically calculate this for each row in the database table.
View 13 Replies
Oct 12, 2010
I am trying to write following expression on a datacolumn. But it results in error:Replicate('*', nLevel) + NameWhere: Replicate() is a user defined function (in a module). nLevel and Name are two other columns in same data table.
View 3 Replies
Jun 12, 2012
I am using Flee to build a formula builder. It works great but the only problem I'm facing is that Flee doesn't understand Generic Methods I guess. I have a function called IIf declared in the expression context I'm using. [code]How can I work around this. I mean cannot , in sense, write all possible overloads of the function of all .net primitive types. What approach should I take.
View 1 Replies
Oct 26, 2011
Sometimes, there are some text in a website which isn't in the html, meaning I can't retrieve it using a get webrequest. For example, in facebook, the list of friends in the 'stalker bar' isn't in the html. Is it possible to get this list of friends?
View 2 Replies
Feb 3, 2010
Lately I've had to do a bit of programming in VB .NET. It hasn't been too difficult, but the lack of proper documentation or good tutorials has been annoying me. I'm used to finding a lot of relevant info when I google a programming question, or term, or method name - but it's been more difficult with VB .NET. Anyone know of any good tutorial/documentation sites for VB .NET?
View 3 Replies
Oct 10, 2009
I am creating a security program. One of its features is that it blocks inappropriate web sites. I might need help determining which sites are bad and which ones are good. If I could 'read' every work that is displayed in the browser then I could tell, but that may come later.
So, I'm looking for some kind of hook that will allow me to cancel the site if needed. It should be able to still be hooked in Safe Mode, as well... I'm sure that this is going to be an easy one!
View 7 Replies
Apr 26, 2011
I'm creating an API for a particular website. This API will be in the form of a referable DLL. I've tried the normal HttpListner but it errors when getting any data that is through https (basically anything specific about the currently logged in user). I also can't log in using it. My next attempt involved a hidden webbrowser but that is just as hacked up as it sounds (and very glitchy seeing as the WebBrowser likes to interrupt processes that are currently running with its events). I need a system that works and is fast and efficient (I know, I know, kind of a oxymoron). Does anybody know how to do this?I'm using VB.net so any .net code examples are acceptable.
View 2 Replies
Mar 25, 2011
I'm creating a simple web browser. I have a combobox for the url address bar. I'd like the combobox to drop down and display the sites that have already been viewed. I think I can use the BeforeNavigate2 event to do this but I'm unsure how to use it.
View 3 Replies
Jul 17, 2009
I want to make a program that will get you a source code from any webpage.[code]
View 4 Replies
Aug 2, 2011
Ok so imagine there is a forumand when my program goes to this in web browser.
View 1 Replies
Oct 10, 2010
I would like to make my program able to read the content of a *.txt file which I've uploaded on a free server (dmon) I've tried this:
"System.IO.File.ReadAllText("http://passby.dmon.com/test.txt ")"
View 8 Replies
Oct 5, 2010
I want to search data from onther sites.
View 1 Replies
Jan 10, 2010
For the past year-ish i have pretty much mastered the httpwebrequest function of programatically logging in to 1 of my websites to retrieve data, while it works well i was thinking about the webbrowser function, would i be better sticking to the webrequest route? it looks like the webbrowser requires much less code which is good lol can the webbrowser do everything httpwebrequests can?
View 1 Replies
Aug 13, 2009
I'm making a program but I don't want people to abuse it, it loads a site and then refreshes it. People can abuse this by getting views for a game and what-not. What code can I use so that the webbrowser only loads the homepage and not some thing like
View 4 Replies
Mar 25, 2010
How to block sites with my own webbrowser in vb2008
so when i navigate to a blocked site it wont be opened...
not things like : c:windowssystem32etchost
but when blocked site start navigating webbrowser1.allownavigation = false , or webbrowser1.documenttext = "<font size=7><font color=red>This site isn't allowed</font>
View 4 Replies
May 5, 2009
Are there any sites which a similar program or web-exam? The best example I can give is Auto-it's "Auto-it 1,2,3" found here.This is for an absolute-beginner,
View 1 Replies
Aug 5, 2011
I made a web browser and I wanna to add to it the favourite menu feature how?
View 3 Replies
Feb 5, 2011
I have an app that is going to sign into my social bookmarking sites...I already have accounts on all of these sites but I want to programmaticly click on these links but each link has a different name for the link.Each link does has the same inner text info in the HTML but different urls for the links <a href="submit.php?" rel="nofollow">Submit</a>...How can I program my app to locate and click on the link that has the <a href="" rel= "nofollow">Submit</a>..Is there a way to ignore the information in between the ""?
View 1 Replies
Oct 24, 2009
I am trying to scrap multiple sites for data. thus i need asynchronus request. funny thing is my code brings the data back from the page but it doesnot show on my browser. I mean a msgbox will show the html content but when I try to update a div with the data nothing happens
RequestState Class
Imports Microsoft.VisualBasic
Imports System.Net
[Code].....
View 3 Replies
Mar 1, 2012
I have about 100 websites that I am going to be accessing to scrape some data from (weather, time, etc). When I go to code these babies there will be an abundance of sub routines that I will be creating. They each are going to be accessing pretty much the same type of data.
Should I put them into a Class some how and acces them that way or should I just use Subs and then call them into the Document Completed section of my web browser to run the code? Still sort of confused on the whole Class vs. Sub Routine thing.
View 2 Replies
May 16, 2011
I have an app that is needs to access multiple web sites and sign up for accounts. I don't want to run them one by one as this would be slow as christmas so I figured that I could setup some sort of background worker and put each process on it's own thread that way the app could run each sign up page at the same time. Would using background worker be the "BEST" option to use for this type of application requirement?
View 1 Replies
Jun 19, 2009
I need a way to programaticaly block and then later unblock specific websites based on their domain names. I only need to block browsers (so http & https would be sufficient, I guess?) but not just Internet Explorer, it should also work for anyone trying to run Chrome or Firefox too.
View 4 Replies