Stinger_'s Q&A profile
Visual Studio Trying to create a NEW DATABASE Project - but the word "database" doesn't show
Hello and Thank you for you support Within Visual Studio 2005 IDE, I've been trying to create a new VB.NET "database project", but when I expand the Visual Basic node, the only items that show up are ==> Windows and the Starter Kit items. I don't see anything for Database How can I create a new "Database Project" when I cannot see the database item showing up in my "new project" list Is it a configuration setting I am using the "General Configuation Settings", and changed it to Visual Basic Configuration setting , but that didn't make any difference. Please and thank you for any advice on this. Donna ! Thanks I am using the Visual Stu ...Show All
Visual C++ Can I use POSIX threads in a atl STA project
I have a library which uses pthreads inside of it. Can I use this library safely in a single threaded apartment project. If I can't what are my options . I want to use this library for building a com component. Thanks I think authors of pthread do not call CoInitialize(Ex) that means that you can call this fonction to make an appartment. For COM, it doesn't metter wich class wrapper works with thread. All of them direct or inderect call Win32 API CreateThread. Neveretheless, the pthread can use fibbers (it type of multitasking native for *nix). It means there is one thread realy all other fibbers works in the same thread. Like this: Thread 1 Fiber 1 Fiber 2 Fiber 2 In this case you c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Upcoming XNA Game Engine
XNA Magic (I'd have chosen a different name, but, whatever ) it looks great.. i made a lot of promotion for it ;) the only real competitor will be Visual3DNet.. but they dont release the CTP and let us wait.. so go with XNAMagic... :) ...Show All
Visual Studio 2008 (Pre-release) IIS and .svc file
Hi, I hosted all services in IIS, for every service must be a .svc file to mapping. The question is whether can combine all .svc file to a single file or can not use .svc file Thanks, Zhihao Hi Michael: As your description whether need to add .svc file if I host the WCF service library in IIS Thanks, Zhihao ...Show All
.NET Development Problem in setup project of a class library project
I have a class library which is globally installed on the system(GAC) I have a setup project in the solution. Problem is that when ever i change a single line in the class library and then compile the project. After it when ever i try to install the project I get the windows message for first removing/unistall the library from Add/remove program. I does n't like to get this dialogue.What can i do This library is refrenced in 12 to 15 projects so I have to hard code the version number of the library. I have hard coded the version number in assemblyinfo class and can't change it. What Can I do in setup project Is there any option there ...Show All
Gadgets can't "build" a valid gadget file!!! UGH!
I have created a zip file. I have all the proper files in it. I rename it to x.gadget and the icon changed to a sidebar gadget icon. I double-click it and it prompts to install the gadget. I hit "Install" It pops up an error message saying this is not a valid gadget file. In the directory it puts a folder with my gadgets name with ".~0019" appended to the end of the foldername. The number increments with each attempt. MyfolderName.gadget.~0019 What is going on Get this, I used AlphaZip to ZIP the folder instead of CAB it and renamed to gadget and the install wouldn't work. CAB works, ZIP doesn't. So how do I upload to Microsoft They require a zip upload, but the ...Show All
Visual C++ Programming Windows Form in VC++ 2005
I would like to develop Windows Form applications in VC++ 2005. Could anyone please recommend where I could learn Windows Form programming Any recommended web sites, or books try here: http://www.codeproject.com/managedcpp/hellocli_part1.asp ...Show All
SQL Server Table Usage Monitoring
Is there a way to track tables/indexes/stored procedures that are being used I know that the Profiler can do this but I am looking for a way to query a system table to get this information. Oracle has a way to turn on/off monitorint for tables and indexes so I was wondering if this info is avaialble and if so if something needs to be done to activate the collection of the info. Thanks Have you heard much about the Dynamic Management Views in SQL Server 2005 There are some DMVs around index usage statistics. http://msdn2.microsoft.com/en-us/library/ms188754.aspx - Dynamic Management Views and Functions http://msdn2.microsoft.com/en-us/library/ms187974.aspx - Index Related Dynamic M ...Show All
Visual C++ Abstract class object
i hav read in all books dat we cant create object of abstract classes.. . and reasons like they are too abstract to create an object.. .. i want to know more of these reasons why we cant create objects...... . . . . manish thank . i have a doubt classes like class foo { public: virtual void run() const = 0 {std::cout << "foo::run" << std::endl;} }; in above case comiler is having each information to create an object then why cant we create an object of above class .. please reply.. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Compile Error
I saved my project to d:\Code\C#\myspacewar1 once I did that it would no longer run with an error of System.IO.FileNotFoundException was unhandled Message="D:\\Code\\C" Source="System.Drawing" StackTrace: at System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index) at System.Drawing.Icon.ExtractAssociatedIcon(String filePath) at Microsoft.Xna.Framework.WindowsGameWindow.GetDefaultIcon() at Microsoft.Xna.Framework.WindowsGameWindow..ctor(Boolean allowUserResizing) at Microsoft.Xna.Framework.WindowsGameHost..ctor(Game game) at Microsoft.Xna.Framework.Game.EnsureHost() at Microsoft.Xna.Framework.Game..ctor() at Spacewar.SpacewarGame..ctor() in D:\Code\C#\MySpacewar1\MySpacewar1\S ...Show All
Visual Studio 2008 (Pre-release) Resource Dictionaries
Howdy.. Can anyone tell me if merged dictionaries is to be supported before V1 I find that this feature is a must have and would hope that a few others coding large embedded assembly UI's will know the frustrations that are present without it. Cheers ...Show All
.NET Development No Managed DirectX for 64bit?
I posted this issue back during Beta 1 and was told that Microsoft will look at making a 64 bit Managed DirectX after the OS and the development environment was released. That is way too late for those of us looking to release a 64 bit application any time soon! Is there any update from Microsoft on availability of even a Beta Managed DirectX for the x64 Thanks - John DirectX x64 Samples are available for C++ so I assume that DirectX is x64 ready. Will there be a .NET x64 version of DirectX especially a DirectSound implementation ...Show All
Visual Basic Refresh/Redraw Taskbar/Systray
Hi there, I currently have code that hides/shows the clock but I must manually refresh the taskbar for the action to show on the screen. Is there a way to do Showwindow() or redrawwindow() so that the taskbar gets re-drawn on the screen with the new status of the clock current clock code Public Function HideTaskBarClock() Console.WriteLine("inside hide Clock") Dim FindClass As Long, FindParent As Long, Handle As Long FindClass& = FindWindow("Shell_TrayWnd", vbNullString) FindParent& = FindWindowEx(FindClass&, 0, "TrayNotifyWnd", vbNullString) Handle& = FindWindowEx(FindParent&, 0, "TrayClockWClass", vbNullString) ShowWindow(Handle&, 0) End Function ...Show All
Visual C# System.AccessViolationException: Attempted to read or write protected memory
I am using .NET 2.0 VS2005. I am writing a network application to allow users from other PC to talk to my application (running at my PC) to print through my printer driver. I got this runtime exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at PrintGateway.PrintEngine.OpenPrinter(String szPrinter, IntPtr& hPrinter, IntPtr pd) at PrintGateway.PrintEngine.SendBytesToPrinter(Int32 flag, String szPrinterName, String docname, IntPtr pBytes, Int32 dwCount) in E:\PrintGateway\PrintEngine.cs:line 70 at PrintGateway.PrintEngine.SendStringToPrinter(String szPrinterName, String docname, String szString) in E:\PrintGat ...Show All
.NET Development Wants to create an application which run in background
Hi, I have to create a application that runs when client starts his computer for autoupdates Can anybody pls help me how should i start my application in background when user starts his machine Waiting for ur reply Thanks, Nilesh Create a Window Service to do this. Window service is the Best solution for developing application which dont require user Interaction. Here is a beginer's article on it http://www.codeproject.com/dotnet/simplewindowsservice.asp Cheers ;-) ...Show All
