yosonu's Q&A profile
Windows Forms Window class name is not valid
When I create a new WindowsApplication project, add any control to the main form and run the project - I get the following exception on Application.Run(new Form1()); I am using VS 2005 beta2.050215-4400. This haven't happened until now. What went wrong Any help will be appreciated Gabriel The exception data follows: System.ComponentModel.Win32Exception was unhandled Message="Window class name is not valid." Source="System.Windows.Forms" ErrorCode=-2147467259 NativeErrorCode=1400 StackTrace: at System.Windows.Forms.NativeWindow.WindowClass.RegisterClass() at System.Windows.Forms.NativeWindow.WindowClass.Create(String className, In ...Show All
SQL Server SSIS keeps doing SQLDUMPER of any type of destination output
Hello....I have just installed the trial copy of SQL 2005 server and updated with SP1 as well as post SP1 hotfixes. However, when I try doing sample training material on SSIS, if I try to output to any type of destination output (flat file, excel, access, localhost SQL database) it always does a SQLDUMPER on me and never finishes....I always have to stop the debugger to get out of it. What pointers can be given to troubleshoot symptoms given above Thanks. SQLSSIS Thanks Michael. Can you provide any contact information for Product Support Services Is there an email, webform I can use to investigate issue further with them....or phone #s. Would I get support even though product is sti ...Show All
SQL Server Icon not displayed correctly for custom component
So i finally figured out how to create custom transform and add an icon to it. However - when i added the component to toolbox it appears as a file icon (when i didnt have icon it appeared as a blue box) - in the data flow designer it appears as the correct image. From BOL wrote: "The Data Flow toolbox uses the 16x16, 16-color image type, while the design surface of the data flow tab uses the 32x32, 16-color image type. Both are default image types for icons created using Microsoft Visual Studio 2005." I assume this has something to do with it - my ico is default 32x32 - however, what would be the way to fix it I have created a test icon with a range of sizes and color depths, which will help identify the requ ...Show All
Software Development for Windows Vista Vihang's Re-hosting Workflow Designer example errors
Vihang, I am receiving the following message when using your Re-hosting example code: Property value is not valid. The Service 'System.Workflow.ComponentModel.Design.IExtendedUIService' musy be installed for this operation to succeed. Ensure that this service is available. Have you seen this before Is there a reason I cannot view the Invoked handler in the properties windows I look forward to hearing from you soon. Thanks in advance, John P. Jon, Thanks. I sent an email to jon.flanders@gmail.com John P. ...Show All
Visual Studio Loading a crystal report file gives this errormessage: Load report failed.
Hi all I've read through quite a lot of posts and threads regarding this issue but haven't found anything that matches mine to the point. I have problems when loading a specific .rpt file. It opens and runs in Cystal Reports and I have opened many other .rpt files without any problems. Therefore I assume that there is no path issues or access problems. So, the line which makes my head ache: CrystalReportDocument.Load(InputFile); // Loads the Crystal Report It gives me the following errors when I list out the exceptions (sorry for the spam, not too sure what is of importance and what is not): Thank you for the reply Dharmesh! I'm not sure it will help as I'm not running it on a webserver. I am running it in a ...Show All
Visual Basic .EXE Application on other PC
After i Build my project in VB.net(2005 expres Edition), can this be Run in other PCs with no VB.net and SQL instaled if not what should i do Check out www.microsoft.com/net You can get v2.0 of the Runtime from http://www.microsoft.com/downloads/details.aspx familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en ...Show All
Software Development for Windows Vista Drag n' Drop files in Vista RC1?
Dear all, I find a very strange issue in Vista RC1. If we wanna add "requireAdministrator" in the program, (Ref http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/AccProtVista.asp ) The program will still fail to get the "WM_DROPFILES" message from Vista. Does anyone have the same problem ...Orz Best Regards, Shuyang p.s. The following is my manifest < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="Microsoft.Windows.XPStyle&q ...Show All
Windows Forms Class Library (dll) On Network drive
I'm currently developing a .net dll which I want to put on a network share and get various applications to use it - can anyone tell me the best/recommended way to do this I have something similar setup for a vb6 dll, I use late binding in the client apps and register the dll on all client PCs. Is there a better way in .net Thanks in advance Jon When you publish an application with ClickOnce you assign the entire package a version number and should something in the package need to be updated the only way to do so would be to make a change and republish the entire thing with the new change and believe it or not this isn’t something that is the fault of ClickOnce. Remember that in .NET, assemblies and a ...Show All
SQL Server Connect to many server
Hello, I asked this question before and being told to use configuration table to connect multiple server. Here is the question again Problem: I need to connect around 50 different server and run the script (which creates a temp table and returned the result set which I need to insert or update to table) I try to create configuration table added my servers there by when I am runing the package it is only running against one server only where is connection is created. Here is SSIS Configuration table ServerName, sqlserver1, \Package.Connectionsnstm0621dap.MSSQLCentral].Properties[ServerName], String ServerName, sqlserver2, \Package.Connectionsnstm0621dap.MSSQLCentral].Properties[ServerName], String ServerName, sqlserver3 ...Show All
Visual C# Hiding Files
I am looking for a way to hide files using c#. I know about changing the file attributes to hidden but I want to hide them regardless of the users view settings(ie. show hidden files). There are tons of programs out there that do this but I cant seem to find any examples of how. Any help would be greatly appreciated. Thank's Brad (This reminds the old good DOS days when I hid my files under "BAD" clusters....) Since you said "any" help, here it goes - how about hide your data into some other file formats such as a wav file The wav file have data blocks that you can put your own data. The media players / sound players will play the sound fine even you have extra data stuffed inside. ...Show All
Visual C++ Convert std::string to System::String^
Stan Lippman's blog says the following is legal: std::string Model( "Hello" ); String^ MyString = Model.c_str(); Found here: http://blogs.msdn.com/slippman/archive/2004/06/02/147090.aspx But VS2005 is saying its not legal. It gives this error message: error C2440: '=' : cannot convert from 'const wchar_t *' to 'System::String ^' How is this conversion done Google shows a zillion ways to convert in the opposite direction, which is not what I'm looking for. I also tried using a wstring as the native type, but I got (effectively) the same error message. I orginally found the problem when I did this: //managed code... MessageBox::Show(Model.c_str(),L"Hello"); The above gives the following ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Camera Movement
Ok, so I figured out how to move the camera with the keyboard. Now I wanna know how I can move it with the mouse! I want to be able to change the camera's Target using the mouse, and position using the keyboard (FPS style). I read some of the samples in which comes with SDK, but I could not figure out really which part was essential for moveing the camera. Please help me on this one =) thx There is a basic class in the SDK sample framework called CFirstPersonCamera, which you'll find in the samples\c++\common\dxutmisc.cpp file. That's a starting point, however it relies on the user clicking and dragging, and is limited to the available range on screen coordinates. If you want to implement a camera with unrestrained mouse-look fu ...Show All
.NET Development asp.net interview questions
does anyone here has asp.net interview questions try http://www.faiqs.com/contents/aspdotnet/aspdotnet_0.php ...Show All
Visual C# overloading == operator in c# fails checking for null values
Hi, I have developed one class called CProductInfo providing == and != operator features. I have one problem. When I use this class in my program, say CProductInfo product = null; and later, when i check for emptiness, if (product==null) it returns false as if the product instance is not empty. I tried various ways to eliminate this run-time error, but it just does not happen. Also I don't think there is use full tips on net for this. Can someone help Thanks in advance - Constantine <<<< THE BRIEF SOURCE CODE FOR CProductInfo IS BELOW >>>>> using System; using System.Data; using System.Data.SqlClient; using MyDataLibrary; namespace ProductManager2006 { public ...Show All
Game Technologies: DirectX, XNA, XACT, etc. get pixel available?
OK, i have my objects colliding but it's "bad" so I want to do pixel perfect. Any thoughts how the best way to go about doing that in XNA Reading back pixels from textures isn't a great idea, because textures tend to live in video memory on the graphics card, where they can't be efficiently read by the CPU. Modern 3D games usually do this by making a polygonal approximation of the shape of the objects, typically either a very low poly mesh roughly the right shape (just tens or at most a hundred or so triangles), or sometimes they just combine a number of geometric primitives like bounding boxes or spheres to approximate the shape. Then they can do pure geometric computations to check ...Show All
