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

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

renz_wales

Member List

MAttinNHTryAgain
Petya
Paul Farrell
Ori Gershony
Arun79
help_me_please
kedklok
alexjstubbs
james100
Adria Grau
parcalto
tplummer
Mikeeee
Baris Guner
objKiran
Gardini
Thomas Logan MSFT
SteveDyte
ershad
Olle SW
Only Title

renz_wales's Q&A profile

  • Visual C# tlbimp.exe and DllImport

    I have a dll file that also comes with a .tlb file.   When I tried to load the dll file, I imported the dll using tlbimp tool.  The dll implemented an interface that exposes some functions... but when i tried to create an instance of the class in my dll file, it throws me : System.Runtime.InteropServices.COMException was unhandled   Message="Retrieving the COM class factory for component with CLSID {9A85C592-4736-45CE-ADE3-200144B78F19} failed due to the following error: 80040154."   Source="PPTranning"   ErrorCode=-2147221164   StackTrace:        at PPTranning.Form ...Show All

  • Visual Studio Express Editions How to install SQL 2005 Server Express Edition and Visual Studion? When it says...

    In each installation guide, it says to unnistall all previous installs... So if i Install the VS 2005 for VB.NET, and i wnat to install the SQL Server, i need to unninstall VS How can I have both, if i have to install the other one before installing Can I just Install the VS 2005, then the SQL 2005 Server Tkx... ...Show All

  • Software Development for Windows Vista WF State Activity w/ToolBoxItem Inheritance problem

    I am creating an inherited StateActivity called HWStateActivity and adding some dependencyProperites.  I want this inherited class to become the “base” class of all other state activities that we create.  The following is an outline of what I am attempting to do but I get errors:   The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: WaitingForPatReferralCreation. The base class WaitingForCreation could not be loaded. Ensure the assembly has been referenced and that all projects have been built. The designe ...Show All

  • SQL Server Update fields on n-side of 1:n-relation

    I have some tables with 1:n-relations. Now I want to update the n-side of the relation. Whatever i do the result is always: Subquery returned more than 1 value. This is not permitted ... Both number and internalNumber are unique in table k, which is the 1-side of the relation. Ab is one of the n-side tables. UPDATE Ab SET knr = (select k.internalNumber from Kunden as k where kNumber=k.number) In my opinion there should be one kNumber at a time and for each kNumber exists exactly 1 record in k. The following gives the same result: UPDATE Ab SET knr = k.internalNumber from Kunden as k w ...Show All

  • Windows Forms in arrays...

    Hi, I'm trying to read a text file, somewhat like this: #15-07-2001 sdkfhksdfhsdc cskjmcdfcsd #13-12-1999 asljkdaksjxd dcjdvf etc... I want to save the dates... so I put up something like this: string line; string date; StreamReader sr = new StreamReader(...); while((line=sr.ReadLine()) != null) {      if(line.StartsWith("#"))      {           line = line.Remove(0,1);     ...Show All

  • SQL Server proper way to drop publication?

    Hi There According to BOL, the correct procedure for deleting a publication are as follows: These must be run on the publication database. Execute sp_dropsubscription to delete all snapshot subscriptions. Execute sp_droppublication to delete the publication and all of its articles. My only issue is after step 1 the subscription still exists at the subscriber and it marked as failed (does not exist), i always have to go delete the subscription afterwards at the subscriber. AM i missing something WHy does sp_dropsubscription not do this Or is there another sp i should be running first Thanx Hi Dietz ...Show All

  • Visual C# ExecuteScalar erro

    { SqlConnection conn = new SqlConnection (); conn.ConnectionString = "Data Source=(local);" + "Initial Catalog=bd;" + "Integrated Security=SSPI;" ; SqlCommand sqlComm = new SqlCommand ( "SELECT * FROM utilizador WHERE user=@user;" , conn); sqlComm.Parameters.Add( "@user" , SqlDbType .VarChar); sqlComm.Parameters[ "@user" ].Value = user.Text; conn.Open(); Int32 teste = 0; teste = (( Int32 ) sqlComm.ExecuteScalar()); --> ERROR {"Object reference not set to an instance of an object."} conn.Close(); } wha ...Show All

  • Software Development for Windows Vista Workflow Serialization Problem

    Hi to all, I have been using beta 2 bits for a couple of days and trying to upgrade my project with the new stuff. I've change a lot of things ( as you guys did in beta 2 :), but one problem still cannot be solved. I'm using the workflow designer control to change workflow definition. I have also a state machine workflow. If I load the workflow from file (xoml) no problem. But if I want to get a workflow definition from running workflow the serialize it and pass it to the workflow designer control I cannot edit the workflow. After debugging it seems that serializing state machine workflow it only serialize the root activity. Stefan, ...Show All

  • SQL Server Unable to open MSDB node

    I'm sure there is a simple answer to this but it eludes me at the moment. I’m using the Developer Edition of SQL Server 2005. The MSDB node under Integration Services->Stored Packages refuses to open. It always fails with a login timeout message and that the connection was actively refused. I’ve run the SQL Server Surface Area Configuration tool and allowed remote and local access, even though it’s all installed on the local machine. This didn’t help. The next thing I did was to turn off all my firewalls and internet access control software and it’s still not working. ...Show All

  • Visual Basic 'Declaration expected' error

    hi, here is my code, i receive strange error... Dim rptKadirReport As ReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument() Dim reportPath As String = Application.StartupPath & "\.." & "\.." & "\" & "KadirReport.rpt" Private connStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=dental.mdb" Private conn As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection(connStr) conn.Open() Dim str As String = "SELECT AD, SOYAD, CEP_TEL FROM HASTA" Dim da1 As System.Data.OleDb.Ole ...Show All

  • .NET Development The best way to connect to a access database

    Hi. I am using vb.net 2005 prof. When i connect to a database (access) with a datasource (the build in way), and the program are running, it seems like it takes forever to load the database. Is VB really loading the intire database to memmory That would be a problem if it's at realy big database. I have changed the code, so i connect programmaticly and it is much faster, but why does vb load the entire database I was realy exited when i started vb.net, it was realy easy to connect, and work with databases, but it's no use, if vb is loading the entire database to memory. What is the best way to connect to at database Could anybody gi ...Show All

  • Visual C# System.Net.Mail -- how to continue sending to emails if one of the emails fails with a 511

    I'm using the System.Net.Mail interfaces to send emails; however, if I am sending to a list of emails and one of them does not exist, the entire message is aborted and an exception is thrown. Is there a way to tell the Client to not throw an exception on a failed message and to sent to the rest of the recipients Thanks, Kevin here is a simple method, althought there could be a simpler way, you can do something like I did here:         static string Host = "";         public static void SendList(MailMessage[] List)   &n ...Show All

  • SQL Server Switches or scenarios in a cube?

    Hello, I try to find out a way to create switches or scenarios in a cube. Here are 2 examples of what I want to do: - Data on-off switch, by default the cube shows no data, the user has to flip the data switch to position ON. this allow the cube to evaluate the custom MDX access control formula for this user role membership and serve him only the data he is permissioned to see. this way I can publish a blank Excel pivot table. - Calculated Measures, The formula evaluate the status of a switch with an iif and perform one or the other calculation, example, Margin type switch drives the way Margin measure is calculated. User can choose ...Show All

  • Visual Studio 2008 (Pre-release) opening infopath using avalon application

    hi, Please help me in opening infopath using avalon application when button is clicked. Thanks in advance for help Chanduu. Thank you very much for your help. Can you please explain me how to open existing infopath when a button is clicked in my WPF application. ...Show All

  • Visual Studio Team System Import Tool from ClearCase

    Will TFS have an import tool to allow one to import ClearCase/ClearQuest migration to TFS And if so will it preserve the history of the files, labels, etc Please look up http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=150445&SiteID=1 for a sample tool ...Show All

©2008 Software Development Network