kbickerton's Q&A profile
.NET Development Execution permission cannot be acquired
Has anyone come across the follow error message An unhandled exception of type 'System.Security.Policy.PolicyException' occurred in Unknown Module. Additional information: Execution permission cannot be acquired. No application created in VS.NET 7.1 will run, complain of this error. can anyone help Hello, If you have not yet found a solution to your problem, it sounds like the security policy on your machine may have been misconfigured. I would suggest resetting the security policy for the machine with caspol. MSDN documents CasPol at: http://msdn.microsoft.com/library/default.asp u ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX
Everytime I try to start the Sims 2 a message comes up saying: "Failed to find any Directx 9.0c compatible graphics adapters in this system! Please make sure you have a Directx 9.0c compatible graphics adapter and have installed the latest drivers provided by the manufacturer. The application will now terminate." I have installed the latest Directx and Directx 9.0c, how do I fix this Please reply as soon as possible This is a comon problem that I have seen, but you will need to post this message in the public directx forums or on of the online sims forum ...Show All
Visual Basic populating toolbox
Greetings everyone. I use VB 2005 Express Edition. If I click a "new project" the toolbox is popouated with the common tools but also with special buttons (registered ocx) I like such as "round soft button". But now I load a VB 6 project and the wizard tries to convert it into VB 2005. The special buttons are now greyed-out and the wizard compains that some tools are missing. However, they are clicked in the "choose toolbox items". If, for example, I click another tool item in the list, it appears again in grey in the toolbox. Now what! I do not know how to make the grey tool items active. Has someone out ...Show All
Visual Studio Team System Source Control Tree
Why isn't the source control tree displayed and manipulated by the Team Explorer window Opening to a Source Control Explorer to have extended capabilities is nice, but basic check-in/out functionality should be available directly from the Team Explorer window. Is this a feature that is going to be added in the final product Thanx, It would be nice to have some basic version control functionality in the Team Explorer window. We've toyed with a variety of ideas. It's kind of tricky because we really want to conserve space as it is designed to be a tool window off to the side, not a document well tool window. We ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Starter Help
Hi, I have been in development since last one year. now I want to make a 3D game with my skills in Vb.Net only. Can any one suggest the correct roadmap for me to become a Game programmer / 3D game programmer. Where can I find good tutorials on it. Thanks, HI, Well In India Such books are available but They are hard to find soon after it release. But I will surly get that book. Thanks Mr. David for such as good book..:) ...Show All
Visual Studio Express Editions Use some subs more then once
Hello Can anyone tell me how to use a sub more then once How I can call the sub in more then once. For instance: If blabla = "blabla" then (opensub command) end if private sub ........... end sub I need to know how to define the sub and how to call it. Bye and thanks in advance. Tnx, tried this already but I must have made a mistake somewhere in it (probably forget something somewhere or a typo or such). Now it works. ...Show All
Windows Forms STAThreadAttribute problem in managed c++ windows forms
hi, i m developing a windows forms application using MC++, when i do debug the project , it fails in the line of ' openFileDialog1->ShowDialog(); ' and gives an error like that : An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process. But its already done in Form1.cpp like that : System::Threading::Thread::CurrentT ...Show All
SQL Server Help with Report Filter on bit field
I have this filter for my report table : expression operator Value =Cstr(Fields!work.Value) = 'True' My report's table isn't returning data, but in preview but if I run the dataset, there is clearly some valid records tha contain 'true' for the f ...Show All
SQL Server Reporting Services wont install with MSCRM
Hi all, I'm trying to build a MS Small business server with MSCRM 3.0 SBS edition. Packaged in with MSCRM is the reporting services, the log showed that they didn' install as part of the package so I've tried to do it manully by launching the SQL Reporting Services installation that come bundled with MSCRM. I get 99.9 percent of the way through the isntallation without any issue and it looks like the very last thing before installation of reporting services is complete fails with the follwing error... -- Error 1937. An error occurred during the installation of assembly 'Microsoft.mshtml,Version="7.0.3300.0",PublicKeyToken="b03 ...Show All
.NET Development WebServer Issue
I am trying to debug a root website ( www.example.com ) on my workstation. I have all my files in "C:\websites\example" Now using VS2005 i open this direcotry as file system. But when I hit the Run/Debug button the Development server starts with /example">http://localhost: <randomport>/example and of course all my files that link to root files do no work (404 /default.aspx not found). Is there any way to set the development server that I want to debug from http://localhost: <randomport> / Regards, Stefano Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just p ...Show All
Visual Studio Express Editions container
I am developing an application where I need to store 100's of html files (Static - already I know the number and name of the files) and when customer clicks some option I need to display the file... My Question is, is there any container or data folder there in visual basic 2005 so that i can embedded the html files with the application. There should not be any copy in the local hard drive, the html files should be embedded inside the application. Is there any component there to do this... see 'creating resources' in the help. I still think you would be better off putting them in a jet database. http://msdn2.microsoft.com/en- ...Show All
SQL Server Why is sort so slow?
I set up a sample sort data flow that is attempting to sort 11M records totalling about 3GB. It ran for four hours and then I killed it. How can it be so terrible Am I missing some hidden tuning parameter David C Baldauff wrote: Improving Sort Speed: 1. Limit row count. 2. Limit row size. 3. Make sure temp directory is on a fast disk with plenty of space available. 4. Try not to sort on text fields. 5. Maximize available system RAM for the SSIS process to use. 0. Where possible, sort at the database level by using an ORDER BY clause and setting the IsSorted flag to true on the ...Show All
SQL Server User return value of a SP in another SP (SQL Server 2000)
Hi group, I need the result of a SP in another SP. The SP I need to have the result of does not have an output param. It just returns a result. I tried the following code: SELECT @WeightedAverage = EXEC uspCalcWeightedAverage @StartDate, @EndDate, @InMarket, @InProductType, @InWeekDay I get the following error: Server: Msg 156, Level 15, State 1, Line 26 Incorrect syntax near the keyword 'EXEC'. Is it possible to fill a variable with the result of a SP TIA Regards, Sander This will store the result of an sp call declare @WeightedAverage int; execute @WeightedAverage = uspCalcWeightedAverage @StartDate, ...Show All
Visual Basic Solution Explorer
Just a quick question. I just started a new web project for the first time in VS2005. I noticed that there were a few things missing from the solution explorer that I am used to seeing. The two most noticable were the web.config file, and the references folder. Are those no longer standard solution explorer items and if so how do i get them back Thanks for the help. You might want to take a look at http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx . HTH, Stephen ...Show All
Windows Forms Call Borland 3 C++ from C#
Hi This question might have come up a few times before.. if so, please bare with me. I have been given a C++ DLL that has some methods, classes etc. that I need to call. The DLL was compiled with Borland 3 C++ I think. I have tried adding a reference to the DLL using Vísual Studio 2003, but it says that the DLL is not a& ...Show All
