Ola Hallengren's Q&A profile
Visual Studio Express Editions Trouble changing directories in VB Express
Just recently I started having this problem. When I go to open a file or save a file in VB Express 2005 and have to change directories from the default, the change in directories either happens very slowly (up to a minute per folder change) or doesn't happen at all and I have to shut VB down and start again. I am kind of new at this and I don't know what I am doing to cause this problem. Any help would be appreciated. mvid, According to the description of the question, I recommend you to pay more attention the following issues: 1. It seems that the memory of the operating system is not enough to manipulate the file open and save. Please check the others application with the open and save files. If t ...Show All
SQL Server Using Many-many relationship in SSAS
Hi, we have built a cube implementing many-many relationship within. will it have any effect on the performance if a many-many relationship is used within a cube with large volumes of data. It depends on your definintion of "large amounts" of data :) But yes, it is true you will see parent-child dimension perfrorming less efficient compared to the regular dimensions in some situations. But again it very much depends on the situation. Try and see if you can detect any slowdown. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
.NET Development Type of File
Hi Guys, How can I extract the information of a file like 'Type of File' ex. Type of File: Microsoft Excel Worksheet. I am able to extract the other information like Last Access..using FileInfo. But I can't find the value for the said subject. Can you please give me a sample code 'coz I'm just new to Visual Basic 2005 Thanks in advance. you can read description of an extension in registry... this read folders description: Microsoft.Win32.Registry.GetValue( "HKEY_CLASSES_ROOT\Directory" , "" , "" ).ToString this read all files in a folder and give its description: For Each doc As String In IO.Directory.GetFiles( "Path" ) Dim s ...Show All
Windows Forms Mixed assemblies and the designer in VS2005
Hello, I hope this is the right place to ask this - since i think it is related to Visual Studio 2005, C++ and .NET. I am working on a control library prototype. I use mainly C++/CLI for the development since I have to use some of the non-.NET libraries we have in-house. I have two separate solutions: one is the library project the other is a test bed application. I keep them separate on purpose because I want to model a scenario for testing the controls i have created. Here's what I’ve done so far I created a fancy control based on System::Windows::Forms::UserControl called TestControl. It was nothing but a yellow panel. It was in a namespace called TestLibrary::TestControls. In the test bed solution I referenced the output dl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blender .X files and XNA compatibility
Are the .X files blender exports compatible with Xna GSE. At the moment I get 2 errors one shows: Error 1 Could not read the X file. The file is corrupt or invalid. Error code: E_FAIL. whenever i have subdivisions on my model. The other states: Error 1 Could not read the X file. The file is corrupt or invalid. Error code: D3DXFERR_PARSEERROR if I have any other shape in my scene other than the standard cube which automatically starts in blender. I am running blender 2.42a I am using the most current version of Blender. I was looking through the .blender\scripts folder, and it looks like I have a DirectX8Export and a DirectXExport. I have zipped them up for you here ...Show All
Windows Forms RichTextBox ReadOnly = false
Hello All, Firstly, please accept my apology if I am not posting on a relevant forum. Given attribute ReadOnly = false for RichTextBox component.... rtfData.SelectedText = string.Empty; rtfData.SelectionFont = new Font(rtfData.SelectionFont, FontStyle.Bold); rtfData.SelectionColor = LogMsgTypeColor[(int)LogMsgType.Normal]; rtfData.Text = dataQueue.ToList(); rtfData.Select(rtfData.Text.Length, 0); rtfData.ScrollToCaret(); ... generates an annoying thumping sound from the PC speakers each time text is being written to rtfData. The annoying thumping sound goes away when attribute ReadOnly of rtfData is set to "true". How do I mute the annoying thumping sound even though ReadOnly is set to "false&qu ...Show All
Visual C++ stdio.h errors in Visual Studio 2005
I just finished installing VS 2005 (is it that hard for microsoft to just let people download like, a zip file of it, rather than an img file, which i had no idea what to do with at first ) and tried the following code: #include <stdio.h> // include the standard input/output header file void main(void) // our program starts here { printf("Hello World!"); // print "Hello World!" into the console return; // return void to windows } It was part of an origionally blank win32 console app called test. When i tried building the solution or compiling the file separately, I got all those errors: ------ Build started: Project: Test, Configuration: De ...Show All
Software Development for Windows Vista two issue for Workflow,anyone can help me.
1.the workflow foundation will include ActivityDiagram like UML in the future 2.the workflow designer will support bridge style for cross connection line thanks in advance! If you truly want swimlanes, from a modeling/design perspective, then you will have to create your own sequential workflow designer. Other options might include: using a parallel activity to indicate your split out to another user, using a custom activity which allows you to create and show the task assigned to another user, or use the Invoke workflow activity to start a new workflow which acts as your swimlane. Matt ...Show All
Software Development for Windows Vista Is StartRuntime needed?
Is there a need to call StartRuntime If you create a basic console application, from what I see an instance of the runtime should be created in the : using ( WorkflowRuntime workflowRuntime = new WorkflowRuntime ()) But I see other code in samples that specifically call StartRuntime, but I don't know why you would have to do this. Thanks! The workflowruntime always needs to be started. It just so happens that a call to WorkflowRuntime.CreateWorkflow happens ot start it. WorkflowRuntime.LoadWorkflow doesn't - so it really depends on what you are doing with the runtime. ...Show All
Visual Studio Team System diffmerge and whitespace
Diffmerge is incorrectly ignoring whitespace in literal strings causing the checkin of these changes to abort because it detects no change. Are you aware of this problem Is there a fix on the way How do we work around it Do all of our developers need to change their individual setups Team Foundation does not use the diff/merge engine when determining if the file has changed. It compares MD5 hashes. It's very unlikely two files would have the same hash even if the only difference is whitespace. Can you verify that the files are actually different using a binary-mode comparison ...Show All
SQL Server simple derived column formatting expression
What is the equivalent SSIS expression for this C expression to format an unsigned integer by padding it with leading zeros sprintf(publ_doc_id, "%010u", id) ...Show All
Software Development for Windows Vista state changed event on state machine workflow
Is there a way to know when a state has changed in a machine state workflow. I want to know this but without having to do it manually inside a stateInitialization activity in each state. Or in each transition from state to state. (I could use a callExternalMethodActivity in any of these cases) I'm looking for some event, queue, or whatever that notifies me about any state change in the whole workflow. Thanks in advance! For this you will need to use tracking. Take a look at Lab 4 of the Hands on Labs which can be found here . The StateMachineInstance class project can be found under Resources. An example of using it can be found in Form1 .StartOrderWorkflow from Exercise 2’s completed proje ...Show All
Visual Studio Express Editions If , else , elseif statments
First of all i wanna say a big thx to ahmedilyas i got a prob ... look at code.. OurKey50 = OurKey50.OpenSubKey( "Software\\Webzen\\MU\\Config" , true ); (label50.Text) = (OurKey50.GetValue( "Resolution" ).ToString()); if (label5.Text == ( "0" )) { label5.Text = ( " 640x480 " ); } else { label5.Text = ( "800x600" ); } else { label5.Text = ("1024x768"); } it veiw some Regeky value and puts value into Label5.text .. then check if Label5.text = to 0 it will show some text..if it = to 1 then another text if 2 then another..this is what im trying to make..but i cant get it to work..i only did it with max 2 values.. ...Show All
SQL Server Can't attach to database
Hi, I have a database that I developed using both Toad for SQL and SQL Server Managment Studio. All was working fine. I could connect to the database with one of the above and also run two an applications I developed (one in C# and One in VB.NET using VS Express) using the standard SQLConnection class. the following connection string worked fine... Server="(local)"; Trusted_Connection="yes"; Database="CDEvolution"; Now, for one reason or another I decided to create a new data source in my Visual Studio project and pointed it to the database fine. At first it seemed ok as I could see all tables from teh database. However somethign strage has happened. I now can't access the database in TOAD or ...Show All
Visual Studio 2008 (Pre-release) XBAP Approach for Popups?
What are some different approaches for popups in XBAPs The only one I can think of is to put collapsed panels somewhere toward the root and make them show up when I need the popup. Is there another way to do this One that actually looks and acts like a popup natively Brian Popups in xbaps are a bit different for security reasons. The popups can not extend outside the bounds of the xbap and are child windows of the xbap. A limitation of child windows is that they cannot be transparent so there is no transparency for popups in the browser (AllowsTransparency is always false). If you need transparency, you can use an Adorner to draw on top of the other content in the xbap. Here's ...Show All
