Software Development Network Logo
  • IE Development
  • Windows Forms
  • SharePoint Products
  • SQL Server
  • Visual C++
  • Smart Devicet
  • Visual C#
  • Audio and Video
  • Visual Studio
  • .NET Development
  • Microsoft ISV
  • Visual FoxPro
  • Visual Basic
  • Windows Vista
  • Game Technologies

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

tviel

Member List

AlexBB
MyoZaw
ZopoStyle
Leef
tomerlev
Abu Yaman
j_o_h_a_n_n_e_s
razerredblue
KentaroM
Donaghy
Hassan Ayoub
Frederik Vantroys
mathmax
Kostas Pantos
douner001
harryengland1994
Sweeps78
Darren Tao
Arran Siu
Angel Kafazov
Only Title

tviel's Q&A profile

  • Visual Studio Models relationship

    Hi, When I run Domain Model project a new instance of VS (Experimental Build) is opend. I am using Class Diagram type. I created 2 files with my extension, for exmaple Test1.mydsl and Test2.mydsl. Test1.mydsl has Parent object. Test2.mydsl has Child object. I need to have a inheritence relationship b/w these objects. Is it possible that one object lives in first dsl file and another from second dsl file inherits from it Because I have a huge model and it would be better to separate sub-model in different files. Thanks. Hi, The DSL Tools don't natively support cross references between models. The good thing is that the DSL Tools team just released a Power Tool that does support thi ...Show All

  • SQL Server Boolean in SQL Server 2005

    What is the boolean equivalent for TRUE and FALSE in SQL Server 2005 In Access true = -1 and false = 0 What should I use in SQL Server bit values No, you need to use 0 and 1. SQL Server has no knowledge of true and false. This is only possible by creating custom data type via .NET. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Windows Forms Overriding an 'invisible' property

    UserControl has a property called Text which is hidden from the user at design time. How do I override Text such that the user can 'see' it This is untested code, but I'd say just your usual override should work: public override string Text { get { return base .Text;} set { base .Text = value ;} } If that doesn't work try using the new keyword instead of override. ...Show All

  • Software Development for Windows Vista About the workflow desiger Rehosting?

    When I try to load a xoml file using the designer( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp ) ,I meet the Exception msg {"Invalid character in the given encoding. Line 2, position 53."}. try { WorkflowMarkupSerializer xomlSerializer = new WorkflowMarkupSerializer(); rootActivity = xomlSerializer.Deserialize(reader) as Activity; } I think the xomlSerializer.Deserialize method can not Deserialize the xoml file that include the acitvity name like " "(chinese). how can I solve this problem this is the xoml File <SequentialWorkflowActivity x:Class="foo.Workflow1" x:Name="Workflow1" xmlns:x=" http:/ ...Show All

  • SQL Server Process task hangs running bcp

    We are attempting to use Microsoft SQL Server Integration Services Designer Version 9.00.2047.00 to run a BCP command from a Process task. We are able to do so without a problem when running it interactively, but when run as a SQL Server Agent job the bcp process never completes and the job hangs indefinitely. We also tried using a Script task for this, with the same result. Has anyone else run into this problem Thanks, Ron Thank you for the suggestion, Duane. In this case, though, the package executes, it just hangs on the Process task that executes the BCP command. The security level of the package is DontSaveSensitive, and the Agent service account has full permissions to the fil ...Show All

  • Visual Basic Printing Drawings from Screen

    Hi, I am needing to place a number of drawings on screen, using data from SqlTables, and then printing them out. The following code produces the desired shapes in a PictureBox Private Sub btnDraw_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDraw.Click 'Retrive the Lines from the Drawing_Lines table Dim connection As New SqlConnection(connectionString) Dim command As New SqlCommand( "SELECT X, Y FROM Drawing_Lines WHERE Code= '" & cboCodes.Text & "'" , connection) Dim reader As SqlDataReader connection.Open() Dim flashPointList As New List( Of PointF) reader = command.ExecuteReader Do While reader.Read ...Show All

  • SQL Server Use Variable as Table Name

    I am trying to write a stored procedure that accepts a table name as an argument and then displays all of the columns of the table. My code does not work and I don't know why any ideas set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [selectTable] @tableName varchar ( 50 ) AS select * from @tableName ; I get this error: Msg 1087, Level 15, State 2, Procedure selectTable, Line 5 Must declare the table variable "@tableName". Please help. hi on the SQL Server 2000 you can't use table name as variable! on the SQL Server 2005 you can use it. if you use SQL Server 2000 please fetch your table name from SYS table ...Show All

  • Visual C++ Decorations on C++ DLL function declarations really needed?

    I used the _stdcall decorators on the Visual C++ function definitions and declarations, but I couldn't get communication between the DLL and the Visual Basic application that was trying to call the functions of the DLL.. When I removed the declarations from the VC code almost completely (all but for the DLL_Main function definition), it worked fine.  Is there any disadvantage to using this approach   Everyone I communicated with about it , including my boss and people that answered the MIcrosoft help posting that I put up, stated that you have to use those decorations.  Why is that   It works fine without it so far.  My boss will be back from travel tommorrow.  I was hoping to find out today so I can make ...Show All

  • Software Development for Windows Vista Nivida GeForce Go 420

    I have Nivida GeForce Go 420 graphics card with 32 MB Ram and 1 GB system Ram and 1.7 Ghz pentium processor, Can i know if i can run vista home premium on my notebook , for some reasons i am not able to download the windows advisor and check , can anybody help me to solve my problem , i am asking this questions to many of them but no one knows. they say u can run vista basic , that i too know but i am interested in knowing can i run vista home premium if i can then can i be able to run the aero. or else will vista home premium can be installed on such system . please help Please note that this forum is geared toward software developers creating their own products. Try to download the Windows Vista ...Show All

  • SQL Server How to get Specific rows from Table

    hi i m using row count in order to get first 16 rows from a specific table...now i want to get rows from row no. 16 to 32 (or any no which i want)...can any one tell meee how can i query it using sql server 200 If your total result set is small enough (> 1000 records) you could insert into a table variable with an identity column and then select back out referencing the identity column in the where clause. For example: DECLARE @tblTable TABLE ( TableID INT IDENTITY ( 1 , 1 ) , OtherID INT , Value VARCHAR ( 50 ) ) INSERT @tblTable ( OtherID , Value ) VALUES ( 1 , 'One' ) INSERT @tblTable ( OtherID , Value ) VALUES ( 2 , 'Two' ) INSERT @tblTable ( OtherID , ...Show All

  • .NET Development Creating a NewFolder using c#

    Hi, I am writting a textfile to c:\ Temp folder. I want to check whether there is Temp folder available in c: , before i save the files in c:/Temp.If there is no folder called Temp in c:,then i want to create a new folder[Temp] dynamically. Can somebody give me an suggetion to do it My existing code is: public void TextWrite() { string logPath = (string) (new System.Configuration.AppSettingsReader()).GetValue( "DataAccessLogPath", typeof(string)); ////////////////////"DataAccessLogPath" is <add key="DataAccessLogPath" value="c:\Temp\"></add> given in App.Config file. DataTable dt= Context.QueryDataTable(Sql.Select( RootSystem.Bills.WOWJ_NO, R ...Show All

  • .NET Development How do you check for null values in a dataset column

    I have tried a large number of options to check for DBNull for a column returned in a dataset and I can't seem to figure it out. What I basically want is Dim ds As ADMDS.PGListDataTable Dim ta As New ADMDSTableAdapters.PGListTableAdapter ds = ta.GetDataByPropertyGroupID(propertyGroup) if (ds(i).prop_description is not null) then ... do something How do I correctly check for DBNull Everything I try gives me the same error. "The value for column 'prop_description' in table 'PGList' is DBNull." Option 1: l_tooltip = CType (ds(i).prop_description, SqlTypes.SqlString) If (l_tooltip.IsNull = False ) Then Options 2: if (ds(i).prop_description.isnullorempty = true) Option 3: if ...Show All

  • Visual Studio Tools for Office VSTO Outlook 2003 Add-in Deployment problems

    I've had a lovely little add-in now working on my machine for a while, and yet I haven't been able to deploy it successfully, not even on my own machine once. The program works absolutely perfectly on my machine when debugging and running through Visual Studio, but when deployment comes, the common error "Not loaded. A runtime error occurred during the loading of the COM Add-in" occurs. I've now created the simplest of simple add-ins, that simply display "HELLO WORLD" in an attempt to deploy that, to then further, deploy mine - still no look. The main blog I found which seemed to cover the most problems was http://weblogs.asp.net/mnissen/articles/427504.aspx I created the installer class that i read about ...Show All

  • Visual C++ error C2065: 'PCACTCTXW' : undeclared identifier

    I did convert an application from vs6 to vs8 and then i got this error (seems a little like the DWORD_PTR thing...) Where could be the problem ------ Build started: Project: HydrotelKernel, Configuration: Debug Win32 ------ Compiling... [ ... ] // i'm skipping this part of the building... way too long AdoDatabase.cpp  WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) AdoRecordset.cpp d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcomctl32.h(32) : error C2065: 'PCACTCTXW' : undeclared identifier d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcomctl32.h(32) : error C2146: syntax error : missing ')' before identifier 'pActCtx' d:\program files\microsoft visual studio 8\vc\atlmfc\include\ ...Show All

  • Visual Basic Can't add DLL's from GAC through References-Add Reference

    Hi all, I need added a DLL to my GAC (C:\Windows\Assembly) but when I want to add a reference to this newly added DLL I can't seem to add through right-clicking on 'References->Add Reference' and then selected the 'Browse' tab in the 'Add Reference' dialog. I can locate the dll, but when I click 'OK', nothing happens. Any ideas I agree with you and think it is a shame that there is no easy way to directly reference an assembly in the GAC if it’s not on the provided list. As for why you cannot select it when browsing to C:\Windows\Assembly... look at the folder again in the Windows shell... it’s not a traditional folder that you can so easily access as it is really an app known as the Assembly Cache Viewer and that provides a ve ...Show All

©2008 Software Development Network