Kitty's Q&A profile
Visual Studio Express Editions Visual C++ Express Config Question:
I can't figure this out. I'm using a VC++ Express Edition for some stuff on my work computer (the company uses Borland for all the work, this is a personal project). I've gone rounds and rounds with this issue now. I'm getting a list of unresolved externals that seem to be from a windows-related file or perhaps from a GDI+-related file. I'm sure it's a config issue, even though I've already set up the Express Ed like it mentions after it's been downloaded. Also, I've successfully compiled other projects, not using GDI+ (which is why it might be that). I've set this up before and had it working before I got the Standard Edition of Visual Studio. So if there's something I'm missing, I'd appreciate some direction. The linker errors are ...Show All
Visual C++ extern "C" not working in 2005
Hi, I try to create a simple dll, native, standard libraries, no MFC, no ATL. No .def file. The following code build in VC++ 2003 created the dll with an exported function with name SetPowerUser . The same code in VC++ 2005 creates the dll and the exported function name is: _ SetPowerUser@4 . Can you figure out what is wrong with the code below cpp file: #include "stdafx.h" #include <shellapi.h> #include <msi.h> #include <msiquery.h> #pragma comment ( lib , "Msi.lib" ) extern "C" __declspec ( dllexport ) int __stdcall SetPowerUser(MSIHANDLE hInstall) { .... return ERROR_SUCCESS; } // SetPowerUser StdAfx.h: #pragma once #ifndef ...Show All
.NET Development SQL Membership Provider
Does anyone know of any UML or Modeled Explanations for how ASP.NET 2.0 uses SQL to mine the Membership Provider Data I have, of course, installed the DB and took a good look at the tables created, but there has to be some official diagrams on all of this! Todd Morrison ...Show All
SQL Server Error message 913
I've been having intermittent issues with SQL Server 2000 server on Windows 2000 Server. This server acts as a development server and is on the same network as our production server which runs Windows 2003 Server. Spare me the lecture about running different OS's on production and development servers, I wasn't the individual who setup the environment, just the one who got saddled with the responsibilitiy of making it useful for our staff. Anyway, the issue I've been dealing with is intermittent 913 error messages similar to what follows: Server: Msg 913, Level 16, State 8, Line 1 Could not find database ID 80. Database may not be activated yet or may be in transition. I have several tools I've developed which I use to backup the pro ...Show All
Visual Studio Team System tf resolve: does it work?
Hi all just now we have tried to use "tf resolve" from the command line and it does not work as we expected. Following is a snippet from a command file and its output. First "tf resolve" tells us there are no conflicts. Next thing "tf checkin" reports is that we should resolve a conflict. c:\test>tf resolve file.txt /noprompt There are no conflicts to resolve. c:\test>tf checkin file.txt /noprompt Checking in edit: file.txt Conflict: A newer version of $/XTplus-Testprojekt/shelvetest/file.txt exists on the server. TF10141: No files checked in: resolve the conflicts and try again. Are we doing something wrong Btw: The "Resume Conflict Resolution" command in Visual Studio ...Show All
Visual C++ Any interest in building an FAQ?
I'd like to propose that we put together an FAQ to address some of the issues that pop up regularly here. It seems like we have an awful lot of questions like: - "How can I call my C#/VB/FORTRAN routines from C++ " - "How do I compile and run my project " - "I've included the correct header files, so why am I getting LNK2019 errors " - "How on earth am I supposed to use destructors/finalizers/IDisposable " And of course these are all valid questions! But since they are common questions which tend to be answered in the same way from one thread to the next, I think it would be very helpful to have all (or at least most) of the common answers in one single place. This would be helpful both to aske ...Show All
Smart Device Development Windows Mobile developing kit
Hi, I've just begun to see something about Windows Media 5, and I'm going to start to programming something sooner or later... Anyway, I've seen that there is 2 ways to get the windows mobile 5 developer resource kit: 1st) order it on DVD 2nd) download it Can anybody say me what's the different between the 1st and the 2nd way to get the develop kit Thanks everybody for the answers... Aldo. demelloanthony wrote: Hi, I've just begun to see something about Windows Media 5, and I'm going to start to programming something sooner or later... Anyway, I've seen that there is 2 ways to get the windows mobile 5 developer resource kit: 1st) order it on DVD 2nd) download it Can anybody say me what's the differ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. LoadGraphicsContent and UnloadGraphicsContent
Heja out there... I'm searching around a wile now but haven't found an definitive answer on my latest xna question so i hope the good old msdn forums community could help ... When and how will be LoadGraphicsContent and UnloadGraphicsContent called I found out that LoadGraphicsContent is called by DrawableGameComponent.Initialize, .DeviceCreated and .DeviceReset and UnloadGraphicsContent by DrawableGameComponent.DeviceDisposing and .DeviceResetting. But i want know when the parameter (un)loadAllContent is set to true or to false. I would argue that Initialize and DeviceCreated will call LoadGraphicsContent(TRUE) and DeviceReset just LoadGraphicsContent(FALSE). DeviceResetting will call UnloadGraphicsContent(FALSE) and DeviceDis ...Show All
Visual Studio Team System CTP4 Import Problem
I attempted to import a SQL 2005 database into a SQL 2005 project. The database contains roughly 4000 schema objects and VS crashed every time I tried (4). No error message was given. It was one of the errors Windows detects and then offers to send the info on to Mircrosoft. I then tried to import the AdventureWorks database. This worked fine. Is there known issues with attempting to import larger sized databases Amos. Robert, As a follow-up to my prior email to you, I did as you said regarding the creation of the script that VS Data Pro uses to do the import. It turned out to be 250K thousand lines long. I tried executing it in Management Studio, and after 2.5 hours it is still running. I suspec ...Show All
Visual Studio Express Editions loading large pictures in picturebox
Hello. I'm working with large pictures (one of them is 4021x3123) and I want to load them inside o PictureBox so the user interacts with it (draws on it). The problem is after I load the picture, when I use the scroolbar to move around it, it has that flicker effect and also the interaction with my application has a delay (it takes about 1 sec for the other controls to react). I'm guessing my problem appers because of the large picture I'm loading, so is there a way not to load the entire picture inside the PictureBox and only load that portion of the picture that is currently dispayed by the PictureBox Is there a better solution to that Thanks. Yes, I'm using double buffer and it doesn't help. ...Show All
Visual Studio Express Editions Please Help!
When I want to make a new project,i get this error: "The file name,directory name or volume label syntax is incorrect". What should I do to start a new project in an another way Does the error appear before the wizard opens, or after you entered a name for the project and try to create that Are there any invalid characters in you path or project name Like : *<>|" -- SvenC ...Show All
Visual Studio Express Editions Application to generate MS Word document?
Is it possible for a C++ application to generate the MS Word *.doc files For example, if I had a form with two text boxes and a button on it. When the button is clicked, would it be possible for the program to make a new MS Word document that has a 2 cell table with the text box values in each cell, and save this Word file to the current directory If so, any pointers to the libraries to use or whatever tools I would need would be greatly appreciated. Thanks in advance instead of //#import "C:\\Program Files\\Microsoft Office\\Office\\MSO9.dll" rename("RGB", "MSRGB") you have to do: #import "C:\\Program Files\\Common Files\\Microsoft Shared\\OF ...Show All
Visual Studio 2008 (Pre-release) How to turn off anti aliasing for small text?
Anti aliasing small text tends to make the letters look blurry and indistinct. I cannot find a way to disable the anti-aliasing of text in WPF and as a result label or button text looks really bad. Ideally I'd like to disable anti aliasing globally for font sizes below a certain size. How can I accomplish this -Ryan rfuller987@hotmail.com I would just like to say that I totally, whole-heartedly agree with Ryan in that WPF (running on XP SP2) looks bad. And I mean bad (to me anyways). I just finished installing the WinFX SDK and this is the first thing I noticed. I understand that some people don't have eyes that are bothered by the introduction of color into their black fonts, or ...Show All
Visual C# problems with eventhandler
How do I remove this FileSystemWatcher so the message will not multiply everytime I click this button. Instead of getting 1 message per click, I'm getting more and more. Could someone please give me some advice, Thanks private void button7_Click( object sender, EventArgs e) { FileSystemWatcher fsw = new FileSystemWatcher (); fsw.Path = @textBox7.Text; fsw.Renamed += new RenamedEventHandler (fsw_Renamed); fsw.EnableRaisingEvents = true ; RenameFile(); fsw = null ; } static void fsw_Renamed( object sender, RenamedEventArgs e) { MessageBox .Show( string .Format( "File renamed from {0} to {1}" , e.OldFullPath, e.FullPath)); ...Show All
SQL Server SSIS problem after installing 2153 hotfix
The Kb article says to install all component patches, even if you are not running them, to avoid errors...the reporting services hotfix would not install(obviously since reporting svcs is not installed).....now I get the following erro, when trying to connect to the SSIS on my sql server...oh, I am trying to connect locally on the server it self too.... Cannot connect to CRP-DAY1-SQLs1. =================================== Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&LinkId=20476 ------------------------------ Program Location: at Microsoft.SqlServer.Management.Smo.Enumerator.Process( ...Show All
