rallydriver's Q&A profile
Visual C# abt system.threading.timer
Hi I want to read abt sytem.threading.timer.... I had a look on several examples and articles in many sites and MSDN..but i dont have any clear idea abt it. so please explain me, wht is use of system.threading.timer and its uses. and also explain abt new timercallback() . please explain me clearly, ... batista I am beginning a new app with two threads: a processing thread and a display thread. Each thread has an independent system.thr ...Show All
Software Development for Windows Vista Passing DependencyProperty parameters into a dynamically created activity?
Our project goal is to make a Workflow Manager of sorts that will, based on a given datatype passed into the workflow via ExternalEventArgs, dynamically load the correct associated activity to complete specific business processes related to the datatype. Once the ExternalEventArg parameter is sent into the workflow, a policy determines what datatype it is and what activity to load based on the datatype. Unfortunately, due to what appear to be li ...Show All
.NET Development HttpListener simultaneous connections give HttpListenerException
Hope someone can shed some light on this. I have seen lots of similar posts, but they tend to point to a client side restriction of 2 simultaneous connections, but I need to know what I can change on the server side. I have a C# webserver which uses HttpListener Note the Thread.Sleep(100) line which is to simulate getting real data to return. The code snippet is HttpListener listener = new HttpListener (); while (true) ...Show All
Software Development for Windows Vista BUG: StateMachineDesigner resizing and "Fit to Actual Size" icon not updating Location, Size and Bounds correcty?
When we use the Workflow Designer Control Example sample to host the StateMachineWorkflow root actitivity, we're finding issues when the host application is maximized and then restored as well as when the "Fit to Actual Size" icon is used to resize and redraw to the root activity in the resize designer control. Specifically, the StateMachineWorkflowDesigner Location, Size and Bounds properties are not being updated when the resizing occurs.  ...Show All
Windows Forms Customizing TableLayoutPanelDesigner
Hello, I'm developing a custom control that is to be used in a custom forms designer that I created. The control should have exactly two cells behaving like cells in a TableLayoutPanel, so I thought I'd build my control as an extension to TableLayoutPanel. Now I need to customize its designer, since I do not need all the design-time options that TableLayoutPanelDesigner offers. Problem is: TableLayoutPanelDesigner is an internal class, and ...Show All
Windows Forms MSN 7.0 Look and feel
Hi Could anyone give me a hint how to mimic the look and feel of MSN 7.0. //lasse ...Show All
Windows Forms TreeView
Hi, I have created a TreeView object in VB 2005 Beta 2. I have also created a Listview control. My problem is that I can't figure out how to display the treeview items in the listview. Please help. Prospery. The out-of-box ListView doesn't support DataBinding, so you have to build the list manually. Here is a code sample to help you along. It assumes you have a form with a TreeView named treeView1 and a ListView named listView1: ...Show All
Visual Studio Express Editions textbox_gotfocus event to event handler
I have been building an app to learn and make my life easier some day. I have way too many text boxes on it now and want to be able to handle some of the events for all the text boxes using a single sub. Can this be done Have been poking around with the addhandler stuff, but no luck as yet. In VB6 I might have built a 'real' large array of textboxes but this didn't seem possible in 2005, might have missed something thou.... TIA stubs ...Show All
SQL Server Pictures not displaying
I tried to search for this but couldnt get a satisfactory solution.. We have pictures stored in a table as BLOB files. When I try to display them through RS it just shows 'X' in that field... Any help is appreciated.. I have tried setting MIME type to JPG and doesn't work either. These images are stored in the SQL server as image (BLOB) files. The user just right clicks an image on his computer, se ...Show All
.NET Development Who can I add XML Serialization to Web Services
Hi all.. I have a problem.. I serialize a Object to XML, but I Want to retrieve the XML Serializated Object by a Web Service, The object serlialized is a RecordSet, by the creation of an array of 2 dimensions, the array is the object serialized, but i don't know how to retrieve the serlialized array in the web service. Pleace, I need help, if any knows some site or knows how to do that, pleace explain me!!! Tanks for the help.... ...Show All
.NET Development How to disable Events in .NET
Hiii, I want to disable the button click event of the page if some condition goes false in the page_load event of the user control in that page. Simply if i have clicked on the button and i want if some condition goes wrong in Page_Laod event i should not fire the Button Click event.. Please help me out. No, you must add and remove event handlers as i siad in my first post. That's the reason that i was trying to search for a b ...Show All
SQL Server How to deploy reports from my pc to my client's server?
Hi Guys, I am using MS Visual Studio .Net 2003 to design reports from the data in MS SQL Server. I have no problem to deploy, view or run the reports in my pc with MS SQL Reporting Services installed. Now, my client's server with MS SQL Reporting Services only installed, but no MS Visual Studio installed. How to deploy all my reports in my pc into my client's server so that user can view the reports in the server thru IE Thanks. ...Show All
Visual C# Does .NET V2.0 Framework work with app built with VS2003?
I have developed an app using C# in VS2003. However, when attempting to install the app on another machine that has .NET framework V2.0 installed I get an error saying that the install needs .NET V1.1. Does V2.0 framework not work with prior apps developed on V1.1 Must I downgrade to V1.1 to run my app on the new machine Well, in a general sense, yes, you'll have to develop programs for framework 2.0 on vs2005 ...Show All
Visual Studio 2008 (Pre-release) Read a System Table with DLinq
How can one read a "sql" system table like sys.tables using DLinq I have try the following, but no luck - Get "Incorrect syntax near '.'." string connection = "Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=AdventureWorks;Data Source=localhost" ; System.Data.DLinq. DataContext tDataContext = new System.Data.DLinq. DataContext ( connection ); string sql = "SELECT Name from sys.Tables" ...Show All
Visual C++ Problem with x64 hello world app...
Hi all, I've been trying to port a 32bit app to 64bit these past days, and finally got the thing to compile and link after a long struggle. needless to say, the thing refuses to run on my x64 XP machine, it's missing a number of libraries (assemblies, or whatever the term en vogue these days may be. God, does anybody remember the days when code was just code Sigh.) Anyhow.... I thus am now trying to create the simplest of all apps, a hello world ...Show All
