Nick Poulis's Q&A profile
Smart Device Development cannot compile since no change!
Hi I just had to unfortunatly reformat my development box and re-install the OS, drivers and applications - 13 hours work with the stuff I have on :( Even though I backed up everything, the VS.NET projects - last time I compiled one project - it compiled fine, no errors. However in vs.net 2003 if I load a .NET CF project (smart device project) I get an error when its loading: "The .NET assembly 'System' could not be found" and it continues to load. Why I have also just done a repair on VS.NET 2003 and that didnt seem to make any difference Fair enough, it continues to load, I get an error when ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Point Sprite are displayed at the correct place
Hi, I'm using point sprites in a 2D engine, based on some tutorials. It works quite well, but point sprites are not centered on (X, Y), instead of that, (X, Y) is the lower-right corner. The code is something like: result = lpDirect3DDevice9->SetFVF( D3DFVF_PARTICLEVERTEX ); result = lpDirect3DDevice9->SetRenderState(D3DRS_POINTSPRITEENABLE, TRUE ); result = lpDirect3DDevice9->SetRenderState(D3DRS_POINTSCALEENABLE, FALSE ); result = lpDirect3DDevice9->SetRenderState( D3DRS_ALPHABLENDENABLE, TRUE ); result = lpDirect3DDevice9->SetRenderState( D3DRS_DESTBLEND, D3DBLEND_ONE ); ... result = lpDirect3DDevice9->SetStreamSourc ...Show All
Windows Forms Embedded VB 3.0 and the iPaq H1940
Hello, I am tring to develop an application for the iPaq H1940 using embedded VB 3.0 and I get this error, The Platform Manager could not connect to the device. This happens if the project type does not match the connected device, or if a required file in Windows CE SErvices, or the Platform SDK is missing or corrupt. (ErrorCode=0xLX) I have tried it f ...Show All
Windows Forms Object does not match target type.
Im working with the newly released full version of visual studio 2005 and my program compiles but I have a bunch of warnings with the message Object doest not match target type Here is the line of code that gets the error. CType ( Me .rightRaftingContainer, System.ComponentModel.ISupportInitialize).EndInit() The code is in the auto generated section, also the program that has this error was developed with 2.0 betta 1 and I am not trying to fix it to the full version so its probly something simple. Hope someone can help me, thanks. ...Show All
SQL Server SQL Server does not exist or access denied
Hi, I have developed a small application using VB6 on Windows XP. Following is the code snapshot. I have added Microsoft ActiveX Data Objects 2.1 Library through Project Reference for ADODB Connection. Public con As New ADODB.Connection Public Sub Main() Set con = Nothing With con .CursorLocation = adUseClient .ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SCMSUG;Data Source=Admin\local" .Open End With End ...Show All
Visual Studio Change 'arrowStyle' of a connector at runtime
hi, i want to change the arrowStyle of a connector. If i change a certain property (enumeration type) of a relationship, the style of the connector end should be changed too! Is this possible Thanks! BENJAMIN Pedro, thanks! At the moment I'm still working with the DSL Toolkit November 2005 version. Will change to the new February 2006 VS SDK, although this will not fix the "Reload" Problem. Benjamin ...Show All
Visual Studio Express Editions Command Windows
How can I open a command window, I search under help and it told guided me to VIEW > Other windows > and Command Window. But there is no such option. Visual Basic 2005 Express Edition is actually a member of the Visual Studio family. Check out http://msdn.microsoft.com/vstudio/products/ The command that would have showed up in the View->Other windows would have been the VS command window (if it had been included in VB Express). Best regards, Johan Stenberg ...Show All
SQL Server Execution of Package failed
I am trying to design package which would copy all tables and stored procedures from one server to another. It used to be simple task in SQL 2000, there was wizard. However the new wizard does not work... I wrote SSIS package, but when I execute I get the following error: "Can not apply value null to property Login..." Any idea It seems to me that this new SQl2005 is not that simple to use like 2000. 2000 was a great product. I am considering to rollback to 2000. Very frustrated with the new one... Has anyone been able to find a solution I get the same error: [Transfer S ...Show All
Visual Studio 2008 (Pre-release) Thread.CurrentPrincipal.IsInRole() returns false but Security.Roles.IsUserInRole() returns true
Not sure if this a WCF issue or not. I have a wcf service exposed with the "basicHttpBinding". I have set the security mode int he basicHttpBinding like so. <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security> My goal here is to use windows authentication in the intranet to authenticate users. It works to the point where I can authenticate users using either the attribute on the service method or explictily calling impersonate in the body of the method. When in the method body I can then call System.Web.Security.R ...Show All
Visual Basic ClickOnce Deployment for Testing Vs. Production
I have a application that I deploy using ClickOnce. My issue is one of setting up the testing process before I release for production. I want to deploy the application for testing to \\SvrTest\ClickOnce\MyApp . Once my testers have given the green light, I want to move the binary up one stage to the UAT team which will download the SAME release from \\SvrUAT\ClickOnce\MyApp . After UAT is done, I want to move the binary to production and therefore the path changes again to \\SvrProduction\ClickOnce\MyApp . Since the application is already built, I do NOT want to rebuild to deploy to a second / third place. I want to u ...Show All
Visual Basic checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this will run regardless. What I want to do is first check the Ownership and permissions before I run the process. With regards to the 3rd point, the SETACL pipes the results to a text file, so I wa ...Show All
Software Development for Windows Vista VS2005 and directshow
Hi all Got some problem with the new visual studio 2005 and directshow baseclass project and warning coming from the compiler. I read in several ng on google that maybe the actual psdk (april 2005) could not be full compatible with vs 2005. Is there any date for an update version of the psdk Please reply as soon as possible... please Lorenzo Malaguti I tried to compile the baseclasses with VS2005, and I also resolved all compiling errors, such as the well known problem about "class COARefTime". But, I still got some worrisome compiler warnings, mainly about the 64 bits compatibility p ...Show All
SQL Server Network access SQLExpress
I am trying to access a SQLExpress database on another computer on my LAN. Using Windows Authentication. I don't really want to go to Mixed Mode authentication as I understand it involves a registry tweak and creating a new user. I am a novice at this. Getting the following error on running the connection code below: SQLException was unhandled "Login failed for user 'D37YKC1S\Guest'." No doubt it is a security problem but I am not sure how to get around it. Any help appreciated. Connection code: Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "Server=D37YKC1S\SQLEXPRESS;Inte ...Show All
Visual Studio 2008 (Pre-release) Integration with MSMQ on .NET Compact Framework 2.0
Hi, I want to explore the possibility of integration between MSMQ on .NET CF 2.0 and Indigo. First I want to test sending messages from Pocket PC to Indigo. MSMQ on Pocket PC doesn't have authentication, encryption or transaction notions, has xml formatter only, and MSMQ is installed in workgroup mode on the desktop computer. This is the configuration file: <services> <service type="MSMQIntegration.MessageProcessor" behavior ...Show All
SQL Server How to sort table in sql2000 with ipaddress(format x.x.x.x) as column with nvarchar datatype in ascending order
How to sort table in sql2000 with ipaddress(format x.x.x.x) as column with nvarchar datatype in ascending order without using stored procedure Ex: Table: netComputers(3 rows) Column Name: ipAddress (string data type) ipAddress 0.0.18.1 0.1.1.2 0.0.0.1 Sql query : if I use the query Select ipAddress from netComputers order by cast( replace(ipaddress,'.','') as numeric(12)) asc Gives result as : ipAddress 0.0.0.1 0.1.1.2 0.0.18.1 Where as expected result should be: ipAddress 0.0.0.1 0.0.18.1 ...Show All
