daraneko's Q&A profile
SQL Server T-Log : Recovery Model
Does Transaction log in Simple recovery model behave like Full during the transaction or it behaves like Bulk Logged To make my Q simple, if I do BULK operation (BULK INSERT) & my DB is in simple recovery model, does T-Log records BUlk Operation OR it does it log FULL until the BULK operation is complete. It will not be exactly the same as either in all cases, but SIMPLE will be very close to BULK. -- Peter Byrne Microsoft SQL Server Storage Engine This posting is provided "AS IS" with no warranties, and confers no rights. wrote in message news:cd6210eb-d7bf-40d7-9e4b-4594b3cd29e9@discussions.microsoft.com... > Does Transaction log in Simple recovery model behave like Full during > the transaction or it ...Show All
Software Development for Windows Vista Content Type Workflow does't work in MOSS
Hi All, I have define a content type in MOSS and assign a workflow to that, and start it on the creation and changing of that content type. While creating a content type work flow does't start. Please advice. Thanks. For questions specific to the SharePoint's implementation of Windows Workflow Foundation you should post you questions to the forum found at http://www.microsoft.com/office/preview/community/newsgroups.mspx . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Content Pipeline
Hi, I haven't really used the Content Pipeline seriously yet but I've seen the official tutorials on it and understand them. Now, I'm thinking - what if I want to load a certain model/effect or anything else that the Content Pipeline supports - BUT I want to load it dynamically/at run-time, e.g. I have a certain filename that my code wants to use to load content, but I don't know it until runtime. Is there some sort of dynamic way of using what otherwise seems to be a static Content Pipeline Thanks... Thanks again for the reply - this sounds like quite an efficient approach, but I'm still not sure how to organise it. Would you have an example of the custom processor I'm really not familiar at all with c ...Show All
Windows Forms Using BindingSource to filter and sort a "Generic" List in DataGridView
I am using a List from System.Collections.Generic library to store a collection of MyObjects. Then I bind the List to the BindingSource, which is connected to the DataGridView. I need to sort & filter my list based on user input. I tried setting the BindingSource.Filter property and it had absolutely no effect. No error was thrown. Based on what I’ve found on the Internet, it seems like the collection object has to implement IBindingListView interface in order to provide filtering capabilities. And of course the List from System.Collections.Generic doesn’t. Is this correct Is there an easy way of doing this Is the filtering supported by DataTable Thanks a lot! Lidiya ...Show All
Visual Studio 2008 (Pre-release) Buffer size for Message in IClientMessageInspector.BeforeSendRequest
I wanted to inspect messages in the BeforeSendRequest method of IClientMessageInspector. The first line of code that I write is: MessageBuffer buffer = request.CreateBufferedCopy(13000); The number represents maximum buffer size. This forces me to know the message size before hand. If I am writing a generic inpsector, I may not know the size yet I am forced to make a decision here. Are there any other patterns to inspect the messages other than creating the message buffer Here is my simple implementation: public object BeforeSendRequest(ref Message request, IClientChannel channel) { Console.WriteLine("BeforeSendRequest()"); //Create the buffer MessageBuffer buffer = request.CreateBufferedCopy(13000); ...Show All
Gadgets ActiveX for Sidebar best practices
I am interested in further exploring the possibilities of using/developing an ActiveX object for use in a Sidebar gadget but havent done anything like this before. What are the best ways of proceeding with this Can i use Visual Studio 2005 to create an ActiveX object i tried using ATL project, i was able to compile it but not to register it Thanks for your responses; to clarify I have formatted my Vista system just in case, I use Visual Studio 2005 and follow Bruce’s Tutorial Part1 and Part2 I compile the DLL and use regsvr32 TestActiveX.dll in the command prompt (Running all as Admin) I get notification that the DLL is registered successfully. Next I use the following HTML: <HTML> <S ...Show All
Visual Studio Team System Is it just me or are others finding CTP5 dog slow?
I routinely get delays and a pop-up reporting "Visual Studio is busy ...." with CTP5. Even the roll-out of the schema view is slow. I did not see this in the previous CTP version. My workstation has dual processors, 2G RAM, no disk constraints. VSS is engaged. My database project has less than 100 objects - similar in size to the project I was using in the previous CTP. #1 Is this a problem others are having #2 Is there are way to turn off the automatic error checking when each script is saved Can this be invoked by request - perhaps during the build event only for example (To try to speed things up). Thanks. We did a perf update with CTP5; are you running with that install It's lo ...Show All
Windows Forms Query in MessageBoxDefaultButton.. Very important
Hi, I have a code like "MessageBox.Show(this,errorMessageAdaptor.ErrorMessage, SapphireConstants.WARNING_MSGBOX_HEADER, MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1)" implemented in a menu item click event and this menu has a key board shortcut as CTRL + S. On clicking the menu, the OK button in the MessageBox doesnt have the dotted rectangle indicating that it has the default focus. But while using the keyboard shortcut i am able to see the dotted lines around the OK button in the MessageBox. Could someone please explain on why this is happening and how to resolve this Hey, Thanks for the reply. I do have a fix. What i thought is that i can create a form similiar t ...Show All
Visual Basic Problem using the contains function
What am I doing wrong, the code below keeps giving me an error when I'm debugging, stating "Conversion from string "personslastname" to type 'Integer' is not valid.", but I never defined an integer...... If CCPD.Main.MainUC1.Child_Information_DatabaseDataSet.Child_Information.Rows.Contains( "LastName" (TextBox2.Text)) = True Then MessageBox.Show( "this message indicates an attempt to save data to an existing datarow." ) The yellow highlighted area is what is highlighted by the debugger. Your arguements for the contains method does not make sense for one: Contains( "LastName" (TextBox2.Text)) The contains method of the rows collection takes either a single argueme ...Show All
Visual Studio crystal reports 9.x compatibilty with Windows Vista
Unable to gauge out whether Crystal Report 9.x is reqd as minimum or absolute in Windows Vista if not then which version is required as minimum and/or absolute in Vista Thanks and Regards Luv Walia Hi Disti, I have the same enviroment with you but I cannot run. Can you send me your crystal 9 runtime files . when I try manual register the dll filel , I can only register the craxdrt9.dll and crviewer9.dll I cannot register such dlls even I run as administrator: crqe.dll,keycode.dll,saxmlserialize.dll,DataDefModel.dll,ExportModeller.dll,Crtslv.dll. Thanks very much if you can help me , my mailbox is gli@elynx.com.au ...Show All
Visual Basic Question about custom functions
I have some custom functions in a dll. I can link to the dll and view it in the object browser. The only thing I cannot figure out is how to get the Summary, Parameters, and Return values to show up in the description box. Also, when I type my function in the code view and the small info box shows, how can I get a description of my argurments to appear in the box Thanks. BUT when you compile your classes these information would be eliminated from your class by default. Is there a way to do this without the use of xml files I would rather not use xml. Thanks ...Show All
.NET Development Create class instance similar to "CreateObject"
I want to create objects by their name like its done in vbscript with "CreateObject". I'll get the Type by GetTypeFromProgID(name), then get the location of the corresponding Typelibrary by querying the Registry fot the "InprocServer32" hive of the Type's GUID. Now i can load the TypeLib via LoadTypeLibEx and build a .net Assembly using TypeLibConverter. Thats it so far, here comes the difficult part: With Activator.CreateInstance i get System.__ComObject, so i need the "original" Type to be able to invoke methods of my instance. To get the "original" Type i need the fully qualified class name to pass it to Assembly.GetType(). The other way around, i can pass the fully qualified class name to Assembl ...Show All
Silverlight (formerly WPF/E) Load XAML content from a URL
Hi, I have created a simple HTML with a simple WPF/E control as demonstrated in the SDK. If I create the agHost object with a path relative to the HTML as the source for the XAML content all works fine (as in the samples). If I pass instead a full URL the XAML content is not loaded. How can I load XAML content which is not located relatively to the the HTML file (like on a different server) Thanks, Keren Not that I know of. You'll have to proxy the content through a server on your domain. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Basic Page_Load called twice.
Hi, Does anyone know why a Page_Load would be called twice on a page when requesting an aspx page I am using .Net 2.0 with the new .net 1.1 compilation model installed. Whenever I request a page, the Page_Load on the aspx page appears to be called twice, so does the Page_Load on and user controls added to that page. I had a similar problem with Page_Load firing twice. Fixed it by correcting the empty ImageURL for the (asp:Image) Tag to a known value. .. ...Show All
SQL Server Select Statements in SQL 2005
I know this is probably a dumb question but I need to find a for sure answer on this. When a developer writes SELECT statements in their code will the * clause work with SQL Server 2005 We have tried to discourage such activity but has not worked. We are in the process of moving our systems to SQL Server 2005 and wanted to know if this would be a gotcha. Thanks for any advice, comments on this subject. Jeremy The backward compatibility topics in Books Online documents all the changes. Take a look at the link below: http://msdn2.microsoft.com/en-us/library/ms143532.aspx You can also use the Upgrade Advisor to prepare for the upgrade. This will help you identify problems in your code. See link below: ...Show All
