mbr_rptusr's Q&A profile
SQL Server Binding Datatable to Report
Hi, I have created a datatable which is filled by the result of stored procedure. So I need to know like how to bind this datatable with the report using report viewer. Apoorva First you have to make sure you have a dataset. Also that the data set is connecting to this table. If this is your first time creating a report I would suggest finding a walk through on a simple report creation Here is a pretty good wak through http://www.codeproject.com/dotnet/HowToReport.asp good luck ...Show All
Visual C# ugh error
this is the code that causes the error: DestinationNode.Nodes.Add((TreeNode)(OriginationNode.Clone)); and this is the error: (it underlines 'TreeNode') 'System.Windows.Forms.TreeNode' is a 'type' but is used like a 'variable' could someone please help me with this ...Show All
SQL Server Remote Connection problem on MS SQL 2000
Hello, First, I want to say I read all threads similar this thread and I couldn't solve problem. My firewall is always off when I tried to connect remotly to SQL Server. I opened 1433 port from my router's configuration page and forwarded it to 10.0.0.4:1433. When I started SQL Server service and checking "netstat" with "-na" paramters. It shows only one row as "TCP - 0.0.0.0:1433 to 0.0.0.0:0". What "0.0.0.0" means and why foreign addres port is "0". I guess, It should like to be "TCP - 10.0.0.4:1433 to OutsideIp:1433". I removed forwarding from my router and used Windows's Network Connection to forward ports. I opened ...Show All
Visual C# Drag and Drop WIndow Handle
How can I drag and drop to any window and get the handle of the window I dropped on ...Show All
Software Development for Windows Vista WWF-SqlWorkflowPersistenceService
I have added the service to the WorkflowRuntime and used the UnLoad() of Workflow Instance. But still I could not see the data getting persisted. Can anyone please help When are you doing an unload If your workflow has a delay or an event and if you have set UnloadOnIdle flag in SqlworkflowpersistenceService to true, your workflow will be persisted in the database while executing delay or event. One thing to note is if the workflow completes or terminates it is removed from the database. Please see if the persistence samples in "\Windows Workflow Foundation\Samples\Technologies\Hosting" se ...Show All
SQL Server Various data access issues with June CTP
Hi, June CTP is much better than April CTP, I can get a little farther than before with data access however there are still problems. - Converting 2000 database with the wizard. now creates the database and move some data however the process times-out even with a little database - migrating DTS2000 packages, half of them now gets migrated but half of the migrated packages are unusable. it would be nice if the wizard would automatically skip the problematic DTS and then show me at the end what got moved or not. - Connecting to a cube from Excel with ole db dataprovider 9 - from a remote workstation, error ...Show All
Windows Forms Plz I want every one to share me this problem
I want to use datetimepicker to display arabic calender instead of english calender so how to do that Do you mean: "Hijri Calendar" If yes, then I'm sorry to tell you that the DateTimePicker doesn't support it. This is a limitation in the OS but should be solved in Windows Vista. Or do you mean: Arabic month names and day names, in the Gregorean calendar If yes, this depends on your system setting and not CultureInfo. Check this http://support.microsoft.com/default.aspx scid=kb;en-us;889834 ...Show All
Windows Forms read CSV or an easy way to convert to Access
I have to import files into a database, and i have that capability but i would like to do some checks before this takes place, such as verify that the appropriate columns are present, verify that the number of rows are a certian number, make sure there are no blank rows all just to make sure the DTS import goes smoothly and if not i ...Show All
Windows Forms Problem with KB 833032 solution
Dear All I have a datagrid in my Windows forms app and I was suffering from the problem described in KB 833032 - "The last-modified cell of a DataGrid control loses changes when you close a form". I implemented the solution but now I am having problems - if I click into the new row at the bottom of the data grid and then close the form - the code provided as the solution is giving me an IndexOutOfRangeException - "There is now row at position x." Could someone have a look into this and tell me if I must have done something wrong or is the solution missing something. My code involves a normal datagrid whereas the soluti ...Show All
Windows Forms MDI + external exe
Hi can anybody give me the code so that i can load external exe's as MDI childs into my application. Also cn anybody give me code so that i can load exe's from .dlls as MDI childs into my application Thx Assuming your exe or dll is .NET.... ' MyAssembly exe or dll contains the form to be instantiated System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFrom( "MyAssembly.exe" ) ' This create an instance of an Object Class, but it's castable to the proper System.Windows.Form or custom Form Class. objClass = asmExternal.CreateInstance("Form Name") objClass.Parent = MainForm ...Show All
Visual Basic Trouble with IFonts
I'm trying to change the default font that DirectDraw7 sets to my Back Buffer Surface (ddsB) to 18pt Tempus Sans, but the following code produces the error "Object reference not set to an instance of an object.". Can anyone help Dim myFont As IFont myFont.put_Name( "Tempus Sans MS" ) myFont.put_Size(18) ddsB.SetFont(myFont) PLEASE PLEASE PLEASE!!! Someone reply!!! I'll give you a free copy of the DirectX-Made-Simple library if you do! -- Once I finish it ...Show All
Visual Basic Troubling error
I have completed and application in VB and it runs perfectly in the IDE, and also runs perfectly when deployed to my own system. How ever when I deploy it to any other system in my department I get the following error message from the Common language Runtime Debugging Service. "Appllication has generated and exception that could not be handled" The error message offers a Process ID and a Thread ID both of which change each time it is produced. It also offers the usual OK to Terminate, Cancel to Debug options. I have tried cleaning up my references to eliminate any that are unsused and my license file to eliminate licenses ...Show All
Software Development for Windows Vista Transaction related queries on WWF
Hi To All, i have a few queries on WWF. Please clarify me on them. 1. Does it support transaction spanning across more than one activity in a workflow 2. If so, when activities (Assuming that i use WCF based components in those activities) of a workflow are inside a transaction context, does WWF bring in DTC or lightweight transaction manager (introduced in .NET Fwk 2.0) 3. If i need to create and use web services (in different activities of a workflow) that are developed based on WCF, can WWF span transaction which is based on WS-AtomicTransaction spec of WS-*, across those activities 4. Does a sequence workflow support tr ...Show All
Visual Basic Searching via a textbox string
Hi... I'm just jumping in to VS2005, and have tried to create a simple database search that will return all the items that are similar (begins or like ) text in a 3 column database table. The form has an input textbox, and a datagrid, similar to the output of an ASPRUNNER-PRO page...only I don't want a web page, I want to do this on a form. Everything IO've seen and read pertains to bound data to text boxes, whic is the opposite of what I am trying. I want to search and display the results of my matches. For instance... If some text is typed in a text box such as: trans, or gear, or raz, I would like all the matches to be output in a grid di ...Show All
Windows Forms about Icons of XPander
I am doing C# conversion for GDI+ and XPander, just find out an interesting issue. The images files come with the source code which in jpg format, can't display Transparent color. So my C# xpander looks ugly with these images (Collapes, Collapes_h, Expand, Expand_h) i have already added these 2 lines in my code this.SetStyle(ControlStyles.SupportsTransparentBackCo ...Show All
