Communicating With Sharepoint Site On Server?

Jan 10, 2011

I have a project in VB .net 2008 and would like to communicate with a Sharepoint site on our companies SP server. Is it possible to interact with the SP site such as:
Create sub-folder
Upload and download files
Change authority levels on folders

View 5 Replies


ADVERTISEMENT

Access To Objects In A Sharepoint Site?

Mar 3, 2011

I have an application in vb .net that I would like to have access to objects in a sharepoint site. Some of the things I would like to do from vb is create folders in my sharepoint site, have access to files that are on my sharepoint site. We have sharepoint servers at corporate so that is where my site resides.

View 4 Replies

Write C# Code For Office365 Sharepoint Site?

Jul 4, 2011

I 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?

View 3 Replies

Auto-login To Sharepoint Site Which Uses Windows Authentication?

Nov 10, 2011

How to login to windows authenticated sharepoint site automatically without prompting for credentials using VB.net.

View 1 Replies

VS 2008 Client Server - Communicating Over Sockets

Aug 10, 2011

I am building a client-server type applications and they are communicating over sockets. This is the first time I am doing such a program and I have been learning off a web example and thought I understood it all but it would appear I am missing something as it starts to work then errors. Here is what I have:

VB
Dim serverSocket As New TcpListener(ListeningPort)
Dim clientSocket As TcpClient
Dim netStream As NetworkStream
Dim BytesFrom(1024) As Byte
Dim DataFromClient As String
[Code] .....

All of the above works and if I open up a telnet command window I can connect to my machine running this code on my specified port and in the command prompt window 'IDENTIFY' appears as it should from the above code. But it then gets to this block an errors on the second line:

VB
'RECEIVE FROM CLIENT
netStream = clientSocket.GetStream()
netStream.Read(BytesFrom, 0, CInt(clientSocket.ReceiveBufferSize))
DataFromClient = System.Text.Encoding.ASCII.GetString(BytesFrom)

Now as far as I can tell it shouldn't be processing the first line
[ netStream = clientSocket.GetStream() ]
Until I send something back from the client because then going on to the second line its trying to process something that isn't there yet.

The actual error I get is:
Specified argument was out of the range of valid values. Parameter name: size
On the line:
netStream.Read(BytesFrom, 0, CInt(clientSocket.ReceiveBufferSize))

View 8 Replies

FolderBrowserDialog To Browse Sharepoint Server?

Jan 24, 2011

i need to browser the folder in Folderbrowser dialog how to done this?

View 3 Replies

Host Site With ASPNETDB.MDF Database From Development Server To Production Server?

Jan 21, 2011

I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual Studio 2008 only . .with its built-in SQL Server (2005 Express) ... my database in App_Data is ASPNETDB.MDF ...I have created some of my tables also ....in ASPNETDB ..In my local PC the site was running fine ...But when I publish my site on production server it doesn't work and shows the following error

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code].....

View 2 Replies

Updating A Server Property Of A Word Document Residing In A SharePoint Folder?

Jun 17, 2009

Using Office automation in Word 2007, I view the Document Information Panel, showing me properties of a document that resides in a SharePoint location. Using VS 2008, I interrogate the following in the Immediate Window:

[code]...

but I don't see a corresponding change to the screen. I do however see that, on Advanced Properties/Custom Tab that a Custom Property by the name of "Process Name" has been recorded with the value "New Value"There seems to be some kind of one way mapping going on between "server" and "custom" properties, but the really strange part is:I can update SOME server properties, others I cannot.I don't know a darn thing about SharePoint, other than as a dumb user. And getting any help from a SharePoint admin in my company is probably a very long shot...I checked all of Word's Built-in Properties and Custom Properties, I decided that none of them can be used to update the "Process Name" "server" property.How can I update this stubborn property? Most of the server properties I can update, a few I cannot.I see some articles referring to using what looks like "SharePoint objects." Do I need to download an SDK just to populate these properties? So far I've used Office automation, because I am running locally on the user's PC and pre-filling documents using the Word object model. All that is left is to finish populating the last couple of server properties after I copied the doc to a Sharepoint folder.

View 1 Replies

Access HTTPS Site Through Proxy Server?

Apr 15, 2009

I am adding code to use a proxy server to access the Internet.The code works fine when requesting a file from a normal (HTTP) location, but does not work when accessing a secure location (HTTPS).[code]...

View 1 Replies

Asp.net - Automatic Logout When Login In Other Site In The Same Server?

Oct 11, 2011

We develop 2 sites in asp.net, this both use forms authentication, when a user login in one of this sites it work fine, but if login into the second site, it's logout for the server of the first site, the authentication of both sites have the same usecontrol.

View 1 Replies

Unspecified Error When Uploading Site To Server

Jul 9, 2009

I developed a site it works well at localhost (IIS) but the problem is that when I upload it to the server it works for some time, for some entries & gives the error and after this error, it appears to all pages. The errors are
1. "Unspecified error"
2. Error in web.config (attaching the error image) though I fix it.
I do not understand why it appears / displaying the error using the MS Access as database.
Attached image(s)

View 4 Replies

Get Html Source Of A Web Site But Getting Internal Server Error

Jul 31, 2010

I am trying to get the html source of a web site but getting an "Internal Server Error (500)" instead. [code]

View 1 Replies

Build An Application That Will Login To A Web Site, Navigate The Site And Download Files?

Mar 26, 2010

I 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 Replies

VS 2008 - Threaded Ping - Click Another Site While Its Still Pinging Them It Doesn't Wait Before It Switches Site

Feb 9, 2010

Ive 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]...

View 2 Replies

