ABS123's Q&A profile
.NET Development How to pass listbox from GridView's footer row to javascript
Hi all... I am new to ASP.NET world.If someone can help me to pass CourseListFooter object to JavaScript it will be really great. In the Default.aspx file <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns= "http://www.w3.org/1999/xhtml" > < head runat= "server" > < title >Untitled Page</ title > </ head > < body > < form id= "form1" runat= "server" > < div > < asp:GridView ...Show All
Visual C++ Class diagrams unpresent in VC++05?
I enjoyed C#'s way of immediately showing class diagrams just by a few clicks. I also develop the majority of my program in native C++. In the VC++ documentation, it said to add a new item and double click on Class Diagram. For some reason, it is not there. I guess I could start with asking why, and what can I do to create such a file That's very disapointing. I found it in the Visual Studio 2005 Standard documentation. Filter for VC++, click on Class Diagram. Then "working with class diagrams" on the bottom, then "How to: add Class Diagrams to your Project". This came from the local MSDN documentation that came with the Visual Studio 2005 standard software. Since C++ is heavily used in the indus ...Show All
SQL Server Can't drop SQL Mobile subscription at Publisher
I have a program running on Pocket PCs that synchronizes with a desktop SQL database using SQL Mobile. My problem is that I can't delete old subscriptions from the publication; now the publication has 25 subscriptions and won't accept any more (limit of SQL Workgroup edition). I can delete non-SQL Mobile subcriptions just fine. Running sp_replmonitorhelpsubscription provides this information: subscriber: LVCONTACTSMERGE - 5FA305234F0C subscriber_db: Program Files\PocketLVContacts\LVContacts.sdf publisher_db: LVContacts publication: LVContactsMerge So I set up this bit of code: USE LVContacts EXEC sp_dropmergesubscription @publication = 'LVContactsMerge' , @subscriber = 'LVCONTACTSMERGE - 5FA305234F0C' , ...Show All
Visual C# Which BOOK to buy...
hi, I need a book that covers the concepts like C#, ASP.NET, Web services, .Net remoting, .Net managed components with a single book. Can anyone pls suggest me a book that covers these concepts thanx... Hi I found http://www.amazon.com/Professional-2005-Wrox-Guides/dp/0764575341 to be quite comprehensive Hope this helps ...Show All
Visual Basic Bubble sort
Haaay every one.. I am an engineering student and I want to learn about bubble sort which can can be done in visual basic. In other word, I wants to sort a table of a math class marks bassed on the the results. The best grage become on the top of the table and the lowest is in the bottom. Thank you, Sounds like a homework assignment. A simple web search will find numerous article on implementing bubble sorts in VB - take your pick. http://www.codeproject.com/vb/net/bblsrt.asp ...Show All
Internet Explorer Development IInputObject no longer called in IE7?
Has the behavior around IInputObject changed for IE7 We're doing the standard: 1. On SetSite(), get the IID_IInputObjectSite from the IUnknown parameter. 2. When one of our UI Windows gets or looses focus, call IInputObjectSite::OnFocusChangeIS() It all appears to work; however, we never see callbacks on our IInputObject methods: UIActivateIO, HasFocusIO, TranslateAcceleratorIO. Well, that's not completely true. We see a callback on IInputObject:: UIActivateIO(FALSE..) when a second, different toolbar calls IInputObjectSite::OnFocusChangeIS(FALSE), but that's the only time (we see it in the stack crawl). Is this behavior different from IE6 This bandobject needs these calls to do it's UI correctly. It's more complex than a simple editbox ...Show All
.NET Development ManualResetEvent
In my client, I have manualresetevent objects for when the send is done (sendDone), and receipt of a response is done (readDone). My problem is when my client is waiting on the readDone, the server sometimes does not return a response when a message is sent. The waitone() method has an overloaded method where you can pass in a timeout. // Receive the response from the remote device. Receive(client); receiveDone.WaitOne(30 * 1000, true); However, i need to put the sent messages that I did not receive an ack for into an unsent queue and then re-attempt these later. Any suggestions on an implementation Durgaprasad Gorti wrote: Actually, I don't think you need control events. When you send mes ...Show All
Visual C++ Enabling ClearType pr. Application
How do I set the ClearType display for a specific application, like for the new IE7, and not for the entire system. -cpede If you are looking for a Windows Option, AFAIK, it is not possible. If you are Writing code to draw something, you can Create the font with CLEAR_TYPE flag and can set to the Application window or control ...Show All
Visual Studio Team System Custom Test Install issues
Good Day, I am trying to build custom tests. I am a newbie to this so please bare with me. I have RTM VS TFS Test edition with the VSIP SDK loaded. When I attempt to build the MyTest Sample, I get the following Build error for the MyTestUI: Creating temporary file "c:\TestTemp\MyTestUI\Debug\BAT00000135402424.bat" with contents [ @echo off "C:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioIntegration\tools\bin\ctc" -nologo .\PackageCmd.ctc pkgcmd.cto -Ccl "-IC:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioIntegration\common\inc" "-IC:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioIntegration\common\inc\office10" if errorlevel 1 got ...Show All
Visual Studio Tools for Office How can I get a list of users that are currently connected to a Microsoft Access Database using C# in .Net?
I'm using c# in Visual Studio 2005 Enterprise, trying to retrieve a list of users currently logged onto a Microsoft Access 2002 Database (or at least a count of them, but if I can get a count, I should be able to get the list). My database has user-level protection (User Name/Password, no password on Admin User, no Database Password). Here's what's installed for data access: ADO Version 2.8 MDAC Version 2.81.1117.0 Jet Engine 4.0 Version 4.0.8618.0 Here are the problems with each of the techniques I have found in an attempt to get the user count/list: Cannot just read the .ldb file because it sometimes contains users that have logged off of the database. This doesn't really give the answer I need. Cannot use " ...Show All
Silverlight (formerly WPF/E) Squeezing objects
I was wondering whether it is supported to "squeeze/distort" objects into various affine and skeewed forms Basically what I wan't to do is squeeze an image (or any other object for that matter) into the following shape: ___________ / \ / \ / \ / \ / \ I would also need a variant the would require adding some skewing like this: ___________ / | / | / | / | / | or ______________ / / / / / / / / / / ...or anywhere in between these. (and no, I'm not talking about clipping :-) Any ideas on how to accomplish this are very welcomed! I have improved t ...Show All
Windows Forms how can I open a file and save it in another location
Pls, I need to offer the possiblility to the user to open a dialog box to locate a file, so that he can save it in another location on the network What control and code sample can I use for both those needs Thank you I think you're looking for System.Windows.Forms.OpenFileDialog. You can find samples and details in MSDN at: http://msdn2.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx ...Show All
.NET Development Marshalling to an ActiveX Control with VARIANT* argument on Vista
I have an ActiveX control with a function like this: long CoolFunction(BSTR* arg1, long arg2, VARIANT* pUnusedArg3) If you add a reference to this ocx from a C# project, you get a function like this: int CoolFunction(ref string arg1, int arg2, ref object pUnusedArg3) On Windows XP, I can call this function like so: object unused = null; string myArg1 = "blag"; int myArg2 = 0; CoolFunction(ref myArg1, myArg2, ref unused); On Vista, when I do this, I get a null reference exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgDa ...Show All
Visual Studio 2008 (Pre-release) Microsoft.VisualStudio.Shell.WindowPane.OnCreate() error
I get this error when I try to look at Project properties. Anyone with ideas Chris This is noted in the readme that the properties page won't work if installed side-by-side with either VS 2005 or SQL 2005 (due to it being based on VS 2005). The problem is that because the VPC image has TFS installed, it has the SQL Management Studio installed, which causes the conflict. It would be really nice if there was a workaround for this as it's likely to be a few more months (end of april at MIX ) before we see another drop (beta 1 ). --Oren ...Show All
Visual Studio 2008 (Pre-release) XBAP Browser Check Sample
Where can I find an example of a browser check for an XBAP application There is a script example on this page in msdn . If you "Publish" a project using Visual Studio, I believe it: 1) builds a setup.exe to install the .net framework for any users who don't have it already 2) builds an html page that links to the ".application" or ".xbap" if .net is installed. It will link to the setup.exe if it is not. Hope that helps. Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All
