Sami Karaeen's Q&A profile
Software Development for Windows Vista CreateWorkflow Exception
I created a State Machine Workflow Console Application with the Visual Studio Project Wizard. When I run it I get an InvalidOperation Exception when calling the CreateWorkflow Method. Additional Information: "The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly" Anyone an idea how I can solve this problem thank you in advance. My perfmon is installed, and I've reinstalled the framework 3.5, and even with that the problem persists. I'm use Vista and VS2008 ...Show All
Smart Device Development Unable to change deployment directory to point to storage card!
i got a Dopod smartphone 577W running windows mobile 5.0. As the available ram in the phone is very limited, i would like to deploy my programs into the storage card instead. So, i fitted a micro sd card(1gig) into the phone and it was detected correctly. when i go to properties tab of VS2005 to change the 'Output file folder (generated)' directory, i found that i wasn't able to modify that field as it was masked out! When i tried to changed the 'Location of the output on device' from the drop down menu, there was no option to select storage card. i've verified that the storage card is working correctly. pls help! thanks! here's a screenshot: <a href=" http://photobucket.com " target="_bla ...Show All
SQL Server when Replicating not able to add a new subscriber
I was trying to do incremental replication.. i created new publication under replication,Local Publications,rightclick New publication. After publication is been created i right clicked that publication name and clicked on new subscription. in that wizard it is asking for subscribers, i clicked add sql server subscriber, there i provided server name , username as 'sa' and password 'sa' it is giving an error "SQL server replication requires the actual server name to make a connection to the server .Connections through a server alias,IP address , or any other alternate name are not supported.Specify the actual server name , 'servername'.(replication.Utilities)" actually i tried 1) ip address , username , password, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Deploying to 360
Hi, In the XNA Faq, when it talks about giving a project to other people to deploy on their 360's, it says you must give them all the assets and source code, so that they can build the program and squirt it onto their 360. My question is: will it work if you give them a project with the C# source files removed ie they have the assets (either as source graphics and sounds, or the built files) and the .obj's, just not the C# source. What happens if the project is dependant on an external DLL Will I need to ship a project that builds this, too Again, can I get away with excluding the C# source Many thanks, Mark No, you must currently supply the source as the project must be opened in Game Studio Express and ...Show All
Smart Device Development very newbie vb.net questions
im using visual basic 5 and am trying to experiment on vb.net smartphone projects. 1. for a battery meter app, how do i create it so that only the picturebox will show when launched (since im going to use it as a battery strength indicator) and how do i make it appear on the homescreen window 2. for a sms app, how do i get the numbers of messages sent i'd like to experiment on getting the first 5 digits of sms recipients and log them. please excuse me for asking these ambitious questions. im just very much excited at creating useful applications. Thank you for your time. if you're using VB5, you're not using vb.net ... are you talking about using VB.net in visual studio 200 5 ...Show All
.NET Development notifyIcon works with windows forms but not services....
If I create a NotifyIcon in a designer of a windows application and assign an icon to it - it works just fine. It shows up in the tray, and behaves just as it should. However, if I create it in a windows service, then install that service and run it - the icon doesn't show up in the tray. I have no idea why. Any suggestions oh also, I couldn't find a better forum to post this in, so hope this works. for that u have to set the properties of your service as Service type : Automatic and Account : Local System account. change that in your property window or you can do it programattically. Programatically , the following can help u. In your ProjectInstaller.Designer.cs, this .serviceProcessInstaller1 ...Show All
Windows Search Technologies What's the name of the 'Preview Text' column
Hmm, as all the column names have changed/aligned in WDS 3.0, does anyone know what the 'preview text' is now called for a query string. In WDS 2.X it was called 'Characterization' but nothing similar looks like it's in X:\Documents and Settings\All Users\Application Data\Microsoft\Search\Config\msscolmn.txt... Also, is there a nice regkey like 'WatchLog' that put out the queries to file anymore - that would help a lot... Ok, from this moment on, (umm, -> <- this one, just there, like now), I'm going to wait at least 15 minutes before posting a question I find the answer to 14 minutes later. The answer is 'System.Search.AutoSummary'. ...Show All
SQL Server Generating and Printing Reports
I've created a data flow where I have linked to an OLE DB Source then created a Flat File Destination. My file is now on my c: drive. I'd like to use that data to create a report, then print to a PDF. How would I do that Currently I was doing this in Access, but I am moving my processes to SSIS. I've gotten my answer: Write an application in VB using the Report Viewer from the toolbar to create and print the report Then execute that application from SSIS. ...Show All
SQL Server Unable delete remote files using FTP Task
I can create remote folder and delete it I also can create remote files but i can not delete remote files error warning is like subject any ides thanks Ignacio, Not sure if you noticed it; but the bug as been closed by MS as the could not reproduce it. I suggest you to create a valid case where they can reproduce it; otherwise I dont think the votes will count. ...Show All
Smart Device Development Breakpoints do not get hit...
Hello, a colleague has big troubles debugging compact framework 2.0 applications from his VS2005 environment (to be more specific: he has hijacked my PC because the troubles do not occur there ). The problem is that every CF2.0 application he runs will not break when run on a device, but the same application runs and hits the breakpoints on the device emulator. It doesn't matter if it is a big multi-project solution or just a simple little HelloWorld project, the debugger just isn't interested in breakpoints anymore. We searched over this forum, but none of the solutions work for him. Some of the things we found and tried are: Deleting de bin/obj folders. Showing the Debug toolbar. ...Show All
Visual Studio Team System Load test performance after IE 7 Beta 3 install
I'm noticing that load tests for web-services are noticeably slower when IE 7 Beta 3 is installed. Before I installed IE 7 B3 I was noticing an average response time in my test of about 5 seconds, with multiple tests. After I installed IE 7 B3 the average response time more than doubled to 11 seconds with multiple tests. After un-installing IE 7 B3 the response time seems to have returned to about 5 seconds. This is by no means scientific; but certainly not ignorable. Has this already been observed Josh Christie MS wrote: Right, I wouldn't think IE7 beta 3 would affect anything on the client or the server, but it appears that the "default" proxy setting is the problem. Try blanking that property out since &qu ...Show All
Visual Studio Express Editions Trouble with databinding
I have 2 forms on the first form I have a combobox and a datagridview on the second form I have a Detail datatable. I on the datatable I have itemID and itemName. I want to display the itemName of all of the items that I add to this datatable in the Combobox on the first form. I want to do this so that I can create a link between my datagridview and my combobox. So when I select Harddrives from the ComboBox I can get the Datagridview to display all of the Harddrives that I have in store along with the speeds and other information. And all off this other information is in the datatable that is on form 2. So how do I get the itemname to display in my combobox and then how do I get the itemname in the combobox to determine the displ ...Show All
Windows Forms Is there any Window Control to hold avi files other than window media player
Hi, I want to display avi files on some window control that i can put on my window form. Is there any such window control that support such property other than window media player itself. I am looking for like we have picture box for images (ex. with no borders or other ui like in window media player). Regards Chips. Here's a custom control that plays .avi files with the old Multimedia API. Add a new class to your project and paste this code: using System; using System.Drawing; using System.Windows.Forms; public class AviPanel : Panel { private bool mPlaying; private int mError; [System.Runtime.InteropServices.DllImport("winmm.dll")] private static extern int mciSendString(strin ...Show All
Visual Studio Tools for Office Access Outlook Address Book using C# or VB
I am developing a ASP.NET Website in C# and is going to be an Intranet Website. The Customers of the site with be authenticated through the Active Directory. Once the Customer accesses the home page, the page will identify the email address. Using the email address, I would like to get the Customer details from the Outlook Address Book. Please let me know if you have any ideas on how to access the Outlook address book object and read the information. Any help would be appreciated. Thanks The Outlook address book has pretty much all the required information about the Customers within the Organization. Have the Customer email address and need to get the rest of the information. ...Show All
Visual Studio Integration Service - DomainObjectId
The guide states: "Make sure that every Domain Class that you will want to make available for referencing has one Domain Property with its IsElementName property set to true as this will be considered by the service to be the identifier of the target class." All my classes are derived from NamedElement which has a name property that has the IsElementName set, so that should be fine. But my NamedElement class is double derived. So when I try to use integration services I get a messagebox with: "Unable to locate DomainObjectId in type "NameElement". Which is true of course because that atrribute is on NameElementBase since it's double derived. Moving / copying the attribute to NameElement seems to make the D ...Show All
