amit03's Q&A profile
Windows Forms FYI - "Fixing" javascript events with .NET Framework 1.1 and SP1
For those of you who are using or were using javascript events prior to SP1 with the .NET Framework and are having issues - there exists a fairly straight forward workaround. Steps to take: 1. Do not use standard Javascript event syntax or object.attachEvent(...) - Both of these raise SecurityDemands for the UnmanagedCode permission - which will fail in IE unles ...Show All
Windows Forms InvalidOperationException: Cannot call Invoke or InvokeAsync
I have a tabcontrol that has several tab pages most tab pages contain a seperate datagrid. The datagrids datasources are not set until runtime. When closing the application and switching between tabs and moving between forms I recieve the following error InvalidOperationException: Cannot call Invoke or InvokeAsync ... I have seen people complaining of this issue& ...Show All
Visual Basic Populate a listbox with three columns using VBA
I created a listbox at design time, told it to have three columns, no rowsource or other data binding. I did tell it to have column headings. How do I populate the three columns lb.additem lb.<what goes here > = "some string for column 1" lb.<what goes here > = "some string for column 2" ... And how do I populate the column headers Thanx. I've looked through MSDN and can't seem to find it. Jim ZhongZhong, Thank you for your advice. I probably should have posted over there. I try to do most of my work in VB.net, but in this instance, the MSP object model is ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XBox - Managed Code
I’m just wondering if anyone knows if Xbox 360 supports any type of managed code (mc++, c#). We're about to develop an engine and we can’t find any information about this. We wanted to use c# for the scripting of the game so if anyone knows it would really help out. Thanks. Publicly available information is very sparse, if at all existant, for XBox360. I was reading online that even "regular" Microsoft employees outside of the related departments weren't allowed access to a lot of information Anyone that does have an answer to your question probably can't answer it due to the various NDA's that they'll of si ...Show All
Visual C++ AssemblyInfo.cpp
I need help, When I create a console app the AssemblyInfo.cpp does not load. All the other source files loads except that one, what should I do Alright, I had a enough. I just added the AssemblyInfo.cpp and now I get TWO C1190 errors. Anyone know what I could do to fix this. Here is my code: #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { Console::WriteLine("Hello World"); return 0; } ...Show All
Visual Studio Express Editions SQL 2005 .NET 2.0 and C# 2005 Express
Does anyone here know how to get V C# 2005 Express b2 and .net Framework 2.0.50727.26 to play together I've been trying for the past few days to get these all working together. I've installed C#; which installs SQL 2005 Express (April), and .NET Framwork 2.0 Beta 2 . When I try to upgrade to SQL 2005 (Sept), it requires the .NET Framework 2.0.50727.26 (See URL for instructions-- http://www.microsoft.com/downloads/details.aspx familyid=6E4AAC3A-9D85-4734-B1FD-318FB83B0D29&displaylang=en). So, when I install that version of the .NET Framework (new version of SQL won't work with the version that comes with C#), C# can't run my ...Show All
Visual Basic Cant' get click event to occur in TabControl TabPage
I created a Smart Device project in VB 2005. I added a TabControl with 5 TabPages on it. I added various controls in the tab page, but I need to get some code to work and have to test it. I installed a click event on the tab, but it doesn't work since a breakpoint on the code inside the event doesn't catch the click. I've tryed other events as well, but none of them are working either. Can anyone give me an idea as to why this isn't working Thanks. Here is the code I am using now. The advantage of using names instead of numbers is that the frist time through, when the form initializes, n ...Show All
.NET Development I need a good profiler for .NET 1.1, any ideas ?
thanks. http://msdn.microsoft.com/msdnmag/issues/03/01/NETProfilerAPI/ ...Show All
.NET Development Saving connectionstring the secure way
Hello, I want to save my connectionstring engrypted in the my.settings system. I know how to save settings and how to deal with a connectionstring, but I have no idea how to encrypt my connection string so that nobody can see the the password. I hope you can help me. Thank you Check out this article. http://msdn.microsoft.com/msdnmag/issues/03/11/protectyourdata/ ...Show All
Visual C# When debugging "There is no source code available at the current location"...why?
I am attempting to step thru my code for debugging, but keep getting the above error code right after closing an instance of OpenFileDialog. Here is my code: OpenFileDialog dlg = new OpenFileDialog(); dlg.FileName = "*.hex"; dlg.Filter = "HEX files (*.hex) |*.HEX| All files (*.*) |*.*"; dlg.Title = "Select P2140 Firmware file"; if (dlg.ShowDialog() == DialogResult.OK) { FileName = dlg.FileName; ...... I can step through the first 4 lines OK. Then at line 5 the OpenFileDialog window opens allowing me to select a file, but when it closes I get the error message "There is no sou ...Show All
Visual Studio 2008 (Pre-release) help
From the video I have watched http://download.microsoft.com/download/4/7/0/4703eba2-78c4-4b09-8912-69f6c38d3a56/Dlinq.wmv I did not understand .how can i use my database like northwind i have watched ready-made northwind.cs how can i make database file like northwind.cs and i have watched command prompt and executed sqlmetal.exe what is that command work Dear Keith Farmer when i execute the command sqlmetal.exe in vs 2005 command prompt i had this error "sqlmetal is not a recognized as an internal or external commnd" it did not work Please help! ...Show All
SQL Server Reporting Services
About a month ago I was able to download the Reporting Services for free to use with SQLExpress. Now I am unable to locate the download. I upgraded my PC so need to reinstall everything. Anybody know where the download is. Thanks You are looking for SQL Server Express Edition with Advanced Services. Download link: http://www.microsoft.com/downloads/details.aspx familyid=4C6BA9FD-319A-4887-BC75-3B02B5E48A40&displaylang=en -- Robert ...Show All
Visual Studio Express Editions Visual Basic .NET 2005 Express Edition
Ok, this is yet another "can you run VB2005 with a remote database" question with a slight twist. What if i create my projects in VB2005 and then open it in Visual Studio 2003 to do all the stuff I can't do in Visual Basic 2005 Thanks! I haven't tried but would not expect it to work. VB2005 is in line with VS2005 so you are more likely to be able to share projects between 2005 versions than 2003 and 2005. ...Show All
Visual Studio Tools for Office VSTO Amazon Wish List sample
We attended the Office Dev Conference and saw the Amazon Wish List Demo. Will the source code for this be available for users to learn the new features. Thanks --V ...Show All
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ok - great. now how do i retrieve the loader exception property. how can i fix this where can i find more info ...Show All
