JM_F's Q&A profile
Windows Forms Alt+Tab icon when ShowInTaskbar = False
I have a form that I don't want in the taskbar, but I DO want in Alt+Tab. I gave the form a custom icon, which appears OK when ShowInTaskbar = True. When I set ShowInTaskbar = False and recompile, the Icon that appears in Alt+Tab  ...Show All
Visual C++ inline function
I have a set of functions that I'd like to make inline using VC++ 2003. The functions are compiled sparately from the calling function. I've attempted by placing inline before the function name and in the prototype statement but the function is not found. Do I need to use IMPORT, extern or something like that I can't seem to find an example anywhere to emulate. Thanks, RON C FUNCTION: inline int index_4 ( int jstr, int ks ...Show All
.NET Development Problem with InternalsVisibleToAttribute
Hi everyone, i have some internal methods in my projects and i want it to be acces from another project B so i added this attribute [assembly: InternalsVisibleTo ( "B" )] and it's working fine i can access those method now from project B the problem is another developer have the same solution we are using source control so he have the same version and it's not working on his machine despite the fact that when i press . i ...Show All
Visual C# How to free up memory in C# apps?
hi.. In my application so many variables and XML files are used .. eventhough after finishing off the work with the file, im closing that. It works fine with few number of files but when i uses more than 50 files the application crashes... So. is there any way to resolve this by clearing the memory. need help !!! You need to make sure you call Dispose on any variable that has that method, before ...Show All
Software Development for Windows Vista WorkflowRuntime.GetWorkflows() does not return any instance
Hi In my WF application if i call workflowRuntime.GetWorkflow(instanceId) then it returns correct workflow instance but if i call workflowRuntime.GetWorkflows() then it returns a list with 0 item. I host my workflow in ASP.NET and get WorkflowRuntime using this statement: WorkflowRuntime workflowRuntime = WorkflowRequestContext.Current.WorkflowRuntime; There is no problem with console application. What is this problem And ho ...Show All
Windows Forms Property Grid Troubles
Hows everyone doing. I have a question that I'm hoping someone can shed some light on. I have been using the PropertyGrid object to display the properties of an object that is selected in a tree view. This works fine however here is my iss ...Show All
Visual Studio 2008 (Pre-release) VS2005:WinFX - How Assign Events to Controls?
I am using VS2005, with Jan WFX CTP extensions, to play with Avalon (Cider designer) - So I can create the GUI and run the display seems OK. But when I want to add behaviour to a Button, I cannot find how to get to the Events. For example adding Button1._Click event code. (Normally I just double click the Button in the Designer to take me to the Click Handler event code) - This is no longer possible in Cider. So I attemp ...Show All
Visual Studio Team System Team System Beta 2 install error 26105
Encountered the following error message at the very end of the team system server install: Visual Studio 2005 Team Foundation App-Data Tier Beta 2 Setup : The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 26105. This is a clean single server install following the latest VSTF install guide using a Virtual Server 2005 with a Virtual ...Show All
Software Development for Windows Vista Project type is not supported by this installation
I have been struggling with this the entire day. I just installed for the first time: WinFX Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2 Windows Workflow Foundation Runtime Components Beta 2_2(EN) for x86 WorkflowTemplates - 2006-03-07 If I try to create any WWF project based on the new templates, I receive an error stating that "the project type is not supported by this installation". I have ...Show All
SQL Server Windows Mobil – SQL- Symbol MC70 Problem
Have an App using SQL CE 2.0. If the App is open and the device is powered off and then back on; the following happens when an update of the data base is attempted: 1. Pocket PC 2003 – IPAQ No problem all is well. 2. WM 2005 – Dell No problem all is well 3. WM 2005 – Symbol MC70 SQL error 0x80004005.** App i ...Show All
SQL Server Replication Deadlocks
Hi All, I need to get some assistance with some replication deadlocks im getting. We have two servers, which push information between each other, which I have a hunch could be a cause. Basically I keep getting the 'Agent Retry' Alert from SQL: DESCRIPTION: Error: 14152, Severity: 10, State: 1 Replication-Replication Distribution Subsystem: agent SQ01-EMS-SQ02\UK-183 scheduled for retry. Transaction (Process ID 68) was deadlocked on lock re ...Show All
Visual Studio Team System Invalid Build Type
I have a problem running build types through the IDE. I created our Team projects and added build types for each through the wizard. One project has no problem running the build type. Most of the others state "BuildTypeName is not a valid build type". And the last project states I need "update Build Permissions". None of my permissions changed in between creating any of these project, so I am not not sure why I get that last error. As far as the ...Show All
Windows Forms ComboBox getting uudated
I have a cbox that I added the data source table and column, works great in form1. Now I open another form and add some items that should show in the cbox dropdown. The cbox items in form 1 don't refresh until the form is reopened. How do I make it refresh Do I set the datasource and column when it drops down Thanks, MikeD I spotty, Remco suggested a similiar option but I originally opted to ...Show All
Visual Basic Saving User Settings
ok, so far my app allows people to choose a prog to add to the menu, however, closing an opening the prog resets everythin, how do i save so far this is how my app works: People add a program to the menu using openfiledialog, thats fine once they choose a program in openfiledialog, the filepath appears in textbox1, the menu item has the following code in it: process.star (textbox1.text) so it reads the filepath in textbo ...Show All
Visual Basic Open an existing Excel File
Hi, I have recently installed Microsoft Visual Basic 2005 Express Edition and would like to open an existing Excel file from a command button within the application I am making. Having scanned through the help and forum sites i have made the following code which does not provide any errors, however when I click the command button the mouse cursor changes to the 'Busy' cursor then nothing happens. Here is my code: Private Sub Button1_ ...Show All
