Sveind's Q&A profile
Visual C# Open up the resource dll, pull the resource information and translate it into different National Lanugages
Hi Guys,I need to develop a C# application which does the followingGiven as a source an assembly (resource .dll or the application's .exe) 1) Pull the resource information from it in the default language.2) Translate the resource information into 5 languages (Chinese, Japanese, German, French and Spanish)3) Generate a .resx file for each language for each Object (Forms / Controls etc) and store the information into a SQL Database.Note: Its an assumption that the Locale property of the source forms and controls is set to FALSE.I know how to do the 3rd part (generating .resx and storing into SQL Db), help was required for the first 2 steps mentioned above.Thanks in advance.Mehul Gadhia ...Show All
Windows Live Developer Forums setting zoom level dynamically
hello, I am having from and to locations and I am able to display the driving directions between the two locations. but the points are coming very near. How can I set the Zoom level dynamically without hardcoding the zoom level value. thanks in advance PradeepA here is the link to my page . http://www.geocities.com/hydpradeep/DirectionsTest.html I am using GetRoute method. You mean to say that I have to take the latitude and longitudes of all the points.. and storing it in an array.. If so , how can I get the latitude and longitudes of all points between the two locations Is there any way to get it Thank You, Pradeep. ...Show All
.NET Development How to suppress the BOM while using XMLTextWriter?
I am using XMLTextWriter to create an UTF8 XML document. Is there a way to suppress the "EF BB BF" bytes If you simply use e.g. new XmlTextWriter(@"file.xml", System.Text.Encoding.UTF8) then no byte order mark is written. Alternatively you could use e.g. new XmlTextWriter(@"file.xml", new System.Text.UTF8Encoding(false)) where the argument false to the UTF8Encoding indicates that no byte order mark should be written. ...Show All
Smart Device Development I need help on defragging drive
I can't get my hard drive to defrag because it says it's already in use by another service. What can i do Robbie Sorry, this is a development forum and not a Windows newsgroup. I have to advice you to repost your query in the appropriate Microsoft Windows newsgroups: http://www.microsoft.com/communities/default.mspx http://www.microsoft.com/communities/newsgroups/default.mspx ...Show All
Windows Forms Another ListView Question
i have setup a ListView control after much hard work but stumbled onto a problem, when you add new items then close the application then run it again the items are no longer remembered should the ListView control remember whats been added and if so how can it be done thanks btw im using MS VS 2005 C++ i like the look of the new ListView but i personally think it wasnt very well thought, for instance you cant save anything without having to serialize it (even though it has an add/remove function) i mean whats the point in having an add and remove and clear if it doesnt actually add/remove or clear anything doesnt make any sence at all. i think they should release a new version that does what its supposed to so such as add and remove. ...Show All
Visual Studio Express Editions binary function
Hi, I'm new in this environment, but I have C++ application I would like to migrate to Visual C++. One of the object I cannot find an equivalence is the std::binary_function. Is anybody the equivalent object Thanks for any tips. ...Show All
Visual Studio 2008 (Pre-release) Data Reader opend or Closed?
How to check if a datareader is closed or opened ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting Started in 3-D
Ok, I am reasonable with C# and I would like to become a fundamentally sound 3-D graphics dev. MATH: just finishing up Calc I. Question: If you could suggest one 3-d graphics math book which one would it be Shaders: 1 book on shaders which would it be 3D Graphics: 1 book on 3d graphics which would it be Web: 3 websites that you think would be most beneficial to make my favorites Thank you in advance for your help Maths : Mathematics for 3D Game Programming& Computer Graphics (1-58450-037-9) Shaders: ShaderX series, The Complete Effect and HLSL Guide (0-9766132-1-2) 3D Graphics: GPU Gems series, Graphics Gems series. Websites: http://mdxinfo.com/ http://www.gamedev.net/ http://www.gamasutra.com/ http ...Show All
Visual C++ Divide without using operators
I need a code for Dividing two integers but ... without using any operators ie (+,-,*,/) to get the Quotient and Remainder One can use math.h . plz help me thanks..... ConfusedGuy wrote: Hi You can use shift operator Then you can divide, cuz dividing is a kind of shifting in binary arithmetic and this is what happens inside the processor. Yes, but that only works if you're dividing or multiplying by a multiple of 2. And I believe you'd still need to use, at least, subtraction. (And technically, since he said "without using operators", this still isn't a solution, since >> and << are operators as well!) ...Show All
Visual Studio Collections in other assembly
Hi all, i use Crystal Reports for VS 2005, i'm trying to use the .NET Object in the "Database Expert", but i have a problem, my objects are in an assembly and crystal reports only detect the class stored in an APP_CODE folder. Can anyone help me or tell me how can i bind the assembly stored in a bin folder Thanks. Gustavo. ...Show All
Visual Studio Express Editions Chaning build directories
I'd like to be able to change which directory VC++ puts my .exes, debug databases, .obj files, and everything else it creates. Idealy, I'd like to be able to seperate them so that I do have one bloated folder containing many files that aren't needed to run the program. In Code::Blocks I could do this with the "Execution working dir:" and "Objects output dir:" settings. Is there a way to do this Thanks. Take a look at http://msdn2.microsoft.com/en-us/library/ms165410.aspx Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms ListBoxes transfering from 1 box to another
Hi! What I'm Trying to do: Basically, I select an item in ListBox1, click a button, and it'll transfer to the 2nd ListBox and remove itself from ListBox1. I've accomplished this, the problem is if I hit the button, without selecting anything in ListBox1, the program will crash. I know where the fault lies, but I currently can't think of any alternative method (New to C# and programming), to accomplish this task other then my current code. My current button click Code: listBox2.Items.Add(listBox1.SelectedItem); listBox1.Items.Remove(listBox1.SelectedItem); Much thanks to anyone who can help me out! :D basically you need to check to see if the item in listbox1 has been selected. if it is not t ...Show All
Visual Studio Express Editions Loading text when form loads
Hi, How do I load text on the form when the form loads Here is what I’m trying to display when the form is loaded. With MBSerial If .Serial_OpenComPort = True Then ToolStripStatusLabel1.Text = "Connected" Else ToolStripStatusLabel1.Text = "Disconnected" End If End With Ken Hi, I've tried the code below to load a rectangle but, I can't get it to work. Do you see anything I may be doing wrong. Thanks, Ken Private Sub frmMBDemo_Load( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase .Load &n ...Show All
SharePoint Products and Technologies Group by views in a list
Hi, I have a list on my SharePoint site with a view on it where I group by a particular column. This column has 5 possible values. How can I ensure that a header for each value is shown whether or not there is data corresponding to that value For example - say that the column name is "Status" and it can have values "Open", "Closed" and "Pending". How do I show a header for a status of "Pending" if i don't have data for my list with this status Thanks. There is no way to force the header to show up since it does not show up in any of the rows. SharePoint does not look at the group-by field and determine all possible values for it (since it co ...Show All
SQL Server Problem with SQL Server 2005 Express
Hello, I am programmer from Bulgaria and I am new in working with SQL server. I have a problem and want to discuss. Imagine that there is software system working on Windows XP professional, SQL Server 2005 express database, programs (source code on Microsoft C/C++) that connect to SQL Server 2005 express via ODBC and around 30 users that working 24 hours a day. For simplicity let imagine that in database have 2 main tables. In first table users add record. The program get value of certain field from that record and add that value to certain field in existing record in second table. (For example => imagine that in first table insert record for sell of some good /document of sell/ and in the second tabl ...Show All
