Robert Flores's Q&A profile
Windows Forms ClickOnce and MFC
Hi, I have an MFC-based application which I compile with Common Language Runtime Support (/clr) and VC++ 2005. I want to publish this program using ClickOnce technology. Using mageui.exe I have been finally successful in setting up a working set of manifests and deployed the program successfully from my website down to my local computer. So far so good. But then I try to start the programm and nothing seems to happen. A quick hourglass, th ...Show All
SQL Server DTS only copies first row
Hi, I'm trying to copy results from a view on one table to another table in a different db using DTS in SQL Server Management Studio Both source and destination db's are version 8.0.194 Everything reports as working, but when I check the results, only one row has copied - DTS reports that 1167 rows were copied. This happens to different sources and destinations so I doubt it's my query. When I perfrom the same DTS task using the o ...Show All
Windows Forms Runtime Performance
I've been looking at the article on VS 2005 and the new system certainly looks very tastey. Can anyone running the Whidbey beta offer comments on runtime performance. Is 2005 likely to be significantly better/ quicker at runtime I'm especially interested&nb ...Show All
SQL Server Query Analyzer in SQL 2005
I believe that Query Analyzer no longer exists in SQL 2005 and when I go to run saved Stored Procedure or any Transact SQL scripts I need to connect to a database every time a run one of my scripts. Is there a way to save my login so I don't have to login every time and also execute my scripts from the same window I can suggest you a work around for this, First time you use File--> New --> Database Eng ...Show All
Visual Studio Express Editions Does anyone knows if Visual Basic Express comes with a CHART component on the toolbox?
Does anyone knows if Visual Basic Express comes with a CHART component on the toolbox If it does not then questions: 1. When register we are allowed to download Graphics Server .NET. Is this a free CHART component with no time limit 2. Does the Proffessional Version of VS2005 comes with a CHART component The Chart component you are speaking of places some verbiage in the background of the charts for unl ...Show All
Smart Device Development How to Display Modal Dialog?
Basically, I have a fairly straightforward question. How to display a modal dialog form and then return to the calling form. Most of my experience to date is with VB6 and I'm probably just going about this the wrong way. I'm using the following code to display a Help|About dialog from a menu click. Fairly standard. private void mnuAbout_Click( object sender, EventArgs e) { frmAbout frm = new frmAbout(); frm.Sh ...Show All
Visual Studio VSS 2005 plugin missing
Hi, I have installed Visual Studio Team Suite Beta 2 + VSS 2005 because I need to access my customer's database via Internet. However, in VS 2005, in Options | Source Control | Plug-in Selection , the Visual SourceSafe (Internet) plugin is not available for selection. Only Visual Studio Team Foundation . I have another system with VS 2005 Standard + VSS 2005 and there, I can select the Visual SourceSafe (Internet) plugin. What am I missing Than ...Show All
Smart Device Development system will not resume ? dead? after following code
tested on HP6315: PlaySound(_T("Alarm2.wav"),NULL,SND_FILENAME | SND_ASYNC | SND_LOOP); Sleep(1000); GwesPowerOffSystem(); // never resumed, press the power button will not effect Please see this post for details on where to post non-VS 2005 questions http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=235332&SiteID=1 ...Show All
.NET Development Soapsuds.exe does not generate public properties
Hello, I have a simple remoting application. 1. Server (marshalbyvalue) - marked as serializable. Has public properties such as ServerID, Name, etc 2. ServerManager : MarshalByRefObject - is used to manage servers. Has methods such as Add(server), Update(Server). SingleCall with no state. When I use soapsuds.exe to generate my client class it generates all the public methods for ServerManager. However none of my public properties of ...Show All
Visual Studio Tools for Office a problem in setting a custom color over a cell's background
Hi, I have this problem in coloring a cell: if I use this code: Excel.Range cell = (Excel.Range) this .Cells[21, 4]; cell.Interior.Color = ColorTranslator.ToOle(Color.PeachPuff); I get the correct color on the cell; if instead I try the code: Excel.Range cell = (Excel.Range) this .Cells[21, 4]; // R=255, G=221, B=192 is a PeachPuff version shifted t ...Show All
Visual C# How I can detect hardware?
How I can detect a cd-rw or dvd-rw,etc. using Visual C# in .NET 2.0 you can use the System.IO namespace. In this, you can use the DriveInfo class and you can then go through the collection of drives returned and get its information you require. Example: System.IO.DriveInfo[] theDrives = System.IO.DriveInfo.GetDrives(); foreach (DriveInfo currentDrive in theDrives) { &nbs ...Show All
Windows Forms datagrid parent and child tables
I currently have a parent and child tables in a datagrid (via relastionship). all works as you would expect. but I would like to see the child on the same screen with out having to click on the child table to see its contects I woul ...Show All
Visual Studio Express Editions Windows Application Adding a User to AD. (System.Directory Services)
I'm building a windows application to add a user to Active Directory; I have an issue adding the Display name attribute. No error is displayed and other attributes are added just fine. (I'm running this from another PC and not logged on at the server console)I quote that because most references on the web show how to code it from console or add a Local user. Any Help would be greatly appreciated. Zap I an ...Show All
Windows Forms pre populated listview
I have a control that inherits from listview, and i wish the control to populate itself with items when dropped onto a form. Im not sure at what stage to populate the listview. at first i fired the populate method from the constructor. This&nbs ...Show All
SQL Server how do i empty the transaction log
good day to everybody I have here again encountered the problem that the transaction log came too big that it consume my 10 gig hardisk. How do I empty this in a simplest way. I follow the error message to backup the transaction log to empty the table, but i think it's still the same. I did not see the difference, in short nothing happens. it doesn't empty the transaction log. So what I did is make another database with different name (ex. tempd ...Show All
