icbob99's Q&A profile
SQL Server printing reports without previewing in a .NET app
hi, i need to print reports without having a preview. i.e batch printing. with regards suresh babu Enter a tag in your page such as using which you can diffrentiate in part which is for printing and which is for not printing and the part of page which is for printing make its tag cssclass on and for rest part make cssclass off and than call window.print() and after that just make all class on. it will work as per your requirement. ...Show All
Windows Forms Issue Vision Expandable List Control
First, I want to say how helpful your sample applications are for me an my current projects. Second, I would like to give back to the team, in the form of what added functionality I have added. I have modified the original Issue Vision ExpandableList and SectionControl controls with the following new functionality: - Drag & Drop functionality - HitTest methods (similar to DataGrid) - Section Controls maintains current selection, focus & expanded state on refreshs, add, and remove of base group items. - Dynamic SectionControl grouping - GroupItem takes advantage of the sorted list for its items. - Sectio ...Show All
Visual Studio Express Editions dim problem
i want to know when i use dim expression like that dim a,b,c as integer would a be integer b and c become variant or all of them become integer they say in vb6 theres something like that but in vb.net does it exist or problem solved thanks What happened when you tried it (and who are 'they' anyway ) There's no such thing as a variant in .NET, so a and b in your example will not be a variant. Displaying a.gettype returns a System.Int32, so, I suspect b will be as well. bottom line is that they are all the same type (but cannot be explicitly initialized when declared like the so). ...Show All
SQL Server Server Time Dimension CalendarLanguage
Hello, Is there a way to install a new Language for the Server Time Dimension Members I see English, German, French and Japanese, but I need spanish too. Thanks. -Jose. ...Show All
SQL Server Package config errors - VS_NEEDSNEWMETADATA
Hi everyone, I am having issues with using package configurations when just chaging the ServerName and InitialCatalog vars of a Connection Manager. I have DelayValidation = True on the Data Flow Task that is erroring out, but I am still recieving a VS_NEEDSNEWMETADATA error before the package is executed. The 2 boxes have identical tables I'm trying to access, although 1 is 2005 and the other is 2000. Any thoughts I thought that package configs were supposed to be quick and painless Thanks, Adrian We worked around this by setting the source to a SQL command rather than a Table/View ...Show All
Windows Forms send message to other process
Hi:( The problem is: I have two winform processes A and B. When form A is closing I want him send a message to form B, so that form B can save the data. How can I do that Thanks in advance. hi all, perhaps its quit late, but i found a simple solution without remoting. I searched for sending WM_CLOSE to another process started by my application. My code is C++, but i think it must work in C# similarly. Here is it in sample form: /* Receives HWND of other Process to close. */ BOOL CALLBACK myEnumThreadWndProc( HWND hwnd, LPARAM lParam ) { if ( IsWindow( hwnd ) ) { DWORD result; SendMessageTimeout( hwnd, WM_CLOSE, 0, 0, ...Show All
.NET Development underlying connection was closed:unable to connect to remote server
hi, webservices installed on windows 2003 is trying to access another server behind firewall. And getting this system.net exception. please let me know whts the fix for this. thanks gouda I have been receiving this exception for over a week with a .NET remoting app and can't find a solution anywhere that works. Below I'll paste my config files and the client code calling the remote method. I'd really appreciate some assistance. The Server code and files are on a remote server within our facility and have been told more than once there is no firewall between my wo ...Show All
Visual Basic Array Of Classes Problem
Hi, i am having a small problem with an application that i am developing. the problem is that i need an array of classes: [code] Friend Class Connector Public aNodes() As Point Public iNode As Integer End Class Public Class frmMain Private Lines(20) As Connector ... ... End Class [/code] The problem is that when the code that accesses the array Lines, the program halts, with the error "Object reference not set to an instance of an object", and tells me that i need to use the NEW keyword, but when i change the line to: Private Lines(20) As New Connector ...Show All
Visual Studio Cannont Get VSS2005 to Work with VS2005
I've installed, deinstalled and reinstalled at least 3 times now, VS2005 first, then VSS2005. Running VS2005 does not show any items that deal with VSS. Both apps work fine individually, but I cannot access VSS within VS. Hey, How do you acess it I've installed the VS.NET 2005 and got sourcesafe to work fine. Brian ...Show All
SQL Server Can not create new replication after changing server name
After i changed my computer's name(eg. the original computer name is 'SERVER-1' ,I has changed it to 'SERVER-2' ),I can not create a new replication in SQL Server 2005. The error message : ------------------------------------------------------------------------------ New Publication Wizard SQL Server is unable to connect to server 'SERVER-2' . SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not ...Show All
Windows Forms An exception related to TreeView
In Whidbey Beta2, If I uses TreeView in my program, a exception will thrown when the program exits : A SafeHandle or CriticalHandle of type 'IconHandle' failed to properly release the handle with value 0x00010005. This usually indicates that the handle was released incorrectly via another means (such as extracting the handle using DangerousGetHandle and closing it directly or building another SafeHandle around it.) See c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config for documentation. How to eliminate this exception Thanks! I later found that it's because I uses some icon in a TreeView in Whidbey B ...Show All
SQL Server SQL Server 2005 installation on Win XP Pro X64
i am using " XP Pro x64 Version 5.2.3790 Serivce Pack 1 Build 3790" Operating system. I had tried installing SQL Server 2005. Unfortunatelly i ended up with this error The setup has encountered an unexpected error in datastore. The action is SetInstanceProperty. The error is: Source File Name: datastore\propertyid.h Source Line Number:168 --------------- Failed to load property "InstallIds" {"MachineConfiguration","","BOBXP64"} due to unhandled data store exception Source File Name:datastore\datastorecache.cpp ---------- Existing datastore does not match ...Show All
Windows Forms Question about Custom Control on Focus, Cursor
Hi, I need make a control for input something like TextBox, but for some reason, I don't want to drived it from TextBox. I drived my class from Control. I meet some problems. 1. OnPaint:When the control is in focus, how to paint edge as it look like in focus 2. OnPaint: I want to draw 3D edge , which Griphic function&nbs ...Show All
Windows Forms Using Exception Management Application Block with CAD program add-in...
I am developing a Winforms add-in for a major CAD package. I have incorporated EMAB throughout the add-in, which is comprised of 11 forms. All of the forms are encapsulated in 4 separate .dll assemblies. When I invoke the add-in from my test harness, the app.config for the harness is referenced so my custom publishers work flawlessly. However, when the&nbs ...Show All
Windows Forms Events of the Datagrid Control
Can someone please let me know all the events of the datagrid to select the row of the datagird Thanks check out http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridmemberstopic.asp that list all the events, though you can use mousedown/up and click and process the selected row. I would use the click event and then use the currencymanag ...Show All
