Landon Parks's Q&A profile
SQL Server Tell Us Your Express Story and Win $100!
Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx Here's my Sql Express story: I flat does NOT work! I cannot get sql express to deploy to IIS at all. I have spent over a 2 weeks following a zillion tips, tricks, ideas, thoughts, etc from MSDN forums, google searches, blogs,...you name it. It does NOT work except within Visual Studio. Deploy=Dead. Sql Express is suppose ...Show All
Software Development for Windows Vista Certified for Vista - TEST CASE 15
I have a question, regarding Certified for Vista, TEST CASE 15. Verify application installs to the correct folders by default (Req:2.3) and which one it says: 6. Default install directories are: a. Native x86 and x64 applications i. Program Files - %ProgramFiles% ii. User’s AppData - %APPDATA% iii. ProgramData – ALLUSERSPROFILE% Our application has 2 kind of shared user data: 1.) Sample data that is the same for all users, that is copied at the install time, at may be modified by users at application run-time 2.) License data (serial number) that is the same for all users, that is taken from user input at the install time, and also sholud be written at install time to a shared folder. In witch directory should I put this kind of ...Show All
.NET Development Asynchronous Vs Threading
Hi, I want to know what are the differences between Asynchronous invocation and threading.Does Asynchronous invocation creates a new thread Thanks, Suresh Hello, I know it has been a long time since there was activity in this thread but something you said hit directly on a problem I am having. I am using the asyncronous socket examples from MSDN as my base code. In the Recieve_Callback function I am raising an event that passes the recieved data up to another object to be parsed. Once parsed it uses a TableAdapter to insert the data into a SQL database. Once this is done it cycles back, calls the BeginRecieve routine again and waits for further data. The problem I am having is that once I I ...Show All
Visual Studio 2008 (Pre-release) Disabling Edits/Selections on FlowDocument elements in RichTextBox
Is there a simple way to disable editing on FlowDocument elements hosted within a RichTextBox What I want to do is to mark off certain portions of the document as being non-editable and non-selectable. I've tried using IsEnabled="false" and Focusable="false" but the RTB seems to ignore these attributes. Any help welcomed! Those aren't the only problems. For instance, you can't nest RichTextBoxes or FlowDocuments. When I tried putting a TextBlock inside a Flowdocument inside an RTB it wouldn't let me. This is a right bloody pain. When Avalon was first announced I asked this question and I was told that it would be possible to attach editing behaviours to various elem ...Show All
SQL Server Join on subquery with distinct?
Can someone give me some reasonable explanation why these two queries are performing dramatically different: First (slow): select tableA.column1, tableA.column2 from tableA join (select distinct col1,col2,col3 from myView) vw on vw.col1=tableA.col1 and vw.col2=tableA.col2 and vw.col3=tableA.col3 Second (fast): create table #tempTable (col1 varchar(200),col2 int,col3 varchar(200)) insert into #tempTable select distinct col1,col2,col3 from myView select tableA.column1, tableA.column2 from tableA join #tempTable vw on vw.col1=tableA.col1 and vw.col2=tableA.col2 and vw.col3=tableA.col3 SQL Server 2005 Express Win2K3 Server Regards, Marko Simic Can you post the plan for your queries, such as: set showplan_text on ...Show All
Visual Studio Express Editions How to use SELECT to find a similar not exact match
Hi. I have the following code : MyParam.Value = Me .TextBox1.Text MyCommand.Parameters.Add(MyParam) MyCommand.CommandText = "Select Blue, Description, Year, Model From Table1 Where Blue = " MyReader = MyCommand.ExecuteReader While MyReader.Read MySub = ListView1.Items.Add(n) MySub.SubItems.Add(MyReader(0)) MySub.SubItems.Add(MyReader(1)) End While What i want to do is that when i enter a value in the textbox it doesn't need to be exactly matching the values in the database, just a part of it. Example, let's say the "Blue" has 4 items as follows : 12145 12256 12188 12144 When i put only the value of "121", it will display (12145, ...Show All
Microsoft ISV Community Center Forums Run Time Error 9 when Calling a Userform
Hi folks, I am getting a run time error # 9 when I run a macro that calls a Userform or when I try to run code in a Userform module. The code performs beautifully on my computer, but it did not work on a coworker's computer. It ended up working on 3 out of the 5 computers I have tried it on. I have tried changing security settings to low, and a bunch of other stuff, but I cannot get the code to run on the computers that get the run time error on them when I try running the code on them. I get the run time error when I try to load or show any userform in the workbook and I get it if I try to run code that is in the userform module. However, if I paste the code into a regular module and run it, the code runs fine. Does anyone know what co ...Show All
Customer Care Framework NotificationContextChange
Hi, I would like to know, what event is raised in the Agent Desktop when a Hosted Application change the context thanks NotifiyContextChange is the event that is raised when the context is changed. You need to call FirecontextChange with the updated context.. see here for an example Matt B. ...Show All
Smart Device Development modal form will not close
I have a C#, .NET Compact Framework 2.0 SP1 application. I have encountered a recurring problem where modal Forms displayed using the .ShowDialog() method sometimes will not close when their Dispose() method is called. When this problem occurs, the modal Form remains on-screen as the top-most window but is completely unresponsive and cannot be closed. This problem is actually worse than an application crash because the only way out is to use the Settings > System > Memory > Running Programs control panel to ‘Stop’ the application. The modal Form in question does not have a CancelEventHandler for the ‘Closing’ event. Is this a known problem If so, I urgently need a fix or work-around for this problem. I don't kno ...Show All
Visual Studio Express Editions Help request on how to link applications
Even though I am using precompiled header file in my application the linker wants to see all the files associated with a project. I have several projects and the linker wants to allocate all the files even if these files are not directly used in the particular project. The solution I came up with is to load the same files (both .h and .cpp) to the - almost -all of the projects of the same solution. My question is : What is the best solution to this problem. I do not want to create some DLLs at the time being because the program is still in progress. Would a static library solve this problem If it does, how can I create a static library Or is there any other solution Any code snippets (a simple one will be good enough), a link whe ...Show All
Smart Device Development Transparent control
Hi, I'm developing smart device application by using CF1.0 in VS 2003. I need your help. my question is how to create a transparent Label or Panel. Please send your suggestion or links. Thanx. GANESAN .M Windows CE does not support transparency of controls. There is a similar thread on Smart Devices VB and C# forum which talks about solving your problem. Here's the link - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=60677&SiteID=1 ...Show All
SQL Server Transaction Log woes
I'm doing some work with sets. I start with a list of all available two member sets and put them into two tables, one labled 'tbl_master' (for lookups) and the other labled tb_2. I do some sorting and end up with something like this: tbl_master tbl_2 swap a b swap a b null 1 2 null 1 2 null 1 3 null 1 3 null 1 4 null 1 4 null 2 3 null 2 3 (there are around 140000 of these rows) (the swap column is used as part of the sorting, since the source data did not come presorted) next, I do a select into that joins tbl_2 to itself on the 'a' column, and then joins with tbl_master to check if the two b's form a valid entry in tbl_master (if so, the two 2-member sets from t ...Show All
Community Chat Creating A new OS
Hello, I just wanted to make a question What knowledge would it take to make A operating system if you could tell me Cause I am starting to get into building program it may take A long time but dont worry one day your data will be safer then ever I am hoping to do a couple of things in here against bug/virus Encryption and hard ways to get past stuff... If someone would be willing to help me out... Danka sir! Just curious, no big deal but why did you write A operating system Ah, forgive me, you probably speak English as a Second Language. I'm a HS English teacher so I get nosy about odd errors in grammar and syntax. To write an operating system, and then to compile it, debug it, compile it, debug it, until its ready ...Show All
Visual Studio 2008 (Pre-release) Projection into Interface
Will it be possible to project into an anonymous type and cause that type to be cast to an interface I know this question was asked some time ago (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=127275&SiteID=1), but I wanted to bring it up again to see what the thinking is on this point... Hi, I think that the interface feature would be very useful! Just to answer the zproxy's question - this would be interesting feature, but I'm not sure if it is that important for C#, because you can achieve similar thing using the C# 2.0 (it requires a bit more code, but I think it is good enough in the most cases): // let's have this interface for example.. interface ISomething { void Foo(int n); ...Show All
SQL Server window batch shell
how do I write a batch script that can tell whether sql express already exist with some instance on the current machine Checking the registry is not the supported way to do detection of SQL 2005, including Express. The registry changes from version to version, and sometimes even from service pack to service pack. For 2005, we released a WMI provider for SQL Server and we will be maintaining this going forward to allow for detection and even certain management tasks. You can write a WMI script to return information about installed instances of SQL Server. If SQL Server is not installed, you will get a trappable error caused by the failure to find the WMI namespace for SQL. Here is a C# sample that re ...Show All
