Vijay Guru Prasadh's Q&A profile
Windows Forms Selecting enum in ComboBox
Hi, I want to choose in a ComboBox, the DataSource for a ListBox. The options in the ComboBox should be different enums that I will define in my namesapce. Can I do that You can load Enum values in a combobox like this: ComboBox1.DataSource = System.Enum.GetValues(GetType(MyEnum)) Regards Kapalic ...Show All
Internet Explorer Development How to change back from IE7 RC1 to IE6?
I installed IE7 RC1 and basically I couldn't access any webpage. I used the connection diagnostic tool and it says many of my connections failed. However, other browsers work fine for me like this one. With this IE error I couldn't even use many of the download managers like the one for installing IE6 (it says connection failed or so). I'm very troubled and hope to reverse back to IE6. But when I uninstall IE7 RC1 from control panel, even though it seems that it was uninstalled, my IE7 still remains there. I tried many ways, even like trying to install a standalone IE and downloaded Microsoft's IE6SP2 registry, but still has the same problem. Is there any way I could revert back to like when I freshly installed Windows Thanks a lot. ...Show All
SQL Server Conversion Issues - SS2000 to SS2005 - using Object Method
I am converting databases from Windows 2000 and from SQL Server 2000 to a totally new 4 processor Server 2003 with SQL SErver 2005. I used the Database Copy Wizard in SS2005 to do the transfer. I used the Object Method. After making sure the databases were big enough to hold the new Masterdatabase everything went well... except none of the stored procedures from any of the databases copied from SQL Server 2000 to SQL Server 2005. What did I do wrong And how do i fix it. Also, even though I changed the default database, the wizard did not reflect the new SAN location for the Data and Log files. I had to do each one manually. ...Show All
SQL Server Strange ID created by the Subscriber
Hi all, I have a table (Products), and the table is like this: - Product_ID (Primary Key), Not Null, Identity Specification: Yes, Increment 1, seed 1 - Name ... - Price ... When i insert in the publisher (PC, Sql Server 2005), it inserts correct ex: |Product_ID | Name | Price| Inserted by | | 1 | P1 | X | Pc | | 2 | P2 | Y | Pc | Then i replicate to Subscriber(Pocket PC, SqlMobile ), when i insert in Subscriber, it creates strange and big id's, is it normal is this to avoid conflict inserts Ex: |Product_ID | Name | Price| Inserted by | | 1 | P1 | X | Pc | | 2 | P2 | Y | Pc | | 3000 | P3 | Z | PPC | ...Show All
Visual C# Hardware monitoring app in C#
I need to build a GUI with meters and gauges from data that is coming using TCP/IP. Is there any packages / UI controls / Classes in C# that i can use to create those gaugues/meters/graphs something link to after i parse the data coming from TCP/IP. Im using VS 2005 Give this a shot... " ZedGraph is a class library, Windows Forms UserControl, and ASP web-accessible control for creating 2D line, bar, and pie graphs of arbitrary datasets." it can be found at http://www.codeproject.com/csharp/zedgraph.asp Good Luck ...Show All
Software Development for Windows Vista Windows Installer - "Change" action does not require admin password in "Programs and Features"
Why does Windows Vista not prompt for admin password when selecting "Change" in "Programs and Features" Even a limited user is able to add or remove features from our installed product. The strange thing is that the installer prompts for elevation when installing and uninstalling. This appears to be a bug in Vista only (and a pretty serious one at that). On XP, only an administrator can change the set of installed features. Our installer has ALLUSERS set to 1 and ARPNOMODIFY set to 0. Mike Morrison Thanks for coming back... and posting I did some research and have a lot of information. Actually, for MSI based setups, non-admins can change (add/remove features) to their hearts conten ...Show All
Windows Forms There is a pure win32 control, I don't know how it's created, But I just wanna show it in a form control
The point is I completely don't konw how the win32 control is created, except I can get its handle. Besides, I have to show it in a windows form control, hwo to Thx. Thx. Looks like in the wrapper class, it uses the messages to communicate with native control. It should be good practice. ...Show All
Windows Forms Show data from ms access in a textBox
Hi there, I need your help with something you may find easy but it isn't for me, sadly. I need to show data from my MS Access database into several textBox-es just showing no modifing. I have a sample from my program : OleDbCommand nameCmnd = new OleDbCommand("SELECT name from Customer WHERE customerID = "+ enteredID, myConn); OleDbDataAdapter nameAdapter = new OleDbDataAdapter(nameCmnd); DataSet dsName = new DataSet(); nameAdapter.SelectCommmand = nameCmnd; nameAdapter.Fill(dsName); I try this: nameTextBox.Text = dsName.ToString(); but its wrong! And I have to do the above for every customer details such as name, mobile number, home number ..etc So you can see I need a solution plzz. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Designers and Artist wrapper for the XNA API.
This is something I was thinking about from the moment I read the pre-release info on XNA, " putting game design into the hands of the designers " was the quote that inspired the thought. I'm primarily an artist who likes to design games but had to teach myself to programme to put ideas onto the screen. I started back in the mid eighties with Z80, 6502, 68000 etc... all in assembler. I later moved on to VB, C, Java, Flash and curently C#. It wouldn't be an exaggeration to say that it has been pretty darned difficult to grasp some of those languages, simply because the languages themselves and the documentation meant to teach you weren't written in non-programmer speak. I'm sure 90% of you will agree that when a group of programmers d ...Show All
Visual Basic Resize windowform1
hi, i am new to VB.net(Windows application) how to dynamically increase/decrease control size when form size is increased/decreased by user i tried using tablelayoutpanel/Anchor/docking.i find it using very diffcult to use.(I think i dont know how to use it ) is there material available in online about how to use tablelayoutpanel/anchor/docking Thanks in advance hi SJWhiteley thanks for your reply. i am using VS2005 sorry i am new to this VB.net windows application when i used tablelLayout control , all my controls gets overlaped when form size is increased/decreased ...Show All
Visual Basic datarows
I have two datagridviews dgv1 and dgv2 bound to datasets when user double clicks on dgv1, the current row of dgv1 gets added to the dataset of dgv2 Now what I want is when user clicks on the same record of dgv1, It should show msgbox that row was already added in dgv2( for information i dont have any primary keys) pls help Take the current row of dgv1 and compare it to rows of dgv2; if it matches show the messageBox. Pseudo-code: for each row as datarow in dgv2 if row.Equals(CurrentRowFrom_dgv1) then messagebox.show("Already added!") exit sub end if 'if we get here then row hasn't been added dgv2.add(CurrentRowFrom_dgv1) ...Show All
Visual Studio How to make MSDN work
Hi all, I have a serious problem. My copy of the MSDN cd1 is damaged. i think only the last file, its about 200 MB. and All that i have got is a copy of the MSDN folder (installed version). Now if I have to use MSDN should i repay the full amount to get the cd 1 or is there any way to make the installed version copy work. Please help me guys. Rajavanya wrote: Hi all, I have a serious problem. My copy of the MSDN cd1 is damaged. i think only the last file, its about 200 MB. and All that i have got is a copy of the MSDN folder (installed version). Now if I have to use MSDN should i repay the full amount to get the cd 1 or is there any way to make the installed version copy work. Please help me guys. ...Show All
Windows Live Developer Forums Live local
This site is just to finicky and frustrating. I've had enough ...Show All
.NET Development XSLT output incompatible with standard
Hi Folks, I am trying to convert XML to CSV format output. I was able to convert it by using the following option: output method ="text" But, the output doesn't seem to adhere to the standard. I was referrring to the following link to refer to the CSV format: http://en.wikipedia.org/wiki/Comma-separated_values Please correct me if i am wrong. TIA Sek Anton, that was quite self-explanatory i was spending time understanding every bit of your work! kudos for taking time to post. -Sek ...Show All
Visual Studio Team System Could not find part of the path ... DatabaseUnitTest.vstemplate
I create a new SQL2005 project and then create a new test for a stored procedure. The new project with the test seems to create OK (I haven't run it yet) but I get the following error "Could not find part of the path C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp\2057\DBUnitTest.zip\DatabaseUnitTest.vstemplate" I have a C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp directory but the subdirectory within this is 1033 not 2057 - should I be concerned Sorry it's taken awhile to get back to this. Thanks, that's fixed the problem. One other thing, each time I create a unit test I get a dialog asking me if I trust the template, is there a way to say 'yes' permane ...Show All
