Erin Geaney MSFT's Q&A profile
Visual Studio 2008 (Pre-release) Trying to run WPF samples
Trying the following windows SDK samples: BlackJack Calculator I keep getting errors on the xaml: these error were taken from the Calculator build: MyApp.xaml(1,14): error MC4629: 'http://schemas.microsoft.com/winfx/xaml/2005' is not a recognized namespace. Line 1, position 14. Window1.xaml(1,9): error MC4629: 'http://schemas.microsoft.com/winfx/xaml/2005' is not a recognized namespace. Line 1, position 9. Please help, Thanks, Janiv Ratson. Check the ReleaseNotes.htm file that came with Windows SDK. In section 6.6 it lists the samples that don't compile due to changes in t ...Show All
Windows Forms Scheduling Events???
Ok, I would really appreciate anyone’s help on this; if you’re out there rkimble maybe you could give a suggestion. I need to write a program to schedule tasks similar to how you would schedule things in window's scheduled events. Can anyone tell me how one would go about this or what I should start researching Thanks in advance!!! ...Show All
Visual C# Casting an enumeration that has a defined type..
public enum foo : ushort { foo, bar } ushort test = foo.bar; Cannot convert from 'Test.foo' to 'ushort' Sure, I can make variable of type foo, but I'm encoding the value to a network stream, so I want it as a ushort. The thing is, I specifically told the compiler the enum is of type ushort, so why do I have to typecast it You need to cast it :-) ushort test = (ushort)foo.bar; Oh - you said *why* do I have to cast it Because C# is a strongly typed language, IMO it requires casting more often than it really should, but at least it's not VB :P ...Show All
.NET Development windows application
Dear all, I created one application in vb.net 2005 and i used the clickonce concept. when i try to connect the application locally it is working fine. but when i try to connect using internet it is not working. my database is oracle. the error is ora-12545 connect failed.Because target host or object doesn't exists. Thanks in advance Murali.M I would check the database name, userid and password first. Make sure you are using the correct ones. Thanks Bei ...Show All
Windows Search Technologies Have an idea for a Windows Desktop Search Technical Chat? Post it here!
Microsoft is striving to deliver an integrated community experience that responds to the needs of our customers. We're committed to providing online communities that allow people to interact, collaborate, provide feedback, and seek help with Microsoft products and technologies. The Windows Desktop Search Forum is one example of such a community and we're currently exploring the possibility of expanding our community offerings via a series of Windows Desktop Search Technical Chats. So, with that in mind, we'd enjoy hearing from you if you have one or more ideas for a Technical C ...Show All
SQL Server Failed to generate a user instance of SQL Server
Hello all, I unisntall products as it are recommended (VS 2005 and SQL Server 2005 beta 2) in readme.txt of MSDN products subscription... I install VS 2005 Pro and I have no problem during install. Now, if I want to open database, I have this error mesage : "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed." In MBSA report, I see that the folders of SQL doesn't contain another account than Administrator and VS2005 users. I delete other accounts but the problem is the same. If I create a new project with a new database the problem is the same. ...Show All
Visual Studio Express Editions Visual C# Keeps asking for Registration
As of this moment I already have 2 "Thank you for registering Visual C# 2005 Express Edition!" e-mails in my inbox and just now, Visual C# asks again to register I'm OK with registering, but not if it keeps asking for it every day or two. What could be the problem Eric On further investigation, it appears that installs from the .img files do not require registration. ...Show All
Software Development for Windows Vista Global Run Time Variable
Is there a global variable that I can use across all the workflows in my workflows I am loooking for what the application variable is to asp.net, but within the workflow runtime. Thanks,. Marty Mardo - AFAIK there isn't anything in Wf that has those sematics - but it is pretty easy to add with your own WF service. First - define an interface (or abstract base class if you need common functionality) public interface IWFCachingService { void CacheObject(string key,object o); object GetCachedObject(string key); } Then provide an implementation of this service (pretty easy to do with hashtable - although if you need any cac ...Show All
.NET Development Visio SDK 2003 shapes events with C#
Hi I am working with the Visio SDK 2003. I manage to create a new action in the right-mouse event for shapes. but I need that the action I create shows a new form of the application when it gets clicked. this action object is handled as a visio cell, but this cell doesn't have any mouse event. It has a property called "FormulaU", this property only accept string instructions like "RUNADDON(\"NETWORK SHAPE PROPERTIES\")" What I need is an instruction like this that let me opens a new form in my application. I will appreciate any help you can give me; and if I am in the wrong forum, can you point me at someone that ca ...Show All
Visual Basic A complex coding for me
Ok this is some kind of thinking. I tried thinking of a way to structure the code but couldnt. Maybe this is not even possible Items on my Form: MonthCalendar1 Label1 Textbox1 Button1 Ok this is a kind of to-do-list. So everytime i select a date on the monthcalendar1, it should show me what things i have to do on label1 like "today collect laundry" Now how do i set the to-do-things. I select a date on the monthcalendar1, i type something like "got meeting" into the textbox and click button1 it should be set. Senario Ok i want to remind myself that on 30 jan 2006 i got to attend a meeting. So i select 30 jan 2006 on ...Show All
SQL Server Unique constraint with a twist
Hi, I'm not sure if this is possible, so hopefully you'll be able to help me . I want to ensure that values in one column are unique in thier group (which is stored in a second column) For example: ID Name Group 1 ABC G1 2 ABC G1 would be invalid because ABC is already in group 1 3 ABC G2 would be OK because it's in group 2 Thanks in advance! HI, you have to create a compound key, either within the Create Table statement or as a separate statement CONSTRAINT UQ_CompoundOne UNIQUE (col1, col2) See more in ...Show All
Windows Forms Dynamic control docking
Hi, can anyone tell me if VS 2005 Beta 2 contains a control that will allow me to dock a user control / form I'm interested in getting the sliding docking feature found in VS 2003 / 2005; the one where you can pin a panel if required (ala Toolbox, Server Explorer etc). Thanks for your help Graham hi Mike, Is the Dynamic Docking Control sample included somewhere if so could you please let us know the location. thanks Sesh ...Show All
Smart Device Development How can I get Ports(COM & LPT) List?
Hi! In Device manager list,Exists some Port like COM1 ,LPT1,....how can I get this List thank you. Hi The API EnumDevices returns a list of all active devices. Please find the API documentation here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceddk5/html/wce50lrfEnumDevices.asp If you only have to support Windows Mobile 5.0 based devices you may use the new APIs FindFirstDevice and FindNextDevice . See: ttp://msdn.microsoft.com/library/default.asp url=/library/en-us/wceddk5/html/wce50lrfFindFirstDevice.asp Let me know if this helps. Michael ...Show All
SQL Server Single Database w/ Multiple Subscribers Merge
I am attempting to have a single database with multiple subscribers. I am running into limitation when attempting to use a single database to perform a merge replication on behalf of a user (hostname) where the user changes for each call. I am using Microsoft SQL Server 2000 - 8.00.2039. The reason for doing this is to support a device that does not support SQL Server CE and providing a mechanism for merging data from the device into a database (subscriber) and then performing a merge with the publisher for that user. It is understood that the upload will upload any changes that occur on the subscribing database, regardless o ...Show All
Visual Studio Express Editions Is the express version the best visual studios C++ compiler?
Im asking because its free and im surprized that its free and Im wondering if the express version is kind of a demo version or something. Its a Cut down Version http://msdn.microsoft.com/vstudio/express/visualc/ ...Show All
