Airmann_90's Q&A profile
.NET Development Multilingual Web Sites and Globalization
Hi, I have a question for you, I'm been developing this application for small business in english, but the area where the corporation is located customers speak spanish and portuguess. Do you know how I can change the language using ASP.NET without having to write the whole app with different language. I'm using Sql server 2005, C#, ASP.NET 2.0 Thanks for your help Globalization is in-built into ASP.NET. Basically, you need the following for globalization: 1. Resource files for diffrerent cultures (spanish, portuguese) 2. A setting in web.config (Culture and UICulture) ASP.NET 2.0 makes it v ...Show All
SQL Server Unable to read local eventlog (the parameter is incorrect)
In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date: 03.11.2005 Time: 17:14:47 User: N/A Computer: RESYSHADOW Description: Unable to read local eventlog (reason: The parameter is incorrect) Does anyone know what could be causing this. I have tried it on Windows XP SP2 with local Admin account and on Windows Server 2003 with Domain Ad ...Show All
SQL Server Need a function to return a comma delimited string from multiple columns and rows
Columns in a rows are ClaimID,LineNo, Code1, Code2, Code3, Code4 A claim id can have multiple detail lines. I want to return a comma delimited string for all the codes found for a claim id. I have not created a function before. How do I loop thru a table similar to this While Table.claimid = @ClaimID Set @MyString += Code1 +"," + Code2 + "," + Code3 + Code4 Loop You do not need a UDF to generate the CSV string. You can use expression below: select Claimid, substring(coalesce(',' + adj_cde, '') + coalesce(',' + adj_cde2) + coalesce(',' + adj_cde3) + coalesce(',' + adj_cde4) + coalesce(' ...Show All
Visual Studio Team System about project alert
I add a project alert to my present project, when the dailybuild of the project finished, I hope to receive a E-mail to me, so I add my E-mail address to the project alert box, but I received no E-mail about this operation, why what other things I need to do expect your help! Thanks! Can you provide more information about your setup How did you subscribe to the alert Which of the 4 alerts did you subscribe to Did you provide the information for alerts to be sent when installing TFS You can subscribe to alerts using Visual Studio. Select a Team Project from the T ...Show All
.NET Development SqlCommand class sealed!
To .net dev team, Why is the SqlCommand class sealed If there are member functions that cannot be overridden then it should be the functions that are sealed, not the entire class! I want to log the sql statements that were executed and it could have been something as simple as inheriting from SqlCommand with the constructor logging the SQL and it cannot be done! In fact, I'd argue that the only times when a class should be sealed is when the memory for the objects of the class has to come from special places such as shared memory or hardware-mapped memory. P. What about just creating a new class and ...Show All
Visual Studio Designer code for compact framework component not run at design time
I was following xinyan's CustomControlWalkthrough at http://blogs.msdn.com/xinyan/ to create my own custom control for compact framework devices. I cannot get my Designer code to be used at design time. Basically, I have a CFv2 component in one assembly, and its designer in a separate assembly. The property descriptions work, but the Designer code does not seem to be run. My designer extends System.ComponentModel.Design.ComponentDesigner. Here are the contents of my DesignTimeAttributes.xmta: <Designer> <Type> Names ...Show All
Visual Studio Express Editions .Net Framework 2.0 Fails Installation
I am having extreme difficulty trying to install VB 2005 Express Edition. The software appears to install ok until near the end when the log shows the 1603 error. I am running winxp on a Inspiron 6000. .Net Framework 1.1 is installed, but I have read should not prevent 2.0 install. .Net framework 2.0 beta has not been installed and there is no evidence that it has. The failure seems to be in the .Net Framework 2.0 installation. It fails due to an internal exception during install operation: 0xc000001d at 0x746A8C34 (See Log). I think the "1D" error is STATUS _ILLEGAL_INSTRUCTION. I have tried numerous things I saw in other posts to ...Show All
Visual Studio Express Editions remove text box carriage returns, vbexpress
Hi, Anyone have a bulletproof way of removing vbcrlf or line feeds or carriage returns Using vbexpress to organize website info into a txt file. I am trying to remove line feeds created by a multi line text box, I need the text all on one row in the txt file I am creating. The code commented out; 'str.Replace(System.Environment.NewLine, " ") was the last variation I tried, all the rest of the code is working. ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Imports System.IO Public Class Form1 Dim oWrite As System.IO.StreamWriter Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Lo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DrawIndexedPrimitives
I am going not so nicely nuts here trying to get an Indexed primitive draw working. I have code that works and happily draws a rectangular plane using DrawPrimitives against a TriangleStrip, this works great but I wanted to make a more complicated object so I thought lets make this work with indicies. I added a short array with the indicies in and set it all up to use the indicies based on my verticies and a Triangle List. Thing is it doesn't!! put drawPrimitives back in and it works fine. Thing is I even tried removing all the index values in an attempt to get the program to crash as no info would be found, but it doesn't! Actually ...Show All
Windows Forms All Green Lights and No Critters
I have installed 1.2 Terrarium on 2 machines of mine. (Behind a firewall, port 50000 opened and NAT support checked) All lights are green but i dont get anything coming into my terrarium. I have this thing running for at least 24 hours so i know it isnt just a shortage of critters. Something else has to be wrong, but nothing is showing a ...Show All
SQL Server Other ways to execute Integration package?
Hi all, I am just wondering is there any other ways to execute an integration service package other than using sql server agent, dos command and manually execute the package in BIDS I am thinking of running the package on web, is this possible What I am trying to do is let user to run the integration service when they need to, so instead using SQL Server Management Studio to run the task being set in SQL Server Agent, I am thinking of something where user can log into a website (like the report server) and then run the integration, so that the data for the report server's reports are being update. Please help out if any know a solution t ...Show All
SQL Server How to avoid Caching of Reports?
Hi All, We have a Report wherein we specify the criteria and then generate the report. The issue is when we give a new criteria the second time and generate the report, we get the old result set that was for the previous criteria. How can we avoid this Thanks in advance. Sundar if you are calling the report via URL access then add in the rs:ClearSession=true command to the url ...Show All
Visual Studio Express Editions Saving table
Hello I am fairly new to this, I have been creating a small application that has come together fine and works, however all data that is stored in my table is lossed when the user exits the program and loads it back up. I presume that I need to have some way of saving the table and loading it up when the program is opened again. I have tried a few things so far with no success, can someone tell me what the best way of doing this would be, and how to go about doing it. Cheers. Welcome Robert, What database product are you using Could you take a quick look at the Post above called H ...Show All
Windows Forms Cell formatting in DataGridView
Hi everybody, I'm having problem formatting DataGridViewCell. I bind the DataGridView to DataTable. The requirement is simple: in read-mode i need to divide the value from one of the column in data table by 12. In edit mode, when the changes are commited to the data table, i need to multiply it by 12. I tried using CellFormating event, but it seems to work only 1 way. Suppose the data in DataTable is "12", but when displaying the data i need to show "1". When Editing the cell, the users should put "1" but when commiting the changes to the DataTable, it should be "12". Currently i do it in a stupid & ...Show All
Visual C++ How to save (DC member) to bitmapfile? Please Help!
Hi again! I want to save memBitmap to a bitmap File. what should I do this my code: CPaintDC dc(this) ; CDC memDC ; CBitmap memBitmap ; CBitmap* oldBitmap ; memDC.CreateCompatibleDC(&dc) ; memBitmap.CreateCompatibleBitmap(&dc,(2+myRect.Width()),(2+3*myRect.Height())) ; oldBitmap = (CBitmap *)memDC.SelectObject(& memBitmap ) ; if (memDC.GetSafeHdc() != NULL) { memDC.BitBlt(1,1,(2+myRect.Width()),(2+3*myRect.Height()) ,&dc,(3+myRect.left) ,(3+myRect.top) ,SRCCOPY ); } memDC.SelectObject(oldBitmap) ; thank for Answer. Searching the web will give you a quicker answer than waiting for someo ...Show All