User Can Change The Update Site With Out Building The Program Again With The New Site?

Oct 13, 2010

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 Replies

Internet Explorer - User Click A Command Button To Open IE To A Financial WEB Site And Download Informaion From The Site?

May 19, 2011

I'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.

View 7 Replies

Label Staging Site To Prevent It From Being Used As If It Were The Production Site

May 18, 2012

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

View 2 Replies

Open Site When Click (Visit Site Button)

Jan 8, 2010

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 Replies

Login Directly From One Site Another Site?

Oct 21, 2010

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 Replies

C# - Communicating To Applications On LAN

Jan 3, 2011

I want to code an app with recreational purposes. This should be a Desktop app that detects itself running on other computers on the same LAN and communicates with them. By communication I mean that I should be able to pass anything from on to another. note that although I'm not asking for code (that would beat my purpose, of course) I think some small snippets wouldn't hurt. In any case what I really want is the "recommended procedure", I mean what Microsoft recommends for this environment, and documentation :)

View 3 Replies

Communicating With Printers?

Feb 3, 2009

is there a way through vb visual express 08 to ask a printer if it has toner or paper? im not to sure on how to communicate with printers in this way if it is at all possible.i am writing a program to display the status of the printer and this is key.

View 1 Replies

Asp.net - Communicating With Android C2DM Using .NET?

Mar 8, 2012

I've set up this function in my web app to send push notifications to Android devices:

Private Function SendNotification(ByVal authstring As String) As String
Dim request As WebRequest = WebRequest.Create("https://android.apis.google.com/c2dm/send")
request.Method = "POST"

[code]....

However, whenever I call this function, I get the following error message: The remote certificate is invalid according to the validation procedure."

View 1 Replies

Communicating Form.vb And UserControl.vb

Jul 25, 2009

I have VB.net Simple application with form1.vb , UserControl1.vb and a simple Dataset with few records included. In my UserControl1.vb I'll added a Bound DataGridView1 with Products Datasource. My question is.. How can i filter the Products table from UserControl1.vb? The Filter Value ("ProdID") is from Form1.vb with textbox1(receive the value.). here is my Form1 code

[Code]...

View 4 Replies

Communicating With Access Database?

Feb 15, 2011

Im new to using databases in my programming and to be honeest i am struggling.i need to get the program to communicate with my database to allow the user to login this is the code i have so far as i say i dont know much about it so its a bit bodged.

[Code]...

View 4 Replies

Communicating With C++ Win32 Application?

Aug 20, 2009

Alright today im going to make a chat program in C++ and VB.net VB.net will be the server and C++ will be the chat room. Im doing this becuase some people dont have .net and the program fails so im trying this so then everyone can use it. How would i do this? Like C++ sending information to VB.net and printing it out on a textbox

View 2 Replies

VS 2008 Communicating Between .NET Applications In The LAN?

Aug 8, 2011

I need to communicate between multiple applications (one server and multiple clients) in the LAN. While googling I came across 3 concepts (TCP/IP, Named Pipes and WCF). I also understand WCF needs lot of study for a starter like me. I need to have one (server) application running on one machine, the values generated by it should be displayed immediately on the other (client) application which will be running on multiple machines in a LAN. Also when the user pauses the process from the client application, it should pause the process on the server application.

View 2 Replies

Communicating Between Multiple Instances Of Application?

Mar 9, 2009

I have an application which the user can open multiple instances on the same machine. However, a section of the app would have sync problems if more than 1 instance has control over it. This is where I thought of transferring control, or sharing, between them. What should I be looking into?

They would have to be able to identify which one of them has control and to send text information over. I thought IPC or Named Pipes could do the trick, but I'm unfamiliar with them and examples seem to indicate only a single server will work. Here, I have multiple instances of the same app and every one of them needs to be able to listen for that request for control.

View 25 Replies

Communicating To A Device Using A USB To Serial Port (VCP)?

Feb 19, 2010

I am communicating to a device using a USB to serial port (VCP). I am having a problem with the usb failing. When the usb fails my app will lock up and the com port is lost. I have seen a post about this but cannot find it.

View 3 Replies

Communicating Via RS232 - Dll / Delphi Win32 Exe?

Sep 23, 2011

I have a Delphi program that communicates with a vb.net dll that I created. The vb.net dll communicates with a Fluke scope meter via an RS232 connection. I have created a program that communicates correctly via RS232, giving me the anticipated value. Though, when I package this up as a dll and access the dll from my Delphi program I always receive a value of "1", rather than the value I was expecting (most cases a value in and around 240).I know that my delphi program is definitely communicating correctly with the dll and that my dll is definitely communicating with the scope meter

Here is my vb.net code:
Public Interface IFlukeComm
Function GetReading(ByVal Command As String, ByVal PortNum As Integer) As String

[code].....

View 1 Replies

Communicating With Remote Host & Port?

Oct 1, 2009

I've been trying for a long time to do what seems to be the most simplest of things..I have a remote host and I need to know if certain posts on that host are open or closed.Many examples on the net that I have found arent complete, and because I havent worked with VB.net for long I dont knowhow to complete them.Here is my code:: The issue is with this it tell me the target port is always closed, when I know that it is open.Code:Dim host As String = "www.google.com" Dim port As Integer = 80 Dim addr As IPAddress =CType(Dns.GetHostAddresses(host)(0), IPAddress) Try Dim tcpList As New TcpListener(addr, port)tcpList.Start() Catch sx As SocketException MessageBox.Show("port is closed") End TryA friend of mine suggested using WinSock.. I've not dealt with it before so I don't know what he's on about.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved