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

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

lagu2653

Member List

Airmax
00Negative
pnp
Nick Lilavois
Amos Soma
e_LA
ile
SP534
Sriman
yamobe
Dexter
PerBylund
caahsc
adorer
inge_03
paulabq
Keith27
dhayashi
RichardW411084
TWeiler
Only Title

lagu2653's Q&A profile

  • .NET Development Interop layer throws System Exception (cast) when accessing unmanaged COM code

    I would appreciate help/comments on the following... I am trying to access a COM component written in Fujitsu NetCOBOL from C#. I have spent many hours (days...) reading the docs, trying various combinations, and looking at the samples but my attempts are failing miserably. The COM .dll is called "AVSCOMSVR" and the embedded TypeLib has been picked up and converted to an Interop Assembly by VS 2005. Here's a picture of the generated interfaces and Classes: http://homepages.ihug.co.nz/~dashwood/dashwood/AVSProject2.jpg I find this a little puzzling... VS2005 seems to have duplicated the interfaces, some above the Class entry and some subordinate to it, but that may be OK and just reflect my limited understandin ...Show All

  • Visual Basic sendkeys while computer locked

    Hi All, Is there any way to send keyboard input commands when computer is locked to a particular window Thanks ...Show All

  • Visual Studio Supporting 2003 version of compiler and runtime in VS2005

    Hi, I have a question regarding C++ projects created with the 2003 version of Visual Studio. For the most part I have been using VS2005 but I still keep VS2003 since I haven't migrated all of the codebase. The reason for it is that some projects link to code which is not managed by me and I cannot get new versions of those libraries. My question is is there a way of using the old C++ compiler and libraries from the 2005 IDE, that is without converting the project files. I was the Makefile project and I am wondering if I could set it up to with with the old tools, or if you could give some other advice it would be great. Regards, Angel Kafazov AFAIK no, there is a tool named MSBee but it is for VS 2005 building .NET 1.1 managed applic ...Show All

  • SQL Server How to recover from dropped tempdb?

    I am testing sql server 2005 in different disaster situations happened under 2000. I was reading a lot about no update on system tables, so: sp_detach_db 'tempdb' In sql 2000 i could issue something like the following command to recover: use master sp_configure 'allow updates' , 1 reconfigure with override go insert sys.sysdatabases ( name , dbid , sid , mode , status , status2 , crdate , reserved , category , cmptlevel , filename , version ) values ( 'tempdb' , 2 , 0x01 , 0 , 8 , 1090520064 , '2007-01-27 13:03:10.873' , '1900-01-01 00:00:00.000' , 0 , '90' , 'D:\beep\mssql\temp\tempdb.mdf' , 611 ) go sp_configure 'allow updates' , 0 rec ...Show All

  • Visual Basic Visual Basic 6.0 and MS Access linking pictures!

    Hey all, im a student in a UK college, using VB for my coursework in computing. Basically, i can't get a hold of the code for something which i think is important in my project. First, let me put it into context, my project consists of a program for use in an opticians, so "stock control" is one of the forms. Thus, i have a database of the available spectacles, linked to the form via an ADO control. My intention was to place images in the database, then have a set space on the form in which the image will change according to the record. E.g. if i move "next, next, last" the image would correspond to the last set of spectacles. I tried a basic hyperlink from the directory in the database (which is MS access btw) but that didn't seem t ...Show All

  • Visual Studio Team System Trouble when upgrade TFS RC to TFS RTM

    Hi, I want to upgrade TFS RC to TFS RTM, but when I download the Upgrade pack( http://go.microsoft.com/fwlink/ linkid=60341 ), only Upgrading from Team Foundation Server Beta 3 Refresh to Team Foundation Server RTM.doc can be found. I cannot get the upgrading guide for RC. BTW, the version of upgrade pack is TFSUpgradePackageCHS.EXE(I downloaded it in China). Could anybody help me Thanks Hi, Have you visited the TFS RC to RTM MSDN page Check it out here: http://blogs.msdn.com/vstsue/articles/552118.aspx There are also guides in this forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=240555&SiteID=1 Hope that helps, -Matt ...Show All

  • .NET Development Trying to send a mail via SMTP in VB 2005 - Authorization problem

    I am having a the same problem. I created a VB 2005 app that would try to deliver mail with both System.Web.Mail and System.Net.Mail. Both methods will work if I don't authenticate. If I use the fields property to authenticate through System.Web.Mail, I can authenticate and send to users of the outside world. If I use the Credentials property of the SmtpClient class, I can't authenticate. Here is some code. System.Web.Mail - Authentication works If the authentication code is commented out, the code can still send to anyone that has an email address on my domain but can't send outside of the domain. If I include the authentication code, it can send to either internal or external. ----------------- ...Show All

  • SQL Server multiple connects to database

    How does reporting services handle connection strings. There is a single report using a shared datasource. Testing this report seems to generate multiple connections to the database for a single user. The report being tested has 4 datasets (3 to obtain parameter value lists) using the same shared datasource but the number of connections for the single user were 20 in one instance. When does reporting services make the connection and when does it release it It didnt seem to let these go when the report was done executing. Using RS2005 sp1 with DB2 The Report Server processes the dataset queries in parallel whenever possible. This is why you see three connections open when you run a report with multiple data ...Show All

  • Visual Basic in my vb.net application i am having a new window in this window i need to have full functionality of ms outlook how to do t

    in my solution i am having a new window and i need to send mail through outlook from this window my requirement is to when i click a button i get a new window and in this window i need to place the screen of compose (compose screen ) of ms outlook can any one help me how to solve this problem Start reading here ... ...Show All

  • Visual Studio Express Editions How do I COMPLETELY uninstall?

    Every time I uninstall and re-install Visual C++ 2005, the computer seems to remember that the program was installed previously and tries to restore my old settings. I don't want this to happen. How do I COMPLETELY uninstall Visual C++ 2005, so that it is as if the program were never installed previously I've tried uninstalling from the control panel, deleting the "Visual Studio 2005" folder in My Documents, and deleting C:\Program Files\Microsoft Visual Studio 8. What more do I need to do Apart from the above, there is one more place. In the registry under HKEY_CURRENT_USER\Software\Microsoft\Visual Studio. If you delete the 8.0 key then it will remove all your personal settings for VS8. Y ...Show All

  • SQL Server No rows were deleted

    My SQL 2005 table has 7 exact redundant records. I opened it in a data sheet view and selected these rows and tried to delete them. No keys are defined and null values are allowed. Error says: The rows values updated or deleted either do not make the row unique or they alter multiple rows (7 rows) Help: Why error message and How to delete these 7 rows I am having the same problem with one of my tables. I added a "KEY" column to the table, using the uniqueidentifier data type, but was forced to allow NULL values. When I try to go into the table manually to enter a unique key, it will not allow me to update the field, giving me a similar error message (No row was updated. The row value(s ...Show All

  • Windows Forms How do i populate a datagridview cell with an unbound data after input information on a cell?

    Hello, I want to populate, in datagridview control, a row cell with to fields (to simplify the example). I have a sql database with a table named Products. The datagridview will show the code of product and in the next column for the same row the correspondent description. I want to insert manualy in each row the product code and after that using for instance the CellEndEdit event conect to the sql database, search for the product code in products table and bring the corresponding data to the grid columns, for this example the description for each product. I am using Visual basic 2005. How can i do this simple task !!! Thanks. Hello, I tried your code but this is not what i want... ...Show All

  • SQL Server Write back with UPDATE CUBE in SSAS2005

    Hi, I have got the following problem with the write back (via UPDATE CUBE MDX statement) in SQL Server Analysis Services 2005: We want to write the value 12000 for the 4th quarter based on the existing value of the 3th quarter. Existing values for the 3rd quarter: 3rd Quarter 6000 July 3000 August 1000 September 2000 We expect the following values for the 4th quarter (like in SQL Server Analysis Services 2000): 4th Quarter 12000 October 6000 November 2000 December 4000 But the UPDATE CUBE statements writes the following values: 4th Quartal 12000 Octobe ...Show All

  • SQL Server Error on SQL 2005 replication

    Hi, Can someone provide some troubleshooting for the following error I have during the replication setup on SQL 2005 Thanks, Frank System Engineer =================================== Cannot connect to LASC06. =================================== Failed to connect to server LASC06. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ Program Location: at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect() at Microsoft.SqlServer.Management.UI.ReplicationSqlConnection.ValidateConnection(UIConnectionInfo connInfo, IServerType server) at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser() =================================== A ...Show All

  • Visual C# Delete schedule task and itself...

    Hi, How can I make an windows application, delete a schedule task from control panel. And how can I make it delete itself Thanks http://www.codeproject.com/csharp/tsnewlib.asp http://www.codeproject.com/cs/library/taskschedulerlibrary.asp ...Show All

©2008 Software Development Network