dpua's Q&A profile
Visual Studio 2008 (Pre-release) Soliciting community feedback: ClickOnce and permission elevation prompts in the internet zone
In the CTP and Betas of .NET 2.0, any ClickOnce-deployed application that desired elevated permissions was only allowed to prompt if the application were Authenticode-signed. Were such an application not signed, the deployment would simply fail. Subsequently, with the RTM release of .NET 2.0, this decision was reversed. Now, any ClickOnce application deployed from the Internet zone can prompt for permission elevation. Ostensibly, this would enable hobbyists, community apps and open-source projects to be able to publish their applications without spending the time and resources on Authenticode-signing. Given that Clic ...Show All
Visual Basic Cant' get click event to occur in TabControl TabPage
I created a Smart Device project in VB 2005. I added a TabControl with 5 TabPages on it. I added various controls in the tab page, but I need to get some code to work and have to test it. I installed a click event on the tab, but it doesn't work since a breakpoint on the code inside the event doesn't catch the click. I've tryed other events as well, but none of them are working either. Can anyone give me an idea as to why this isn't working Thanks. WOuld you by any chance have deleted the control and re-added it Doing that will leave event handling procedures intact but remove the hand ...Show All
Software Development for Windows Vista Scrollbar for Left handed
Will it be possible to set Scrollbar to the left side for left handed people This could be a solution for a tablet or an UMPC. What about a solution for WM5 Pocket PCs I haven't found a systemwide gesture application that allows for scrolling. Or even just a couple of up/down arrows on the botton left side of the screen. Any solution from the big M Or we lefties shall just remain forgotten ...Show All
Software Development for Windows Vista Is Sequential workflow can be a base workflow and can we access methods inside that by inheriting
Hi, I am trying to acheive Pure XAML in ASP.Net. The steps in my work 1. I had one Sequential WorkflowLibrary which is having code as shown below.I have removed sealed to make that inheritable. public int testCondition = 0; public void If_Exec( object sender, EventArgs e){ MessageBox .Show( "If Executed" );} public void Else_Exec( object sender, EventArgs e){ MessageBox .Show( "Else Executed" );} 2. I took one more workflowlibrary with sequential workflow with code separation(Workflow1.xoml) file. I have removed workflow1.xoml.cs file and Set the base class as Previous w ...Show All
Visual J# Problem with first program.
Im working on J# Express. Made first program. There is a button, the text label and the text box. When im writing in text box, label shows "writing", when i press the button, text box i cleared and the label shows Click x (where x is how many times i pushed the button). All working, but after cliking, text box is clear, x is increasing value, but the label still shows "writing". After second clicking it changes. The button code: private void button1_Click( Object sender, System.EventArgs e) { label1.set_Text( "Click " + x); x++; textBox1.set_Text( "" ); } As im very new to J# and Java, ...Show All
Software Development for Windows Vista How to use SharedConnectionWorkflowTransactionService?
The translation what i found in SDK is that SharedConnectionWorkflowTransactionService connect to the same DB using multiple services, for example:SqlWorkflowPersistenceService and SqlTrackingService use the same DB,and it can share data connection and transaction between two services. But in forum someone says that it also be used when host and DB in the same machine. Now, the thing I meet is that SqlWorkflowPersistenceService and SqlTrackingService use different DB, DB and host do not in a same machine,need i use SharedConnectionWorkflowTransactionService If needed,how to initialize using connectionString ...Show All
Visual C# foreach
Im using a hashtable to hold all my connected clients, I have a loop statment that sends data to each client to make sure there all connected and im using a foreach statment to go through the hashtable to fet the clients name to send the data. now if the server cant send the data to a client it will remove the client name from the hashtable, when the code loops through again I get a error saying the collection was modified if I click continue the loop will exit. how can I fix this little problem Yet another approach.... You could keep another Hashtable of inactive clients and then remove these after iteratin ...Show All
Visual Studio Installing the VS 2005 Setup through Unattended installation
Hi I installed the prerequisites(MS Dotnet Framework 2.0, XML Parser 6.0,J# redistributable 2.0)ON XP SP2 Machine before the VS Installation. I created the ini file as per the adminreadme.htm file and followed the instructions. for creating it the command used is path to setup.exe /createunattend path to ini file . I just removed SQL Server feature from the setup and then run through command line arguments. The command used is setup.exe /unattendfile path to ini file . But the VS setup was installing some files. when I checked in task manager setup.exe process was running. and when I checked the lo ...Show All
Visual Studio Team System DisposableFieldsShouldBeDisposed
Hi guys, Have a component that inherits from System.EnterpriseServices.ServicedComponent. I don't dispose of my object and thought I would get a warning or error from FXCop. Do I need to turn-something-on Keep an eye on http://forums.microsoft.com/msdn/ShowPost.aspx PostID=71294 We should have a rough estimate of a ship date by mid-September. Michael ...Show All
Visual C++ Is it possible to use the Microsoft Visual C++ Toolkit 2003 / compiler in VC++ 6.0?
Is it possible to use the Microsoft Visual C++ Toolkit 2003 / compiler in VC++ 6.0 If so, how would I go about doing this May I ask what makes you want to use the VC6.0 over the VC 2003 compiler The VC2003 compiler is more conformant to the standards and ensures your long term use of your code. In addition, the VC 2003 compiler inludes new optimizations not present in VC6.0 (e.g. Whole program optmization, LTCG). If you have some code that you need to port to VC2003, take a look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclang/html/vclrfBreakingChangesInVisualCCompiler.asp wh ...Show All
.NET Development What happened to ValidateAll() from VS 2005 Beta 1?
I used ValidateAll() function in Beta1 to cause each control in a usercontrol to raise Validate event. This function is no longer supported in Beta2 . I caused the same affect by calling this code foreach (Control con in this .Controls) { con.Select(); } Is there a better way to do that These are not working //SelectNextControl(this, true, true, true, true); //Invalidate(true); Invalidate(); //Update(); //Refresh(); Thank you ZAky ...Show All
Visual Basic File association
Hello people, quick question with hopefully a simple answer. Using VB.NET2003, after I associate a particular file type with my application, how do I go about coding my application to load that file upon execution For example, notepad.exe is simply an application, but whenever you double click a .TXT file, notepad loads and automatically loads the .TXT file into it's workspace. Thanks very much in advance. Nothing special in your program is needed, just the right registry entries. My Computer + Tools + Folder Options, File Types tab, New, type your file extension, click Change, Select program, Ok, Browse and pick your EXE. ...Show All
Windows Forms spell checker
Hi friends, I am trying to make a spell checker for my application which is in vb.net. The problem is I have to highlight multiple words which are wrongly spelled in the grid. I can highlight the rows but not the words. Can any one help me how to highlight the multiple words in the grid.I am using vb.net 2005 datagridview grid. Thanks Puneet Minda Hi, Below post link might be of some help for you. Link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=315892&SiteID=1 Please mark it as answered, if you are able to solve your problem. Thank you, Bhanu. ...Show All
Visual Studio Team System SQL Server 2005 April CTP - Invalid SSPI Packet Size
When I bring up SQL Server Management Studio and attempt to connect to the default database using windows authentication, I get a cannot connect error because of Invalid SSPI Packet Size. If I try again it works. This is causing me problems installing the application tier. Does anyone have a clue what I can do to fix this I'm seeing the SSPI packet size error in the June CTP as well. I've observed it on two different domains. I opened a bug in the "MSDN Product Feedback Center" (aka Ladybug) with bugid FDBK30644 to reflect that the June CTP did not fix this. If anyone else is s ...Show All
Visual Studio AssemblyInfoTask usage w/ Subversion problem
I've installed AssemblyInfoTask and now have it working, however, it does not work nicely with Subversion as the configuration management tool. Subversion has a .svn folder along with sub-folders that control the AssemblyInfo.cs file. There are several filenames that begin with the AssemblyInfo.cs* stem name. AssemblyInfoTask seems to recurse through the .svn area and generate build error because it does not find what it expects. Is there a way to get AssemblyInfoTask to ignore the .svn area -- it should not be recursing through there anyway. Also, XEmacs editor generates a backup file of AssemblyInfo.cs~ and it complained about that a ...Show All
