Really need a assistance here. Google didn't help me much. I found this is somewhat plain solution.
http://www.codeproject.com/Articles/183317/Update-TFS-WorkItem-from-Microsoft-Access-using-VB
But is it possible to connect the TFS without the help of dot net visual studio. Something like adding the reference and using those in code.
The TFS Client Object Model is not exposed to COM and there is no way to call the .NET objects directly from VBA without a COM wrapper.
If you're connecting to TFS 2015 or Visual Studio Online, you may be able to use the REST API's by directly invoking the REST calls.
Not sure why you would not just use VSTO in Access, which allows you to use C# or VB.NET for your add-in.
Related
I'm very new to visual studio and visual basic.
I already studied the basics of visual basic so I tried stepping up a little and play with database in visual basic. I'm using visual studio 2010.
I first made an access database. I followed the instructions that I searched on the net on how to connect it to your visual basic program. Data>Show Data Source>Add Data Source> ...
But when I search on how to do it, I became really confuse because of these things:
Is vba and vb the same?
all the tutorials are for access but why do they still need to have a stringconnection when they already connect it using what I did?
they are searching for .mdb but the extension of my access database is .accdb?
they have an sql query for inserting the datas from the csv file but the pc that will be using the program don't have sql installed but mysql. Will it still work?
I'm still noob in these things so please if anyone can shed some light in these questions, thank you very much. >.<
VBA and VB 6.0 are almost the same. Main difference is that VBA is intended to be host in application like Excel, Word ....
BUT language you probably use with VS 2010 is VB.NET and that is something different. VB.NET is object oriented language which target .NET Runtime and Framewor. See Difference between Visual Basic 6.0 and VBA
Connection string is a string that specifies information about a data source and the means of connecting to it.
In .NET this describe (or can) path or location, provider, credentials and other informations. See MSDN Connection string in .NET
If I'm correct MDB is older format and ACCDB is format used by Microsoft Office Access 2007 and newer. Here is post how to connect to access db file: SQL connection string for microsoft access 2010 .accdb
But do you realy need to use acess database? There are better alternatives.
There is no need of real database engine for your scenario. You wanna to use standalone file as a datasource, dataprovider will be responsible for interaction with datasource. E.g. OleDB provider
Is it possible to use use SharePoint to custom develop a GUI for an SQL Server backend for updating the data? Thanks.
If you are using SharePoint 2007 you might want to take a look at the Business Data Catalogue - http://msdn.microsoft.com/en-us/library/ms563661(v=office.12).aspx
Not sure what the comparable feature (if any) in 2010/2013 is...
EDIT:
In 2013 it is called Business Connectivity Services - http://msdn.microsoft.com/en-us/library/jj163782.aspx#BCSoverview_Whatcanbcsdo
Look at "Business Connectivity Services" and "External List".
SharePoint Designer can make the process pretty simple or you can develop a Visual Studio project:
http://msdn.microsoft.com/en-us/library/ee558778(v=office.14).aspx
If you want to do the legwork try building an Access Application in SharePoint 2013.
It is much better than 2010 but requires more setup. This will encapsulate a database within a SQL database, very versatile super quick and you can do all your SQL fun stuff from there.
This is a low or no code solution.
SharePoint 2010 Access apps use lists as back-end repositories, you can interact with the data in the SharePoint WSS_Content database, but it is not supported and no advisable.
I have been assigned the task of creating a web dashboard with information I retrieve from a TFS database using the available API. Ideally I would like to create this using Vbscript as I have existing code that could easily be reused, however I am unsure if there is away of connecting to the database using VBScript, any ideas if this is achievable??
I'll admit vbscript seems like a strange choice. That said, given the TFS API (the Object Model) is a .NET assembly then as long as you can call the methods properly from your VBScript code you should be OK.
As for calling .NET from VBScript have a look at this question: How do I call .NET code (C#/vb.net) from vbScript?
I'm new here and more than beginner in coding. I want, as an "on the side" project, create a tool coded in VB for the helpdesk team. I would like to type the computer ID in a text field and have several buttons below that performs windows command like ping, getmac, wmic, etc etc..
How is it possible to load or to integrate a windows prompt or even to as VB to call the dll to perform those windows commands. Is there a built-in tool in Visual Studio 12 that does that? I thought that it was the "Console" argument that could do this but I'm just way too n00b in coding to have it working.
Any help would be greatly appreciated!
For creating forms read this MSDN article: http://msdn.microsoft.com/en-us/library/vstudio/dd492132.aspx
For executing processes use Process.Start.
If you need to read process output, see Process.start: how to get the output?
A good tutorial to start with : http://www.dotnetperls.com/process-start-vbnet
Im looking to Extract a SharePoint List (WSS 2.0) to a SQL(2005) Table using SQL Server Integrated Services.
First off I am aware of the "adapter" that does this from http://msdn.microsoft.com/en-us/library/dd365137.aspx however I'm just wondering for compatibility purposes if it can't just be done "out of the box".
There are only a limited number of "Data Flow Sources" to select as alternatives and I am unsure if any of these would be able to work in a similar way either directly to SharePoint or via SharePoints web services (e.g. http://server_name/_vti_bin/Lists.asmx) From the list of these sources it looks like the best option would be the OLE DB connector, but not sure how it would do this.
Any help you have would be great,
Mark
You can use Script Source task to talk to WSS Lists Data Retrieval Web Service. But I would strongly recommend using the custom Add-in.
Overview of WSS Webservices
Calling Sharepoint Webservices From SSIS