briggins5's Q&A profile
SQL Server SQL Service Pack 2 failure to install
I am a member of the Administrators group, and there is plenty of space in all hard drives, plus the temp directory is open for "everybody" to full-control it. Yet the Service Pack 2 database engine fails, all other components upgrade fine. ---------------------------------------------------------------------------------- Product : Database Services (MSSQLSERVER) Product Version (Previous): 3033 Product Version (Final) : Status : Failure Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB921896_sqlrun_sql.msp.log Error Number : 29506 Error Description : MSP Error: 29506 SQL Server Setup failed to modify security permissions on file C:\Program Files\ ...Show All
Windows Forms OpenType or TrueType font ?
How can I check if a Font or FontFamily is an OpenType or TrueType font When browsing the C:\WINDOWS\Fonts folder different icons are shown but I can’t find a way to make the difference in .NET. Is it also possible to retrieve the filename of a font ...Show All
Visual Basic Time Zones / Time Formating
Hello all, I have a string with a Date and time, which looks like the following: Fri, 28 Jul 2006 15:26:40 +0200 Fri, 28 Jul 2006 15:26:40 -0200 Fri, 28 Jul 2006 15:26:40 UT Fri, 28 Jul 2006 15:26:40 EST... The +0200 says the time is UT+2, the -0200 says the time ie UT-2 etc.. I need a function, which will convert the time to UT time zone. The problem is that I don't know which one of them I got..:( Can anyone help me Thanks. Use the built in function: Dim TheUTCTime As DateTime = Date . UtcNow TheUTCTime . ToShortDateString () TheUTCTime . ToShortTimeString () TheUTCTime . ToLongDateString () TheUTCTime . ToLongTimeString () TheUTCTime ...Show All
Visual Studio Express Editions toolTip
Any example on how to use the tooltip function you may need to be more descriptive but here is a simple example on how a tooltip is used: Dim theToolTip as new ToolTip() theToolTip.SetToolTip( Control , Text ) so if I wanted a tool tip on a textbox theToolTip.SetToolTip(Me.theTextBox, "This is a tool tip!" ) you could also say, show this tool tip when the mouse hovers of that textbox, by implementing the TextBox's MouseHover event, then place the code above in there, so when you hover over the control, it should show it. http://msdn2.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx Does this help ...Show All
Visual C# why am i getting this error?!!
I have an application which monitors a database table and it works fine for more than 48hours sometime but then I will get this error on my desktop.. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject ...Show All
Windows Forms bindingsource with objects
hi, how do i go about saving to my table - + inserting records with a dgv connected to a binding source, which is connected to a list of objects. do i need to keep an original list for comparison how will i know which records changed or have been added or removed it is not quite a well defined pattern( in my mind) for now. please enlighten. I am building windows application and isnt all this stuff for the web xml soap etc. my usage of business object was solely to be able to have my bills, which is such: one record is broken into multiple records in the table., that is vat and amount and duty are seperate records, but form 1 bill. thus, when i display, i use stored rpocedures to get the data on one row, and u ...Show All
SQL Server SQL Server time zone?
I don't know what is going on, here's the error message, could someone please answer thanks Server Error in '/' Application. might it be possible that it was corrupted when the db was corrupted I didn't change anything so don't know how it would be changed unless it became corrupted in someway. Is there a way to check on this ...Show All
Gadgets Passing variable to page.
I am looking for a way to pass variables to a page. The code for the page is shown below, but the code cannot be changed. <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <form method='post' enctype='multipart/form-data' action='randint'> <table class="aftable"> <tr> <td align="center" colspan="2" class="logintext">User Login</td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td align="center" valign="middle"> <table class="logintable"> <tr> <td colspan="2" class ...Show All
Smart Device Development Printing in Windows Mobile 5?
I have done a but of looking but can not find a way to print from my Symbol MC70 that runs Windows Mobile 5. Does anyone know if this is even possible And if so, how to setup a printer on the device Thanks, Philip Please don't post multiple messages for the same topic. You've to use 3rd party software to do printing. There is no native support. Closing this as duplicate. Manav ...Show All
Visual Studio Express Editions Cannot include "iostream.h"
When compiling, there is an error "file or directory not found". What should I do ...Show All
Visual Basic Is there any way to remove block of bytes from middel of binary file?
Is there any way to remove block of bytes from middel of binary file thanks.. this is the right code to merege many files in one archive file: Sub AppendFile(ByVal SourceFile As String, ByVal DestinationArchive As String) Dim w As Date = Now Dim fi As New IO.FileInfo(SourceFile) Dim fi2 As New IO.FileInfo(DestinationArchive) Dim fs As IO.FileStream = fi.OpenRead Dim fd As IO.FileStream = fi2.OpenWrite Dim startIndex As Long = 0 Dim retval As Long Dim nBytes As Integer = 100 Dim ByteArray(nBytes) As Byte Dim StartPos As Long If fi2.Exists = False Then StartPos = 0 Else StartPos = fi2.Length End If fd.Seek(StartPos, SeekOrigin.Begin) retval = fs.Read(ByteArray, 0, nB ...Show All
Visual Studio Tools for Office Problem with locking documents.
I am trying to automate some letters. For example, I have a drop down box used to select the type of document I want. The document will then load, with tags where customer information can be added. By entering a customer number, a DB is searched and returns and fills in all of the information. There is then an option to create an image of the final document. All of this works fine, except in one instance. If I were to select one type of document, complete and image it, and switch to a new type of document, and image it, the image becomes locked and will not unlock. This is not a problem if I do not switch between different letters. Anyone have any ideas Given this isn't a VSTO specific question you'll pro ...Show All
SQL Server Trying to use the results of a case statement in my select list in my WHERE clause?
I am fairly new with SQL and still learning. I have used a case statemtent for a column in my select list and want to use the results of that statement's field in my WHERE clause but it is not working for me. Here is the code I have so far: SELECT l.loanid, p.investorid, l.duedate, case when pc.duedate >= l.duedate then pc.duedate end as RateDueDate , pc.interestrate FROM loan l inner join participation p on p.loanid = l.loanid inner join paymentchange pc on pc.loanid = l.loanid where p.investorid = '12345' and RateDueDate is not null order by l.loanid, pc.duedate I want to put the results of this case statment in my where clause like highlighted above but it is not working because RateDueDate is not an actual column in the table. ...Show All
Visual C# Type of file?
HOw to find the Type of file clicked by an user in the windows explorer in c# i want to know whether the user has clicked on a textfile or a doc file or any other kind of file type in the computer. How to get the file type Please help ...Show All
Software Development for Windows Vista Problem running Worflow in an ASP.Net shared hosting environment
I have just moved an ASP.Net workflow on to my shared hosting environment to try it out, but it seems that the WorkflowRuntime on start up is trying to access a registry key that it is not authorised too. Since it is a shared hoosting envronment (maximumasp.com) it is not an option to change access rights. See below, is there any way of disabling this behaviour: Access to the registry key 'Global' is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access to the registry key 'Global' is denied. ASP.NET is not auth ...Show All
