dinh xuan dung's Q&A profile
SQL Server Deploy of reports from command prompt
hi friends, can anyone tell me that , how can we deploy the reports from command prompt is there and command for that any help will be greatly appreaciated sandeep Yes. There is a tool named RS.EXE which will do this for you. You point it at a script which publishes the report on your behalf. Here is a BOL help topic about a sample script you could modify: http://msdn2.microsoft.com/en-us/library/ms160854(SQL.90).aspx ...Show All
.NET Development VB.Net and access booking system-Date question
I am currently producing a booking system. This booking system allows bookings to be taken in week blocks where the week starts on a saturday. How would I make it so that when the user types in a date and the date does not correspond to a saturday it is rejected by the system and tells you to click a date on a saturday There are several places you might do this, depending on your requirements and which tools you are using for the UI and for storing the data. At a fundamental level, you are likely going to have to provide a snippet of validation code that performs the date check for you. Can you provide more ...Show All
.NET Development How an assembly in VB can use in Visual C#
Hi Buddies, Can any one please help me understand to how an assembly in VB can use in Visual C# also, how CLR converts in to native code. Please help. Regards, Vinu.P.K c# crack wrote: Can any one please help me understand to how an assembly in VB can use in Visual C# Because they all compile to the same intermediate langugage (IL) and metadata. The original source language doesn't matter. c# crack wrote: how CLR converts in to native code. It has a just-in-time compiler that compiles to native code at runtime when the code is cal ...Show All
Windows Forms DataGridView + RowValidating = Index 4 does not have a value?
Hello, I recently setup my DataGridView to use the RowValidating event. However, whenever a user types something in to a NewRow (as to cause the DGV to create a new row and consider the current row's NewRow = false) and then hit escape to cancel the edit, the DataError exception goes nuts. It keeps spitting out "Index 4 does not exist" in what seems to be an infinite loop. Here is my RowValidating code: private void dgvMain_RowValidating( object sender, DataGridViewCellCancelEventArgs e) { if (dgvMain.Rows[e.RowIndex] != null && !dgvMain.Rows[e.RowIndex].IsNewRow) { string er ...Show All
.NET Development ASP.Net 2.0
hi everyone, i just post this question to the MCT community and i want to post it here hoping to find a solution to my problem. i have developed a web application in ASP.Net 2.0 and its working propely under the ASP.Net Developement Server, but when i publish it and accessed this web through the IE it's raise the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. This is a frequent problem faced by ASP.net 2.0 developers. I hope you are running IIS and the steps that I am writting here apply to IIS. In ca ...Show All
Visual C++ Places Bar on CFileDialog
Hello all, I'm using a custom save dialog inherited from the CFileDialog. The problem is that the Places Bar is hidden, and I can't show it. Can anyone help me please !! Are you using MFC 4.2 with VC6 If this is the case the following link is the answer: http://msdn.microsoft.com/msdnmag/issues/0800/c/ ...Show All
Visual C# Updating a database from dataset
I seem to have spent forever trying to get this to work. I have a data table in a form that is bound to a query that combines some data from two tables. However, I absolutely can't get Update to work! To make things simple, suppose the query lets the user enter a score for say, an NFL team. It take a score for every NFL team every week. That's no problem, it can be easily entered into a data table that's on the form. But how do I update the information Can anyone give me a code sample. Thanks much. Thank you! Your post of sample code caused me to stumble across what I was doing wrong. Thank you, thank you, th ...Show All
Visual Basic Visual Basic.net, I need help, data source and dataset updating using a data grid with a standard .exe
I am new to vb.net. can someone please tell me how I can update a data set with changes I make to a dataGrid. or if I need to code each individual change. I am writing a standard windows application. and I need to change the MS Access database using my program. I have been able to read it fine... it is just the writing that is the problem. the MSDN help on the subject has sent me in circles. and I just want a simple explanation of what to do. PLEASE HELP! Generate the needed commands by using the jet provider's OLEDBDataAdapter against the Access database. Define your select query and then ...Show All
Visual Studio How to set global variable ....
Hello How to set global variable value to 0 on change of group. I have a global variable. I use this variable for summing special fields (i can't use crystal sum function). I want to set this variable value to 0 on change of group. How do i do this tanx You need to reset the variable in the group footer. To do this: 1- Create a function called @resetttl the code should be something like: shared numbervar ttl := 0; 2- Place this function in the group footer. If you do not want a group footer then make the section - and the function -very short. ...Show All
Software Development for Windows Vista Workflow Serialization Problem
Hi to all, I have been using beta 2 bits for a couple of days and trying to upgrade my project with the new stuff. I've change a lot of things ( as you guys did in beta 2 :), but one problem still cannot be solved. I'm using the workflow designer control to change workflow definition. I have also a state machine workflow. If I load the workflow from file (xoml) no problem. But if I want to get a workflow definition from running workflow the serialize it and pass it to the workflow designer control I cannot edit the workflow. After debugging it seems that serializing state machine workflow it only serialize the root activity. Stefan, ...Show All
Visual Studio Express Editions Error Installing Visual Basic 2005 Express
I'm trying to install Visual Basic 2005 Express Edition Beta 2 and I have been getting this error. I have done research on google and read the readme and tried some of the things it said, but no success. Here is the attached image of the error I am getting: http://img113.echo.cx/img113/6286/vstudioerror1rm.jpg Can you verify you're an admin on the machine I'm also wondering if the file got corrupt during the download portion. Another thing to check is if you have a virus checker installed such as Norton or Kaspersky. They've been known to be overly agressive and lock files so our setup couldn't acces ...Show All
Windows Forms What is "Integrated WinXP"?
What is the difference between WinXP "Integrated" and the "Regular " versions I have Win98SE on my other PC and I am thinking about getting WinXP, but I was told to AVOID the "Integrated" version!!! Any help Thanks! hi, This forum is meant for posting programming related questions in Winforms in .net. Please post your thread in Microsoft newsgroups site. Seel the link below. Link: http://support.microsoft.com/newsgroups/default.aspx Thank you, Bhanu. ...Show All
.NET Development How does Process.Start() redirection work?
Hi All, I've been working on creating a program that automates my program building and testing. I am doing the code in C#, but there is a problem with the StreamReader.ReadLine() function where if it tries to read from a Process output pipe before the Process finishes writing to the pipe, it causes the thread reading from the pipe to block and the process then blocks too. However, if the process is short lived, I have a likelier chance of getting all the output. So now, I'm testing the Win32 API equivelants and a portion that I'm having issues on is collecting the stdout and stderr ...Show All
SQL Server Report Viewer Issue in Visual Studio 2005 Beta 2. for Microsoft Reporting Services
Hi I am trying to display Microsoft Reporting Service Reports from windows application. I have application window with Report viewer control. I have assigned valid path and URI from Server report properties in report viewer control. When I try to display the reports Error is " "The attempt to connect to the report server failed. Check your connection information and that the report server is compaitble version. The request failed with HTTP status 404: Not Found. Please help me..Do I need to set any credential for my reportviewer control then how this .reportViewer1.ServerReport.DisplayName = "SampleReport" ; this .reportV ...Show All
Smart Device Development Visual Studio 2005-Connecting Windows CE.NET Device
Hi Guys I am trying to install a Visual Basic 2005 application on a windows CE.NET device. I cannot see a CE.NET device in the list so I tried selecting Windows CE 5.0. It gave me a message cannot create a file as the file name already exists. Is there any option to connect to a Windows CE.NET device Any inputs will be highly appreciated. Correct. Keep in mind VS 2005 does not officially support CE 4.2 devices even with NETCF V2 SP1, so it might fail. In that case you should be able to deploy your application manually and run it. Also, your CE 4.2 device must have all dependencies ...Show All
