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

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

Matt150279

Member List

Gaurav Makin
Kajal Sinha
Mark Durley
Takashi Toyota
LordDark
Matheus Von Der Kerkhoff
Bassel Samir Banbouk
amr osama
ABJcarlos
Dieterdp
Andrew Lisogor
Alias_aix_13
L. von Wyss
Balamurali Krishnan
Timothy Chan
Marty McGee
Fabriciom
Tadeusz
Alicuevas
Werdna1
Only Title

Matt150279's Q&A profile

  • SQL Server publishing downloading report model

    Hi friends is it possible download a report model (.smdl) from a report server and also how to publish a report model i know how to do this from report manager page but i need to do this programmatically (from C#). any ideas please. Thanks. publish model using SOAP method CreateModel , then bind it to a data source using SetItemDataSources ...Show All

  • Visual Basic cursor in textbox control

    I need some help showing the cursor position in a text box on windows form. I’m using two buttons on a windows form to move a text insertion point to the left or right in a single line text box on the same form. The text insertion point does move left and right as commanded but I get no cursor in the text box to indicate where in the text box the insertion point is located. In VB 6 the cursor (flashing vertical bar) in the text box was shown at the txt1.SelStart location. The same does not seem to be true in VB .net when I use txt1.text.SelectionStart. I’ve tried everything I can think of to get the text cursor ...Show All

  • Architecture Have you tried NHibernate?

    I was just wondering... how many of you have tried using an Object Relational Mapper... perhaps something like NHibernate instead of the DataSet: NHibernate is a port of Hibernate Core for Java to the .NET Framework. It handles persisting plain .NET objects to and from an underlying relational database. Given an XML description of your entities and relationships, NHibernate automatically generates SQL for loading and storing the objects. Optionally, you can describe your mapping metadata with attributes in your source code. NHibernate supports transparent persistence, your object classes don't have to follow a restrictive progr ...Show All

  • Software Development for Windows Vista Problems with state persistence and timer services

    Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress is evident every time: With the state and/or timer service enabled, the flow gets stuck on ListenForManagerApproval  and then after a while the workflow gets the status "aborted". Any ideas why ...Show All

  • .NET Development FtpWebRequest re-sending USER and PASS commands half way through download loop

    Well, the title says it all really: I'm using FtpWebRequest to download multiple files as follows: private string GetFile(Uri uri) { string un = Misc.ReadRegKey("ParserFtpUsername"); string pwd = Misc.ReadRegKey("ParserFtpPwd"); string file; NetworkCredential cred = new NetworkCredential(un, pwd); WebProxy pxy = new WebProxy(); pxy.UseDefaultCredentials = true; FtpWebRequest wr = (FtpWebRequest)WebRequest.Create(uri); wr.Credentials = cred; wr.Proxy = pxy; wr.UseBinary = false; wr.Method = WebRequestMethods.Ftp.DownloadFile; FtpWebResponse resp = (FtpWebResponse)wr.GetResponse(); ...Show All

  • .NET Development Application Server Failover

    Hi All.... My team has developed a distributed windows application using .Net remoting.The protocol  used is TCP/IP with Binary Formatter.We have used both SingleCall and Singleton objects to expose the classes at the server.These classes include our middeltier, business logic and database connectivity.We are using Oracle 10G as Database.The Application is working fine for a single server - multiple client configuration. But Now the Application requires to work 24x7.Therefore we are planning to host our application server on two machines running Windows Server 2003.These Machines will be connected and both will be access ...Show All

  • Visual Studio Team System VS2005 Team System Beta 2 VPC - Login Failure

    I have downloaded and installed VS2005 Beta 2 VPC, including VPC SP1.  When I start VPC, it loads as far as the login screen.  I cannot login using the suggested user ame and password. Domain: ADVENTUREWORKS Username: LOCAL\darren Password: Pass@word1 The error I am getting is 'The system could not log you on....' Do I have to create the domain   Please advise  Garfield The username is just "darren". There are some other notes here: http://blogs.msdn.com/442852.aspx ...Show All

  • Windows Forms Real time updates?

    I downloaded task vision today and think it is great. I opened two instances, made an update in one instance and couldnt get it to show up in the other instance.  I am creating an app similar to task vision and require this functionality. Does anyone have any ideas, or has anybody done this in the past Thanks Hi,  First I must ...Show All

  • Windows Forms Possible Bug of the TableLayoutPanel?

    Try this to duplicate the possible bug: 1. Drag a tablelayoutpanel on a form inside the VS 2005 IDE. 2. Make it two rows and two columns. 3. Put a textbox in the seond column on the seond row 4. Set the textbox's columnspan = 2. Since the default grow behavior of the tablelayoutpanel is to add rows, our textbox will now move to the newly-added row to occupy two columns. Everything is fine, right But wait, we cannot drag our textbox to anywhere any more. No matter how hard you try, the textbox will stay in the newly-added row.  This behavior seems not right to me. Is this by design Could you please che ...Show All

  • Windows Forms ellipsis button on a DataGridView cell

    I know I am missing something simple. . . I have an unbound column on a DataGridView. I want it to display some data derived from a non-visible key field of the dataTable the Grid is bound to. I want an ellipsis button on the text box, so the user can open a form to define the data that wll be set in the key field, then I will update the Unbound column. Does that make sense am I going about this the wrong way You can convert the code to VB fairly easily. There's probably other tools out there or more elegant ways to do it, but I did it by loading the assembly into Lutz Roeders .NET reflector and using the File ...Show All

  • .NET Development problem with com object

    Hi, I must create a com object that has some methods described in an interface. One of this methods is          new(par1,par2,par3) as short The only problem is that i can't create a method with such name because it is seen as the constructor of the com object (and the constructor for the com object must have no parameters). So when i write Public Function new(...) as short i get the message The constructor must be declared as Sub and not as Function Thanks for your answer, i did not knew this feature of .net. However my problem is that i am writing the com " ...Show All

  • Windows Forms validation in forms

    Hi I have made a web form (C# asp.net) and now I'm making the same form for windows.  I'm trying to validate the user input.  Can I use the same validator gems I used in asp.net (requiredfieldvalidator, comparevalidator etc) in a windows form  I see that these are from the system.webui family - does this mean that they're unusable in non-webforms I'm ...Show All

  • .NET Development How to Start Building a firewall in c# .net

    Dear Friends...   I am a student of RCPIT,Shirpur at INDIA and want to build a firewall in visual studio c# .net... but where i block is i do not know how to start capturing packets from NET WORK CARD and then how to control the,m..  means i know the flow that,,.. first i have to capture the packets ( but dont know how to do that in c#) and then stop them using some rules ( even dont know how to do this in c #)... and i want a little bit help...   mine contact mail id is : jinne_of_hearts@yahoo.com,adi_jinne@yahoo.com   So if any one knows how to do that i will be kind to them for helping me ou ...Show All

  • Visual Basic SQL does not allow remote connections-Error 40 Problem

    Hello, In the MSDN site ( http://msdn2.microsoft.com/en-us/library/2f8abfew(VS.80).aspx ) there is a sample code to teach Stored Procedures in SQL Server. But it doesn't run. When one clicks on the Create Sprocs button one gets the following error message: "An error occured 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 does not allow remote connections. (provider:Named Pipes Provider, error: 40- Could not open a connection to SQL server)" (I wish MS allowed one to copy error messages from msgboxes!) On this for ...Show All

  • SQL Server Hide/Show parameter based on Multi-Valued Parameter Selection

    Hi! I have a parameter that sould be visible only if certains values are selected on a multi-value parameter. I tried to use an expression for the parameter's hidden property, but I saw it's not possible (at least not in the usual way, as with tables). Does anyone know how to do it Thanks! There is no way to do this through RDL, but if you are using the report viewer controls, you can programmatically hide the parameters using the ReportViewer control API. ...Show All

©2008 Software Development Network