alaar's Q&A profile
.NET Development could not load type "_Default"
Hi everybody :) I'm doing a web app for some university coursework, its the first time I've used ASP.NET C# and I'm loving it but when I put the files on the remote server I get the error on this page. http://www.apixelmind.com/email/ Someone told that I need to copy a project or something and do it that way, I'm using the Visual Studio 2005 Beta 2 version and I can't find this function anywhere. If anyone could help with that or give ...Show All
Visual C# adding menustrip with directx device on the same form
hi, i build up some nice directx application with c#. i want to add to the form a menu. i tried to add menustrip , but i've a problem with that as follows: the menu at first is not show, just a strip at the top of the form that is not being drawn by the directx paint. only after i'm going with the mouse over on of the menu items the menu become visiable. the code (without the menustrip) can be download at my website : clothsim. ...Show All
SQL Server Empty report: displayed on server 1, error on server 2
Hello, I'm deploying the same report on different servers, same database. For the year 2007, I have no data. When I display the report on server 1 or in VS2003 locally, I see an empty report. But on server 2, I have the "rsProcessingAborted" error. Is there a way to configure the server so that it displays an empty report even if the dataset returned is empty Thanks for the answers! Tiago ...Show All
Windows Forms memory consumption and windows forms
Hi all, I'm using Visual Studio 2005 and .NET framework 2.0. I have a windows form application in which I load a form that has a dynamic user control array. I may have hundreds of instances of my user control on the form depending on the user. The control is a simple array of text boxes but when I have hundreds of instances it uses several megabytes of memory, up to 20 MB depending on the number of instances. In the task manager, I've note ...Show All
Visual C++ LINK.EXE BUG: /OPT:NOREF option doesn't work!
My program contains static objects whose constructors are supposed to run at the beginning of the program, but otherwise those variables are unreferenced . The problem is, when I put these variables into a .lib file, they get completely optimized away and never appear in the resulting .exe! My understanding is that /opt:noref is supposed to cure this, however, it has absolutely no effect. I also tried __declspec(selectany) on the vars, al ...Show All
Smart Device Development Very strange about Timer
Hi, I am working on a project that uses the timer control, but very strangely when i create a timer, i try to double click on it to write its code (as VS.net 2003) but it does nothing, i don't know where to write the code!!!! however i tried to access it from the dropdown menu at the top of the code window of the form but it leads me to a part of the auto-generated code (which is generated by the form). Please HELP, i don't know where ...Show All
Visual C++ How do you start it up????
#include "stdafx.h" #include <stdio.h> int main() { printf("hello world"); return 0; } okay i got this written in Visual Studio C++ Express Edition Beta2. How do i start it up please tell me the steps i need to do. Thank You You can press F5 to run your project or look inthe Build menue for running your project. You really need to read in the help rather than depending on the folks in these forums. Thanks, Ayman ...Show All
Windows Forms Using Webbrowser control to highlight links
I want to be able to highlight the links as I scroll through them using the "tab key". Using WebBrowser, how can I change the background color for the current link that I am on (the one surrounded by dots) ...Show All
SQL Server Problem with installing SQL Server 2005
When I'm installing SQL Server 2005 Express Edition (but not only, error was also in Enterprise Edition 2005) there is an error. Everything is fine but on the end SQL Instalation cannot start SQL Service. Does someone know how to solve this problem I'm installing SQL CTp 2005 with the newest .NET 2.0 Help!! What is the error you are seeing Dan http://blogs.msdn.com/dtjones/ ...Show All
Visual Studio 2008 (Pre-release) TextureCoordinates in Sep CTP
I have ported the chess project from Beta 1 to Sep CTP and there are some problems in rendering the chess pieces. Every chess piece has now some "holes" in it, and the "head" of the pawn is the most obvious. I have created a sample project and it seems that the problem is because of the texture coordinates. because if I use a solid color brush, the "holes" don't show up. When I started the project, a friend of mine designed the 3D models and e ...Show All
.NET Development New System.Threading.Thread vs BeginInvoke
Hi! I'm having the following dilemma on how to handle multi threaded operations. I have to handle the case of multiple of calls per second that must be executed asynchronously. Creating a new Threading.Thread object is a simple solution, however I dont think its the best choise, since thread creation and destruction overhead would be too much. Creating a delegate sub and calling BeginInvoke also creates a new thread. My Question: 1) Is there a ...Show All
SQL Server How to Convert SSIS DTS Package TO EXE Applcation
Hi Does any one know how to conver SSIS DTS package to EXE Format... or is there any tool apart from SSIS Executable Utility Package. Regards Deepu M.I You can not do this. You can create an EXE that builds your package on the fly and then executes it but you can not take an existing package and convert it to an EXE. You can also write a simple EXE that will only execute that particular package ...Show All
Visual Studio Express Editions move to specific value within MS Access DB
pry already been asked on these forums, but havent quite found "my answer". Here's the problem, in VB6 I could move thru a DB and extract my required data from a specific field. Now, I havent found a way to do that without using a control on the form. Heres the specifics.... Im using Visual Basic 2005 Express Edition, I have a MS Access DB with 100 rows and 10 columns. My first column is an autoID, ie, 1 to 100. I want to ...Show All
Visual Studio Team System AdminProjectRights problem
While trying to lock a branch down, I changed the permissions for a branch. I unchecked the 'Inherit Security Settings' box, and changed the contributors to only having Read rights. I didnt realize unchecking this box would remove all rights for every other group. Now, I dont have rights to change any other rights. I get an error saying my user needs AdminProjectRights. My user is both Team Administrator and Project Administrator, yet I dont ...Show All
Visual C# Background Thread
Hi, How do I start a background thread. For example I've called the background thread, draw2, but draw2 dr = new draw2() wouldn't work. Thanks, Bruce ...Show All
