Software Development Network Logo
  • Visual FoxPro
  • Microsoft ISV
  • Smart Device
  • Visual C++
  • Windows Forms
  • Visual C#
  • Windows Vista
  • Visual Studio
  • Windows Live
  • Visual J#
  • .NET Development
  • Architecture
  • SQL Server
  • VS Express Editions
  • Game Technologies

Software Development Network >> riffrack's Q&A profile

riffrack

Member List

Midhun
Mareen Philip.
NirBenAmi
Corrie
eagle_eye
Paolo Marini
Luiz Fábio
elisheva
Rado R
TRietz
TL Stephan
AndrewKnight
Eugene Yen
Sven Loadtester
Waynestir
Kwen.de.Mike
k_jedsada
Walter Boncal
Wessty
永清吾心
Only Title

riffrack's Q&A profile

  • .NET Development cannot convert from System.Data.IDbTransaction to System.Data.Common.DbTransaction

    i get the above error msg from this: IDataReader = returnedRecords = null; Database db = CreateDatabase(); using(DbCommand dbCommand = db.GetStoredProcCommand("sp")) { db.AddInParameter(dbCommand, "@UserId", DbType.Int, userId); if (CurrentTransaction == null) { returnedRecords = CurrentDatabase.ExecuteReader(dbCommand); } else { returnedRecords = CurrentDatabase.ExecuteReader(dbCommand, CurrentTransaction); the transaction and connection are declard in another class and can be provided if required, but i am sure these are set up correctly as I have taken this from on-line (MSDN) source. Wayne } ...Show All

  • Windows Forms Two DataGridView controlled by one scrollbar

    I need to control two datagridviews with one horizontal scroll bar. I am using C# Whidbey. I have set the scroll bar property for one of the DataGridViews to be true and DataGridView1.ScrollBar = None DataGridView2.ScrollBar = Horizontal have also registered the scroll event of the other datagridview1 in datagridview2 Now on the scrolling of DataGridView2 i want the same effect to be induced in DataGridView1. Any suggestions Regards, Nitin Gupta I have got the solution. In the DataGridView2 scroll event just write the folowinfg piece of code DataGridView2.FirstDisplayedScrollingColumnIndex = DataGridView1 ...Show All

  • SQL Server deploying cube w/o database dependencies

    Hi, I have been asked to find a way to deploy a SQL 2005 cube with no dependencies on the relational database. Does any one have any suggestions of how this might be achieved Thanks ahur Not sure what you mean by "deploy". Do you have a cube already you have built Are you planning to create a new cube in Analysis Services and start writing data directly into it instead of processing cube based on the relational database Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual Studio Team System Generate the value of a field in a workitem

    Hi all, I have a question on how I can generate the value of a field in a workitem. This value should contains a number or id to reference the project, the creation date of the project and some another indications. The value of the field must be filled in when creating a new WorkItem with for example "AB[Project Number][Date in own format]01ZZ". This value is then used to reference the workitem in our administration. We use this number already in a internally developed solution to create and track items, so this could make the migration from the internally developed solution to Team Foundation Server a lot easier. Users do not have to swit ...Show All

  • Windows Forms Component with DataTables. How to impliment?

    I'm creating a business object as a component that sits in the tray of a winform or ASP.Net page. This component will have functions that fill data tables. I would like to expose these data tables to binding similar to how the DataSet works. I presume from the documentation that you need to impliment IListSource.  I can get the base component to s ...Show All

  • Visual C++ Unresolved symbols linking dll

    I get the following errors trying to link my dll project (non MFC in this case). What am I missing nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in testdll.obj nafxcwd.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined in testdll.obj; second definition ignored    Creating library Debug/test.lib and object Debug/test.exp nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __CrtSetDbgFlag nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtSetDbgFlag nafxcwd.lib(dumpinit.obj) : error LNK2001: unresolved external symbol __CrtSetDbgFlag nafxcwd.lib ...Show All

  • SQL Server Web App Failover problem

    Hi, I have successfully set-up a DB mirroring. When the pricipal goes down, the mirror picksup and the other way around too. So the mirroring part is working great. However, when I use my web applicaiton (dot net 2.0), it is not able to connect to Mirror server . I get the following error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) My connection string in web app: &q ...Show All

  • SQL Server Microsoft Visual Studio is busy

    I get this message in a balloon that pops up frequently when I am trying to work in the SSIS designer. For example, I get it when working in a DataFlow task, trying to open editors for the OleDb Source and Destination. Is anyone else getting this What could be the cause, it seems to get sluggish. Thanks. Have you recently installed any other software that interfaces with Visual Studio ReSharper, for instance ...Show All

  • Visual Studio Express Editions Updating a form from a serialport component.

    Having been a Borland C++ chappie over the years, I've basically created my own RS232 object and dumped it in a seperate Thread, which then directly calls a static function in the forms thread, which then updates the the main forms bit & bobs. Problems occured when the RS232 object starts pummeling data into the function before it is cleared etc, and then all goes bonkers! I obviously had broken the cardinal rule "Thou shalt not interact with a control's properties from a thread other than the one that created the control." In comes VC++ Express and a serialPort object, written by someone who knows what they are doing. ...Show All

  • Windows Forms Exception in Graphics.DrawPath in special circumstances.

    Hi, I'm getting an Exception in certain circumstances when drawing a GraphicsPath. But I've also managed getting the exception with Graphics.DrawPolygon. Initially drawing is ok, but when resizing horizontally at some point an exception will pop up (inner exception is a NullRefException I think). Very obscure! The style flags have something to do with it, because when I don't use them everything looks ok. Here's the program that will cause the problem. using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace DrawPath {     /// <summary>     // ...Show All

  • Smart Device Development emulator for smartphone with visual studio 2005

    Hi, all experts Today, i have a chance to work with smartphone. At first i try to start the emulator, it's look good. But when i use explorer in smartphone, it can't connect to internet. In fact, my computer is on LAN. With PocketPc i understand how i can config.But in smartphone, i don't know Then, could you tell me how to config emulator smartphone, so i can connect to internet. Thank you Hi, I did the procedure as it is but still i am dont able to solve the problem.If u ppl got any more solutions about this issue send me a mail to my id ( nhsenthil@gmail.com ) ...Show All

  • SQL Server BUG? Extracting Data Stored in Multiple Languages

    Hi, I have an access database that is storing text in english and chinese characters. I am importing the data using SSIS and it is putting a 'square' character in place of all the chinese characters. Can I associate multiple code pages to a control If this is not possible, I would just like to Extract the data and Load it into a table, and i will just handle the errors and write the key fields to an error log. The problem is that the error handler is not redirecting the row. It just simply fails. I have changed all the error actions to Redirect Row too. I currently have a script checking if the 'square' character exists but i feel this sh ...Show All

  • Visual Basic ToolStripButton and PrintDialog (Vb.NET Beta2)

    I find the Print Dialog Box is not in activate when fired by button on ToolStrip, like: Private Sub ToolStripButton1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles ToolStripButton1.Click    PrintDialog1.ShowDialog() End Sub   The printDialog has to be made active by clicking once before making any print options. However, it is alright by normal buton, like: Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click    PrintDialog1.ShowDialog() End Sub   Is this a bug or no ...Show All

  • Windows Forms Mad about GroupBox!!!

    Hello, What I am trying to do is to add some radio buttons to a GroupBox dynamically. The number of radio buttons to add is differnet from time to time so I used a foreach loop to add the buttons to the GroupBox. But unfortunately, the GroupBox displays nothing apart from its border. Here is the unworking code: GroupBox choiceGroupBox = new GroupBox(); ...Show All

  • Visual Basic How to Telnet a UNIX Server?

    Hi, I am having a problem with creating a Telnet client. The problem is teminal emulation. Can anyone help me Cheers Shifaz ronks wrote: I wrote a telnet application in VB 6 to access a Unix server, using Dart Software's ActiveX telnet component. I see they have one for .NET, described at http://www.dart.com/dotnet/telnet.asp I haven't used that product, and it's not cheap, but the ActiveX one has worked very well and lets me get on with the application rather than hassle the protocol details. I found something in http://www.codeproject.com/cs/internet/terminalcontrol.asp , look at the file terminal.cs (negoci ...Show All

©2008 Software Development Network