naguaramipana's Q&A profile
.NET Development UI Language and system literals
I'm trying to find a way to access the dictionary of the system's current UI language phrases, but I've had no luck so far (e.g. how do I know what text the system will display on "Cancel" buttons). The suggestions I've seen are all based on custom dictionaries, but of course there must be a way to directly tap into whatever Windows itself is using. Any ideas There are a bunch of reasons I can think of (Windows API, security, stability, piracy, legacy, compatibility), I just not sure which is the true reason. Perhaps localizing an entire operating system takes a bit more than a dictionary. The fact remains, each and every Windows .exe and .dll stores its language sensitive strings as strin ...Show All
Windows Forms Use Same DataSet and Connection Across Forms
I know this is an obvious and dumb question but I can't seem to locate the answer elsewhere. How can I call and utilize the same .xsd and database connection across multiple forms Is there an article on this I've tried creating a data access layer and using the app.config with no success. Thanks, cj ...Show All
SQL Server Input string was not in a correct format
I have install SSRS 2005 installation went fine. I was able to open report Manager and also deployed and opend some reports.I coverted over to Forms Authentication and now I get this Input string was not in a correct format error. See below: Server Error in '/Reports' Application. I'm not sure what is causing the error, but since this error is happening in the sample you can attach a debugger and see why you are getting the error. It appears there is a format string and not enough parameters are passed in. Did you modify the sample code ...Show All
Visual C# Adding an HTML element to a Webform
If I add an ASPX web control to my Webform the IDE correctly adds the appropriate aspx element code to my .aspx page, adds the appropriate ASPX control to my code-behind class, and automatically instantiates the ASPX control in my code-behind class at run-time. If I add an HTML element to a Webform the IDE correctly adds the HTML it to my .aspx page. However it does not add the appropriate HTML control to my code-behind class and instantiate the corresponding HTML control at run-time. Is this the correct behavior of the IDE Should not the IDE be adding instances of all components which are dropped into a Webform to the code-behind class and correctly instantiating those components at run-time Is there a way to force ...Show All
.NET Development Bit confused about CTS ...
Hi, After I have read several articles on msdn and other tech sites, I am now bogged now with a doubt. Is CTS a specification checked by CLR or a component in CLR I read all about the goals of CTS. But inside the .NET framework how it is placed Is it defined as a set of rules inside CLR, hence can I take it is a component Or is the CLR programmed to check the some specifications( which we call CTS) while executing a CLR compliant language Please explain me to get more insight in to this. Thanks, mani Probably the best way to think about is: the CTS spec came first. The CLR spec came next, built upon the CTS spec. The most obvious sign of this are the various flavors of IL opcodes th ...Show All
Visual Basic How to Detect USB Flash Drive
I am making a program that will allow a user to use any USB flash drive as a key, that when inserted, will automatically (upon validation, of course) enter login and password data into web forms, applications, and maybe even Windows Logon. But first things first: how to I detect when a USB key is inserted into the drive, for instance, perhaps just detect the last/latest inserted drive In addition, does anyone know if there is a way to directly identify a flash drive, maybe based on a serial number , rather than validating it from a file on the device Anyway, the first question is the most important. Thanks for any help. blabus wrote: Unfortunately this doesn't help much, because it's fo ...Show All
Visual Studio Team System MSDN Library
I just got the Visual Studio 2005 Team Suite and I have a Visual Studio 2005 Professional Edition MSDN Library. Can anyone tell me if there is an MSDN edition for the Team Suite Thanks There is no MSDN edition for the Team Suite, if you are looking for info about the API and so on, now it's included on the MSDN on the web, check out this article from Buck Hodges talking about the documentation. http://blogs.msdn.com/buckh/archive/2006/09/08/tfs_api_docs.aspx ...Show All
Visual Studio Team System How do I add a folder to a Team Project source control within VS2005 IDE
If I add a solution to source control from the VS2005 IDE I get a prompt which allows me to specify create a new folder and I can add the solution in that folder. But If I want to manually add a folder, that option is disabled except for folders created using the above technique (and only if it exists on my local system.) I want to manually create a folder and manually add files to the folder. How is this done I was able to reproduce a condition in which the add folder and add files button are disabled for the Team Project. Simply create a new team project. Select the team project. Other than adding a solution to the team project there appears to be no way to create a folder nor even add files t ...Show All
SQL Server Date format with SQL Server 2000
Hi, I'm working with a table with more than 2 million rows. The problem is that the table has a field called "ShipDate" of type nvarchar. When I try to change the data type to DateTime sql server throws a data conversion error. I noticed that the date format is as follow: 2006-10-23, so, is there a way sql server takes this field and change it using the field values and applying the correct format meaning: 10/23/2006 thanks a lot The mentioned value should be easily converted into a datetime column (2006-10-23). You seem to have corrupt data stored in the datecolumn. Try to get rid of it and prior identify it by using the following query: SELECT Datecolumn FROM SomeTable WHERE ISDATE(Da ...Show All
Visual C++ Overriding default entry point
I have a project that has been ported from Studio .net 2003 to Studio .net 2005. IN the 2003 .net project I specified a different Entry Point via the linker->Advanced->options dialog. This allowed my code to gain control prior to the ctors or Global constructors running. This code is now broken in .net 2005. The global constructors are getting called before my entry point gains control. How do I get this to work in .net 2005. There is no way to tell the order of creation of global objects, the fact that it worked is pure luck as far as I understand. You can put your global variables inside global functions, something like that: was: CMyClass g_myObject; need to be: CMyClass & GetMyObj ...Show All
Architecture Loading User Controls into page
Hi everyone, I have a question related to loading an "ascx" into an "aspx" page. I have the page "default.aspx". When I press a button on this page I load into a placeholder the "ascx" file "dummy.ascx". Button_click(....) { placeHolder.Controls.Add(Page.LoadControl("dummmy.ascx")); } In this dummy.ascx I have a button. When I press this button the event associated with it is not fired because I am not loading again the page in Page_Load. I appreciate a good solution related to this issue Thank you If you are loading the control dynamically then you need to load the control in the Postback also otherwise the event is not going to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where can I download DirectX9/10 SDK for VB ?
I found one , however it documentation was for C++. Is a documentation of DirectX9/10 for VB exist My problem as a newbie starting out with directX is to Know what version to start with.Im confused about the new Directx10 which supports Vista as some forum stuff I've read suggests it does not support XP So I'm wondering if I should download the direct 9 version ( which is how I came upon the above URL) I'm using XP home and VisualStudio 2005 Express C# --- Would the new DirectX 10 be compatible with this or should I start out with DirectX9 SDK If anyone can point me in the right direction would appreciate it. ...Show All
SharePoint Products and Technologies wss 3.0 database install location
In 2.0, I could tell the setup program where to put the database (I don't want it on the system partition). How can I do that with 3.0 I am not having much luck searching on these forums, any pointers appreciated. Lou Thank you very much. I had bumped into this as well and it is not a bad alternative. I used their procedure to move the content and search database/log files and it worked fine. I will now move the other 2 WSS db's. Would still like to see an install option. Thanks again for the tip. ...Show All
.NET Development Can any one explain me more about Regular expressions in C#
Hi all, Could any one explain me about Regular expressions in C#. I went through the Orielly book of C# programming, but I was totally confused. Can you qoute some examples and explain where the RegExp are used..... Thanks, suresh. Literal Characters The most basic regular expression consists of a single literal character, e.g.: a . It will match the first occurrence of that character in the string. If the string is Jack is a boy , it will match the a after the J . This regex can match the second a too. It will only do so when you tell the regex engine to start searching through the string after the first match. In a text editor, you can do so by using its "Find Next" or "Search Forwar ...Show All
Visual C++ syntax of .vcproj files
Hello, Does anyone have an idea what " means within a .vcproj file For example: AdditionalIncludeDirectories=""..\..\include\CGAL\config\msvc7";"..\..\include"" Thanks, Angy Thank you for your reply. I think I've asked the wrong question. I know it's an XML quotation mark, but why should there be a double qutation mark in AdditionalIncludeDirectories=""..\..\include\CGAL\config\msvc7";"..\..\include"" (Release Configuration) and not in AdditionalIncludeDirectories="..\..\include\CGAL\config\msvc7;..\..\include" (Debug Configuration) But that's probably not the most importan ...Show All
