mahima's Q&A profile
SQL Server SQL Agent job execution error
I am getting the following error message when trying to run the simplest of jobs. I cannot run any job at all on this server. Have I missed something during install Any ideas Thanks, di TITLE: Microsoft.SqlServer.Smo ------------------------------ Start failed for Job 'Star QA Daily'. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Start+Job&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ SQLSer ...Show All
Visual C++ Lesser evil in linking?
Hi, I have a native C/C++-program I should compile and link in VS2005. However, the program uses a dll that has been compiled in VS2003 and uses mfc71. So I'll have to include mfc71, which brings to my question, which is the lesser evil 1) Compiling and linking the program with VS2005, with crt8 and mfc71. 2) Compiling and linking the program with VS2005, but with crt71 and mfc71. 1) Works as far as I've tested, but Edit & Continue has this comment: c:\program files\microsoft visual studio 8\vc\include\crtdefs.h(1724) : warning C4656: 'threadlocaleinfostruct' : data type is new or has changed since the latest build, or is defined differently elsewhere 2) Seems to work, if I disable the C++ exceptions, otherwise there are linking erro ...Show All
Visual FoxPro how to use label with textbox...
Hello friends... I am new to visual foxpro. I have been learned programming in Foxpro 2.6 for Dos.. Now I want to learn visual foxpro.. I had make just a simple form with one textbox, one label control and one command button. I just want to do after running this form that I typed in textbox control it should be appear in label control by hitting Enter key after giving any data in textbox Or by clicking command button.. What codes I have to write... Need your help...thanks a lot I am not an expert but this is simple Fisrt way is with the commandbutton. We have one label, one textbox, one commandbutton. in the command button in click method type this code in: Thisform.label1. ...Show All
Visual Studio Data shows in dataset but not in report
Hi, I have a report that does not show the data of a column named "Amount" on the report. However, the data shows complete in the stored procedure and in the dataset created for the report. I am using the expression builder, yet with no success. I added to the stored procedure isnull(xx, 0) and I do get all zeros in the report, but again, in the dataset all the data is there. Thanks, Dario A detail I did not mentioned before is that I had imported the report from Reporting Services where everything works fine. Frustrated, I started a new web form with the report viewer control from scratch, and the all the numbers show. It seems that something goes wrong at conversion. ...Show All
SQL Server group by
Can you please tell me the difference between saying Select min(x),y from table group by y _____________________________________ Select x,y from table group by x,y having x = min(x) In the first case you get all distinct values of Y each one paired with the min value of the X calculated among the Y-grouped rows In the second case you are selecting all distinct pairs of rows and then get the one(s) that has the min X value. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple Mesh Move...
I'm working with DX9 in vb.net. I have looked all over for a simple way to move a mesh, not the camera, in a scene. I will have multiple meshes. I'm loading the mesh this way: Any quick solutions fellow developers Thanks to all! model = createMesh(Application.StartupPath & "\tomtom.x", True, True, Application.StartupPath) Function createMesh(ByVal fileSrc As String, ByVal materialOn As Boolean, ByVal textureOn As Boolean, ByVal TexPath As String) As oggX 'create an oggX structure from file defining file path, if use material and texture and texture path With createMesh 'create a mesh Dim materials() As ExtendedMaterial .mesh = Mesh.FromFile(fileSrc, MeshFlags.Managed, device, materials) 'memo ...Show All
Visual Basic Can you digitaly sign your program?
hey i was wondering can you digitaly sign your program and also make to be able to install into C:\Program Files is this possible thank you. You can also use sn.exe to sign your exe. ...Show All
Visual C# need help with code
I am trying to write a program kinda like a receipt and I am having trouble with this. What I need it to do is look like this: Please enter the price of the item: Please enter the quantity of the item: Please enter the total of the item: It needs to continue until you want to end it with like(-1) or something. Any suggestions It would be greatly appreciated. Thanks >> I need to be able to type any number in that field. You seem to be a bit confused. You can't type anything at all into an int or a decimal value. What you need are TextBox fields, say txtQuantity and txtPrice. Then you would write: int Quantity; decimal Price; void btnSave_Click(object sender EventArgs e) { Quantity = Convert.T ...Show All
Visual Studio 2008 (Pre-release) I am so fed up with WPF and .Net 3.0 !!!!
I have dutifully followed the development cycle of Vista WPF and .Net 3.0 through over a years CTP's and although it all sounds great, the delivery from MS is very poor. It's strange how a xbap application will work, then suddenly not work and then I have start a new application with the code from the old one and it works. The documentation provided by the SDK is so technical and incomplete it's virtually impossible to decipher and errors fly thick and fast through the Extensions to VS2005. I have a entire book shelf of now obsolete .NET 1.1 Framework ... volumes and volumes of it which was outdated before I even got it and was over $600. Now .Net 2.0, and .Net 3.0 Come on MS, where the hell are you going and how the hell do you thi ...Show All
Windows Forms Adding a new row to a dataset with databound controls
I'm working on converting an old VB6 program into .NET. I have a function that duplicates a record onto a new record using DAO. It keeps some fields and it changes or clears some of them and all of this is displayed on a form with bound textboxes and such that the user can edit the data once they duplicate the record. In the 6 program, they data.addnew method was called and the values were loaded in from holding array of values from the record being copied by, by doing data.recordset!field(0) = holdrecord(0). THen some of the values are changed on screen also by just changing text box values. This works great in 6, but I just cant figure out how to do it in .net. I created a new datarow as a copy of the record I want to copy and I can add ...Show All
Visual Studio Express Editions Highlighting text
How can I find the text within text box and highlight it For example: I write "text highlight" in text box and in other box I write "high" for searching in first box. Thanks. The word repeats over and over. For Example: When shall we three meet again When we find some time. It highlights only the first "we". ...Show All
SQL Server SSRS 2005: Matrix in list causes blank pages in PDF
I am trying to display data horizontally inside of a group footer of a table. I put a matrix inside of a list and then put that list inside of the table. Unfortunately, when the matrix grows, it causes the list to grow apparently and creates blank pages. I have to use the list to maintain the column width of the matrix. I found a MS article online talking about this problem in SSRS 2000, stating that it had been fixed with SP2. Does anyone know why this is still a problem in SSRS 2005 and how I can get around this issue This sort of problem seems to happen a lot when you place one data object inside of another one. I also encountered a problem before when I placed a table inside of another table. I ...Show All
Smart Device Development Storage Card File System Errors on Device Emulator
Hi I am having trouble with the Device Emulator mapped Storage Card File System. I am running a CE 6.0 image in the Emulator. I am in particular intermittently getting failures to open files for writing with the CREATE_ALWAYS flag. Delving into the VCEFSD driver, the problem is due to the initial Find call in the VCEFSD_CreateFileW function indicating that the file exists, when it doesn't really, and later it tries to delete the file and fails because it doesn't exist. Additionally, there are 2 calls to VCEFSD_GetFileAttributesW by code in CreateFile before the VCEFSD version is called, and both these call indicate the file does indeed not exist. Any ideas I have looked at the Shared Source for the Device Emulator V1, but haven't seen anyt ...Show All
Visual C++ Finding installed printers.
Hi I'm totally new to C++, I was previously doing programming in Java but the project i working on was not able to be complete in Java so I have to change to using C++. One part of my project is to be able to record every print jobs that's send to the print server in a database. And I must be able to select the print jobs that i want to release for printing. Hope some is able to help me on this. I have search the web and C++ books but all the codes i found so far are only partial and I have a really hard time trying to figure out how to debug the errors. Any sample codes will be very helpful. James This issue is off topic for the forums. A better place is the Win32 dev newsgroups at http://msd ...Show All
SQL Server Table ReportServer.dbo.ExecutionLog: definition of column
Hi, I'm looking for the definition of 3 columns in the ExecutionLog table. 1. TimeDataRetrieval 2. TimeProcessing 3. TimeRendering What each one of the times include and in what is the unit of this numbers (miliseconds) Thanks, Assaf They are in milliseconds. TimeDataRetrieval is the amount of time spent running the datasources for your report. TimeProcessing is the time spent processing the report. TimeRendering is the time spent generating the output format that you requested (for example, HTML). Note that these are not necessarily additive to the total time required to run the whole report because some activities -- such as timeprocessing and timedataretrieval can actuall ...Show All
