Fluxetreflux's Q&A profile
SQL Server Unable to read local eventlog (the parameter is incorrect)
In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date: 03.11.2005 Time: 17:14:47 User: N/A Computer: RESYSHADOW Description: Unable to read local eventlog (reason: The parameter is incorrect) Does anyone know what could be causing this. I have tried it on Windows XP SP2 with local Admin account and on Windows Server 2003 with Domain Ad ...Show All
Visual Studio Team System Useless output from TFS source control
It pains me to see that even the new Team System source control writes the same pointless drivel to the Output window in visual studio: ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation completed successfully at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM --- ...Show All
SQL Server how to create a mdf db with sql server 2005 ctp?
hi, i have installed the sql server 2005 ctp cause i couldn't install the sql server 2005 express on my computer. when i now create a database under the sql server 2005 management studio and connect from vs 2005 beta1 everything works fine for me. but i want to create and work with the single mdf files wich are created by sql server express edition via ADD NEW ITEM -> DATABASE -> DB.MDF . is it possible to create such a db file for xcopy deploayment use thanks Yavuz Bogazci Yavuz, The functionality you speak of is only available with SQL Server Express. What problems did you encounter while installing ...Show All
Windows Forms Show short filename in DataGrid column
Hello, In a table of my database, I have a field which represents the full name of a file. Actually, I bound this field to a column of my DataGrid. I would show the short name vs the full name. Does anyone know how I can do it without inherits the DataGridColumnStyle I wanted to use something like the Format event existing in some controls. I didn't find it in DataGrid, so... Thanks in advance for your reply. The DataGrid does not have any real-time formatting options that can provide what you are looking for. The best you can do is to create a custom column style where you perform your own "short file n ...Show All
Visual Studio Clearing Report Parameters
Using VS 2005 B2 and C#. I'm attempting to display two reports, allowing the user to switch between them. One report has a parameter, the other doesn't. When I attempt to display the "no parameter" report after I display the "parameter" report, I get an error that I'm trying to set a parameter that doesn't exist in my report. (Makes sense.) I've tried clearing the parameters with: myReportViewer .LocalReport.SetParameters(null); // throws an exception. myparams = new Microsoft.Reporting.WinForms. ReportParameter [0]; myReportViewer .LocalReport.SetParameters(myparams); // still get an error I guess I could create a R ...Show All
Visual Studio Express Editions How do you reload a form
Hi all, I know this is proberbly a really basic question but how do you reload a form, I'm need to put some code in a catch - end try block that will reload the form or allow the user to re enter a value in textbox2. The best way to do validation is to handle the leave event of the text box, and tell the user right away that they need to make a correction. You can also make changes to a textbox so it only accepts certain input, or use a maskedtextbox, if you're in VS2005. How do you mean reload Do you mean to restore it to it's initial state, or is your code throwing an exception If your text box ...Show All
Visual Studio Team System Application/System Designer question
Hi, I got beta installed on my laptop recently and was looking on all the new features and did walkthrough on Designers. They are wonderful. I don't know weather I had learn enough to put this as a new thread but I had the following question. With the application and system designer, I can create and visualize amazing multi-layer application architecture or windows/web application --> Windows/Web Service --> Database. But How to do same multi-layer architecture of having windows/web application --> Business data type/Objects (dlls, kind of separate projects) --> Database As I tried to do windows applicatio ...Show All
Smart Device Development emulator smartphone wce5.0 connect to internet?
Good morning, Do you know how we can configure the emulator smartphone wce5 in visual studio 2005 so the emulator can connect internet using IE Thank you so much for your instruction or the link to document you will let me know JulienT I have posted a blog about this subject on: http://blogs.msdn.com/cbrochu/archive/2005/11/04/ppcinternet.aspx It features a step-by-step guide and i will post pictures if there is enough interest. ...Show All
Smart Device Development GPS Sample Latitude/Longitude not correct
I have a Pharos GPS unit with both the Blue Tooth and USB interface. I used hypertermal on a XP machine with the USB interface to record some raw GPS output. Then I used the file redirect to run the GPS WM5.0 Sample code in VS2005 WM5.0 device emulator. It displays the correct information on the screen Lat 42 / lon 83 when reading the raw GPS data file that I created. When I move the program to my WM 5.0 device and connect up to the GPS unit over BT, I get strange readings for the lat/lon. Lat 0d 42' 24.36 Lon 0d 83' 28.65. They look shifted right. What is degrees show up in the minutes. The number of satellites and time are correc ...Show All
SQL Server Groupings in Matrix Layout?
Hello, I am trying to come up with a Matrix report using RS 2005 that looks like this one below. I have row data: question, columns data: Ethnicity and Gender, detail data: Gender average response and Ethnicity average reponse. I utlilized Report Wizard to create a report in a Matrix format , however I wasn't able to have Gender and Ethnicity column on the same line. The report wizard groups columns so Gender is a subset of Ethnicity or Ethnicity is a subset of Gender. How can is solve this issuee so that Gender and Ethnicity data is presented in a Matrix format and Gender and Ethnicity are not part of each other. Thank you! ...Show All
Visual Studio Team System Missing TfsReportDS and TfsOlapReportDS
Some time ago I noticed that the Reports folder in Team Explorer had a red x in the lower right hand corner and would not expand to show reports. Since I was not really using them yet I just ignored this error. Today I tried to create a new project and received this error. 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 ...Show All
Windows Forms Looking for a way to control Video display
Hi, I need a way to display a Video in .NET Windows Forms. What I need to do is: 1) Take a DVD video stream from file, "process it" byte by byte (alter it) and save it to another file (call this the "output" file). Obviously the DVD file could be massive so that's why I need to do this as a stream and not do the ...Show All
SQL Server April CTP:error when attaching db and when creating file in filegroup
Hi. I'm using SQL Server 2005 beta 2 April CTP: I am always getting this error while trying to attach a database and even when I try to create a file in a filegroup for table partitioning. Error: The file "<filename> " is compressed but does not reside in a read-only database or filegroup. The file must be decompressed. is it a security problem Thanks Christina Dear Mirek, Thanks for your input. I just tried it and as u said, it worked. Regards, Christina ...Show All
Visual C# Why are some method names prefixed with a '_'?
Why are some method names prefixed with a '_' I understand that this is a naming convention but what is it supposed to represent void _createSearchFolderMenu_Click( Microsoft.Office.Core. CommandBarButton Ctrl , ref bool CancelDefault ) Thanks in advance, Dave Normally you shouldn't start a name with an underscore. In some languages that is reserved for compiler-defined symbols. In the case of autogenerated event handlers though it should simply take the name of the control and append the event name. Therefore it would appear that you have a control called _createSearchFolderMenu and you are hand ...Show All
Visual FoxPro Urgent : Question abt using MDI form in VFP
Dear All, I am using VFP 5 & 6. I want to know is there VFP have MDI from function as same as VB (My boss is pushing me. >< ) I had set the form property of MDIForm to true with the parent and child form. However, it seems no different. Dose anyone have any suggestion or sample for reference Thx u very much!!!!! Ash I had solved this with setting the property of showwindow to 2 for parent window, showwindow to 1 for MDI Child. ^^ May i know should i set all form as modeless for multiple MDI child Thx Ash ...Show All
