Nightmare_BE's Q&A profile
Visual Studio 2008 (Pre-release) vNext August CTP and Linq May CTP problem on VS 2005 Team Edition
Hi When install vNext and Linq at home on VS 2005 Pro Edition there is no problem. But when I intalled it at work on VS 2005 Team Edition the error list is full. It can not recognize something like this from c in db.Categories where c.CategoryID == categoryId select c).ToSequence().First(); it give errors like this ' ; exprected' 'invalid expression term 'in' ' and etc. but when I run the app it works fine!!! there is no intellisense in the query and even not recognize the Model Obejct assembly when I type using NorthwindModel although that there is a reference in the project. Like I said when I run the app it works but how to fix this 10x Just to clarify, you have the full suite of Visual Studio Team ...Show All
Visual C++ AfxLoadLibrary and mfc80u.dll & co
I have the following problem, with a C++ project in Visual Studio 2005: In a program somewhere is used "AfxLoadLibrary", where a certain plugin.dll is loaded (it's in a Plugins folder). But it doesn't work, the error is something like "invalid reference addressed" or so. That .dll is also compiled in the project. I check this .dll with dependencywalker, and this says that the .dll doesn't find mfc80u.dll, msvcr80.dll and msvcp80.dll (or similar names, I have trouble remembering them). These .dlls are spread everywhere on my system so I find it very weird that it doesn't find it. It even doesn't find them if I put these "80"-dlls in the same folder as the plugin dll. So I think the solutio ...Show All
Visual Studio Express Editions re- teddy bear
guys I have no desire to become involved in your squabbles......but let me say this... I asked a question, carsten was kind enough to answer....thanks carsten..... I will be in touch.....and although I have nothing against someone recommending a book......that is not what I want....I will go with carsten..... and I dont think this post was off topic until someone turned it into a personal issue there was a time not too long ago when these forums were very helpful..... but it is becoming more and more obvious that lately the emphisis is more to do with gaining points rather than helping......and I dont like it..... who locked the original thread ...and why. .....this is not right.... we are all entitled to out point ...Show All
Visual C# My DataSet Doesn't Work :S
Hi, In my project I have one DataSet ('Step') from this I have two tables ('Students' and 'PostCode'). I have set them up in both the same way. I can successfully call Step.Students.FindBy(PK) and the function will return either null or not null depending on the results it finds, which is what it should do. However my second table I call Step.PostCode.FindBy(PK) and it always returns null no matter what is in the database. It actually returns null for everything, select, count etc. It looks to me like the dataset isn't actually connecting, even though my GridView successfully shows the content of the table I originally thought the changes weren't being committed but even when I use AcceptChanges() it still doesn't work. One thought I have ...Show All
Visual Studio Express Editions displaying formatted text in editbox in vc++
Hello Sir, i want to display some formatted text in editbox control. example:---- ********************************** //(LINE1) MUNISH GUPTA) //(LINE2) ********************************** //(LINE 3) i have some problems in inserting a new line (line carriage) character. i have tried it with "\n" but it is not working properly. it just displays a solid vertical line just like cursor. Pls help in doing the same. Thanks and Regards Munish Gupta For Windows controls, the \n doesn't automatically get converted to the proper sequence like the CRT. So you need to do it yourself. To do a new line in a Windows control, first you must be sure that the style is set a ...Show All
SQL Server Backup/Restore Stored Procedure
Hi there I just want to create Stored Procedure which will do following thing i) Create a text file, which will have a Schema Script(including all the constraint & others, for a database(by passing Parameter) ii) the same file must also have, all the data from the selected database tables,in again plain text format (could be CSV, or Tab SV, etc...) I mean to say, the file should be act as the full backup of database, in plain text. The same need to be done in the reverse order,this SP will do following things i)Open the file created by first SP, create new database, with same name as backup in SP one ii) create the tables, by reading the Schema script. iii) Insert all the data in corr ...Show All
Smart Device Development static constructors in compact framework - size limit? - Solution
If anyone has seen this before, I would appreciate some advice or a workaround. I'm trying to use a static constructor in a class using several jagged arrays. I can add a few of them, and it works okay, but after a certain limit, the application either throws a "System.NotSupportedException" or a fatal application error 0xC00000005. I haven't found anything on the web, and the application runs fine on the desktop. I trimmed this down to make the jagged arrays readable, but it looks like a textbook example of static constructors. public class MainClass { static void Main() { huffcodetab.inithuff(); } } public class huffcodetab { private static int[][] ValTab0; private static int[][] ValTab1; ...Show All
Visual Studio Error using Sandcastle
My name is jessica and I want to document a codigo, I utilize sandcastle, generate before the xml utilizing a class library and write this promp: "C:\Archivos de programa\Sandcastle>MRefBuilder prueba.dll /out:reflection.org MrefBuilder (v2.2.61208.1447) Copyright c Microsoft 2006 Info: Loaded 0 assemblies for reflection and 0 dependency assemblies. Info: Wrote information on 0 namespaces, 0 types, and 0 members C:\Archivos de programa\Sandcastle\ProductionTools>XslTransform "C:\Archivos de programa\Sandcastle\ProductionTransforms\AddOverloads.xsl" reflection.org | "C:\ Archivos de programa\Sandcastle\ProductionTransforms\AddRoot.xsl" /arg:name=test | "C:\Archivos de programa\Sandcastle\ProductionTransforms\AddGuidFilenames.xsl ...Show All
.NET Development Just first access, SerializationException: Unable to find assembly
Hello, I have seen different flavour of this problem in different places, but as far as I concern none of them has a solution for it. I am using Remoting, .Net2.0, and C#. The server components are running as Windows Service. Whenever the service gets started (restart or install) Only the first access to the service throws the following exception. SerializationException: Unable to find assembly The subsequents access are working fine. Any idea why this happens Many thanks, Thanks Gandalf! I have tried that and i am not seeing anything in the detail list. Is it suppose to log the failed assembly automatically By the way it is just one specific assembly which I know the name and th ...Show All
Visual C# How do I programmatically shutdown the computer?
How do I programmatically shutdown the computer after waiting for 3 seconds and use a timer to countdown public class ClassName { private int secondsLeft = 3; //... //... private void ShutdownTimer_Tick( object sender, EventArgs e) { if ( this .secondsLeft == 0) { this .ShutdownTimer.stop(); System.Diagnostics. Process .Start( "Shutdown" , "-s" ); } else { this .label2.Text = "seconds left: " + this .secondsLeft.ToString(); secondsLeft--; } } private void Form1_Load( object sender, EventArgs e) { label2.Text = ShutdownTimer.Interval.ToString() + " Seconds" ; this.ShutDownTimer.Start(); } } ...Show All
Visual Studio Express Editions Virtual CD
According to Free virtual CD ROM for Windows XP 2.1 i was wondering, Is it possible to write a program in VB 2005 that can create a virtual CD drive It would be much more professional if i can insert this in my program accept for adding it as a background worker. Also I need to know how to check from the register (regedit) if the pc has installed .Net framework 2.0. That requires a file system device driver to make the .iso file look like a disk. That requires C++, the DDK and insider knowledge about file system drivers that MSFT distributes on a "need to know" basis only. You don't want to go there... ...Show All
Gadgets Basic Gadget Codes?
I've been looking all around the net for an understandable guide to making gadgets. So far, I've found nothing. Does anyone know a good guide, or could post the basic codes I need and files I need to create Look at other Gadgets is your best way of learning. And use the Sidebar reference for the details on all the Methods etc. Start with something simple, like displaying an image from a website, so you can figure out all the Gadget specific code - the XML and gadget.html for example. Then go onto something more complicated, like settings pages, of which I wrote a How To as so many people fall foul of the differences between read and readString. Then perhaps Flyouts. Once you've got all the figured out, you ...Show All
Windows Forms convert label1.text to the value of datetimepicker
I have label1.text = "5/11/2006 2:15:01 AM" and datetimepicker1 with format of dd/MM/yyyy HH:mm:ss when i try datetimepicker1.value = Convert.toDateTime(label1.text ); system threw error saying that the string is not in a correct format plz help thats correct since it will be of an invalid format. generally the format should be everything except the AM part. why don't you just do something like..... DateTime result = DateTime.Now; if (DateTime.TryParse(this.label1.Text, out result)) { this.dateTimePicker.Value = result; } this will try to parse the DateTime value and if it works then it will set the value to the datetimepicker value property. You can also maybe use the DateTime.TryParseExa ...Show All
SQL Server what is maximum no. of concurrent Logins Possible on a SQL server 2005 Database?
what is maximum no. of concurrent Logins Possible on a SQL server 2005 Database If this is a classroom based question then refer as Hemant's post, if not in the real world there is no issues in allowing as many number of connections as long as the database is optimized with good hardware configuration. ...Show All
SQL Server Reporting Services 2005 - Security Extention
Hi, I have compiled the security extension sample code that comes with the installation and I was able to successfully deploy it on the Reporting Server. Now my server asks me for username, password when browse to the http://servername/reports folder. I have configured one user as say "AdminUser". When I login as AdminUser, I am to see all my reports and browse thru them. I created one more user say "RegUser". I have logged in as AdminUser and I have give permissions to RegUser for some folders on report server. Until this point every thing just worked fine and absolutly no problems. The real problem shows up when the "RegUser" logs in to the system. He is able to login, but he cannot see any th ...Show All
