Wing Lee's Q&A profile
Windows Forms ComboBox issue
Hi all, I'm having serious trouble with an thing that is supposed work without troubles. I'm using VS 1.1 with XP pro for an Win32 app. Thing is: Have an form with an ComboBox, that is filled from an Business Object, to have the name displayed,  ...Show All
Visual Studio Restoring Add-Ins after Resetting the IDE
Hi, When i reset the IDE by "devenv /resetsettings" from the commandline, my add-in gets removed from the 'Tools' menu. Then i need to drag it from the Tools\Customize.. to the 'Tools' menu. Can anyone tell me how to restore my Add-in to the Tools menu after resetting the IDE or point me articles regarding this Hi Padma, When you do a /resetsettings, the command bars are reset to defaults and you lose th ...Show All
Windows Forms Checking Color
Howdy folks! I was wondering, if there was a way using .NET to check a certain point for it's color Or perhaps, load an image and check a certain point on it for certain colors Is that possible Thanks! Thank you&nbs ...Show All
Visual Basic Sin, Cos functions appear not declare
I wanted to use the sin function so i searched the code and inputed it under button1_click. The code was sin(number) So i input the code sin(5), but it says function not declared I dont know hwo to use the sin function so here is what i want, can smeone work out the code for me There will be an integer in textbox1 and when i click button1 the number shuld be sined and show in textbox2 Also how can i use the squ ...Show All
Windows Forms App takes forever to load... how to put a loading window...
Hi, My app takes forever to load.... how do I put like a loading window that basically lets the user know that the app is loading Just like popular apps like Dreamweaver or Photoshop... they all have a loading window first and then the app app ...Show All
Visual C++ IAccessible::accNavigate stack no balance issue
IAccessible::accNavigate stack no balance issue Please see blow code sample, hr = pacc->accNavigate(dwNav, varChild, &varT); if hr==E_INVALIDARG { pacc->accLocation(&rc1.left, &rc1.top, &rc1.right, &rc1.bottom, varChild); } I know when hr==S_OK then should call others. My question is if such kind above code. Why we blocke ...Show All
Visual Studio 2008 (Pre-release) WsDualHttpBinding fails if subscriber forgets to unsubscribe
OK, I have a WsDualHttpBinding... all is right with the world... However, if a subscriber forgets to unsubscribe the service does what you expect and tries to callback a non existent subscriber... The service is hosed at that point though because it seems the exception happens in the channel and does not recover. I tried trapping on my side so that I get do the unsubscribe myself, but it never gets to that code... As a result no subscr ...Show All
Visual C++ My First Line....
Hello, I have this code and I am very confused with it, The online resources say that this code should work but it does NOT on Visual Basic C++ Express Beta 2 My .ccp is named DEDLOC.cpp and so are other project names... This is the Code: for stdafx.cpp: _______________________________________________________________________ // stdafx.cpp : source file that includes just the standard includes // DEDLOC.pch will the the pre-compiled head ...Show All
Visual Studio Team System Walkthru question on "To save a document to the project portal"
I have a VMWare installation of the Trial version of VSTS running TFS in a single-server config. On the host I have the trial version of Team Suite. I am attempting to go through the walkthru's and have a question on the section intitled "Saving Your Work Item List to the Project Portal". In the subheading "To save a document to the project portal", step 2 states "Navigate to the project portal, and then in the File name ...Show All
.NET Development concurrency with one user ??? vb.2003
Hi I got a simple form with a grid bound to a dataset and a button that calls adapter.update when i modify the same record twice i got a concurrency error The code in the handler looks like this Try Me .BindingContext(DataGrid1).EndCurrentEdit() If DsFall1.HasChanges Then SqlAdGebruikers.Update(DsFall1.GetChanges()) &nbs ...Show All
Windows Forms How to search treeNode object in TreeView?
Hi there, I have an issue with TreeView Form controler, I would like to know if there is a way (and i'm sure there is) to search and "get" a trrenode from the treeView by the node name - string. My need is to add changes in existing treeView nodes that already exists and i don' know the index of each node. I write in C# and have few knowledge in .NET forms. TIA //iterate thorugh the TreeView Nodes for (int i = 0; i < ...Show All
Windows Forms Datagrid totals
Does someone knows how can i calculate the totals of a column in datagrid Hello dear. Here is the good Idea to calculate datagrid columns: Bound you datagrid to dataset or dataview. Than use the following command. Syntax: DirectCast (DataSet.Tables("Table").Compute("Sum(Field)", "FilterAsString", Integer ) Sample to sum Amount field of Orders ...Show All
SQL Server "product level is insufficient" message during flat file import
I'm using the import wizard to create a new table from a flat file source. The table gets created but no data gets copied. What's wrong Here's the report: Operation stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Error) &nbs ...Show All
Visual Basic vb6 to VB.Net upgrading Sub Main() error
Hi everyone.. thanks for taking a peek on my thread. Im upgrading a VB6 application. On its sub main, after it finishes, keeps jumping to other control on different forms. Is there a way to make my project to still go through code just the way VB6 does Sup cgraus.. No.. thats not what I meant. What I tried to say its that in VB6, my application once it finishes the Sub main(), it keeps working with other forms. I understand that in VB6, al ...Show All
Visual Basic My program wants internet access
For reasons unknown to me, my program suddenly wants to access the internet on startup. I do not know why it is doing this. I tried deleting the bin folder and rebuilding but the result is the same. It wants access before it even gets to my code. It doesn't even get my Form_Load Function. ...Show All
