FrankSp's Q&A profile
SQL Server Trouble installing SQL server Help i need it!
http://i69.photobucket.com/albums/i59/craig20102010/problems/SQLerror.jpg http://i69.photobucket.com/albums/i59/craig20102010/problems/SQLerror2.jpg Above are the errors that i get when im tryin to install SQL 2005 i think its the DATA base side of it i managed to install the Configuration tools and things just cant install the Data base side where u can actually do something with it. That's correct. The full product includes 6 seperate components, one of which is the graphical (and command line) client tools to connect to a SQL Server machine/DB. They're a must if you haven't spent much time with SQL. :) Thanks, Sam ...Show All
Windows Live Developer Forums Add-Ins and Stored Procedures ?
I am trying to use an Add-In to query a SQLServer database via stored procedure. My code works fine in my Windows Forms test application but throws a system exception when run in the Add-In. Is there a restriction on add-ins being able to use System.Data.SqlClient Was thinking of wrapping a web service around the data query otherwise - any known issues / restrictions with that approach alternatively ...Show All
SharePoint Products and Technologies how to get the current web when my class inherits from SPFieldText
Hi, I am writing a custom field control that inherits from SPFieldText. I need to access the current web as an SPWeb in the FieldRenderingControl method that i override. When I try: SPWeb spw = SPContext.GetContext(Context).Web; That doesn t work. iT SAYS: Error : The name 'Context' does not exist in the current context Any idea how I can do that PLS That SPWeb spw = SPContext .Current.Web; worked perfectly|: SPContext .GetContext( HttpContext .Current).Web; also works but yours is much simpler Thank you ...Show All
Visual C# The system cannot find the file specified
I have this problem: Could not load file or assembly 'Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. HELP! Thank's! frederikm wrote: when you add the reference to the assembly in visual studio check ou the properties of the dll and see if the version matches it could be you have multiple dlls with different versions and you are using an old version That was the reson, i was using the dll from SharePoint 2007 whith the version 12.0.4017.1004 and i was refering the version 11.0.0.0. Thank's! ...Show All
Visual Basic Problem saving graphics to a file
Hi, I have an application in which the PaintEvent calls up a procedure to get data from four Sql tables, and produce drawings. This part of the app works fine. I am now trying to copy these drawing one at a time to a Bitmap file, and not having much success. I've omitted the the Sql statement sections in the following code as they are not the problem. Private curFileName As String Private curImage As Image Dim ImageNo As Int32 = 0 ' This procedure adds the drawings ands text to the appropriate rectangle. Private Sub DrawDetails(ByVal e As Graphics) If ImageNo = 0 Then ImageNo = 1 Else ImageNo = ImageNo + 1 End If curFileName = "Drawing " & ImageNo & ".bmp& ...Show All
Visual Studio Team System Team Project Creation Failed
Hi all, I've just encountered an error when creating a new Team Portal Site using Team Explorer which I wondered if anyone may be able to offer a solution to. I ran through the wizard though I didn't add a source control db at this time however, on clicking Finish I received the following error, is this something that you've experienced before and if so was it easily fixed Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30222: The New Team Project Wizard could no ...Show All
Visual Basic Databases and Textboxes
Part A How do I link textboxes to individual database records when the database has say fifty rows and fifty columns. The idea being to display and maintain a database with textboxes on a form that stand independent of each other that point to a specific spot in the database. Part B Once this is possible then .. To be able to manage this data based on years meaning... I would like to have this basic setup but I am able to have the database represent a set of data for a particular year and I would be able to choose to display data based on the year. Please, if anyone knows .. respond asap.. Thanks Shihan I will be more specific.. I have twelve months for the year (Rows), and f ...Show All
Software Development for Windows Vista Architectural Help
Hi everyone, Looking at using WF for a project I'm working on. Been working through tutorials and have the books but don't think the way I'd like to do this will be as easy as I'd thought. Basically I need the app to be asp.net, web based. The workflows will need to be user owned. Only one user can work on the workflow for it's life span. The vast majority of the workflow can progress without user intervention but there are some key stages that require data confirmation and decisions. Would this imply a state machine or a sequential workflow waiting on external events (the way I currently have it). From what I've read the hosting will need to be done centrally, i.e. a win service, in my case. At present I have it hosted in a console app (f ...Show All
Visual Studio Cannot Debug in VS2005
I cannot launch the debugger in VS2005. I have a solution with numerous projects (1 C#, the rest VB). Whenever I run the solution and hit a break point, I get a message saying that Visual Studio has encountered an internal error. I have sent multiple error reports to Microsoft about this. This also happens when I just try and single step into the solution. Everything in the solutions builds fine and runs fine, until I try and use the debugger. I am running Windows XP (SP2) with a dual-core processor. I read some posts online that recommend setting up your startpage and I did that. I also set the project to run on x86 CPU and I am still having the same issue. Another developer in my environment can debug the exact same solution and the prim ...Show All
SQL Server Storing query results in SQL table
Hey guys/girls, I was wondering if there is a way to store the report query results into a SQL database for use within an application. I would like to have the query information used in the report updated to a SQL table for later use. The other catch would be to deploy the information to a separate datasource location than the report is using (because the information will be stored in a different location than where the report is gathering information. Thanks! BJ If its on a separate installation you will have to create a linked server. Then you can simply use the following syntax to insert data: INSERT INTO LinkedServerName.DatabaseName.ObjectOwnerORSchema.ObjectName SELECT (...) More about creat ...Show All
Visual Studio Tools for Office Intercepting Save related commands in Word 2003
Hello, does anyone know if it is possible to intercept Word's Save and SaveAS commands using VSTO (VBA allowes it) Interception should work for all documents so that I can apply custom operations to each document before it is saved. Standart event handlers work only for a particular document or template. Once they are closed events are not fired for other documents. Substitution of Normal.dot hasn't worked because Word doesn't execute managed code refered by substituted template at least by default (why and could this behaviour be changed ). -- Thanks in advance. This can't be done for ALL documents using VSTO ...Show All
Visual Basic how to stop the call of IE in your app
im still new at vb but here's the thing ive decide to create a web browser that also interacts with my files on my pc.now with that said. if i debugg my project and go to yahoo.com then click the finance link i get to the pages within my app just fine. now from there. there is asearch bar at the top of the page i type the word cars in the search and press enter it call ie to launch.I have created an event within webrowser in my app fot newwind under properties. that get it to when i hit enter under the same senerio to open a new window with my app.ok now hers the question.i need to retrieve the requested page that is being called to IE and also stop the call for IE to open. how do i do that herses my code.you will find the event im r ...Show All
SQL Server Cannot connect to the SQL 2005 Express
I created test project and want to use SQL 2005 database inside. 1. I created Test database with DEFAULT rights 2. I go into server explorer, press Add Connection. Shows message box for connecting to the server: <PCNAME> using windows authntification. But NO database allowed to view :(. Which setting should be set for SQL server database to i could connect and work with it In Visual Studio, click Connect to Database in Server Explorer. Under Choose Data Source, select Microsoft SQL Server. Under Data Provider drop-down list, select .NET Framework Data Provider for SQL Server and click Continue. On the Add Connection window, in the Server Name drop-down list, either you type .\SQLEXPRESS or select it in your list ...Show All
Game Technologies: DirectX, XNA, XACT, etc. why new directx(2006) didn't support source code developed by old directx(Oct2004)version
I got this problem, but both of the directx are version9.0. My source code couldn't compile in the latest version of directx. Could anyone tell me got anyway can solve this problem What compilation errors you get Note that while the core D3D runtime and APIs didn't change, D3DX has changed a lot. Thus, if you're using D3DX in your project, you're very likely to hit compilation errors caused by the new differences... ...Show All
Visual Studio Team System TF53010 / TF14055 error
I upgraded our TFS environment from RC1 to RTM last week and have to say that it went extremely smoothly. The entire upgrade (Dual Tier environment) took around 1.5 hours. Much nicer than my B3R to RC1 experience :) I did run into a few "glitches" that I've been working through. Two seem to have been preexisting issues, another was apparently a change in a developer's directory structure that I had to "help" troubleshoot. The final hurdle I'm trying to overcome appears to be some kind of authentication issue. Here's a sample of what I'm seeing in the event log on the AT machine (names changed to protect the innocent ) Event Type: Warning Event Source: TFS Version Control Event Category: None Event ID: 6008 Da ...Show All
