ckimmel's Q&A profile
Architecture Design consulting
Hi all, I would like to get a consulting in the following design senario , how to do it in the right way. I'm trying to develope a reusable component of communication between the PC and field devices. The devices have special communication protocol and a special way to make the physical comm. The are many devices kinds (Display , microcontrollers,...). I'm looking for the right way to write a global component. I'll use this component in many .Net projects. I thonk to do that with interface, and classes implement the interface, the reason because the devices are from different inheretane trees. The schema I thaught about is: ...Show All
Visual Studio Team System Is there any way to assign two resources or more for a workitem?
Hi there, Is there any way to assign not only one, but two or more people to a WorkItem. In Project i can assign a work to more than one people, but when i try to add a Workitem, it only permits me assign one person. Thanks, Guino. You cannot assign to multiple entries in the Assigned To drop down. However, if you're thinking of something like having a DEV and TEST owner for each work item, you can definitely add a Dev Owner and Test Owner field to the work item type where each field has a drop down like the Assigned To list. ...Show All
SQL Server Failed to acquire connection tempdb
Hi, I have an SSIS project, has a connection to tempdb (local sql2k5 server), 3 tasks, creating a table, populating the table, then deleting the table. of course when I test the connection i GET TEST Succesfull (I amusing sa ...) Whenever I run the package, all tasks become red colored indicating, I get the following error : --------------------------------------------------------------------------------------------------------------------------- [Execute SQL Task] Error: Failed to acquire connection "tempdb". connection may not be configured correctly or you may not have the right permissions on this connection.vance ---------- ...Show All
Visual C++ F5 won't check configuration and offer to recomplile. How to turn it on?
I'm having a problem with hitting F5 to start a debug session on one of my machines. On every other machine I use, it checks whether I've modified any files and then asks if I would like to recompile. But on this one machine, it doesn't ask. It just starts the debug session. Is there a way to make it compile and then debug This is happened to me over the years but it's mysterously started working properly again eventually. I just tried uninstalling, including deleting the directory, and reinstalling. Nothing. I'm guessing it's in some registry setting. Anyone know how to "fix" thi ...Show All
SQL Server Enabling the Service Broker
I'm trying to enable the Service Broker for Sql Server 2005 because I want to be able to use a SqlDependency object. I ran the following query to see if my local sql server service broker was enabled: SELECT is_broker_enabled FROM sys.databases WHERE name = 'dbname'; It came back with a value of 0 (which means it is not enabled). I tried executing the following sql command to enable it: ALTER DATABASE dbname SET ENABLE_BROKER; The query has been running for over 5 mins and just keeps spinning (should it take this long to enable the Service brfoker), so I cancel it. I even try to issue the command to see if the service broker i ...Show All
Visual Studio Express Editions how to test snippets of code
hi, I'm new to VC++ express edition. I just want to know that, if I have a snippet of code and I want to compile it and run it. How can I do it with out making a full project. is there any way to compile and test short programs. This is not possbile through the VS2005. Nevertheless, that is something that we are considering and currently investigating. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System Automating a web test
May I first say "thank you" to those who have answered my prior questions about coding web tests. Summary: My overall goal is to write a simple web test that places a test order on our web site, and then be able to schedule that test to run once per day. If the test fails, I'd like to either store that in a database, or email someone. Here's some difficulties I've run into so far: There is no exposed property in the post web test that says the test Passed or Failed There is no exposed property in the post request that says the request Passed or Failed There is no exposed property in the post request saying which ...Show All
Visual Basic I wan't a sample code
I am already used dao to add/update delete on simple supplier form,indentor form and buyer form. I wan't a simple souiltion as I have give above how rows are added deleted. Then how on the bases of added rows I could enter values in database. How to check new product selected in the combo box is not aready selected like all these stuff.If there is somebody knows simililar example stuff then please give me a link I have to add an invoice how can I do it. for this problem Design of the ms access form(single form) is ---------Upper Area--------[this should be inserted into invoice master Date (suggest me) ShipMode (opt ...Show All
Windows Forms How can I open Form2 from Form1???????
Hi, I am a newby in .net developing and windows forms. And sorry for my bad english. But how can I open Form2 ( it is in the same project folder ) from the Form1 I thought, that I must use this: #using "form2.h" //somewhere: form2->showDialog(); But this is not working...please help me juvi form2 * f2 = new form2; f2->ShowDialog(); ...Show All
Visual Studio Can the debugger call the method in the application to be debugged?
Can the method in the application to be debugged be called from the debugger To have to do the same processing as the method generated by the compiler when compiling by the debugger, this question is done. Best Regards. Shinya Watanabe Can be called the method,which in the application to be debugged, from the debugger To have to do the same processing by the debugger, which as the method generated by the compiler, this question is done. Best Regards. Shinya Watanabe ...Show All
Visual Studio 2008 (Pre-release) Rendering a button to a bitmap (whats wrong with this code?)
Seems simple enough, but I get an image of a black button instead. Here's my code... In XAML I have... .... <Grid.ColumnDefinitions> <ColumnDefinition/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> </Grid.RowDefinitions> <Button Width="50" Height="50" MinWidth="0" MinHeight="0" x:Name="Button" Content="Button" Click="ButtonClicked" Background="Red"/> .... In my Click handler I have... private void ButtonClicked(object sender, RoutedEventArgs e) { RenderTargetBitmap rtb = new RenderTargetBitmap((int)this.Button.ActualWidth, (int)this.Button.ActualHeight, 96d, 96 ...Show All
Visual Studio Supported Rendering Formats
I am planning to employ a LocalReport object in a .dll I'm writing which will be used to render reports. Is the LocalReport class going to support the same output formats that Reporting Services does I do like the myriad of output formats (PDF, Excel, CSV, XML, Tif) that Reporting Services currently offers and would hate to think that the report viewer would eliminate any of those formats. Any information would be appreciated. Thanks Ken Harris PDF export in local mode will be a huge addition for our particular project. Thank you so much for adding this! ...Show All
.NET Development Never trust a tickcount
Hi, For those who use tickcount for any calculation on your application... DO NOT USE IT. Simply, for some idiot reason the tickcount returns an integer, so if you have a server that runs all the time or if you have a multiprocessor environment the tickcount overflows and returns 0! But for my surprise if you use Tickcount.ToString() actually returns the string version of a 64bit value, so is not 0!!! Funny when you are trying to debug your application and ToString() says 43453345345444 but the property returns 0 One of those funny things, pretty sure that tickcount internally is a 64 bit value and the property cast it to a 32bi ...Show All
Visual C# ListView
Ok. I kno how to select a certain item in a ListBox programmically with as follows: listBox1.SelectedIndex = 3; But I would like to know if its possible with a ListView Can someone help me You can set the ListViewItem.Selected property to true: myListView.Items[3].Selected = true ; ...Show All
Smart Device Development PDA MAC address
Hi, I would like to know how to find the MAC address of PDA using c# Thanks OpenNETCF.org has classes for that. If you prefer not to use the library, you can look at the sources and implement it yourself. ...Show All
