FredMunro's Q&A profile
SQL Server how to dump database to MSDE
Hi In my app. i'm using sql server 2000 now I want to move to MSDE2000. I have two Queres. my application environment is Vb.net 1.how to dump my sqlserver database which i was already using to theMSDE and 2.can i connect this MSDE to MSSqlServer2000 hi, GRK wrote: Hi In my app. i'm using sql server 2000 now I want to move to MSDE2000. I have two Queres. my application environment is Vb.net 1.how to dump my sqlserver database which i was already using to theMSDE and you can "move" the database from the SQL Server 2000 to the MSDE instance in 2 easy ways.. 1. you can backup (full backup) the database on the original machine, move the backup to the MSDE machine, restore t ...Show All
Visual C# Screen update inside for loop
Hi friends, I think this is stupid, but don't know how to solve it :-) I don't know how to let user know how many items we've processed... for (int i = 0; i < totalItems, i++) { // do some tasks here /// task... task... task // Now here is where I want to // update status bar saying we've processed "i" items, // I think it works, but doesn't show anything, until you get to the // very latest item labelStatus.Text = i + " records updated" ; } Any ideas on how to let the user know how many records it's processed ... Thanks a lot!!! (I'm not using multiple threads, and for this application is not necessary) well you could do Application ...Show All
Visual Studio 2008 (Pre-release) Acces to a button in a DataTemplate
Hello everybody, In my application, I've got this XAML code: < Page.Resources > < SharepointListItemsViewer:NodeTemplateSelector x:Key = " nodeTemplateSelector " /> </ Page.Resources > < Graph:Graph Name = " theGraph " NodesBindingPath = " ChildNodes " CoefficientOfDampening = " 0.7 " FrameRate = " 0.5 " NodeTemplateSelector = " {StaticResource nodeTemplateSelector} " > < Graph:Graph.Resources > < Style TargetType = " {x:Type Button} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Button} " > < Border Name = " theBorder " BorderBrush = " Gray " Bor ...Show All
Visual Studio Express Editions Having trouble with setup
I did the manual installation of the Visual C++ Express Edition and it tells me as the last step in the directions to click on setup.exe and follow directions. The problem is when I click on setup.exe it tells me that it has a problem copying the C:\hiberfil.sys and when I searched for that file on my computer it was not there. What is this file and how am I supposed to fix the problem Thanks! C:\hiberfil.sys file is a system file that is normally hidden and will not normally appear in the root folder directory for the C drive. You can make it visible. Open any folder view in Windows Explorer and select Tools | Folder Options ... | View | Advanced settings: Hidden files and folders | select Show hidden ...Show All
Internet Explorer Development IE 7 Uninstall/Install Issues
This is not the common inability to uninstall IE 7. I have read through many of the problems other peoples have been having trying to uninstall certain versions of IE 7 to get the newest version. This is not what I am trying to do. What first started the issue was that I had installed IE 7. (Bad choice to begin with. I am a firm supporter of Mozilla FireFox.) After installing IE 7, I attempted to use the program for a website that is IE specific. However, after double clicking the IE 7 desktop icon that had been created, IE 7 had created an immediate error and had to be closed. I couldn't tell what error had been created but I know its on a different line and with a different code every time when I read the "detail ...Show All
SQL Server getting last result in report builder
Hi friends i need to advise on "filters" on a report builder report. say i've 2 entities patient and test results. (1-many relationship). as you all know ,when creating report model, based on data types,VS automatically creates aggreates attributes for us(like "First ..date","Last date" etc.,) which is cool. our client what to create a report where they want to get last test result for each patient. i thought its simple and i added patient name (from Patient entity) and "date of result"(i dragged "Last date of result" from this attribute) up to here everything works fine but the test result which is a string ,i get all test results!! but we want only last test result. i tried to add a filte ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .NET backwards compatibility
Hey everyone, I'm new to C# and the .NET framework. I recently decided to check it out because I heard about XNA and wanted to play with it. I was looking around for some things that were written in C#, games specifically and I came across Arena Wars. When I try to run it it tells me I need a 1.x version of the .NET framework, I have 2.0 installed. Does that mean that it's not backwards compatible and that end users will eventually need two or three different versions of the framework installed in order to reliably run programs written in C# Yeah the only version of the .NET framework I have installed is the 2.0. So am I correct then that newer versions of the framework are not backwards compatible with ol ...Show All
SQL Server Server options are not being executed from local programatically code??
Dear all, For example, executing a DTSX stored in a server, execution is fine and successfully but the log file attached to that DTSX is not created at all after the execution. Otherwise if I'm going to execute from the server everything is fine: log file is created and gathering the usual information. Let me know if exists any option for to enable this from the own DTSX. If I run local packages log files are created without problems. Thanks in advance, No. What is the path to the file I'm trying to determine if its a UNC: \\MyServer\Myfilelocation\Myfile.log or a local path: c:\Myfilelocation\Myfile.log -Jamie ...Show All
Visual Studio Release 2!
So I got a marketing email for a new product called xCelsius from BusinessObjects, but I did not receive anything to tell me that Release 2 is available. I went to their website to see if there was an update as to the release time frame and instead found a download page. http://www.businessobjects.com/products/reporting/crystalreports/xi_release_2.asp This release 2 it's available for the version bundled with VS2005 Pro RTM Sorry if this question is out of topic. Regards ...Show All
Windows Search Technologies Windows 2003 Indexing Service Custom Properties (PDF Files)
Greetings, I am using DSOFile obj to save/retrieve custom file property (MyCustomProperty) information to PDF files (Works Great!) I’d like to now include the MyCustomProperty to MS Index Service Catalog… I changed the following reg setting as follows… [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Catalogs\MyIndex\Properties] "B725F130-47EF-101A-A5F1-02608C9EEBAB MyCustomProperty"="31,128,1,1" Then Stopped MIS and deleted the catalog files and restarted MIS… When you view the property list from MMC the MyCustomPropery doesn’t show up… Is this not possible I thought MIS was able to accept Custom Properties… What am I doing wrong ...Show All
Windows Forms Combo Box
When creating a Combo Box, Can I populate the drop down options from an XML file Hi, In theory can load it from any kind of source but not via the designer. These kind of things need to be done via code. Here is an example: http://www.functionx.com/vcsharp/xml/comboboxitems.htm Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
.NET Development xml namespaces problem
I am experiencing a problem with xml namespaces , I would like to to create a document of exactly this format: < xml version='1.0' > < mso-application progid='Excel.Sheet' > <s:Workbook xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:s="urn:schemas-microsoft-com:office:spreadsheet"> <o:DocumentProperties> <o:Author>Somebody</o:Author> </o:DocumentProperties> <s:Styles> <s:Style s:ID="style1"> <s:Font s:Bold="1" /> </s:Style> </s:Styles> <s:Worksheet s:Name="SampleSheet"> <s:Table> <s:Row> <s:Cell s:StyleID=& ...Show All
SQL Server Restoring a database with T-SQL
Is there a way to restore a database backup file to the default data directory in a specific SQL 2005 instance using T-SQL I know that you can use the command RESTORE DATABASE, but that will restore the database files back to it original location. I also know that I can use the WITH MOVE option also, but is there a keyword or some special notation that I can use to make sure that the data/log files are moved to the default data directory for a specific SQL 2005 instance I am trying to avoid cases where the original file location does not exists in the current file system. Thanks in advance, Rodney No, but that would be a nice feature to have built in. I have my own utility that I built to create ...Show All
Internet Explorer Development IE 7 RC1 Breaks Scripts
I just installed IE 7 RC1 and my application scripts stopped working. An example: Dim IE, doc, pics Set IE = CreateObject("InternetExplorer.Application") IE.navigate "about:blank" Do until IE.ReadyState = 4: WScript.Sleep 50: Loop Set doc = IE.document doc.write("test test <img src='abc.jpg'> test") set pics = doc.all.tags("IMG") pics.length now returns 0 Help! Help! What should I modify Thanks in advance kk PS: It was still ok in the beta before RC1 Prabs Chavan wrote: Not sure whether it's' relevant to your problem, but try doing this: Create and set the following registry key: HKLM\Software\Microsoft\Internet ...Show All
Visual Studio Tools for Office RTF Woes in Outlook 2003 via VSTO 2005
I'm working on an Outlook 2003 VSTO application to generate an email in a specified format. I need the resulting rtf email to be reviewable before it is sent. Using redemption is NOT an option for 2 reasons: 1) it’s unlikely the Air Force will authorize a 3rd party add-on, and 2) My preliminary tests with redemption indicate that while the sent email message is indeed formatted when sent programatically, you can’t review and send it manually. - I get a blank page. We’re talking about some very simple formatting here – Bolding and underlining – but I can’t find a reliable way to make it happen. Do you have any ideas I got the help I needed with this problem from Sue Moshier at http://www.outlook-code.c ...Show All
