M-Dizzle's Q&A profile
Visual Basic multiple button with 1 method
hi there, i have set of 5 buttons, and i would like to use 1 method to listen to these 5 button's click event and display the particular name of the button when i click 1 of it using messagebox, i have no idea how to implement it, can anyone show me example: when i click Button1, a messagebox will prompt and show me "Button1", so as well for others Private Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Ha ...Show All
Software Development for Windows Vista Workflow won’t start...
again, hi everybody: my problem: my workflow wont start. what i did, is the following: calling the workflow from a class: WorkflowRuntime workflowRuntime = new WorkflowRuntime(); workflowRuntime.StartRuntime(); updateStatus("WorkflowRuntime started..."); workflowRuntime.WorkflowCompleted += OnWorkflowCompleted; Type type = typeof(AdminToolWF.CustomerFlow_A); --> workflowRuntime.StartWorkflow(type); updateStat ...Show All
Smart Device Development Smart Device Auth
I used smart device authentication program to avoid activesync with vs.net 2003 and CE.NET 4.2 Is there a similar method to avoid Activesync in VS 2005 and CE 5 , as my only other option is serial The VS documentation was updated before RTM and you should use that link. http://msdn2.microsoft.com/en-us/library/ms228708(VS.80).aspx ...Show All
Windows Forms Text does not appear on form load
Here is the problem. Certain controls don't display text. I will create a form in the IDE that has group boxes and combo boxes on it. The combo boxes only display text on the top line or the line that I select. When I click the dropdown, nothing else is displayed. As for the group boxes, the header displays, but any labels inside the text box don't display any text. They show up in the IDE, but not at runtime. I have a screen shot showing the ID ...Show All
Visual C++ Problem with Mixed Assembly and static initialization
Dear all, I have been quering Google about this but haven't been able to find a solution hence my post here. I have two projects under Visual Studio .NET 2005: - Project1, a static, native, library with no CLR support. - Project2 a mixed (native+CLR) project which requires Project1 and includes a header from it. When I launch the executable produced from Project2, I get an assertion from _CrtIsValidHeapPointer() or a crash if I chose to ignor ...Show All
Smart Device Development Unable to Edit Outlook Mobile contact using .net compact framework
Hi, Whenever I try to remove or edit and update a contact in pocket outlook using .net compact framework I get the following error.. Error: ============== System.InvalidOperationException was unhandled Message="Can't modify the item collection inside a foreach statement" StackTrace: at PimItemCollectionEnumerator.collection_ListChanged() at Microsoft.WindowsMobile.PocketOutlook.PimItemCollection.RemoveAt() at ...Show All
Visual C# UK Date Format
How can i get todays date in the UK format It seams to return an American format by default, and i can't find any documentation on how to change it. Thanks, Steve DateTime dt = DateTime .Now; System.Globalization. CultureInfo uk = new System.Globalization. CultureInfo ( "en-GB" ); //creates a new CultureInfo object based upon a culture code, here en-GB string s =dt.ToString(uk.DateTimeFormat); s ...Show All
Visual Studio Team System Edit changeset comments?
Is there a way to edit the comments of a change set after it's checked in There are times where I have accidently put the wrong comment on a check-in and it'd be nice if I could go back and fix it. Thanks, --Oren Command line: tf changeset xxxx UI: bring up the Find Changeset dialog. In Beta3 it's kinda circuitous: you can get to it from Branch, Label, & similar dialogs by choosing "changeset ...Show All
Visual Studio Express Editions C++/SDK fails to link empty app
I've installed Visual C++ express and the SDK as per instructions - everything makes sens, but when i try to do the last stage of the SDK set up - build an empty app - I get link errors such as: test1.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function _wWinMain@16 All paths look ok in the paths setup, i've tried both the GUI way of putting the SDK paths in and editing the file as well - everyt ...Show All
Windows Forms Designer support for embedded components
Hello, I have written a control. This control has an embedded component property. Example: public MyComponent:Component { .. // some properties here } public class MyControl:Control { public MyComponent embedded { get{...} set{...} } } The problem ...Show All
SQL Server "Server type" is disabled in SQL Server Management Studio
Hi, I'm trying to connect to a remote server using SQL Server management studio express. But the " server type " field is disabled. I'm not able to select the server type. It is set to "Database Engine". Because of this (I Guess) the connection to the remote SQL server 2005 is failing giving the following error: "An error has occurred while establishing a connection to the server. When connecting to SQL Ser ...Show All
Visual C# No clue about arrays, everything fails ...
I want to fill an array in the constructor of my object, and then use it in in another method. But no matter what I try, I can't get this right. It is too different from how arrays used to be. Either it does not compile, or the array remains null as in the example below. How should I do it class Calendar { private static int day,month; private static int [] daysPerMonth; public Calendar() { day=16; daysPerMonth[1] = 31; daysPerM ...Show All
Visual Basic VB.NET to VC# ?????
Hello All. I was wondering if there is an way to convert a Visual Basic.NET project to Visual C# project Is there any inbuilt tool in the Visual Studio IDE which willl allow me to do the same Awating Replies There is nothing in the VS.NET IDE that can do this, but I use SharpDevelop to convert code from C#.NET to VB.NET (it does the reverse also). The only caveat is that currently the released and "stabl ...Show All
SQL Server Hide matrix rows?
Hi, can somebody help me figuring out if the following is possible I have a matrix creating weeks out on "x-axis" and projects at "y-axis". For each project have i specified three rows, sum(Fields!hours.Value), sum(Fields!used.Value) and a total saying (sum)Fields!used.Value - sum(Fields!hours.Value). 12 13 14 15 16 A &n ...Show All
Visual Studio Team System Sql Server Management Studio is missing in Sept CTP
According to VSTS Beta3 installation Guide, I installed Sql Server for Sept CTP from en_SQL2005_STD_Servers_Sept2005.iso file. After installing sql successfully i don't see Sql Server Management studio installed. Am i missing something here Thanks, Anu There are 2 ISO files. A _SERVERS_ and a _TOOLS_. You'll need to get both ISO files. I seem to remember someone have a problem getting the Management Studio to install ...Show All
