Hans van Vliet's Q&A profile
Visual Studio Express Editions safe item root name
HI In my installer class theres a line that i dont understand $safeitemrootname$ I know im sposed to put some code in its place but im not sure what it is refering to can someone explain please Thx Hi, what type of project do you create an installer for Where in the installer class is that placeholder. -- SvenC ...Show All
.NET Development Problem: 64-bit MFC C++ DLL calling 32-bit C# class library through COM
Hi, I have a MFC C++ DLL that communicates, through COM, with a C# class library. I'm devlopping under WinXP 64-bit edition, VS2005 Team Suite, and as long as both projects are compiled as win32/x86 apps, everything works fine! The problem appears when I compile the MFC C++ DLL as x64 app, while still compiling the C# class library as x86 app (reason: this class library uses 32-bit only dlls). When I try to create the C# class library as a COM instance, I get a " 0x80040154 Class not registered " error. I know that 32-bit components are registered in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\ and my C# class library is there. So, is it really a registration problem, or it's something else I know that 32 and 64-bit DLL are not compat ...Show All
Visual C++ Hidden partition information
I am attempting to get partition information for a hidden partition (always the last partition on the first disk). I need to return the label for the partition. The partition shows in Disk Management with the label so there should be a definite way to get this information within Windows. I am just trying find how. Is there a C++ to do this. Thanks. You can ask it in the Windows SDK forum . ...Show All
SQL Server How to modify column in a table with replication?
Dear all I have a problem about replication, so I want to modify some columns in a table, but my database using replicate. How to do it Please solution. Thank. PC Kaveesin. If you are using SQL 2005, you can directly use 'ALTER TABLE ALTER COLUMN..." to modify column at publisher. The changes will be propagated to the subscribers. For more info, please take a look at http://msdn2.microsoft.com/en-us/library/ms151870.aspx . Peng ...Show All
SQL Server 'The return value was unknown'
When I try to run my package from SQL Server Agent I get the following errormessage: Message Executed as user: NT AUTHORITY\NETWORK SERVICE. The return value was unknown. The process exit code was -532459699. The step failed. It has nothing to do with security in any way: The package actually succeeds!! (no onErrorEvent is thrown, no Error or whatsoever is logged). The only logging I get is this: #Fields: event,computer,operator,source,sourceid,executionid,starttime,endtime,datacode,databytes,message PackageStart,KMAUSQL01SRV,NT AUTHORITY\NETWORK SERVICE,Test,{3790FAE9-8300-4374-B2B7-6A630A508ED9},{E15D1815-1123-42D5-9D32-75B0237660A3},23.08.2006 17:18:02,23.08.2006 17:18:02,0,0x,Beginning of package execution. PackageEnd,KMAUS ...Show All
SQL Server i have installed sql server but not appeared in vb.net !!!
hi i have vb 2005 professional edtion and sqlserver 2005 workgroup edition after i install sqlserver and connect from vb 2005 and it didn't appeared at all !!! how can i connect to sqlserver from vb 2005 help me in this thanks in advance enable allow remote connection in the sql server surface area configuration if vb can detect your server manually enter the (SERVERNAME)\INSTANCE or use ip address in the server dialog. use nt authentication to login ...Show All
Windows Live Developer Forums DEP blockin Live Messenger 8.1
Why does DEP keep block my Live Messenger how do i overcome this problem I'm having the same problem with all versions of msn. I upgraded to Flash 9,0,28,0 - no change. I tried the 'run as administrator' workaround mentioned above and the box is grayed out, so I cannot use this solution. I tried going into system>advanced>performance>settings>DEP and manually adding the msn executable to the allow list but vista tells me that this program must be run with DEP enabled. Running vista home premium. I'm sorry, but this is just funny. Why would microsoft release vista when its own programs don't work on it. This is a clean install too - straight out of the box. ...Show All
SQL Server more tables do search,please help me,sql server stored procedure problem
i have more tables exmaple: table1(id,title,content,date) table2(did,type,title,text1,text2,requestdate) table3(subid,value1,value2,value3,value4) .......................15 tables left,some exmaple now i want use stored procedure do search for asp.net asp.net send search keyword to sql server,sql server get keywords execute search and return results to web application(asp.net) i don't konw how what write t-sql,please friends help me. because table colums is different,so need write t-sql put the temp DATA TO Temp DataTable,last return Temp DataTable to asp.net,asp.net execute split pager display data,eventable colums is different,so on asp.net links is different,need t-sql programming,hope friends can help me comp ...Show All
SQL Server ASP.NET and IS
Hi, I am new to IS. How do I use ASp.NET to execute an IS package by invoking a SQL Server stored procedure Is this a good idea in terms of system performance Thanks for the help!! Hi IS Dude, This is a good link to get you started. I've used the method involving the web service and it seems to work well. http://msdn2.microsoft.com/en-us/library/ms403355.aspx Hope this helps, Grant ...Show All
Visual C# How to incremental build C# projects under .NET 2005?
Hello, I've noticed you removed the \INCREMENTAL build option in .NET 2005. I want to make an incremental build for my solution. My solution includes projects written in c#, some of the projects have references to other projects. When I make a little change in one project I don't want all my solution to be rebuilded again - only the necessary projects (This is the reason I have referenced the projects and not the dll files). 1. What should I do in order to build (automatically) just the relevant (non "up to date")projects. 2. I'm just curious - why does the incremental build has been removed from .NET 2005 Thanks in advance, Michal. VS2005 cannot increment build ...Show All
.NET Development Is there a functional interface to ilasm
I'm wondering if there is a way to invoke ilasm passing a pointer to a stream of cil text code and then taking the resulting assembly and working with it via Reflection.Emit Or is there something in Reflection.Emit itself that can take a whole section of cil text and assemble it all at once If there is, is it possible to also pass in a pointer to the memory address at which you would like the byte codes to be written And what about the metadata; can you also indicate a target location for this Does such an animal exist Any direction would be greatly appreciated. Mike ILAsm.exe is a just a command line tool and does not expose CodeDom support. Here's an alleged MSIL CodeDom provider, http://w ...Show All
Visual Studio F5 does not work ! : Need to use "Start new instance"
Hello, I am trying to debug an application with my Visual Express 2005 c++. It compiles nicely a "hello world". However, to debug, if i use F5, it doesn't do anything.. I have to right click on the project and use the debug->start new instance or debug->step into new instance. And sometimes the debugger becomes unstable. I "think" that when the debugger starts, it goes to __tmainCRTStartup and hence I need to force the debugger to jump to my "main" .. Is this normal I would like my debugger starts in my main. Can anybody help me please thank you Hello, After some weeks having problems with the debugger I decided to format the computer. Then, after re-installing visual ...Show All
Visual Basic deployment and setup project
Hi, I am using visual studio.net 2005 to develop a project, now I want to make a deployment and setup package for my project. I have some problems on that. First of all, in my project properties, the section "publish" includes many options for publishing a project. Now in my project, I need to have some prerequisites, and some third party dll components. when I publish in my project, it works very well, however, when I bulid setup project to do that, I don't find any entry to insert these requirements; Secondly, when I build setup project, and add project into my setup project, I notice I can make shortcut in desktop and start menu, but I don't know how to make connection between the shortcut and application or helps file; ...Show All
SQL Server SQL server agent job
Hi I have a SSIS package that uploads data into a table by reading from flat file. When I deployed it to SQL Server(different machine, not in dev machine) it fails to execute the SQL Agent Job. I have tried as many combinations of sa vs windows authentication. I am sure there is no problem in the package, as it runs fine manually. I also tried to look into the log file. please find below the lines which were extracted from log file. "The job failed. The Job was invoked by User CHNBSL\durairaj.g. The last step to run was step 1 (To upload data into Emp_temp).,00:00:01,0,0, 07/11/2006 23:28:06,test_schedule,Error,1,BSLCHNLCS01,test_schedule,To upload data into Emp_temp,,Executed as user: BSLCHNLCS01\SYSTEM. The package exe ...Show All
Visual Basic ASP.NET 1.1 :: Kick Starting a DataList
I have posted this in the ASP.NET forums but expertise doing this seems lacking. I was hoping that someone could give me some ideas here since, even though it is ASP.NET, it is still the same .Net Framework. I'm needing to jump start a datalist so I can get data. However, I'm not working with linear data. I need to make the process granular so I can fill the item template with the appropriate info. For example, my template is a listing of contacts. The information for these contacts is pulled from various tables using various SPROCs. I need to interrupt data creation so I can tell my controls within the template where to get their information. My problem is, I don't know how to do that. Thus far, I've only gotten the Init() eve ...Show All
