Mdmoberly016's Q&A profile
SQL Server BIDS:Precedance Constraints not visible
In the SSIS Package we have, the precedance constraints between the executables become invisible. It is difficult to find out if there are already constraints between the executables in the designer window. Is this a bug What is the easiest way to get them back - Gaurav Hm, so the precedence constaint exists and appears in the package explorer tree, but not in the diagram Could you open a bug on betaplace and attach the package with this problem How did the package get into this state You may try resetting the diagram layout: Format \ Autolayout to rebuild the diagram layout, hope this helps. ...Show All
Visual Studio Express Editions Line Numbering
I was wondering, with the current code that I have for my line numbering system...how can I have it change the size of the font(the numbers) to match the size of that in the RichTextBox Any help would be appreciated. Thanks. [code] Private Sub DrawRichTextBoxLineNumbers(ByRef g As Graphics) 'Calculate font heigth as the difference in Y coordinate 'between line 2 and line 1 'Note that the RichTextBox text must have at least two lines. ' So the initial Text property of the RichTextBox ' should not be an empty string. It could be something ' like vbcrlf & vbcrlf & vbcrlf With RichTextBox Dim font_height As Single font_height = .GetPositionFromCharIndex(.GetFirstCharIndexFromLine(2)).Y _ ...Show All
Community Chat A simple but very useable Perfomance Monitor with all Managed Code.
This is a simple performance monitor which is made to run all the time on my system. It has a rolling display supporting single core, hyperthreaded and dual-core processors running on XP and Vista (administrator privileges required). It offers contnuous real-time displays of: · Percent processor usage for each core. · Percentage of physical memory in use · Percentage of available virtual memory in use. Right clicking on the monitor screen evokes a context menu for setting sampling intervals of 250, 500, 1000 and 5000 milliseconds. It also ...Show All
Visual C++ "error LNK2005"...How to fix it?please help me...
I'm using Visual C++ Express Edition..I'm programming in Win32 Console Application.When I compile the appliacation,compiler informs that: error LNK2005: "public: class String & __thiscall String::operator=(class String const &)" ( 4String@@QAEAAV0@ABV0@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(char const *)" ( 0String@@QAE@PBD@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(class List<char> &)" ( 0String@@QAE@AAV $List@D@@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: char const * __thiscall String::c_str(void)const " ( c_str@String@@ ...Show All
Visual Studio Team System Performance Tool: Unexpected Bottom of Stack
I have been using the Performance Tool In Instrumentation "mode" on ASP.NET Website. The results are very useful, but I have a question - probably a silly/stupid one: My website uses a Presentation Layer which in turn calls a Business Layer which in turn calls a DAL (all different DLL's and different projects in the same solution as the website). Im trying to determine the time spent in each layer, in a method call that passes through all layers. However, when im examining the Caller/Callee or Call tree, the last function i get data from is the Presentation Layer. I can't see the time spent in Business and DAL layers. The list of "Functions that were called by PresentationLayerMethod" only has one entry: "Bottom ...Show All
Visual Studio can only create one shape
I started learning dsl tools recently. After going through the couple of examples i tried writing a designer myself. The new designer i created has two classes(will be more later) and each class pointing to different shape. it compiles, transforms and creates debug project . But in the debug VS, even though the toolbox shows all the shapes classes i can only create one class instance on to the designer. And the rest of them don't draw anything even i drag and drop them. The one that i can drop is the first one i created.. I checked parent element path, and element merge directives that was suggested in the other posts and they all seems to correct. did anyone had this problem before any suggestions on how i can make this work thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Confused About XNA and DX10
I am confused about the differences between XNA and DX10; is that correct: 1- XNA will have both fixed function and shader programming and effects also 2- DX10 will have only shader programming with no assembly, no fixed function and no effects. 3- DX10 will be on Vista only, since it is shader programming will Shader 3.0 (DX9.0 C and L) is compatible with Vista shader 4.0, so a program written on Windows XP DX9.0 C will run on Vista DX9.0 L but will not run on Vista DX10 shader 4.0 But why it will not run on DX10 Vista runtime if the program is only shader with no effects is that because shader 4.0 will not be compatible with shader 3.0 or it will run regarding windows controls with DX: 1- can we build application ...Show All
Windows Forms MonthCalendar, anyway to stop it from updating itself?
Seems about every 2 minutes the control will update itself and cause it's datechanged event to fire...causing my program to do weird things since I have my own code in that event. :) I'm just using it to let a user pick a day (i'm sure they wont be using it near midnight!) I've tried disableing it, hiding it, disposing it..yet every 2 minutes the datechanged event fires. I've had to code it onto a 2nd form for now, then in the date changed event I check to see if my other form is visible, if it is I exit that event..but that seems like a lame hack. Any ideas Carl I hardly think it's "pointless". If the current control doesn't work as expected, maybe they need to create a ne ...Show All
Visual C++ programming message switch
Does anyone know of a tutorial/website that explains how to program the message switch into the message loop It won't let me handle some messages inside the loop. I believe you have misunderstood the concept that is message loops and delivery. Normally, you will issue a GetMessage call, which will wait for a new message to arrive. This message is sent through TranslateMessage, to translate virtual keys into characters and post them back to the queue. Finally, you call DispatchMessage, which ships the message off to the Window Procedure of the window (HWND) in question. The Window Procedure should handle the messages you want to consider, and return the values indicated by their documentation. If you ...Show All
Visual Studio PackageLoad failure - SetSite
I am getting this error trying to create a new project of my type in the machine where I have installed my package. SetSite failed for package [Idea.Xgen.Package.XgenPackage, Idea.Xgen.Package, Version=1.0.2403.23830, Culture=neutral, PublicKeyToken=null] Does anyone have any ideas Thanks, Mike Hi Michael, Most likely you are missing the registration for your project type. Alternatively the project template could have an incorrect guid (in the case of flavors or non-flavored project that support being flavord). Look under HKLM\Software\Microsoft\VisualStudio\8.0\Project\ and make sure that your project type Guid shows up in there and has the correct information provided (if you are usin ...Show All
Windows Forms Cannot restore from taskbar
I've recently taken over development of a previous programmer's project. I'm in the process of debugging and have most of the issues ironed out except for this pesky little bugger. The program is an SDI app. There is one panel located on the main form. If I minimize the program with no forms loaded onto the panel then the program will "restore to normal" from the taskbar. If a form is loaded onto the panel, the app will minimize to the task bar but will not restore by clicking on the tray icon. I have to right-click and select "restore" from the pop up menu. App is written in VB.NET 2003. Thanks!! Super!! It's working now. All I had to do was add the following line "fRepo ...Show All
SQL Server SQL Server 2005 Express
I installed SQL Server 2005 Express without issues. During installation, I wasnt asked for server name or password for SA. I look at installed programs, SQL Server 2005 shows up. But under Administrative Tools - Services, I dont see SQL server services. Upon launching studio 2005, it seems to work find but with no local server. I am able to register other SQL servers on the network & query them using the studio installed. but there is no local server. Any help is deeply appreciated. Thanks in advance. hi, if you do not instruct the wizard to "show advanced settings", a named instance named SQLExpress will be installed.. that's to say you have to access ComputerName\SQLExpress instance in your scenario.. and onl ...Show All
Visual Studio Tools for Office Fuzzy text in a label control
Hi, I've added some controls to the top of a sheet in an Excel file. The problem I'm having is that the text on, say a label, is blurry or fuzzy. It almost looks like when smoothing is being applied but actually makes it worse. I've tried various fonts and sizes and that doesn't matter. The rest of the text on the sheet looks fine. Has anyone seen this before, and hopefully knows what's happening I'd appreciate any help. Thanks. Hi Dennis, It happens during design time when I put a label on the sheet. If I then run it, it still looks fuzzy when running. I haven't tried just popping a label on a sheet during run time, so I don't know if that will help. For what it's worth, I abandoned this and decided to put my controls on ...Show All
Smart Device Development Unable to change deployment directory to point to storage card!
i got a Dopod smartphone 577W running windows mobile 5.0. As the available ram in the phone is very limited, i would like to deploy my programs into the storage card instead. So, i fitted a micro sd card(1gig) into the phone and it was detected correctly. when i go to properties tab of VS2005 to change the 'Output file folder (generated)' directory, i found that i wasn't able to modify that field as it was masked out! When i tried to changed the 'Location of the output on device' from the drop down menu, there was no option to select storage card. i've verified that the storage card is working correctly. pls help! thanks! here's a screenshot: <a href=" http://photobucket.com " target="_bla ...Show All
SQL Server Boolean in SQL Server 2005
What is the boolean equivalent for TRUE and FALSE in SQL Server 2005 In Access true = -1 and false = 0 What should I use in SQL Server bit values No, you need to use 0 and 1. SQL Server has no knowledge of true and false. This is only possible by creating custom data type via .NET. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
