RajaGanapathy's Q&A profile
Windows Forms Force autocomplete combobox selection
I really like that VS2005 has incorporated autocompleting comboboxes, but I cant figure out how to stop user from typing something which isn't in the list. Because my combobox is bound to a lookup table I dont want users typing a name which isn't in the list, because it doesnt find the correct foreign key to place in the table. Surely I dont need to implement my own checking on key press events :-\ Thanks for your help and suggestion ...Show All
Smart Device Development Return xml contents from RSS Feed.?
Hi All, When i give RSS feed as input i should get the xml contents related to that RSS as string.For example if i give the sample RSS Feed http://www.thoseleftbehind.org/podcasts/rss2.xml i should get xml contents as string to my PPC. So how to do it in netcf Use the XML parser - http://www.pocketpcdn.com/articles/xmlfaq.html (Already gave this answer in a different thread) ...Show All
SQL Server The remote copy of database x has not been rolled forward to a point in time that is encompassed in the local copy
Hi, I set up DB mirror between a primary (SQL1) and a mirror (SQL2); no witness. I have a problem when I issue command: alter database DBmirrorTest Set Partner = N'TCP://SQL2.mycom.com:5022'; go The error message is: The remote copy of database "DBmirrorTest" has not been rolled forward to a point in time that is encompassed in the local copy of the database log. I have the steps below prior to the command. (Note that ...Show All
.NET Development Sending a web page with SMTP
I have developed an Web App that summarizes all of the information that I want to present to the user. I have a submit button that I want to have send the resulting page to the end user for confirmation. I have been working with SmtpClient and it successfully sends a test message but I cant figure out how to embed the resulting web page in the email. Can this be done from the server Does anyone have any sample code Vincent Fournier ...Show All
Visual Basic synclock
I have created this pop up window that comes and go 3 times using timers. the timers will invoke this method Private Sub startDisplay(ByVal displayCall As String) setLocation() Me.Opacity = 0 Me.Show() currentTimer = timerFadeIn timerFadeIn.Start() End Sub THE TIMER EVENT IS LIKE THIS Private Sub TimerEventProcessor(ByVal myObject As Object, _ ByVal myEventArgs As EventArgs) countWarnings = countWarnin ...Show All
Architecture Visio and UML 2.0
Are there any plans to realize UML 2.0 specification in Visio Thanks Dim It seems this thread is dead, but I am interested in the same thing. Does anyone know if there has been, or if there are plans for, a release for Visio 2007 containing enhancements to utilize UML 2.0 ...Show All
Windows Live Developer Forums Contest winners ever receive their prizes?
Have any of the MSN Activity contest winners received their prizes or told how or when they will receive them Yes, of course! Juzzi already got a part of his price, Todd surprised him by giving him the VS.NET 2005 personally . I have received a mail telling me my prize would be sended within 4 - 6 weeks, and received that a few weeks ago... ...Show All
Visual Basic Creating a byte array from a stream
How can I do this I've tried... Dim AccountToUpload As Byte() = System.Text.Encoding.Default.GetBytes(AccountUploadStream.ReadByte) ...but my result it -1. The stream is declared as... Dim AccountUploadStream As System.IO.MemoryStream = New System.IO.MemoryStream Any ideas The data stored in the stream is an XML document. Thanks. Try this code: Module Module1 Sub Main() Dim AccountUploadStr ...Show All
SQL Server Establish connection to the server
Hi, I have a problem editing my SQL databases in Visual Studio 2005, i have searched the web for answers, but those were not clear enough to me, somthing about changing my settings for SQL server, but i didn't follow it all to well, the current error mesage I get when i click in the Server Explorer on my data connections is: An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure ...Show All
Visual Basic How do I draw a shape on an existing image?
Hello, I've been trying to figure this out for a while now. I have an existing image that I've loaded into a variable via system.drawing.image. How would I put a shape(circle, line, etc) in a location on that image Thanks for any help. P.S. I'm using .Net 2.0 and VB.NET 2005 Ok, I found the following code that does what I need(with one exception) Dim g As Graphics = Me .Create ...Show All
Visual C++ Simple VS2003 to VS2005 Migration Question
Hi all First of all I want to clarify that I have no great practice with Visual C++, so please be patient if questions are silly to you. The problem is quite simple: how to migrate to VS2005 a project compiled with VS2003. The project is a windows media player DSP plugin DLL created with the wizards boundled with the M$ SDKs. The error is the following: Error 1 fatal error C1083: Cannot open include file: 'mediaobj.h': No ...Show All
Software Development for Windows Vista can anyone please explain this error to me?
hello. while trying to eun exercise 3 of the lab (wf handls on labs 01) i get the following error: Activity 'IfAutoApproveReport' validation failed: Can not find the condition "AutoApproveCondition". Check if condition is defined in the conditions file can anyone give me any hints on this the code was all built through drag-n-drop...that is why i don't understand what's going on hello again. btw, can anyone tell me if the conditi ...Show All
Visual Studio MSBuild Newbie requires help
Hi Folks, Can somebody please please help me Basically I want to run MSBuild from the command line on my console app called "MyFoo" located in "C:\Myprojects" which has two classes "Class1" and "Class2". Now I know I can type msbuild "C:\MyProjects\MyFoo.sln" and this will build my solution. Now how do I call the xml-based configuration file to first delete any exe created then create a ...Show All
Windows Forms Turning a certain point on form a specified color in MSVC++.NET
Hi, I need to know how I can set a certain point of my form a color of my choosing. (Color found in System::Drawing::Brushes) Thanks, The Digital Pioneer OK, I'm a VB.NET Programmer too. Unfortunately, that isn't working. By sprinkling messageboxes through it, I found out that the e.Graphics.FillRectangle(Brushes.Red, x, y, rectSize.Width, rectSize.Height) command doesn't work. Thanks, The Digital Pionee ...Show All
Visual Basic Index was outside the bounds of the array.
I am trying to display to role my user is in a label and it works just fine as long as a user is in a role. If the user is not in a role then I get this error message: Index was outside the bounds of the array. on this line labelRole.Text = strRoles(0) I am new to programming, but I am getting the error because the string is empty <code> Dim strRoles As String () strRoles = Roles.GetRolesForUser(UserName) If Not strRoles Is ...Show All
