Queenw's Q&A profile
Visual Basic SLOW saving record
I used this below to update a record Me .Validate() Me .EDFBindingSource.EndEdit() Me .EDFTableAdapter.Update( Me .ST102ADataSet.EDF) Me .Button3.Focus() Me .Button4.Enabled = False If I am on my pc where the sql resides, why would it take roughly 6 seconds for the data to be update I know thats how long because the way I have my code, the button doenst become disabled until 6 seconds have elasped. Would I be better off to populate the controls and get ride of the bindingsource, then save changes using hard coding. Davids Learning Hmm... I wonder if this is your VS settings (eg. Option Strict is turned on)... You might have to cast the DataTable returned by GetChanges() dir ...Show All
SQL Server Exam 70-444
Hi, Somebody can speak (tips) about exam Exam 70–444 Tips Amount Questions Time To echo OJ's sentiment... http://www.microsoft.com/learning/exams/70-444.asp -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- <Wagner - SQL@discussions.microsoft.com > wrote in message news:3b03fea5-56cd-472b-9fe9-25fb188ab420@discussions.microsoft.com ... Hi, Somebody can speak (tips) about exam Exam 70–444 Tips Amount Questions Time ...Show All
Visual C++ ATL syntax errors in VC++ 2005 Professional Ed.?
Hey guys, I am trying to compile some base code I was given provided which uses the atlimage.h header file. I'm not familiar with using ATL, and I'm definitally not familiar with using ATL in VS 2005, but I have been unable to find any good documentation outlining any settings I might need to change. When I attempt to compile the project currently, I get the following errors: Texture.cpp d:\program files\microsoft visual studio 8\vc\atlmfc\include\atldef.h(413) : error C2059: syntax error : 'do' d:\program files\microsoft visual studio 8\vc\atlmfc\include\atldef.h(413) : error C2143: syntax error : missing ';' before '{' d:\program files\microsoft visual studio 8\vc\atlmfc\include\atldef.h(413) : error C2447: '{' : missing function header ...Show All
.NET Development Could not find installable ISAM.
I got the "Could Not find installable ISAM error" while uploading an Excel file in my application. The connection string uses the Microsoft.Jet.OLEDB.4.0 provider with following parameters Provider=Microsoft.Jet.OLEDB.4.0;Excel 8.0; Extended Properties=HDR=No; IMEX=1. I checked the registry entries as mentioned in the "Retrieving Data from Excell 2003-Could Not Find installable ISAM" post and even registered the "Msexcl40.dll" again. Even then I got the "Could Not find installable ISAM error". So I restarted the IIS Server. Even then the problem persists. What else could be the problem Thanks and Regards, Little We are using Windows 2000 Server SP4 Upd ...Show All
Visual C++ Numerical recipes in C++ Book
Hi all, I have question about Numerical recipes in C++ book and Example book. Is it worth to buy it those books, and are someone know good book for FFT analysis Thanks in advance. It's a good book in general for cookie cutter algorithms, however I would definitely look into second opinions for most algorithms in the book before you implement them. Numerous algorithms in the Numerical Recipies books have been shown to be either inefficient or just plain wrong, but for the most part it's a rather effective reference. Personally I would recommend sticking with the 'Numerical Recipies in C' book and steering clear of the C++ edition. The algorithms and mathematical background in both of them are virtually the ...Show All
SQL Server Multi-value parameter dropdown horizontal scrollbar problem
Hi, I wonder if anyone ecountered (and successfully solved) the following problem: I have a query-based multi-valued parameter (let's call it "A"). When query that populates the parameter returns only one value and that value is a long text, then it's almost impossible to select this value through the Report Manager UI. It's because the horizontal scrollbar covers the value. For now I have found two workarounds to this problem: 1. Cut the lenght of the Parameter Label value (Instead of 'Large Power Transformer", I show "Large Power Tran...") 2. Make the label in the multi-value dropdown smaller by using custom style sheets for report manager. I added a " LABEL { font-size : 7pt ; }" sectio ...Show All
SQL Server Custom Rollups on Time Dimension Don't Work After Upgrade
I've upgraded a time dimension from AS2000 to 2005. The dimension contains custom rollups for things like 'Last 14 Days' / 'Last Week' etc using: Filter([Years].[Week].members,[Years].Properties("Current")="1").item(0).lag(1) for the custom rollup. These no longer work. UnaryOperatorColumn / CustomRollupColumn properties have come across without a problem. However the values displayed at each of the levels are those from the branch above (the last year stored within the dimension). Measures display N/A. Any ideas on how to fix or to re-do using a different technique ...Show All
Windows Forms How can I protect my source code?
How can I prevent code decompilation when I publish or when in the designer so that no one can decompile it, change it, and sell it as their own Thanks, theres a free tool in vs2005 called Dotfuscator, or you can download it from http://www.preemptive.com/products/dotfuscator/ i really wouldnt know how to use it but thats what you need to do. ...Show All
Visual C# Multi Interface inheritance
Lets say you have two interfaces: interface IA: IComparable { int A {get; set;} } interface IB: IComparable { int B {get; set;} } and a class which implements both IA and IB class C: IA, IB { } class C now has to implement CompareTo, but the problem is that CompareTo should do different things if being used to compare this object to another IA, IB or classC. How do you implement the CompareTo function For instance lets say there is code like this: C c1 = new C(); C c2 = new C(); IA ia = c2; int comp1 = c1.CompareTo(ia); int comp2 = c1.CompareTo(c1); In this case, comp1 should equal 0 if c1.A == c2.A, and comp2 should equal 0 if both c1.A and c1.B are equal to c2.A and c2.B. Since you can only have one CompareTo method on class C how do ...Show All
Software Development for Windows Vista To pass "Works with Vista" - REALLY only MSI or ClickOnce deployment package necessary??
Hi all, I've a question here regarding the need to pass the tests in Application Verifier 3.3 in order to get the "Works with Vista" logo. In Application Verifier 3.3, it has several tests: - Basic - Compatibility - Low Resource Simulation - LuaPriv - Miscellaneous - Printing Which of the tests above do I need to go through in order to get the Works logo What if I get Error or Warnings in any of the above tests, does it mean that I will fail to get the Works logo One more question, to get the Works Logo, is it a must that my installer has to be packaged in MSI Thank you in advance! Cindy please see my question from: 11 Jan 2007, 12:03 PM UTC it is still unanswered since a ...Show All
Visual Studio Sandcastle : Attributes on methods
If I have attributes assigned to a method then Sandcastle displays the attributes as part of the Syntax block. This is acceptable (and possibly a good idea). However Sandcastle is also adding extra blocks to the output for the attribute. Consider the following example code: /// <summary> /// An example method, just for demonstration purposes. /// </summary> /// <param name="parameter"> This is the description of the parameter </param> /// <returns> The input parameter will be returned, along with a friendly greeting. </returns> [ SuppressMessage ( "Microsoft.Performance" , "CA1822:MarkMembersAsStatic" )] public string SomeI ...Show All
Visual C# reduce code
There is any way to reduce this code, like not needing to use the same code twice #region HKLM Run RegistryKey hklm = Registry .LocalMachine.OpenSubKey( "Software\\Microsoft\\Windows\\CurrentVersion\\Run" ); foreach ( string programas in hklm.GetValueNames()) { string arquivo = hklm.GetValue(programas).ToString(); ListViewItem item1 = listView1.Items.Add(programas, imageList1.Images.Count -1); item1.SubItems.Add(hklm.Name.ToString().Replace( "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion" , "HKLM" )); item1.SubItems.Add(arquivo); } hklm.Close(); #endregion #region HKLM ...Show All
SQL Server I cannot install SQL 2005 on my computer
Hello everybody, I had installed vs 2005 beta 2 and I wanted to install SQL 2005, so I removed all the components which were installed and were beta edition by control panel and by the tool microsoft supply. I downloaded sql 2005 but when I wanted to install it, the installation showed me an error that I need to remove all the components that are beta and exited. The control panel show that there is nothing from vs 2005 beta but the tool try to remove 2 things and has errors. With Everest I see that the components of vs 2005 beta are still in my computer and I cannot remove them. Someone can help me I have been searching for an answer for 3 months without any success. Start with http://msd ...Show All
Audio and Video Development Maximum number of output nodes
Is there an undocumented maximum number of output nodes supported in Vista because I am having issues using more than 8 devices. I have developed an application using a tee node where I am creating a topology that contain sseveral output nodes. I have a total of 16 usb audio devices (Turtle Beach) using the standard usbaudio driver that I am testing with. Now, with up to 8 output nodes, everything works fine but as soon as I want to use a 9th device as output node, the application crashes. What is even more weird is that I can reuse the same first 8 devices as output node in other streams. But if I add a stream with a 9th device as output node and or create a new stream with the 9th device as the only output node, it crashes. ...Show All
Visual Basic Forms.keypreview ????? not exist?
Hi experts, currently I am trying to use keypreview to disable the auto-submit from clicking "enter" when focusing a textbox. So I am going to turn keypreview to false. However, I can't find it!!! it's not in Forms....anybody can tell me how to do it I am using Visual Studio 2005 and 2.0 .net framework. Thank you very much yours, armansiu As your trying to create a web form - you'll be using ASP.NET and I would probably suggest the forums at ASP.NET as a better location to get an answer to you question. Forms.KeyPreview is a windows form concept and is probably not applicable to web forms, and therefore there may be a better way to achieve the results that you want. forums.asp ...Show All
