James Cole's Q&A profile
SQL Server OLE DB or ODBC error: Login failed for user 'NT AUTHORITY\LOCAL SERVICE'
Hi, I need help with a problem: When trying to process a analysis services project, I receive the following error message - OLE DB error: OLE DB or ODBC error: Login failed for user 'NT AUTHORITY\LOCAL SERVICE'.; 28000; Cannot open database "DocumentDB" requested by the login. The login failed.; 42000. I am using the service account for impersonation for the datasource. One suggestion I received from the data- ...Show All
SQL Server Formatting text within cell
I have multiple words within a single tablecell and need to be able to make one of them bold, not the entired contents of the tablecell, just one word within it. I can't find a way to do it. Can anyone help me out Thanks. As far as I am aware you can't differentially format text in a cell. Andrew Watt MVP - InfoPath wrote in message news:5fe80da2-bdd1-4e54-987d-31f576f8913c@discussions.microsoft.c ...Show All
Visual Basic graph sin curve with following curve? Help
I am using the following to graph a cardiod in polar coordinates but am trying to figure out how to graph a sin curve which is not in polar coordinates. How could I change the following code to make it graph in rectangular coordinates Private Sub DrawCardiod(ByVal g As Graphics) ' Drawing an Cardiod Dim x As Double Dim y As Double Dim old_x As Double Dim old_y As Double Dim r As Double Dim t As Double Dim dt As D ...Show All
Visual Basic Weeknumber
How do i get the weeknumber in Visual Basic 2005 Express edition Well that doesn't work for me. There's an interesting article about this here http://www.thecodeproject.com/csharp/GregToISO.asp msg=396665 The code is in C# but shouldn't be too difficult to convert ...Show All
Visual C# Navigate dataset from button on toolbar
I have an MDI form with a toolbar with "Next" button When I open a child form with dataset of employees I want to be able to navigate the records. I can do it with a Next button on the child form using code shown below. dsEmpRes2 is my dataset and it is public. EMP_BASIC_DATA is my table of employees. private void btnNext_Click( object sender, System.EventArgs e) { this .BindingContext[dsEmpRes2,"EMP_BASIC_DATA&q ...Show All
Windows Forms Iterate through Datagrid
Hello, Does anyone have a code example they can post, of Iterating through a datagrid to check a cell content. I really do not know where to start on this one. Thanks Peter Thanks alot rkimble, Your solution works great. Thanks again Patere ...Show All
Windows Forms icons
Not sure if this is the right place to ask, but I want to include some icons in an application's .exe, from where they can be extracted, e.g. by an installshield project in the solution. I can't seem to find out how to do this. T ...Show All
Architecture Serviced component architecture issues (State management/ OOD).
I've seen serviced components abused and misused due to inherent limitations in how COM operates and now I’m looking to architect a web based, OO, n-tier system and wish to avoid the same mistakes. In my system there are two architectural problems: Much of the data is common across users, complex and potentially quite large, which leads to a large number of objects when using standard OOD (not so good for COM as I understand ...Show All
.NET Development HELP! Change the database at runtime?
I am building a winform app that needs to be used to create/edit numerous Access databases. I have created all of the datasets using the tools in VS2005 to create my objects to bind to my forms. I found the connectionstring in my appconfig and it points to my dummy/prototype MDB just fine. I have created a Open function that allows me to select the Access MDB that I currently want to work with. How do I change the connectionstring to talk to ...Show All
SQL Server Report manager problem
I am getting the following error when trying to access the Report Manager: The report server configuration file specifies localhost for the Web server name. The report server requires that the computer name be specified instead. I have tried: http://<computername>/reports http://localhost/reports I have gone into the report server configuration and tried to change the directory there, but with no affect. Is there something ...Show All
SQL Server Need help with filtering fields with null and more
Requirements: 1) Cannot have results in which both m.homephone & d.homephone are both null, or both m.workphone & d.workphone are both null in the result set 2) We also do not want to see any combos where one homephone is null and the other has only the char 0....same for workphone...no null & 0 combinations. e.g. m.homephone d.homephone null ...Show All
Visual C++ How to Resize DialogBox in VC++ with Code?
Hi! I want to resize Dialogbox. Should I use from WM_SIZE function How Please Help me. thank. Use MoveWindow Alireza_Izadimehr wrote: Hi! I want to resize Dialogbox. Should I use from WM_SIZE function How Please Help me. thank. ...Show All
Visual C++ Web Browser C++ Samples?
Are there any Visual C++ Web Browser Samples Matt Hi Matt, On MSDN there is a tutorial on how to host a Web Browser Control in an MFC application . Additional samples may be available online . Also, you can find reference documentation about the Web Browser Control on MSDN . -- Marian Luparu Visual C++ IDE ...Show All
.NET Development Looking for an absolute definition of "Local Time"
The expression "Local Time" is thrown around a lot in the MSDN documentation. When it is defined, this is the standard definition (example taken from the documentation for TimeZone.ToLocalTime) : Local time is the date and time on the computer you are using Is this absolutely always the case, with no ambiguity In particular, since the Start and End properties of DaylightTime are defined as being in "local time," does this m ...Show All
SQL Server Hierarchical XML import?
Hello, Can anyone point me at a tutorial or sample that shows how to use IS for importing an xml file containing hierarchically arranged records I have a file which contains multiple orders , the orders contain multiple line items.. the file also contains an element with details of the file source etc... So, I want to make an insert in the FileLog table an then make inserts into the orders table .. then make inserts into the Or ...Show All
