prenney's Q&A profile
.NET Development backing up DB in C#
Anyone have a simple method using C# to backup and restore a database Since each table is already mapped via dataset, I'm trying to save all the contents to a flat-file and then reload later if necessary. JS Hi- I don't want to use File Manager, since the user should not be touching the DB directly. What i wanted to do is find an application-based approach, if one is available in .NET C#, that allows me to backup and restore. If you read my comments above, even after I load all the values from all tables into dataset and delete each row one-by-one and then persist the values "tableadapter.Update(myDataset);" and then "myDataset.AcceptChanges(); ", i'm assuming all values in the table should be deleted, ...Show All
.NET Development Writing custom web service for sharepoint 2007
i can find a article which explains how to do it in sharepoint 2003, but unable to find anything for 2007. has anyone done it , please help. or if you are familiar with the differences between 2003 and 2007(asp.net 1.1 vs asp.net 2) can you guide me in translating the below article http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_sp2003_ta/html/odc_writingcustomwebservicesforsppt.asp So, do you put the disco, wsdl and asmx in the same dir as the dll, or in the 12/ISAPI directory I continue to get file not found errors on my dll. Also, can you elaborate on "mypackage" .vs "myclass" as this may be an issue ...Show All
Visual Studio Team System Converting an SCA error to warning
Hi All, I run the code analysis as a part of my build process (TFS scheduled build). The issue I have here is that when the code analysis throws up an error it cause my build status to be set to "Failed". I would like to avoid this. Is there some way where we can specify that the none of the rule violations would be thrown up as an error, but would be converted to a warning Please do let me know Thanks in advance for all the assistance, Ramya You can modify whether a Code Analysis rule breaks the build in the Code Analysis tab: In Solution Explorer, right-click a Project and choose Propeties In the Project Properties window, choose the Code Analysis tab For each ca ...Show All
SQL Server R
When I am using aggregations design wizard it is stopping at 49%, even through I am asking to go for 100% performance or choose until I stop option. This happens only to one cube, for other cubes wizard works fine. What could be preventing the wizard not to reach 100% Thanks. Hello. I have never hard of a scenario where you aggregate a cube to 100 percent. The recommendation is to use 20-30 percent aggregation because all aggregations start from the to. Stay with 20-30 percent, that is sufficient. Seems like you are using Analysis Services 2000 so your problem can be related to that you have not updated the counts for dimension members or the number of fact table records You do this in the editor ...Show All
SQL Server Cannot find my SQL Server
I have installed SQL Express in my server with SQL Browser enabled. I also added an exception to the window firewall to port 1433. My client application is installed in another machine on the same workgroup. But I cannot see the SQL Express unless I disabled the server's firewall. Without disabling the firewall, what else should I do Thanks If it would be on port 1433 you wouldn’t need the SQL Browser as the client always assumes this dfault port. SQL Browser is for routing the request to the appopiate port which *could* be port 1433. But the port can differ from 1433 as there can be many instances hosted on the same server, every instance taking one TCP port. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Live Developer Forums Trouble running activities/games in messenger
i tryed to use those apps that are on this page: http://www.worldsbestapp.com/ but the problem is that they wont start. messenger gives an error - "MSN Messenger cannot start this program. Please try again later" what should i do thanks The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US& ...Show All
SQL Server the user's select query should be denied but it didn't?
hi .. my problem is i create a user in sqlserver from enterprise manager as follows:- 1- goto logins and new login 2-type a name and choose sqlserver authentication and type a password 3- from server roles tab i choose system administrators 4 from database access i choose the database i need that user to connect to .and OK 5-i goto database node in enterprise manager and select the database and the table and double click on it and choose permissions and de-select the SELECT privilige then i use ADO to connect to sqlserver through that user and when i select(SQL query) the table the data appeared normally !!!! and it suppose to give me exception thanks in advance. Sorry, I didn't read your question properly and thought you had the lo ...Show All
Visual Studio How to duplicate section
Hi I need to know how to duplicate a section including all the content using vb code. If this isn't possible I need to know a way to duplicate the content. The result im looking for is: User ID, Firstname Lastname Column 1 Column 2 Column 3 Cell 1 Cell 2 Cell 3 This should be repeated for each user. Thanks! // Lasse ...Show All
Visual Studio Express Editions Binding Navigator Add New Item
Hi, I am trying to mimic a data entry form using the binding navigator. In my Parent Form I shall have a button called " create ", When user click this, a new form will show up. This actually contains a binding navigator showing all the records from the database. But I will hide all these binding navigator so that the forms appears as a new data entry form. (I will just add a new button " Save ") My Problem now is, On Form Loading I need to trigger the BindingnavigatorAddNewItem event programatically so that a new records with empty values for the text are shown to the user to fill up. After keying in the informations and when the user clicks the save button, I need to trigger the event, BindingnavigatorSav ...Show All
Visual C++ Controls of my dlg do not have XP style.
Hi all, Its dialog based MFC application. My problem is, controls in my dialog do not have XP style. But in VC++ IDE's design mode, all buttons, edit boxes have XP style. I hope you understood what I asked, otherwise send me your mail-id I can send dialog's appearance in BMP image format. Thanks. :) Purusothaman A ...Show All
.NET Development FAXCOMEXLib API and Faxing PDFs with Reader 8.0 Installed
Adobe seems to have changed their command line interface between Reader 7.0 and 8.0. Faxing a PDF via the MS Fax API works correctly with Reader 6 or 7 installed. However, after installing Reader 8, the PDF is sent to the user's default printer, regardless of the fax device you try to point to. I have manually tested the command line interface with Reader 7 and Reader 8 to confirm that the same call that works with 7 does not work with 8. I don't know who should be addressing this problem, Microsoft or Adobe. Any thoughts This forum is dedicated to software developement questions using the System.Net namespace. Please repost this question to forum dealing with application compatibility. http://www.microso ...Show All
Software Development for Windows Vista Customizing designer and activity look and feel
Hi, I would like to customize the look and feel of the sequential workflow designer. For example, I would like to 1. hide the title bar containing the caption "Sequential Workflow" 2. hide the footer containing the three buttons "View", "Cancel", "Fault" 3. replace the images on top and bottom of the workflow with my own images. 4. customize the appearance of connector lines 5. customize the appearance of collapse/expand for composite activities (I would like to have the plus button located at another place and use my own images for it) Can you please provide some sample code or links to such code that shows, how to achieve these goals. Thanks for you help. Regards, Mari ...Show All
Visual Studio Team System time synchronizing
How can we avoid the time synchronization between clients and domain controller. I joined a computer which is installed with window server 2003 standard edition, to a windows server 2003 domain. When I try to logon from the client machine there comes an error message "the current time on this computer and the current time on the network is different. to logon contact the administrator".I already tried the registry settings by changing the value of: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters NTP to "no sync." please help me to solve this problem Note that most of the time you actually want to keep time sync in place, although you may want to change the TFS server to also join the ...Show All
Visual Basic VB 6.0 - No. of Controls in the Container
Hi Is there any restriction in the number of controls that a Form Container should hold How to trace the Form Container capacity depending upon the VB version, Control Type and Other criteria. Is such information stored in any system files that is shipped during VB application install I Know the restriction is there. But how to get the Upper limit whether it is based on the memory or any other parameter..... Or on what parameter this restriction get used ...Show All
Visual C++ Playing Simple Audio (Wave)
Hi folks, I'd just like to know how I can use .NET to play a wave file -Zero In .NET 2.0 System::Media::SoundPlayer. In .NET 1.x You can export PlaySound Win32 API function. ...Show All
