TMWKET's Q&A profile
Visual C# Put the icon of the program in notification area
hi dear friends I would like to put the icon of my program in notification area of task bar untill it's running and also make a menu for right click (when the user try to click or right click). how can I do this regards http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=806583&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=643672&SiteID=1 ...Show All
Software Development for Windows Vista Issue on deploying an ASP.net 2.0 application to Vista edition RTM
Hi All, I tried to deploy an Asp.net 2.0 application and on using the same i get following issue. I had used Classic .net application pool Following is the exception on accessing the url ... What's the possible fix. and steps. i had tried all the work around but could not achive. Please suggest... Server Error in Application "Default Web Site/RMSSETUP" Can you can you confirm that when you ran option #1 that the web.config is migrated and uses <system.webServer>/<handlers> and not <system.web>/<httpHandlers> Its possible the APPCMD.EXE tool requires admin and/or it can't get access to the web config. Thanks. ...Show All
Visual FoxPro reading a directory for a existing files
hi there! im new to vfp and i want to make a programm that reads a certain directory and which gives me back the number of the files in that directory and the filenames. can someone tell me how it works in vfp it will really be great... thanks in advanced! novelle first get the list of files from your directory into a dbf/cursor crea table xxx ; (tblnm c(8)) && create a temp table to store table names sele b use xxx shared alias xxx &&open that dbf DIMENSION TEMPARRAY(1,5) && declare array to store table names =ADIR(TEMPARRAY,"c:\temp\*.dbf") &&use adir to get table ...Show All
Smart Device Development Tap and Hold Funcationality?
Hello, I want to know is there any way to handle Tap and Hold Functionality which show the conext menu by default. Can I handle it myself like detect Tap and Hold and show a Conect Menu Like In Desktop application we handle MouseDown event and see e.Button ......... I hope you have understood what I want to ask. Best Regards, Rizwan You need to P/Invoke SHRecognizeGesture.If it returns GN_CONTEXTMENU, "tap-and-hold" has been detected. SHRecognizeGesture is called in response to MouseDown event Here is Peter Foot's post describing it in some details ...Show All
Visual Basic Extending Windows Explorer
Hi, I would like to add a tab to the fle properties dialog that would show and allow changes to user information about a file, much like Office apps add their stuff. Searched but can not find any kind of examples. Is it possible in VB Are there any VB current Visual Studio examples out there... tried all the code I could hunt down, lost Windows Explorer once and had to manually hack the registry to untangle, several would not convert to the current version. The MS explanation goes over my head and back again. Signed, Desperate. ...Show All
Visual Studio 2008 (Pre-release) Fatal Execution Engine Error
Ever since the Beta II CTP, we have been getting intermitent "Fatal Execution Engine Error"s when an IIS hosted service receives its first request. This seems most common after we modify the service's code and dont issue an iisreset before running the client. The error is occuring on all of our development machines (XP IIS 5.1) and our development servers (Server 2k3 IIS6). Has anyone else run into these issues If we revert to the February CTP bits, the errors go away. We are currently running the July CTP bits and receiving the following 3 errors within the eventlog: Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 1023 Date: 7/21/2006 Time: 8:43:47 AM User: N/A Computer: EWELLNITZ-W ...Show All
Visual Studio Team System where I can find Microsoft.Metadata.Prototype.DLL??
Dear All: Thank you to read my question.I have study the sample of Fxcop from the following Url http://msdn.microsoft.com/msdnmag/issues/04/06/Bugslayer/ But I can not find the Microsoft.Metadata.Prototype.DLL used by Bugslayer. where I can get it ...Show All
.NET Development How can I import a DLL at runtime?
I have a DLL called SampleWidget.dll, which contains a class called SampleWidget. I cannot merely import the dll at design time is because the DLL is a 'plugin' for my software. The end user will need to import more plugins as they use the software. With this in mind, How can I import the dll at runtime and create a new SampleWidget object Thanks in advance. System.Object target = Activator.CreateInstance(className); will create instance className.InvokeMember("execute", System.Reflection.BindingFlags.InvokeMethod, null,target,args1); will execute the required method. http://DotNetWithMe.blogspot.com vikas goyal ...Show All
.NET Development OutOfMemoryException when calling Assembly.ReflectionOnlyLoadFrom on large assembly.
I have a .NET 1.1 executable that is quite large: 400 megs or so. (The reason this file is so big is because it contains a very large embedded resource). I have a .NET 2.0 program that is getting an OutOfMemory exception when calling Assembly.ReflectionOnlyLoadFrom or when calling Assembly.LoadFrom on this exe. Is this assembly "too big " I wouldn't have thought that ReflectionOnlyLoadFrom would allocate so much memory Perhaps the file is being memory-mapped and allocating too much virtual address space The call stack is as follows below. Any help with this would be greatly appreciated. at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMar ...Show All
.NET Development dATSET XML
HOW DO you save a datra set to a existing xml file . I do not want to over write the file Hi, From your question, there might be 2 possibilities: 1. You may have a XML file that has the same structure as the dataset, and you would like to append the data on your dataset to that XML file. In this case, the immediate thing to do would be read the xml file to a temporary dataset and append the data to that and than save. 2. The XML file you have is not a part of the dataset you would like to save, in that case, I would use XmlReader/XmlWriter couple to seek to the correct position and write the dataset to the correct position. This will also work for case 1. The reason why you just can't append to ...Show All
Visual Studio Team System Product Feedback for Team Foundation?
I'm trying to find Product Feedback for Team Foundation Server is it under the Visual Studio Product Feedback category Anyway, here is the bug I discovered. If you have a Report Path on Reporting Services with the same name as a project you are trying to create in Team Foundation. The project creation dies (expected behavior because it's in the documentation), and the report path is deleted from your reporting services. Obviously if someone accidentally named their Team Foundation Project with the same name as their Report Repository, they didn't realize that it had the same name, and I'm sure in most cases they wouldn't want it to be deleted without warning. Fortunately it was an empty repository for me (I had planned to design ...Show All
Visual Basic Listing SQL Server Database in a list box VB 2005
Hi everyone, I am wondering if anyone can give me a hand with this... I know that in VB 6.0 and even VB .NET 2003 one was able to display SQL Servers and Databases using DMO... but I don't think this now applies to VB 2005.. I am capable of displaying available SQL Servers using SQLDATASOURCEENUMERATOR.. however when I cannot find a data type or namespace that will enable me to display an SQL Server's Databases in a list box... anyone can give me a hand .. In advance thank you all. if the above is correct then there are a couple of ways of doing this. either: execute a SQL command, and use a SqlDataReader to read back the names of the databases use the Microsoft.SqlServer namespaces to ob ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Kitchen Sink War" Download !!!
Download "Kitchen Sink War" for the XBOX 360 and See Screenshots at ... http://games.archor.com This is My Second Entry into "Dream, Build, Play" ... http://www.dreambuildplay.com Have Fun ! Sorry for the Confusion ... I meant that "Challenge" within the "Overall" Contest ... I hope they Show Some Screenshots, etc ... from ALL Entries. ...Show All
Software Development for Windows Vista Advanced Activity Design
I have an already existing workflow in production that runs a call external method activity only and needs to be enhanced to run an optional invoked workflow on the other side of an added ifElse Activity that runs a new custom composite activity. I have chosen to create a custom Invoke Workflow activity that accepts a TargetWorkflow type at runtime, and I understand I need to use the WorkflowQueuingService to pass the data that the invoked workflow has completed. However the examples I've seen has a standard InvokeWorkflowActivity on a main workflow used and not a custom one. I can't seem to get my Custom one to work with this situation. I keep getting "Invalid workflow parameter value" when I try to Create the Workflow Instance ...Show All
SQL Server Upload a Sql website to a host server
Hi I have built a site in Visual Web developer Express 2005. it works fine on my local machine but when I load it up to the server I get the following error message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) My connectionstring in my web config file: < add name = " ConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True " providerName ...Show All
