chris441962's Q&A profile
SQL Server ReportViewer intellisense
Hi, I have a webform (in vs.net 2005) with a ReportViewer control on it but I don't get any intellisense in the codebehind file for the report viewer control. I have added a reference to Microsoft.ReportViewer.WebForms and I thought that would be enough. Has anybody had a similar problem Thanks, Lachlan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Build for Xbox 360 and Windows in one project
I have created a Visual Studio project template that can be built for either Xbox 360 or Windows, by selecting the correct platform in the VS IDE. There's nothing particularly clever about this, it just uses some of the conditional abilities of MSBuild projects to merge the properties of an Xbox 360 XNA project with a Windows XNA project. There's a slight problem though - the VS Express C# IDE has, by default, disabled the build configuration and platform settings to present a simpler interface to beginners. In order to use this project template you need to re-enable these features and should probably have a reasonable understanding of what they do. This could be the reason that the XNA devs have mentioned that building for both platforms ...Show All
Windows Forms Ending Backgroundworker
I'm just wondering if there are any specific functions that should be called from within the BackgroundWorker process in order to clean it up properly, or if you can just let it exit like a normal function No, you simply exit the DoWork event handler like any other function. The BackgroundWorker itself must be disposed but that's something you do from the thread that created the background worker in the first place, not from DoWork. If you added a BackgroundWorker to your form using the designer there is no need to dispose it, the generated code will take care of it. ...Show All
Visual Studio Get lattest version if specific label is not available
Hi All, Actually I am creating a build using ant, and in build creation I want to get one specific labeled version of code and the latest version of other files in project which are not tagged with that label. For example: In my project 5 files have "Label1" but remaining files dont have that label. In that case when i run ant i should get "Label1" version of those 5 files and the latest version for other files. <vssget user="abc" password="mypassword" localpath="C:\Test" label="Lable1" recursive="true" replace="true" writable="true" dbpath="C:\VSS" path="$/MyTest" /> Please let me know of this is possible in VSS or not. If possible what is the option for that. Thanks in ...Show All
SQL Server First Letter Capital More Than One Word
Here is my question: Can you set this code up to do more than one word ex: I have names like Mc Donald, or Brook-Smith and the are lower case like the code states upper (left( client . first , 1 ))+ lower (right( client . first , len ( client . first )- 1 )) + ' ' + upper (left( client . last , 1 ))+ lower (right( client . last , len ( client . last )- 1 )) As 'Full Name' Modify the function to replace the MAX with some maximum value that you think is appropriate. Then just run the code. Then you will have two functions available for your use. SELECT dbo.ProperString('thiS will lOOk DIFFERENT') Result: This Will Look Different P.S. If you are using ...Show All
Visual Studio Visual SourceSafe Express?
will Microsoft release a free source control system(SourceSafe) for personal use just like Visual Studio Express Hi tlc660, You can also use Dynamsoft SourceAnywhere Standalone: http://www.dynamsoft.com/Products/SAWstandalone_Overview.aspx It is free for one user. Thanks, ...Show All
.NET Development Devenv.exe taking over??
How can I change the settings to stop devenv.exe from taking over my computer and taking sometimes 15 min or longer to process what ever it is doing. This is on a Pentium 4 Dual Core E6600 with 2 gigs of matched Corsair Ram, does this amount of time seem too long It seems to happen when I am adding or editing queries in the .xsd files. If I edit them or add them on my laptop Pentium 3 512 megs ram no problem What gives Thanks Jon Hi Jon, now you are in good hands. J This behavior may be a result of some bug in XML Editor. We would like to know more about it and how to repro the problem. What is the version of VS you have on your desktop and on your laptop Can you send the file in question and steps to repro the pr ...Show All
Smart Device Development Built-in MFC and ATL versions in differnet Pocket Pc editions
I'm trying to find out, what versions of MFC and ATL are included in different versions of Pocket PC (Pocket PC 2000, 2002, 2003, Windows CE 5, Windows Mobile 5, etc.). There reason behind is, that I'd like to know what toolset I can use if I want to target a specific platform, AND keep the application size small. Is there a site that documents it Thanks, Balint ...Show All
Visual Basic Creating an autorun.exe
Hi, I want to write an autorun for a cd I have. I want to write it using vb.net 2005. I have a question - will this exe run WITHOUT the client machine having the .net framework, redistribulable etc... installed. Can I make a standalone .net exe that will run on any machine If not what are my options Thanks Barse Dear Sir, For the Deployment part must be read carefull. 2nd.Open Project by the way Solution Explorer Selection and configure your project deployment's..... But Setup projects are usefull.OK Bye.   ...Show All
Software Development for Windows Vista Shell Namespace Extension's default action not called
Dear Friends I have a shell namespace extension registered under "My Computer". It is working well in Windows XP. I got some problems in Windows Vista. I am unable to navigate my NSE items by double click in the listview (The single click in treeview working fine). Nothing happened when I double click on an item. But in windows xp the item opens and all child items are shown While debugging I have find that vista's explorer never invokes the GetUIObjectOf() with riid for IContextMenu during the duoble click. If I right click an item Vista's shell asks the IContextMenu interface and the menus are shown correctly Is there anything changed in vista Also I find some other unknown interface's requested in GetUIObjectOf() &am ...Show All
Visual Studio HTML Help from .HLP Projects
I have a series of projects to convert from the older .hlp style to .chm. The HTML Help workshop has a convert option, but it fails most of the time for graphics. I use HTML Workshop to convert the .hpj file to corresponding .hhp relates files. All seems to go fine, but virtually all the graphics images in the original .rtf files are missing from the fiinal .chm result. In some cases, it works fine, but that's the minority of cases. Any ideas Ed Yes, unfortunately there is not a convenient one-to-one conversion mechanism in the basic tools we provide. If you use a tool like RoboHelp, you may be able to more successfully import your .hlp source and convert it to an HTML Help project. ...Show All
Visual Basic Distributing .NET assembly for interop with VB6
Greetings. I have a VB6 client/server application, that needs to interop with a .NET assembly. I have all required assembly files (.dll, .pdb, .tlb) in my PC. In my development box, to make call from vb6 to .NET assembly , using regasm command I registered the typelibrary and everything works fine on my development PC. Now the problem is I have to distribute this functionality to user's PC's. I am using Visual Studio Installer to create deployment package. Can you please suggest a way to accomplish this task with minimum change in users PC Any help is appreciated. Thanks very much Morgan The first thing you will need to do is install the .NET Framework. You should find a fair amount of infor ...Show All
Visual C# Immediate window in C# VS2005 - how to loop through collection
I've got an error during loading data into DataTable - "Constraint violation...Relax constraints.". I need to loop in immediate window to find DataRow that HasError. I tried: foreach(DataRow dr in dtab) if(dr.HasErrors) Console.WriteLine(dr["ID"]); but it failed: Invalid expression term 'foreach'. Is there any way to achive it Billberry Did read your initial question, and it seems you want to find rows with error in datatable. If so, use DataTable.GetErrors() method which returns an arrays with rows having errors. ...Show All
Windows Forms MSI Package Question
I have developed an VS2005/VB application that I have installed on a couple of end-users PC. The application works great with one exception. After I install the package and run the application the first time, either as a local administrator or standard user, the application looks for the MSI package to complete the install. What can I do to get this to stop. I'm not sure why it would not work the first time I setup the install package, but I deleted the setup routine and re-created it and now it works just fine. ...Show All
Visual C# Differences between delegate invoke and call a method directly??
Hi! I'm studing about delegates and how works before studing asynchronous callbacks, i understand differences between call a method directly and call a method by delegate asynchronously with BeginInvoke, it launchs a background thread aganist the pointed method, but i don't understand which's the difference between call a method directly and call a method by delegate with Invoke ... i think that both are the same way to call the same method ... probably because i don't understand well the difference :P Can somebody light up me Thanks in advance. Regards. Ultimately they are identical. The difference is in performance and benefits. If you directly call a method then the compiler will generate the necessary code to look up ...Show All
