B.M.K's Q&A profile
Smart Device Development No CPUs available to select
Visual Studio 2003.NET. ARM41 CPU on devices. ActiveSync working and currently connected. Windows CE.NET Utilities V1.1 is installed. If I choose "select windows ce cpu" from the menu, the SelectWinCECPU dialog box has nothing in the drop-down list to select from. If I choose "Refresh" I get an error message : An unhandled exception has occurred in your application. ... Click Details and get : See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set ...Show All
Visual Studio 2008 (Pre-release) Is MediaElement/MediaPlayer support broken in December CTP?
I have tried playing around with the MediaElement in both Independent mode and using a MediaTimeline but could not properly control the running Video. I implemented Pause/Resume as well as Stop/Play to restart the Video but both failed to work properly. Both will stop the rendering frame at the instance of Stop/Pause but will never re-render new frames once Resume/Play is called. In both cases the Video sound restarts at the beginning and only starts to re-rendering frames after it hits the frame location I paused the Video. In the case of playing the Video to the end I get the MediaComplete event and it shows the last frame ...Show All
Windows Forms DataGridView Columns Reflecting User's Checkbox Choices
Hi everyone, First off, I am able to reflect the user's dropdown box selections. These selections act as the "where" clause in the select statement. However, the problem I'm currently facing is having the DataGridView columns reflect the user's choices with checkboxes (which are not on the DataGridView). In other words, I would like the user to determine whether or not a field is shown in the DataGridView. This means that if the user checks the Account checkbox, for example, then the select statement should show up as select Account from datasource where ... group by Account Further, in the ...Show All
.NET Development Specifying ClientChannel outbound communication Port
Hey All, Hopefully someone can help here, I have yet to find a solution to my problem. I am using .net remoting in the 2.0 framework. Everything works fine, but I want to be able to specify what port my client app uses to send messages to my server. Through some digging around I found out about the IDictionary object that the 'server' can use to specify port and proxyPort, but I need to do this for my clientchannel. I am using HttpClientChannel, and HttpServerChannel. I know someone here can help, the force is strong in this channel :) Brent We use WebRequest in the client channel. I'll move ...Show All
Visual C++ GDI+ : Drawing objects over TabControl
Hi, I've been working my way around GDI+ for a couple of weeks now. I made a little application where user can choose among several shapes and then move/place chosen shape using mouse, building this way a customized furniture set. The area where user can place each shape chosen is delimited by a panel control for which I defined the background color as having transparent. Everything is going smooth but... As second step, I added a tab control in order to have in first tab, the drawing area where use can place graphically each piece chosen and a second tab, the estimate or cost list of his customized furniture set. My problem is that ...Show All
Windows Forms PROBLEM: Microsoft.ApplicationBlocks.Data
I'm having a big problem with the DAL that comes with TaskVision and I'm hoping I'm just doing something silly and someone can tell me what I'm doing wrong. I changed TaskVision so I could use SQL Authentication (just changed the dbConn.ConnectionString in the web.config file and commented out the permission changes in the .sql file that defines the tables) Now, ...Show All
Visual Studio Express Editions A VC++ 7.1 Solution in VC 2005 express edition - libraries incompatible?
Hi folks, I am trying to build a project which uses static libraries compiled using a VC++ 7.1 compiler. The project (solution) was imported from 7.1 to 8.0. I do not see the expected results. I have certain part of code as source code and the rest as libraries. Are the outputs of 7.1 and 8.0 compilers not compatible In other words, can I link libraries generated using VC++ 7.1 into an 8.0 project TIA. Girish Mixing libraries built from different VS versions is not a supported scenario. Thanks, Ayman Shoukry VC++ Team ...Show All
Smart Device Development .NET interop in netcf
How do you call managed code from native in the .NET Compact Framework (.NET interop) Could you point me to some example code/project/solution /Lars Hi Lars With .NET CF 2.0 you can either - pass a managed delegate to your native code as a function pointer. See sample here: http://blog.opennetcf.org/ctacke/PermaLink,guid,add17dea-c5d9-46c4-b405-af213678fa10.aspx Or use COM interop Features and restrictions can be found here: http://msdn2.microsoft.com/en-us/library/k3f1t3ct.aspx Hope this helps. Michael ...Show All
SQL Server Unable to connect to Analysis Services as a client
Hi, I got SQL SERVER 2005 SP1 installed on a server and is running fine. I've installed BI studio on a client computer and I can access the database engine. On the client computer, while deloying my cube I get the following error : the project could not be deployed on the server "server_name\instance_name" due to connectivity problems. Verify that the server is running I've checked the project properties and in the deployment section I have the right server : "server_name\instance_name" and the right database : "database_name". I can access the server since i've created the datasource using the sqlclient provi ...Show All
Visual Studio Team System Three problems with Team Build: read-only paths, missing include paths and huge checkouts
Hi, I hope you can help me with this problem: I set up a Team Build-Server. Basically, it works, my small test-project is building fine. But with our real C++-application there are some problems: - Some of our projects are generating libs as output-files and have a common folder set as the folder where the final .lib should be stored. This folder is not under source-control, because it is empty. Now, when one of these projects is built, it tries to create this folder but it fails, because its parent-folder is read-only. I created a work-around and checked this empty folder in. But I think that's not very nice. - Our projects requ ...Show All
.NET Development Help with detecting a barcode scanner event
Hi, I am a .NET programming newbie. It is my first time posting here so i apologize in advance if i got the wrong forum. If it is the wrong forum, maybe you could point me in the right direction :) I am developing a desktop Windows inventory application using the .NET framework. The user will be scanning barcodes into a TextBox on a Windows form. The barcode scanners that are used in the company are not programmed to automatically send a carriage return at the end of the scan. (I checked this in Word/Notepad and there does not seem to be an end of line character in there). Is there any way to detect when the user has finishe ...Show All
Visual Basic Adding Events to Generic Lists
Hi folks, I built a generics class and i wish to build in events to link the events raise when the List object either adds or remove an item. I have seen the examples in the MSDN documentation which take care of the Onset, OnRemove... but I wish to add events such as: ItemRemoved(byval item as itemType), ItemAdded(byval item as itemType). Please I need help on this. Thanks ...Show All
.NET Development Security issue with using .NET to consume J2EE web services
Hi all, I am currently working on .NET(C#/ASP.NET) client with Apache/Axis/UNIX Web Services. The server is using Basic Authentication . I created a proxy as usual by adding web reference with the WS URI. And also, I created a service object as below: " EventService service = new EventService(); service.url = "web services URI here"; X509Certificate x509 = X509Certificate.CreateFromCertFile(Server.MapPath("SSL CERT NAME")); service.ClientCertificates.Add(x509); service.Credentials = new System.Net.NetworkCredential(USERNAME, PASSWORD); //invoke web method service.searchByName(); " However, there is always err ...Show All
Visual FoxPro Need to run "BUILD EXE" command in an EXE file
Hi All, We have about 100 projects. Time to time we need to recreate the individual EXE files for all projects. We want to create another executable program which is going to create all individual EXE files when needed. In foxpro command window we can run BUILD EXE command, but if we try to run it within the executable, we get error "Feature is not available". Is there any way around this Thank you very much for your help in advance. Vedat ARAL No. You can't build a new exe but you might however compile individual pieces at run time. ...Show All
Windows Forms control looks different in different language versions of OS
I have a form which has some textboxes, a richtext bxox and a few labels. It looks ok in my system which uses Win2K Eng. Version. But if I test my form in another system with Win2K Korean Version, the controls are not placed properly i.e. the locations are changed. I have tried with Locked property set to true, but no change. I'm not& ...Show All
