jimevan's Q&A profile
Visual C# datagrid: parametric number of records in a page
Is it possible how I explain better: i want to obtain a variable of MaxRecordInPage for webconfig. My datagrid would have that number of record for each page. Thx ...Show All
.NET Development how to get printing Document Completion Acknowledgement And Printing Failure Acknowledgement in C#
I am Printing document with using printdailog class. after prining document i need to update status of that prining Document. So I need printing document completion event or acknowledgemnt. At same time if paper gets jam in printer , then i need to update that document printing status. for that i required printing failure acknowledgemetnt. so please give me solution as earliest possible that through which event or acknowledgment i can ...Show All
Visual Studio Team System What's become of the Team Foundation Power Toy (tfpt.exe)?
I can find lots of references to the powertoy, but they all appear to be quite old, and refer to the version of the powertoy from the beta 3 timeframe. Does that old version still work with the RTM services, is there a newer version somewhere, or is the RTM-compatible version lost in the woodwork somewhere Right now it still lives in the VSIP SDK (registration required). It will eventually be published on the TFS Downloads page, hop ...Show All
Visual Basic Null Reference Exception
Hi, Our application has 2 main windows it can be changed using the combo box.When i try to change to another window i am getting this exception.When i try to catch the exception it is caught only after Application.Run(context).I dont know where this exception is thrown from. this is the exception i got... System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.UnsafeNativeMethods.C ...Show All
Windows Forms Trying to stop databinding
Hello I have a windowsform with a textBox binding to a property object. When I insert erroneous data in the textBox, the Set part of the property throws an exception. What I want to do is to validate the data in the Validating event of the textBox and not allowing the databinding to continue. private void txtStarted_Validating(object sender, System.ComponentModel.CancelEventArgs e) { if (Error)   ...Show All
Visual Studio VS 2005 and SQL 2005
Hi, I have just installed VS2005 on a computer that already has SQL 2005 installed. Visual Studio 2005 only shows SQL Reporting, Analysis and Integration services as installed products on its splash screen. It does not have any sample project available for C#, VB.Net etc. When I select Help - About it says that everything is installed. Has anyone seen this behaviour Best regards, I ended up remov ...Show All
Windows Forms Can the Date-Time picker value be set to characters (or cleared)?
Howdy folks, We have an application that uses a Date-Time picker. Currently it's set to default to today's date. The users don't like that because they normally need to enter a date 1 to 3 days ago. Instead of having a default date that they could forget to enter, they would like to have the field default to the text 'MM/DD/YYYY' and force the user to enter it. I thought that perhaps we could just set the default date to 1/1/1900 ...Show All
Windows Forms rounding numbers
I am displaying numbers in several text boxes and one of the numbers is always large. I want to round the numbers to whole numbers and eliminate the decimal. Here is my calculation Private Sub Command5_Click(ByVal eventSender As System.Object, ByVal eve ...Show All
Visual Studio code for using pull model crystal report in vb.net window application
can u help me in making a pull model report in vb.net window application by giving the sample coding for it. Hi, I would try posting your question in a different forum. Try Visual Studio Report Controls Thanks, Brad ...Show All
Visual C++ Creating views for static splitter
I have a working shell namespace extension with a listview in the shellview window in the windows explorer. Now, I want to make a static 2 row,1 col splitter in the shellview with the previous list in a top row and another CWnd derived class in the lower. The problem occurs later, read on. Here's what I have in the CreateViewWindow: STDMETHODIMP CIsdShellView::CreateViewWindow(LPSHELLVIEW pPrevView,   ...Show All
Visual Basic VB 2005??? PT 2
Public Function Plus( ByVal ad As Integer ) Dim id As Integer Dim cm As Integer End Function I want to pass this fuction a varible that when i call it in the code i can enter any number and add it to another number any help with that, i know it sounds rather simple but i am not sure if i should pass two varibles or one i am thinking i should pass two and declare a local var and i dont know thats whe ...Show All
Smart Device Development HTTPS problem on Palm Treo 700w
Hi, I've been having problems POSTing to an SSL server on the above device using .Net 1.0. I've seen the other posts on ensuring the latest Service pack is installed and it is for this device. When writing to the output stream I seem to be getting a 100036 i.e. ' WSAEINPROGRESS ', usually the first request goes through OK but subsequent requests fail with this error. Using plain http, everything works fine. Sometimes when debugging on the device ...Show All
Visual Basic ADO/Access Questions
I've had a moderate amount of of experience with access databases in vb6. We'd declare a file system object and from that declare a workspace and from that a record set descriptor. One could picture and understand what was happening. VS2005 is different though. You could create and delete tables and define them dynamically. VS2005 seems to be different. It seems that things are done up front in the IDE Almost as if the relatio ...Show All
Smart Device Development Scrollable forms using Compact Framework 1.0?
Hi, I am trying to make a Form scrollable using Compact Framework 1.0 -- Is it possible at all using any workarounds (Form object, filled with a bunch of controls) I know Compact Framework 2.0 includes this feature (AutoScroll property), but our project requires Compact Framework 1.0 to be used. Thanks, Mark Rejhon See my reply to this thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=146 ...Show All
Visual Studio Express Editions No sound using My.Computer.Audio.Play and Win98
My app plays sounds when it is running and works fine on my WinXP machines but when I use it on a Win98 machine it doesn't produce any sound. The sound files (.wavs) are distributed with my app and stored in a folder in the same directory as the .exe Are there any limitations with using My.Computer.Audio.Play with Win 98 There are no limitations on using these functions on any computer with the .NET fram ...Show All
