Alan Stevens's Q&A profile
Architecture Software architecture... I'm stuck!
Hi all! I'm currently stuck in the design process of my next app. This is nothing new as I've been trying to get past this particular hurdle (over several projects) for the last 3-4 years without much success. Everything goes well until the end of the requirement gathering phase. I have a list of detailed , categorized requirements and I think the next logical step would be to work on the architecture of the project at a highest possible level o ...Show All
Visual C++ Link options to build dll from static lib
I have a standard VC6 static lib project that simply contains some source code c++ files, compiles them into object files and then links to create a static lib. I would like to create a dll which contains the code in the static lib. If I create an empty dll project and supply the static lib name to the dll link parameters it does not "pull the code" in from the static lib - I guess the linker is just using it to resolve referenc ...Show All
Visual C# real time paint
how can i draw in real time a line on my form i dont want to paint it when the form is painted with the paint event is there another option Depending on how fast you want to draw you have at least 2 options: Use a Timer and in the Tick event use Invalidate() method to force the control to repaint (still using the Paint event). Use a Timer and in the Tick event use CreateGraphics method to get a Graphics object and do your painting. ...Show All
Windows Forms Missing Fields in Crystal 11
I have a report written in Crystal 11 with Visual Studio 2005. The report is bound to a dataset. When I run the report in Debug or Release mode everything looks fine. When I deploy the project using ClickOnce, some (not all) of the fields will be missing on the report. I verified that I am using the same report by putting the reports last modified date at the bottom. Anyone know what could be happening Thanks, Miles ...Show All
Visual Studio Express Editions Error spawning cmd.exe in simple C++ application
I got a big problem. I do not know why I write a very simply C++program.I put it below #include<iostream> #include<cstdlib> using namespace std; int main() { cout<<"helo to C++"; return 0; } When I build it , it will show me a error: hello.cpp Linking... Embedding manifest... Project : error PRJ0003 : Error spawning 'cmd.exe'. Build log was saved at "file://c:\Documents and Settings\LXY\My Documents\Visual Studio 2005\Projects\ ...Show All
Visual Studio Express Editions How to start a SQL Server Project with express editions?
Hello! I've installed sql server 2005 , visual C# 2005 express,visual web developer 2005 express .When I start a new project, I can only choose one of "asp.net project","c# windows app","c# console app","class library" and so on.There is no "sql server project",and also no projects such as "windows service","pocket pc","smartphone"...... Doesn't express edition support these projects How can I start to write some procedures or fu ...Show All
.NET Development Locks & HashTables
Hi, I would liek to know if there is a way to lock theindividual buckets of a hashtable using v1.1.4x in c#. I need to add entries into the hashtable, read them & remove them using multithreading. So I guess individually locking the hashtable's buckets would help me in doing this. If there is any other method that one knows of, please let me know the same. Thanks in advance, Have a Nice Day!. You can get a thread-s ...Show All
Windows Forms Reducing assembly size in memory
How is this possible Thanks for any help in advance ...Show All
Visual Basic lost on final steps of project.
I am trying to learn Visual Basic on my own and would like to create small one window programs that can be run independently on any windows machine. I created a simple math program that runs fine in visual basic 2005 express beta 2. I want to build it as a simple application I can load on another machine by way of a floppy disk but I can't get it to work. I'm missing something basic but I don't know what it is. I followed the steps in chap ...Show All
SQL Server Oracle Problems...
I get: An error has occurred during report processing. (rsProcessingAborted) Get Online Help Cannot create a connection to data source 'ODBC'. (rsErrorOpeningConnection) Get Online Help ERROR [HY000] [Oracle][ODBC][Ora]ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or unknown NLS parameter value specified ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [HY000] [Oracle][ODBC][O ...Show All
Windows Forms How to assign single Icon for all win forms
hello all, in my .NET 2.0 Winforms there are many forms. I want to apply my own icon for all forms and for EXE aslo. How to do this, any sounds will be appriciated thx for response but i need for all forms. Is there any facility like applying skin in ASP.NET. in my applicaiton there are many forms. How to do this ...Show All
.NET Development LNK2022 error, building a WebService proxy
Hi Together, I tried to build a webservice proxy using a wsdl, generated in the sun/java world. I used the .Net 2003 Version, choosing VC++. The steps I did: 1. Visual C++ Projekte / "Konsoleanwendung (.Net)" 2. Projekt / Webverweis hinzufugen / lokal The wsdl: < xml version="1.0" encoding="UTF-8" > <wsdl:definitions targetNamespace=" http://prj.abc.de " xmlns:apachesoap=" http://xml ...Show All
Visual Studio Team System Do not indirectly expose methods with link demands
the following code generates the warning "Do not indirectly expose methods with link demands" indicating that charkey = (int)m.WParam is the problem. It is a method in a control which is derived from TextBox. I have tried adding a try block and catching SecurityException and adding an assembly reference for the EnvironmentPermissionAttribute but I still get the error. Having read FxCops suggestion for fixing the problem I am still not entir ...Show All
Visual C# HOW to Kill ActiveX application..
Hi, I'm developing a application which uses activex plugin (used to load map files) it works fine in .net the problem is while closing the application the application won't close properly i mean application will be in task manager and manually go to task bar and kill the application. I tried the manually Killing the app using process class in vb.net but the same thing is not working in c# . Is there some other method to kill the applicatio ...Show All
Visual Studio Team System Online bug reporting ?
I've just installed VSTS and started using it. One question I have - can the bug reporting be exposed via the web, so that people external to the system can report bugs Check out this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=115624&SiteID=1 For the SDK kit referenced in the thread, it can be downloaded from http://www.vsipdev.com/downloads/ (requires free registration). Thanks, Othmane ...Show All
