I am using The Facebook-C#-Sdk v5.0.3 to create a non-canvas webforms app in vb.net and i am having trouble exchanging the returned facebook code for the access_token. Does anyone have an example (C# or vb.net) that I can look at
I have kept a webbrowser and 2 text boxes and one button when my application start it opens facebook page in browser and then i put the id and password in textboxes and then clik on the button then i got loged in but i want that if i looged in it will logout in every 10 sec. can anyone help in this topic
I have an internal ASP.NET / VB.NET CRM page that I would like to build additional functionality into.Currently we still use "Public Folders" in Exchange to store contact information for our clients.
What I would like to do is be able to connect to the Public Folders on Exchange through VB.Net in order to add new contacts or edit current ones.I would prefer to NOT have Outlook installed on the web server - (I say this because I tried working with Excel using COM and it was crap - ended up using Gembox.spreadsheet for all of my Excel needs).
I have to create a project management application in VB.Net Framework 4 which should create a client folder in a public folder in Exchange server.
I think the only way to create a public folder is through the management console. Is there a way to connect to the Exchange server and execute the creation command file from the code but I do not know how.
I'm trying to do what it says in the title. I don't even need to send a message body, just the subject will do. The full code with imports and references would be a
I want to find a way to speed up this code.if you look at the condition of If calculated Then in the code below, this is what slowing down the code.While the code provided seem fast with Const initBit = 4 try it with something over 12.
I want to be able to use this code (with calculated param as True) with initBit of 20 or more.
Beware that 20 or more might require a gig or more of ram and/or compiled as x64.
C# code (converted with an online tool from VB.NET):
How am i going to make a token with this string"The quick brown fox jumps over the lazy dog" that its output would be:
the quick brown fox jumps over the lazy dog
Token:9
The token is equal to the number of words. For every word entered, to identify it as a word is a space, which means that the space serves as a counter for the token and the words entered are printed in that kind of output.
Forgive me if this has already been covered in a previous post. I am considering using VB.net for a project but need to know before I dive in if it can perform this particular functionality. The application I wish to develop would need to be able to create html and email templates using variable tokens - what I mean is that users would need to be able to insert into their html or email template previously assigned variables that would send dynamically generated text from the database - so, for example, they could write in their template {title}, or {firstname} {lastname} which would then be replaced by the data from the db.
i have been visual basic 2008 to create a program which contains a lot of images nearly 1000 my computer is running vista with a 2GB RAM and over 5GB of space free..i keep getting a message about ~"Token Endelement would result in an invalid XML file"~ it then offers me to "save as" it then becomes very slow and will take a while to allow me to get another "token endelement message".i also get one about "exception of type 'system. outofmemory exception' was thrown" the last message, after getting several of the above is "cannot be completed"..i will put a link of my program files (not the images) and would ask for any help as soon as possible as this would save me quite a bit of data i can't remember when i last saved it!
I have the following code. I am loading the xml file, it's fine. When get into my loop and try to read the line I get unhadled exception and the following error 'Part ID="1"/SalesPrices/OrderPrice/GrosscostsAPiece' has an invalid token. I have discovered that the reader is not liking the Part ID="1" part. How to overcome this problem considering the xml will always have that element as it is. Need to extract the value in the GrosscostsAPiece element.
document.Load(xmlFile) for Each element As XmlElement In document.SelectNodes("document/body/Parts") arr(1) = element.SelectSingleNode("Part ID="""1"""/SalesPrices/OrderPrice/GrosscostsAPiece").InnerText Next
I have a asp.net website. The asp.net website connects to a wcf service. The wcf service is using a sts(security token service) with custom username/password authentication. The asp.net page has a simple username and password login form. Now I'd like to implement a "remember me" function. At the moment I have two solutions: Saving the entered user and password on the asp.net server and set a cookie with an ID. Saving the STS token on the asp.net server and renew it if needed. What is the more secure solution? Do you have any other ideas?
I'm trying to write code in .NET 2.0 to change the time zone - long story short its toautomate server deployment. I'm having a problem adding the SE_TIME_ZONE_NAME privilege I found code online to add the SE_SHUTDOWN_NAME privilege which I adapted into the following code:
I have been trying to write a third-party status console for one of the applications I work with. I am unaccustomed to using pinvoke commands, but found some tutorials and attempted to use ReadProcessMemory from kernel32.dll:
<DllImportAttribute("kernel32.dll", EntryPoint:="ReadProcessMemory", SetLastError:=True)> _ Private Shared Function ReadProcessMemory(<InAttribute()> ByVal hProcess As
Ok. So I have a form, a textbox, and a RichTextBox. In the RTB, there is justsomemiscellaneoustext. In the textbox, it says "Save "Test"". When I press Button1, I want my program to parse the text in the textbox, find "Save", and realize that means to save the text in the RTB to a txt file with the name "Test" (the text next to 'save' in quotes).
I have a couple quick questions with the program that I am doing. This program is a hilo program and here are my remaining issues...
1. When I click the high or low button in my program it does not make changes to my token (I want the default tokens to be 100 and added 100 to the text property of my textbox so want to make sure I did that right)
2. In my program it only shows 13 possibilities but want to have the ability to add more
3. I also would like to change 1 to ace, 11 to jack, 12 to queen, and 13 to king and would like to get some assistance with that as well
I use an XPathNavigator Select to get a node iterator in the code below and get an invalid token error. If I take out the @contract I do not get an error. I then have to use MoveToAttribute, which works, but shouldn't be needed. Why do I get an error when the @ syntax is valid XPath?
When I try to call a [Java] web service from .NET, I am getting what appears to be a security credentials issue. CWWSS5509E: A security token whose type is [http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken] is required.Is it even picking up the credentials that I am trying to pass? At this point, I just want to make contact with the web service and get access. In my example, ServiceReference1 is a generated Web proxy class.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim myLocateProfileBySourceSystemId As New ServiceReference1.locateProfileBySourceSystemId
We're in a strange situation with a legacy winforms VB.NET 1.1 application using ASMX web services. Trying to send a user Token from a WindowsIdentity object as a parameter to a WebMethod. I will be adding a 'HACK: comment. System.Security.Principal.WindowsIdentity.GetCurrent().Token
The token is of type IntPtr, the first problem is the WSDL being generated doesn't support IntPtr with the error of 'unsupported type'I'm aware this is a big WTF question and sounds insecure, so any simple helpful alternatives are welcome but there are a lot of constraints on how we can change this system, including complications with the hosting environment. So I would just like to get our piece of data over to the web service to save a lot of other headaches.
I would like to create a webservice to achieve the Like and Share features how facebook. I don't wanna use the javascript or iframe etc. which are shown in the [URL] page.
We are trying to help a customer of ours to get their company page FB Insights data out of FB and shown on an Admin website we have for the client. So instead of having to log into FB to see the insights they will be able to see the data (that we put into reports) from the analytics webiste we already have for them.
we just can't figure out how to use the FB API to pull data for an individual fan page in an asp.net application using VB as the programming language.
I have it to where it automatically logs into facebook but the problem is I want for when I click on login It will logout the other account and log that one in and if it helps I have 2 textboxes that have email and password and one login button.
I have created a silverlight app that consits of like buttons within specific usercontrols (all in one asp page). Ie.foodingtons.net/index.aspx?id=211
It is all incorporated within the silverlight app on one page. Hence when the control is loaded the meta tags are updated and the like button is placed within an iframe and linked to the appropriate page. When the like button is pressed a javascript function is invoked which changes a picture behind the silverlight obj. This picture in theory should be used as the default image after the like button is pressed (on clients page). But it seems to be stuck on old images. Ie. foodingtons.net/index.aspx?id=211(the above is using an image which doesnt even exist)foodingtons.net/index.aspx?id=218(is using an image from the main page)foodingtons.net/index.aspx?id=219(fails.. the website is inaccessable)
I have also tried create the open graph tags with in the page to reference new images but to no avail.
I'm using the following facebook tool to debug as well[URL]..