MikeHNatti's Q&A profile
Visual Studio Differences between MSDN Library for Visual Studio and quarterly MSDN Library?
Hello, are there differences between the MSDN Libraries for a specific Visual Studio version and the quarterly released MSDN Libraries Or are the MSDN Libs for VS only out-of-schedule releases of the normal MSDN Libraries, due to a new VS release Regards Maddes Does this mean that a quarterly release can substitute a special release, as the "normal" release includes everything of the "specific" release ...Show All
Visual Basic ImageLooper Control
I am working on a VB tutorial, and at the same time trying to create my first control called ImageLooper. This is pretty straightforward, a control box with a picturebox1 inside, a left arrow button and a right arrow button (button1 and button1 respectively). The idea is, with each click in either direction, the next or previous in line image will display, depending on which arrow is clicked. Each button works individually ok, but when I switch from the left arrow button to the right or visa versa, instead of going to the next image down or up, on the first click, it takes one step in the opposite direction, displays that (wrong) image, then, with subsequent clicks, starts moving through the images correctly. The language is below: ...Show All
SQL Server Deploying multiple projects
Is it possible to deploy multiple Analysis Services projects into one OLAP database, or you have to create all cubes into same project Thanks from answers! Peter Hello. The problem is that you will overwrite the existing cubes and other objects with the latest project that you deploy to an existing database. I think the answere is no. Regards Thomas Ivarsson ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Displaying a Blender x exported model
I create a simple cube in Blender. I assign a uv-mapped texture to it. I create a .x file of the model. I start the XNA tutorial on loading and displaying a model. So far everything goes as expected. The tutorial model displays fine. I copy the model and texture to my game-dir, add the model to the content pipeline. So far, so good. I modify the code to display my model, run the code and there I get confused: The screen is blue. The code is able to find the .x file and to locate the texture. That I have tested. There are no compile errors about the .x file. Furthermore I have the most recent .x file exporter for Blender I could find. I also played with flipping the normals in all ways I could think of. No result what soever. Un ...Show All
Visual Studio 2008 (Pre-release) attaching events with a polyline
Hi, I have created some polylines over a canvas, and there is one more canvas above this canvas with certain opacity, so that one can see through the lines from top canvas even. Now i want my users to be able to click the lines and get some messages simple, I added a mouseleftbuttondown event Polyline myLine = new Polyline (); myLine.PointCollection = _pntCollection; myLine.MouseLeftButtonDown += new System.Windows.Input. MouseButtonEventHandler (myLine_MouseLeftButtonDown); and my event is like protected void myLine_MouseLeftButtonDown( object sender, RoutedEventArgs e) { MessageBox .Show( "Anything" ); } Now when i click the line nothing happens, can somebody hel ...Show All
Visual C# In win32 program we use window DDK to develp a driver .sys ,I want to what is the counterpart in the class of .NET Framework?
In win32 program we use window DDK to develp a driver .sys ,I want to what is the counterpart in the class of .NET Framework Has the net framework all the functionality of Platform SDK and DDK i appreciate your help. No. You're in luck, it appears to be available again as a free download . ...Show All
Smart Device Development Pocket PC Windows App
Hello, I have a question related to the execution of CF .NET Win App code. private void Form1_Load(object sender, System.EventArgs e) { label1.Text = "Waiting for connection..."; Connect(); // uninportant implementation label1.Text = "Done."; } Connect() function is running in circle, until it doesn't get a connection. This could be from 5 seconds, till 5 hours. The problem( ) is, that until the function Connect() is running, my PDA is showing me the "loading circle". How could I refresh the window, so that there would be a msg "Waiting for connection...", before the function Connect() would start. Thanks in advance. I placed this.Refresh() at the s ...Show All
Architecture Feature Modeling with UML
I have posted a blog that covers the Feature Modeling stereotypes of the Product Line Engineering Profile. I have built a template in Sparx EA that I re-use on each product line engineering project I do that contains all the stereotypes needed for a project. It can be downloaded from the blog. It is here ...Show All
Software Development for Windows Vista Get "NextState" in Invoke event
In a state, there are several EventDrivenActivities, in each EventDrivenActivity, there is a HandleExternalEventActivity and a SetStateActivity, for the HandleExternalEventActivity, there is a corresponding Invoked EventHandler, I want to do something in it, and the first thing I want to get is the TargetStateName of the SetStateActivity in the same EventDrivenActivity just below the HandleExternalEventActivity. I'm not sure if this is what you're really looking for, but you might be able to use the StateMachineWorkflowInstance class to get what you want. This class is used to provide additional runtime information for a running state machine workflow instance. You create a StateMachineWorkflowInstan ...Show All
Windows Forms need help deploying c# app and sql express database
I am trying to figure out the best way to do this. I have an application using sql express database. The database is unique for each user. I need to install sql express, .net framework 2.0, copy the database files and attach them to the sql express instance. How do I do these things I don't think I can embed my database since each installation must install a different database. Is my understanding of that concept incorrect Add the .mdf file to your project. Edit the bootstrapper/prerequisistes properties to include SQL Express and the .NET Frameworks 2.0. For ClickOnce/Publish check the Application files and make sure the database is included. For Setup projects, add the project o ...Show All
Visual C++ How do I generate an assembly file from my C++ code?
Hi! As I am an Electronics Engineer, I have worked on some embedded systems, and feel very comfortable with assembly code when I have to make a certain part of my project more efficient. I understand the way we can use inline assembly code in C++ too. But, to learn the way Microsoft C++ compiles the code, I would like to have a look at the assembly code. So, is the assembly code generated automatically every time (if it is, I haven't spotted the file), or is there some way I can create the file PS: I know that while debugging, I can view the assembly, but that's not what I want. Thank you, Anup. Use the /FA compiler option . ...Show All
SQL Server SQL Server with Advanced Services - Error 40 on Connection
Before you begin swearing....... I have a VS2005 application developed against SQL Server Developer whose target database system is SQLE. Last night I downloaded SQL and built the datbase. I can connect to and manipulate the database easily with the Studio Management Console. The intention is to use SQLE locally. I can't connect programmatically to the local SQLE server. I have used the surface config monitor and turned on all protocols except VIA. I've also been through with the configuration manager. I can connect via the Studio Management Console using the information in the connection string which is: Server=BLISS/MHASQLE;Initial Catalog=KJS;User ID=aaaaa; Password=bbbbbb; Trusted_Connection=false;   ...Show All
Visual Studio Team System mojno li rabotat s BD u kotoroy est dannye?
. With all due respect but this is an English forum, please use English for questions and answers. As moderator I can not vouch for any non English content. Thanks, -GertD ...Show All
Software Development for Windows Vista Exception on raising an event
Hello, I'm developing an example project very similar to expense reporting (lab01), with two event handlers. I can fire the first one (submitted event) without any problems, but when I try to raise the second event (reviewed event) I get an exception that sais: "EventDeliveryFailedException was unhandled" and the message is "Event "RevisatCOF" on interface type "WorkflowValidacio.Interficie" for instance id "ef46e5fa-64c7-4343-9d3c-c62b829f9c37" cannot be delivered." I followed exactly the example in expense reporting, so I have the event declared in my interface and in the implementation class, and I raise the event like this: RevisatCOFEventArgs e = new RevisatCOFEven ...Show All
Visual C# OnPaintBackground: Should you Dispose of the graphics object?
I have created a control that overrides its OnPaintBackground method, and paints a gradient two-color background similar to the title bars at the top of Windows XP windows. I call base.OnPaintBackground(e) at the beginning of the method so that the control can draw its normal background prior to drawing the gradient fill. The question I have is whether I should be calling dispose on the e.Graphics object at the end of the method call. I am afraid that I might be closing a graphics object that a derived object might need, or alternatively might be leaving open a graphics object that will be need to be used elsewhere in the application. Thanks for reading. Sorry if this is a rudimentary question. The code is below: protected o ...Show All
