Asher Aslan's Q&A profile
Smart Device Development VS2005 can't find SDK 1.1 for SmartPhone app using Localization
Hi, I get the following error trying to compile a CF 1.0 targeted application in VS2005: Error 14 Localization of projects targeting .NET Compact Framework 1.0 requires version 1.1 of the .NET Framework SDK, which is not detected on this machine. ViewerSP I have the .NET framework 1.1 installed, as suggested, which I downloaded from: http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID=262D25E3-F589-4842-8157-034D1E7CF3A3 Under my Program Files\Microsoft Visual Studio 8\SDK directory I only have one sub-folder named "v2.0". If VS knew about a 1.1 SDK I assume it would be put here( ) Any help is appreciated. regards, Scott Powell. VS 2005 does not insta ...Show All
Visual C# ApplySortCore for BindingList
I have used the SortableBindingList in http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnforms/html/winforms02182005.asp to implment the sorting and would like to know how to find out the sorting status ascending or descending from this class. Because it seems that whenever I click on a header it calls the method ApplySortCore with the parameters PropertyDescriptor property and ListSortDirection direction with the direction always set as Ascending. Thus how do I check the status of previous sorting so that I can do an alternate sort direction each time a header is clicked. There is a ListSortDirection SortDirection { get; } to find out the status but not sure how to use it.Thanks Regards Alu I dont think ...Show All
SQL Server attaching DB without .ldf file ???
hi !! I want to attach database to SQL Server, but I'hv only .mdf file. I lost .ldf file, how should i attach this DB to server Thanks SP i dont know whether you can change the db into emergency mode coz its currently recovering,anyways try alter database dbname set emergency if its not working try to bring the db online by, restore database dbname with recovery but i am not sure if this works ...........cool ...Show All
SharePoint Products and Technologies can't create workflow - sharepoint designer 2007
I'm testing out WSS3 & sharepoint designer. I want to create some custom workflows, but everytime I try to create on I get an error box "Failed to load the workflow". Any guesses as to what the problem is and how to fix it Hey, I've been doing caught by this and found a guy who sussed a good bit out here http://blogs.informationhub.com/jnadrowski/archive/2007/01/12/8128.aspx then I found out some more by accident that fixed my particular problem. basically, you get this error if there are any problems with instantiating the activity or accessing the dependencyproperties. Shame it's not a bit more meaningful, or even logged anywhere. It's just a rubbish error that means that som ...Show All
Windows Forms Text Size
How would you set the size of the text becuase I have this: RtextboxUC thisrichtextbox = GetCurrentTextBox(); thisrichtextbox.TextBox.Font.SizeInPoints = new Font (thisrichtextbox.Font, TextSizeCombo.SelectedItem); but I get 2 erros with the thisrichtextbox.TextBox.Font.SizeInPoints = new Font (thisrichtextbox.Font, TextSizeCombo.SelectedItem); 1:The best overloaded method match for 'System.Drawing.Font.Font(System.Drawing.Font, System.Drawing.FontStyle)' has some invalid arguments2:cannot convert from 'object' to 'System.Drawing.FontStyle' Thanks :) thisrichtextbox.TextBox.Font.SizeInPoints = new Font (thisrichtextbox.Font, Convert . ToSingle ( TextSizeCombo.SelectedItem)); ...Show All
Visual Studio Express Editions I want to know all that I can about Visual Studio Express.
1. What is visual studio express 2. Can I create Desktop Applications with it If not, Is there anything that Microsoft offers that will compile code into a Desktop Application 3. What codes does visual studio support I have no clue what visual studio is, so can someone tell me 1) Visual studio express is a FREE cut down NON TIME CONSTRAINT version of Visual Studio.NET 2005 Visual Studio express has these seperate IDE languages: VB.NET Express C# Express Visual Web Developer Express SQL Express VC++.NET Express there is only so much you can do in the express versions, of course this is where the catch is. Things like Windows Mobile development cannot be done in the express editions as well a ...Show All
Visual Studio 2008 (Pre-release) Memory Issues
Hi everyone!!! I have develop a service the acts as a bussiness layer, I never noticed that it consumes a large memory amount, but I was testing with a little concurrent client number (12) not too much, well 2 o 3 hours later I have seen one of my nightmares comes true: the service process grown up to 900MB!!! Yes belive me!! Well first at all I think: "I'm really a bad programmer and I'm not using well the Framework, let's review the code", I found 2 or 3 issues but nothing critical, then I tried again and guess what The same result, I was investgating the memory issues debugging with windbg and I noticed that no a lot of objects where maked to get collected, specially wcf related objects, and well the GC is working but real ...Show All
Visual Basic Connection String ISSUES ..URGENT
Currently I am developing a advanced VB 2005 application which Display’s/ Updates / (Creates New ) data in the database. For this purpose I am using databound controls, i.e. all my datagrids, textboxes etc.. are directly linked to the database. Initially I was using My.Settings.Con ,( where Con being the connection string in the app.config file) to reference the connection string used by these table adapters. Now the problem is that, due to a sudden change is requirement, I need to add in multiple connection strings ( i.e give users the option to connect to different databases during application start up ) . Since all these databases have the same table name and underlying structure I don’t need to change my p ...Show All
Windows Forms How if I want to run application right after the setup winzard finished
Hi! All: I'm using .NET deployment Project to pack my application(with C#), and here's the situation: I want some options for user to choose (one is run application immediately or open readme after installation) before this installation completed. I add a Checkbox dialog at the End Node , and then add the custom action (override the commit method for both/ either one situation as above). And the troubles are: 1. the CHECKBOX value can't be retrived after the Progress Node 2. Even I move the dialogbox before the Progress Node. The file/application work right before the installation winzard finished (coz the Commit action seems has been finished before the final dialogbox at the End Node ,). How can I solve those problems or any suggestions ...Show All
Software Development for Windows Vista Distributed Transaction problem
Hi, I'm having problems getting transactions to work correctly in a state machine workflow. Within the TransactionScope activity I have a Code activity that does a couple of database writes, another Code activity that sends out a notification email, and a SetState activity, which I want to be executed only if the rest of the code executes correctly. The WF runtime and DB are hosted on different servers. After fixing a "The partner transaction manager has disabled its support for remote/network transactions" error by enabling the MSDTC stuff on both machines, I'm now getting a new error: "The transaction has already been implicitly or explicitly committed or aborted (Exception from HRESULT: 0x8004D00E)" A ...Show All
SQL Server What is necessary to create SDF-Files on desktop legally?
I want to write a PC application that prepares a SQL Server Mobile Files (.SDF) and sends it to a PocketPC. I get this error message: "SQL Mobile usage is restricted on this platform. To use SQL Mobile, you must install SQL Server 2005, Visual Studio 2005, or the Tablet PC SKU" If I install "SQL Server 2005 Express" the error message disappears and everything works fine. Question: Is it allowed to create SDF-Files if "SQL Server 2005 Express" is installed or is it necessary that my customers buy "SQL Server 2005" It's faster, easer to use, requires little coding on your part and works over HTTP so it can go through firewalls and your SQL Server is not exposed. But, sure, you can use SQL Cli ...Show All
Visual Studio Express Editions Need help with drawing
Hi. I am new to VB but have been working with it for a while. I need help creating a white board program. I'm trying to get it to draw wherever the mouse pointer clicks but am not sure how to. I know how to draw lines but only defined lines. Not lines that a user can draw for them self. If any one can help it would be greatly appreciated! :D -Dyson Thanks Tall Dude. I'll test the code when I get to my main machine. Right now I'm on my laptop which is kind of slow, so yea... Thanks :D -Dyson ...Show All
Visual Studio 2008 (Pre-release) Dual Factor Service Authentication
Hi, What I would like to do is to establish "dual factor" authentication for a service. Basically, I want to ensure that the machine certificate and an appropriate username/password is supplied to the service in order to construct the appropriate claims. I've been toying around with various configuration file entries, and I can't seem to find the appropriate set of bindings to make this work. In these cases, the clients are presenting these items to the STS which is issuing the appropriate claims which are verified at the receiving service. There are two scenarios that need to be handled: 1) Utilize current Windows Login information along with the machine certificate 2) Utilize custom username/password along with the ...Show All
Visual Studio 2008 (Pre-release) Migration Support?
Hi, I have recently been looking through Linq and I've got to say how impressed I am so far. I was recently considering using ruby on rails for a number of projects due to its active record implementation, but this will allow similar benefits in .net. Does any one know of any plans to include ideas such as rails' migration into .net and possibly the Linq project so that database versions can be updated and downgraded using commands and thus making it easier to work with multiple versions. That is a wonderful idea. I haven't seen one around but a nice project to think about indeed. I am curious to see if anyone has seen anything similar. Thanks. Dinesh ...Show All
.NET Development Moving Items in Array List
When i add an item to my array list...its starting at the 2nd postion because there is already something in my [0] and [1] positions but i need to take whats in my [1] position and move it to my [2] postion and whats in my [2] positon i need to take to my [1] postion....i tried it like this but it does not work...any help if ( this .tempOrderManifest.Count == 2) { this .tempOrderManifest[1] + 1; this .tempOrderManifest[2] - 1; } you can use the Insert( position ) method...this may do it for you. Example: ArrayList t = new ArrayList(); t.Add("Bob"); t.Add("Jim"); oh wait... I want the next one to be inserted on top of Bob.... t.Insert(0, "Tim"); foreach(string cur ...Show All
