Vinod1239's Q&A profile
Windows Forms ListView images question
I'm having a problem with ListView. I've created an ImageList with two jpegs in it and assigned it to ListView's LargeIconsList. The images are displaying correctly while working in VS.NET but not while running the app. Any ideas what could be wrong ...Show All
Windows Live Developer Forums Sample: MSN AddIn - Outlook Calendar
Description A simple msn live addin that will integrate with Outlook Calendar. Set it up so that it's enabled when my status is anything other than "online" or "appear offline". Now when someone sends you a message the addin will check outlook to see if you currently have any appointments and reply with something like this: [15:33] dan (work): Auto-Response: I am currently in a meeting (test) scheduled to end at 4:00 PM If no appointments are found no reply is sent. The addin also keeps an internal list of users that it has replied to so that it doesn't send out the same info more than once to each person. This list is ...Show All
Visual C# Showing animated images in system tray!
Hi, I facing a small problem, would be great if someone could help. I need to show an animated gif for my application (C#) when its in the system tray. NotifyIcon takes only .ico files. How can I make this possible. Please do provide the code in C# if any. Thanks & REgards, Frenz Hi Frenz, There is no direct way you can do that, how ever the best way you can do that is put your icons in image list and in a timer interval loop through the icons. Hope this help ...Show All
Windows Forms Toolbar like those in .NET studio
When you mouse over a button on a toolbar button (say one of the control alignment buttons in the form designer) in .NET studio, the button appears raised and changes to a blue color. My question is how does the blue color extend to the entire area that the toolbarbutton takes up I wrote code to change the image displayed for a toolbarbutto ...Show All
Windows Forms Auto-complete not completing
Hi! I'm having trouble getting my custom TextBox subclass to exhibit Autocompletion. I'm using Visual C# 2005 Express, and I've verified the way it's supposed to work on normal TextBoxes; however, once derived the functionality is just gone... I'm using CustomSource, with a dynamically filled collection (though I've tried filling it a priori), and Appen (though I've tried Suggest too). I'm handling KeyDown, KeyPress and TextChanged for the control, but removing these has had no effect. I'm guessing I must be somehow bypassing or blocking the AutoComplete functionality, though I'm not sure how. Where's it done And what properties, if ...Show All
Visual C# How to invoke a Form from Different Project?
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i call the Form1 of App2 in some event of Form1 of App1 Regards, DSK Chakravarthy This should work. Set a reference to App2 and then in your event in App1. Assuming App2 is your namespace in the second app... App2.Form1 form = new App2.Form1() form.Show ...Show All
Software Development for Windows Vista How to provide paths to Runtime for CreateWorkflow from XOML?
My XOML contains custom activities. How do I provide the paths to the custom activities assembly so it can resolve them I know one way is to put all the assemblies together with the host. But sometimes the assembly are located with the "client" app, not the "runtime host". With WorkflowCompiler class you have librarypaths property, however the runtime compiles directly from XOML, and I can't see librarypaths for the runtime. In http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=208634&SiteID=1 Vihang seems to use TypeProvider as a runtime service. But that still doesn't solve the problem of paths. you can wri ...Show All
SQL Server DataBinding to radio button
I have a windows form containing some text boxes and radio buttons bount to an SQL Server database, with code like the following: this.tbBorrowerLastName.DataBindings.Add (new Binding("Text", dsData.Tables["Results"],"BorrowerLastName"(); this.rbMale.DataBindings.Add(new Binding("Checked", dsData.Tables["Results"],"Male")) If I add a new row and try to move there using the code below, nothing happens (neither movement to a new position nor error message), unless I remove the radio button bindings. (The same thing occurs if I attempt to move to any record that has a null val ...Show All
Visual Studio Express Editions valid assemble and com component for dll reference
Hi, I am trying to add a DLL reference into a C# project in 2005 Express. But it says not a valid assemble or com component. Any idea where shall I look into Thanks... If it’s not a COM or .NET dll then you shouldn’t be adding a reference that way, instead you’ll want to look into P/Invoking it. Is it a common Windows DLL If so take a look at Pinvoke.net for a huge collection of signatures that can be used to get it working in your app. If not, you’ll need to write your own, which in itself is pretty easy. Take a look at this Platform Invoke Tutorial for more info to get you started. ...Show All
Visual C# Loading html into an object
I need a way to convert a full web page I have in a string variable into an object like the IE Dom so I can get values out of cells in the tables on the web page. I am using VS 2005 for Software Testers (VSST). What I am testing is dynamic and I can't get away with direct record and playback. (As if anyone ever can) What I need to do is post information to the web server and then get out of the response some key information that needs to be used to create the next post . To post to the web server the test software uses the WebTestRequest object. To get data out of the response you use an Extraction Rule. The test developer (me) can cr ...Show All
Windows Forms Multi Column List
How can i create a list with multiple columns i've spend days trying to figure this out with both lists boxes and the datagrid control If you can use Visual Studio .NET Beta2 the new DataGridView control supports row selection mode. Just set SelectionMode = FullRowSelect. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Studio I get a null reference exception when add new elements to a CompartmentShape on JuneSDK -
i'm working with the JunSDK and i had troubles when i trying to use a compartment shape. I have a domain class that inherit from another ones abstract classes. There has a relation with another one and it's mapped to a comparment shape. So, when i ran the project, i could see the comparment shape and edit it's properties, but when i try to add a new element to the comparment i got an null reference exception :S. Also if i try to add via the domain explorer Vs simply hungs. thanks!. -jes I tried to repro this by unfolding a Class Diagram template, setting the DomainClass ModelClass to abstract, defining a new subclass of ModelClass cal ...Show All
Visual C# A common application for recursion
Hi, A common application for recursion is the problem of generating all possible permutations of a set of symbols. For the se consisting of symbols A,B and C there exists six permutations - namely, ABC, ACB, BAC, BCA, CBA and CAB. The set of permutations of N symbols is generated by taking each symbol in turn and prefixing it to all the permutations which result from the remaining N-1 symbols. It is therefore, possible to specify the permutations of a set of symbols in terms of permutations of a small set of symbols. How to write a recursive function program for generating all possible permutations of a set of symbols using C#. Thi ...Show All
Windows Forms datastore for my application?
Hello, i am creating an application thats is going to require alot of information to be saved for persistance. There are many options available to me but i need to ask a few questions on things i am unsure on XML I need to be able to append and remove data from the saved info, this seems near impossible without a dirty hack when it comes ...Show All
Windows Forms Beginner Question - SQL Server and Crystal Reports
I have Visual Studio 2003 Standard and have done a lot of programming with VB.NET but haven't used any of the other features of Visual Studio. I downloaded and installed the MSDE SQL server for Visual Studio 2003 and I would like to begin experimenting with it but I have no idea how to access it or how to get started. Also, does&n ...Show All
